Skip to content

Commit

Permalink
Set golang 1.5 as default version.
Browse files Browse the repository at this point in the history
  • Loading branch information
NOX73 committed Oct 19, 2015
1 parent e62d7e2 commit 890daa1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion attributes/default.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
default['go']['version'] = '1.4'
default['go']['version'] = '1.5'
default['go']['platform'] = node['kernel']['machine'] =~ /i.86/ ? '386' : 'amd64'
default['go']['filename'] = "go#{node['go']['version']}.#{node['os']}-#{node['go']['platform']}.tar.gz"
default['go']['from_source'] = false
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
license 'Apache 2.0'
description 'Installs go programming language'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.6.2'
version '1.7.0'

recipe "golang", "Installs go programing language."
recipe "golang::packages", "Installs go packages and SCM requirements."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

it 'can execute go version' do
go = shell_out("/usr/local/go/bin/go version")
assert_includes(go.stdout,'1.4')
assert_includes(go.stdout,'1.5')
end

it 'can run hello_world' do
Expand Down

0 comments on commit 890daa1

Please sign in to comment.