madscience 0.0.20 → 0.0.21

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02d663d6ff4d39bac1244d9d7f9b47260befd848
4
- data.tar.gz: f968729624d45f113c62f4b08ab12b0f13b7ea0d
3
+ metadata.gz: d43b62fe54e7d2e53aaf5d0b7a77ddf2b796dbb6
4
+ data.tar.gz: 67a1553525deb5a080120dbcddffb9fc8fa060d4
5
5
  SHA512:
6
- metadata.gz: 7360a650e7119efb20efbd27fcc7327fedf35227879af7e2f19e4a1d31c66032dbf89983ee24c5915fe4e3d0c2f365c4e9238e6747b22e08d2cd48ae171ba98b
7
- data.tar.gz: 60eda14e55b09e1a2277a286e51329d32cad0265a9372d05f373193c722545fa189b8ffa46ec3407e010caba88b2edf8d6f348018845c922f4d57814c0de1a95
6
+ metadata.gz: 8c4bc8a60297b5158e609870e3802431ca5074d28bddf56ac3a4a2ea01752f0f00656740c96debc395fb5293123a544d4fa203fe163052e4a90dd237ceebaaa6
7
+ data.tar.gz: 93b27937a0a817c393bc17ec577405509c8c4c58aba5bad683fea0c4d52772efcea4ac21a5c7bce9ce4025f02038d9449c605f50253db557652fb8bf6ec2e7cc
data/Cheffile CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  #^syntax detection
3
3
 
4
- site 'http://community.opscode.com/api/v1'
4
+ site 'https://community.opscode.com/api/v1'
5
5
 
6
6
  # TODO: lock down Vagrant and VirtualBox cookbooks at specific release version
7
7
 
@@ -1,3 +1,3 @@
1
1
  module MadScience
2
- VERSION = "0.0.20"
2
+ VERSION = "0.0.21"
3
3
  end
data/madscience.gemspec CHANGED
@@ -28,7 +28,7 @@ DESC
28
28
  spec.add_runtime_dependency 'bundler', '~> 1.5'
29
29
 
30
30
  spec.add_runtime_dependency 'knife-solo', '0.4.2'
31
- spec.add_runtime_dependency 'librarian-chef', '0.0.3'
31
+ spec.add_runtime_dependency 'librarian-chef', '0.0.4'
32
32
  spec.add_runtime_dependency 'chef', '12.0.3'
33
33
  spec.add_runtime_dependency 'capistrano', '3.2.1'
34
34
  spec.add_runtime_dependency 'capistrano-rails', '1.1.1'
@@ -50,6 +50,22 @@ else
50
50
  raise "Don't recognize OS family: #{node['platform_family'].inspect}!"
51
51
  end
52
52
 
53
+ # URL sometimes seems not to be properly chosen by Vagrant cookbook
54
+
55
+ # I'm not going to require curl, but for this version of Vagrant, this is the output of
56
+ # curl https://dl.bintray.com/mitchellh/vagrant/1.7.1_SHA256SUMS?direct
57
+ curl_output = <<-CURL
58
+ eaeb3ad6624ccaeaefa6fc7a77a2f5d9640ef9385c5eeebdb90602d5f2011176 vagrant_1.7.1.dmg
59
+ abab1db382be4c5d6b1e5aad96fb0909a559c3e500c5b2eb3f0c9178de7d1ac5 vagrant_1.7.1.msi
60
+ 4396385d3493931634c5f12e464a991f75f36c93783d392c60100112ec3d406d vagrant_1.7.1_i686.deb
61
+ 6e405a855c4426b04f568f62740f04025c548b2f722a4b3faee94b0b2ce19bc0 vagrant_1.7.1_i686.rpm
62
+ 6615b95fcd8044e2f5e1849ec1004df5e05e390812558ec2c4b3dcec541b92da vagrant_1.7.1_x86_64.deb
63
+ b66be4b8f7921f59b00c186344c8501f97a26e172e94c3add7298b5147bcab27 vagrant_1.7.1_x86_64.rpm
64
+ CURL
65
+ vagrant_package_name = node.default['vagrant']['url'].split("/")[-1]
66
+ check_line = curl_output.split("\n").detect { |line| line[vagrant_package_name] }
67
+ node.default['vagrant']['checksum'] = check_line.split(" ")[0]
68
+
53
69
  case node['platform_family']
54
70
  when 'mac_os_x'
55
71
  node.default['virtualbox']['url'] = 'http://download.virtualbox.org/virtualbox/4.3.24/VirtualBox-4.3.24-98716-OSX.dmg'
data/uninstall.sh ADDED
@@ -0,0 +1,3 @@
1
+ # Note: this uninstalls Vagrant, NOT the madscience gem.
2
+ sudo rm -rf /usr/bin/vagrant /opt/vagrant /Applications/Vagrant
3
+ sudo pkgutil --forget com.vagrant.vagrant
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: madscience
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20
4
+ version: 0.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Noah Gibbs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-08 00:00:00.000000000 Z
11
+ date: 2015-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.5'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.0.3
47
+ version: 0.0.4
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.0.3
54
+ version: 0.0.4
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: chef
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -140,14 +140,14 @@ dependencies:
140
140
  name: rake
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ~>
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
145
  version: '10.3'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ~>
150
+ - - "~>"
151
151
  - !ruby/object:Gem::Version
152
152
  version: '10.3'
153
153
  description: |
@@ -161,8 +161,8 @@ executables:
161
161
  extensions: []
162
162
  extra_rdoc_files: []
163
163
  files:
164
- - .gitignore
165
- - .madscience_gem_location
164
+ - ".gitignore"
165
+ - ".madscience_gem_location"
166
166
  - Cheffile
167
167
  - Cheffile.lock
168
168
  - Gemfile
@@ -321,6 +321,7 @@ files:
321
321
  - site-cookbooks/madscience-vagrant-cookbook/metadata.rb
322
322
  - site-cookbooks/madscience-vagrant-cookbook/recipes/default.rb
323
323
  - solo.rb
324
+ - uninstall.sh
324
325
  homepage: http://rubymadscience.com
325
326
  licenses:
326
327
  - MIT
@@ -331,17 +332,17 @@ require_paths:
331
332
  - lib
332
333
  required_ruby_version: !ruby/object:Gem::Requirement
333
334
  requirements:
334
- - - '>='
335
+ - - ">="
335
336
  - !ruby/object:Gem::Version
336
337
  version: '0'
337
338
  required_rubygems_version: !ruby/object:Gem::Requirement
338
339
  requirements:
339
- - - '>='
340
+ - - ">="
340
341
  - !ruby/object:Gem::Version
341
342
  version: '0'
342
343
  requirements: []
343
344
  rubyforge_project:
344
- rubygems_version: 2.2.2
345
+ rubygems_version: 2.4.5
345
346
  signing_key:
346
347
  specification_version: 4
347
348
  summary: Install the current versions of the MadScience stack.