osx_provision 0.9.4 → 0.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES +4 -0
- data/lib/osx_provision/generic_provision.rb +2 -3
- data/lib/osx_provision/version.rb +1 -1
- data/thor/osx_install.thor +1 -1
- data/thor/project_scripts.sh +5 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 172e6b6dc672db164ae68d7e8159382c6fb8b1c5
|
4
|
+
data.tar.gz: 02625a468084a21a7d3438b02300ee6967a1b4e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f0a63e5afe741760cf26208ceaeca3b61733d079c0930d2d5632b7816971aaafe844a59fa0b00a8e27654b9327a2c1f03f3590269e2b5321ef71d28904a7073
|
7
|
+
data.tar.gz: 5e0850d86bc7ab3a074948f1dd9d0b6a733683c4d954530aaf56c6b37651bfa4ba107708615882593f990edf03d439db793f859fa8a791fd06c8fd80e09469ab
|
data/CHANGES
CHANGED
@@ -28,9 +28,8 @@ class GenericProvision
|
|
28
28
|
|
29
29
|
def create_script_methods
|
30
30
|
script_list.keys.each do |name|
|
31
|
-
|
32
|
-
|
33
|
-
self.send :run, server_info, new_name.to_s, env
|
31
|
+
singleton_class.send(:define_method, name.to_sym) do
|
32
|
+
self.send :run, server_info, name.to_s, env
|
34
33
|
end
|
35
34
|
end
|
36
35
|
end
|
data/thor/osx_install.thor
CHANGED
@@ -4,7 +4,7 @@ require 'osx_provision/osx_provision'
|
|
4
4
|
|
5
5
|
class OsxInstall < Thor
|
6
6
|
def self.installer
|
7
|
-
@@installer ||= OsxProvision.new ".osx_provision.json"
|
7
|
+
@@installer ||= OsxProvision.new ".osx_provision.json", [File.expand_path("project_scripts.sh", File.dirname(__FILE__))]
|
8
8
|
end
|
9
9
|
|
10
10
|
def self.create_thor_script_methods parent_class
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: osx_provision
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Shvets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: text-interpolator
|
@@ -120,6 +120,7 @@ files:
|
|
120
120
|
- spec/osx_provision_spec.rb
|
121
121
|
- spec/spec_helper.rb
|
122
122
|
- thor/osx_install.thor
|
123
|
+
- thor/project_scripts.sh
|
123
124
|
homepage: http://github.com/shvets/osx_provision
|
124
125
|
licenses: []
|
125
126
|
metadata: {}
|