hansolo 0.1.8 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 916cbd0792003b65e7e49d484ae605b119df286a
4
- data.tar.gz: 7e00ea0d8875efac63beaf702aec2b08068f7f72
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ OGM1YmMzNmRmY2NjY2Y5ZWU5YTk5OTA0MzFkYzA3OTQ1ZTk1N2RlMQ==
5
+ data.tar.gz: !binary |-
6
+ ZTY1ZTVjNzkzN2Q4ZjY5MTIxYjg3ZTBjMjY0MDc3YjU4MWMyNzJjYg==
5
7
  SHA512:
6
- metadata.gz: 116f6351aed3eb2901be99d413d62987a1c8f2cc05b5a4c80affcb2016ad051c0008e2333f442f16aa26edb25d4728833182fbed7facc429b904064a594509cd
7
- data.tar.gz: 7447133d9d147e84c99be8b17b340d16a9c418b69107b0833be13e1dbf7de8f62818683797eaae81d6941d6f34726f31090da7dd7a69d53c338de8d5362b0aad
8
+ metadata.gz: !binary |-
9
+ ZWVlYTQyOGMyNjBmMmUzYjBjNDVhOTI4M2QxMTM5ZWZkNjFiOGE2NGFiYWRj
10
+ ZjJlYmY5M2QyMzQzNTVkMjgxMTFlMjMxYmQxZDUxMTkwMWFlY2JhMDc1ZmUx
11
+ ZmFjMGQ5MDY3ODYxYThkYTZiYjQyZThkNzFhMjk1ZjMwNWZkOTE=
12
+ data.tar.gz: !binary |-
13
+ ZWM3NDk3NWIwMzUzNjlhMjQzYzg0YzFkNTU2ODJiNTU0NjgyNzE3NTA0ZWIz
14
+ NzJkMDRhNDllNjIyOTdkMWJkNGZlZGY0MmVhYTgyMjMzNzk0ZmU1YmUzODNj
15
+ NzdjMWMwNjY3ZjRhZDZhY2EzYzBiZWE3MWRjMDcyMDg2ZDFkYWU=
@@ -3,13 +3,22 @@ module Hansolo::Librarians
3
3
  module_function
4
4
 
5
5
  def install!
6
- directory = Pathname.new("tmp/cookbooks/#{Hansolo.app}")
7
- FileUtils.mkdir_p(directory)
8
6
 
9
- files = Dir[directory.join('*')]
10
- FileUtils.rm_rf(files)
7
+ if Gem.loaded_specs['berkshelf'].version < Gem::Version.new('3')
8
+ directory = Pathname.new("tmp/cookbooks/#{Hansolo.app}")
9
+ FileUtils.mkdir_p(directory)
10
+
11
+ files = Dir[directory.join('*')]
12
+ FileUtils.rm_rf(files)
13
+
14
+ system("berks install --path #{directory}")
15
+ else
16
+ directory = Pathname.new("tmp/cookbooks/#{Hansolo.app}")
17
+ FileUtils.rm_rf(directory)
18
+
19
+ system("berks vendor #{directory}")
20
+ end
11
21
 
12
- system("berks install --path #{directory}")
13
22
  end
14
23
  end
15
24
  end
@@ -1,3 +1,3 @@
1
1
  module Hansolo
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.10"
3
3
  end
metadata CHANGED
@@ -1,111 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hansolo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Kaney
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-06 00:00:00.000000000 Z
11
+ date: 2014-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.35'
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.35'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: net-ssh
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '2.8'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '2.8'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: net-ssh-gateway
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.2'
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
54
  version: '1.2'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: json
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.8'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.8'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: terminal-table
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.4'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.4'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: cocaine
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ~>
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0.5'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0.5'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: bundler
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ~>
102
102
  - !ruby/object:Gem::Version
103
103
  version: '1.3'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ~>
109
109
  - !ruby/object:Gem::Version
110
110
  version: '1.3'
111
111
  - !ruby/object:Gem::Dependency
@@ -126,42 +126,42 @@ dependencies:
126
126
  name: mocha
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - "~>"
129
+ - - ~>
130
130
  - !ruby/object:Gem::Version
131
131
  version: '1.0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - "~>"
136
+ - - ~>
137
137
  - !ruby/object:Gem::Version
138
138
  version: '1.0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: yard
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - "~>"
143
+ - - ~>
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0.8'
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: '0.8'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: redcarpet
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - "~>"
157
+ - - ~>
158
158
  - !ruby/object:Gem::Version
159
159
  version: '3.1'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - "~>"
164
+ - - ~>
165
165
  - !ruby/object:Gem::Version
166
166
  version: '3.1'
167
167
  description: Tool to automate deployment using chef-solo and berkshelf
@@ -174,8 +174,8 @@ executables:
174
174
  extensions: []
175
175
  extra_rdoc_files: []
176
176
  files:
177
- - ".gitignore"
178
- - ".yardopts"
177
+ - .gitignore
178
+ - .yardopts
179
179
  - Gemfile
180
180
  - LICENSE.txt
181
181
  - README.md
@@ -210,17 +210,17 @@ require_paths:
210
210
  - lib
211
211
  required_ruby_version: !ruby/object:Gem::Requirement
212
212
  requirements:
213
- - - ">="
213
+ - - ! '>='
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
216
  required_rubygems_version: !ruby/object:Gem::Requirement
217
217
  requirements:
218
- - - ">="
218
+ - - ! '>='
219
219
  - !ruby/object:Gem::Version
220
220
  version: '0'
221
221
  requirements: []
222
222
  rubyforge_project:
223
- rubygems_version: 2.2.0
223
+ rubygems_version: 2.4.1
224
224
  signing_key:
225
225
  specification_version: 4
226
226
  summary: Vendors Berkshelf cookbooks, uses rsync to sync cookbooks, and NET::SSH to