osx_provision 0.9.4 → 0.9.5

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: 9060e75aeda053718ddf9ee5a8bf7b6b275aa2df
4
- data.tar.gz: 182fcf1605ce989a1605f4d57a36ebe333cff7c4
3
+ metadata.gz: 172e6b6dc672db164ae68d7e8159382c6fb8b1c5
4
+ data.tar.gz: 02625a468084a21a7d3438b02300ee6967a1b4e9
5
5
  SHA512:
6
- metadata.gz: b2287fc9d00f947627d1459c191a6d89ca0224d73147b1e67d399f214052987286d6e0417e84384e552d217928fdf1b16a03367f8330b43fc9ce58f548551ffb
7
- data.tar.gz: d87b3ba5aa3b4f25f54f1d517bac9962d4314ab5b156d5dbfd6fa85f968889b48e2d085ffd47c3dc45939119cff89bb017ab7f4cb823186c5ac441a006ae91e7
6
+ metadata.gz: 0f0a63e5afe741760cf26208ceaeca3b61733d079c0930d2d5632b7816971aaafe844a59fa0b00a8e27654b9327a2c1f03f3590269e2b5321ef71d28904a7073
7
+ data.tar.gz: 5e0850d86bc7ab3a074948f1dd9d0b6a733683c4d954530aaf56c6b37651bfa4ba107708615882593f990edf03d439db793f859fa8a791fd06c8fd80e09469ab
data/CHANGES CHANGED
@@ -18,4 +18,8 @@
18
18
 
19
19
  == Version 0.9.4
20
20
 
21
+ * Bug fix.
22
+
23
+ == Version 0.9.5
24
+
21
25
  * Bug fix.
@@ -28,9 +28,8 @@ class GenericProvision
28
28
 
29
29
  def create_script_methods
30
30
  script_list.keys.each do |name|
31
- new_name = "#{name}_script"
32
- singleton_class.send(:define_method, new_name.to_sym) do
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
@@ -1,3 +1,3 @@
1
1
  class OsxProvision
2
- VERSION = "0.9.4"
2
+ VERSION = "0.9.5"
3
3
  end
@@ -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
@@ -0,0 +1,5 @@
1
+ #!/bin/sh
2
+
3
+ [project]
4
+
5
+ echo "hello!"
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
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-23 00:00:00.000000000 Z
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: {}