madscience 0.0.21 → 0.0.23

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: d43b62fe54e7d2e53aaf5d0b7a77ddf2b796dbb6
4
- data.tar.gz: 67a1553525deb5a080120dbcddffb9fc8fa060d4
3
+ metadata.gz: 2af86267f08358e003483cda806437e2d886ca3f
4
+ data.tar.gz: 9c24e86c35334f75721f2f89c6d5640a65f31ca4
5
5
  SHA512:
6
- metadata.gz: 8c4bc8a60297b5158e609870e3802431ca5074d28bddf56ac3a4a2ea01752f0f00656740c96debc395fb5293123a544d4fa203fe163052e4a90dd237ceebaaa6
7
- data.tar.gz: 93b27937a0a817c393bc17ec577405509c8c4c58aba5bad683fea0c4d52772efcea4ac21a5c7bce9ce4025f02038d9449c605f50253db557652fb8bf6ec2e7cc
6
+ metadata.gz: d02ca39b5ac6d0037be453593cca37895348e24a7d2b78b16830a791f8c3c4fe704969224421f3e3315af75b570bdd92c4423079d4ba757bb59ba1b47f669416
7
+ data.tar.gz: 46e4f4a565c01fa4a72f4b3cbff253c676bac4051ad341d69ea27a74e96b19daa59630e78e55bd4319db2c0c13f033466d56fc00da51dc8636f3c4d6483b0275
data/bin/madscience CHANGED
@@ -5,6 +5,13 @@ MADSCIENCE_REPO_URL = ENV['MADSCIENCE_REPO'] ||
5
5
  "git@github.com:noahgibbs/madscience.git"
6
6
  MADSCIENCE_PROVIDER = ENV['MADSCIENCE_PROVIDER'] || "virtualbox"
7
7
 
8
+ require "madscience/version"
9
+
10
+ if ARGV == [ "--version" ]
11
+ puts MadScience::VERSION
12
+ exit 0
13
+ end
14
+
8
15
  # TODO: Add Windows runas incantation to replace sudo on Windows
9
16
  USAGE_INFO = <<USAGE
10
17
  Usage:
@@ -68,7 +75,9 @@ end
68
75
 
69
76
  def do_local_setup
70
77
  in_madscience_dir do
71
- system("librarian-chef", "install")
78
+ # Don't librarian-chef install any more. The default
79
+ # cookbooks should be included by default now.
80
+ # system("librarian-chef", "install")
72
81
  system("chown -R #{get_sudo_user} cookbooks")
73
82
  system("chef-solo", "-c", "solo.rb") or raise "Failed during chef run!"
74
83
  end
@@ -1,3 +1,3 @@
1
1
  module MadScience
2
- VERSION = "0.0.21"
2
+ VERSION = "0.0.23"
3
3
  end
data/uninstall.sh CHANGED
@@ -1,3 +1,6 @@
1
1
  # Note: this uninstalls Vagrant, NOT the madscience gem.
2
2
  sudo rm -rf /usr/bin/vagrant /opt/vagrant /Applications/Vagrant
3
3
  sudo pkgutil --forget com.vagrant.vagrant
4
+
5
+ # And this is a reminder to uninstall VirtualBox
6
+ echo Also: Download VirtualBox, mount the DMG and there will be a bash script called VirtualBox_Uninstall.tool
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.21
4
+ version: 0.0.23
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-27 00:00:00.000000000 Z
11
+ date: 2015-03-31 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
@@ -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
@@ -332,17 +332,17 @@ require_paths:
332
332
  - lib
333
333
  required_ruby_version: !ruby/object:Gem::Requirement
334
334
  requirements:
335
- - - ">="
335
+ - - '>='
336
336
  - !ruby/object:Gem::Version
337
337
  version: '0'
338
338
  required_rubygems_version: !ruby/object:Gem::Requirement
339
339
  requirements:
340
- - - ">="
340
+ - - '>='
341
341
  - !ruby/object:Gem::Version
342
342
  version: '0'
343
343
  requirements: []
344
344
  rubyforge_project:
345
- rubygems_version: 2.4.5
345
+ rubygems_version: 2.2.0
346
346
  signing_key:
347
347
  specification_version: 4
348
348
  summary: Install the current versions of the MadScience stack.