knife_cookbook_dependencies_over_http 0.0.8.2 → 0.0.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/kcd/git.rb +6 -1
  2. data/lib/kcd/version.rb +1 -1
  3. metadata +36 -36
@@ -19,6 +19,11 @@ module KnifeCookbookDependencies
19
19
  git_path = potential_path
20
20
  break
21
21
  end
22
+ potential_path = File.join(path, 'git.exe')
23
+ if File.executable?(potential_path)
24
+ git_path = potential_path
25
+ break
26
+ end
22
27
  end
23
28
 
24
29
  unless git_path
@@ -67,7 +72,7 @@ module KnifeCookbookDependencies
67
72
  this_ref = nil
68
73
 
69
74
  Dir.chdir @directory do
70
- this_ref = `#{self.class.git} rev-parse HEAD`.strip
75
+ this_ref = `"#{self.class.git}" rev-parse HEAD`.strip
71
76
  end
72
77
 
73
78
  return this_ref
@@ -1,3 +1,3 @@
1
1
  module KnifeCookbookDependencies
2
- VERSION = "0.0.8.2"
2
+ VERSION = "0.0.8.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife_cookbook_dependencies_over_http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8.2
4
+ version: 0.0.8.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-05-24 00:00:00.000000000 Z
14
+ date: 2012-05-25 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: dep_selector_over_http
18
- requirement: &70216709436640 !ruby/object:Gem::Requirement
18
+ requirement: &70309786102420 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: '0'
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *70216709436640
26
+ version_requirements: *70309786102420
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: chef
29
- requirement: &70216704977200 !ruby/object:Gem::Requirement
29
+ requirement: &70309786101920 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ~>
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: 0.10.0
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *70216704977200
37
+ version_requirements: *70309786101920
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: minitar
40
- requirement: &70216701293020 !ruby/object:Gem::Requirement
40
+ requirement: &70309786101500 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: '0'
46
46
  type: :runtime
47
47
  prerelease: false
48
- version_requirements: *70216701293020
48
+ version_requirements: *70309786101500
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: cucumber
51
- requirement: &70216701292560 !ruby/object:Gem::Requirement
51
+ requirement: &70309786101040 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ! '>='
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: '0'
57
57
  type: :development
58
58
  prerelease: false
59
- version_requirements: *70216701292560
59
+ version_requirements: *70309786101040
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: vcr
62
- requirement: &70216701292140 !ruby/object:Gem::Requirement
62
+ requirement: &70309786100620 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ! '>='
@@ -67,10 +67,10 @@ dependencies:
67
67
  version: '0'
68
68
  type: :development
69
69
  prerelease: false
70
- version_requirements: *70216701292140
70
+ version_requirements: *70309786100620
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: webmock
73
- requirement: &70216701291720 !ruby/object:Gem::Requirement
73
+ requirement: &70309786100200 !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
76
  - - ! '>='
@@ -78,10 +78,10 @@ dependencies:
78
78
  version: '0'
79
79
  type: :development
80
80
  prerelease: false
81
- version_requirements: *70216701291720
81
+ version_requirements: *70309786100200
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: aruba
84
- requirement: &70216701291300 !ruby/object:Gem::Requirement
84
+ requirement: &70309786099780 !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
87
87
  - - ! '>='
@@ -89,10 +89,10 @@ dependencies:
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
- version_requirements: *70216701291300
92
+ version_requirements: *70309786099780
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: rake
95
- requirement: &70216701290800 !ruby/object:Gem::Requirement
95
+ requirement: &70309786099280 !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
98
98
  - - ~>
@@ -100,10 +100,10 @@ dependencies:
100
100
  version: 0.9.0
101
101
  type: :development
102
102
  prerelease: false
103
- version_requirements: *70216701290800
103
+ version_requirements: *70309786099280
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: rdoc
106
- requirement: &70216701290300 !ruby/object:Gem::Requirement
106
+ requirement: &70309786098780 !ruby/object:Gem::Requirement
107
107
  none: false
108
108
  requirements:
109
109
  - - ~>
@@ -111,10 +111,10 @@ dependencies:
111
111
  version: '3.0'
112
112
  type: :development
113
113
  prerelease: false
114
- version_requirements: *70216701290300
114
+ version_requirements: *70309786098780
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: rspec
117
- requirement: &70216701289920 !ruby/object:Gem::Requirement
117
+ requirement: &70309786098400 !ruby/object:Gem::Requirement
118
118
  none: false
119
119
  requirements:
120
120
  - - ! '>='
@@ -122,10 +122,10 @@ dependencies:
122
122
  version: '0'
123
123
  type: :development
124
124
  prerelease: false
125
- version_requirements: *70216701289920
125
+ version_requirements: *70309786098400
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: simplecov
128
- requirement: &70216701289460 !ruby/object:Gem::Requirement
128
+ requirement: &70309786097940 !ruby/object:Gem::Requirement
129
129
  none: false
130
130
  requirements:
131
131
  - - ! '>='
@@ -133,10 +133,10 @@ dependencies:
133
133
  version: '0'
134
134
  type: :development
135
135
  prerelease: false
136
- version_requirements: *70216701289460
136
+ version_requirements: *70309786097940
137
137
  - !ruby/object:Gem::Dependency
138
138
  name: fuubar
139
- requirement: &70216701289040 !ruby/object:Gem::Requirement
139
+ requirement: &70309786097520 !ruby/object:Gem::Requirement
140
140
  none: false
141
141
  requirements:
142
142
  - - ! '>='
@@ -144,10 +144,10 @@ dependencies:
144
144
  version: '0'
145
145
  type: :development
146
146
  prerelease: false
147
- version_requirements: *70216701289040
147
+ version_requirements: *70309786097520
148
148
  - !ruby/object:Gem::Dependency
149
149
  name: spork
150
- requirement: &70216701288620 !ruby/object:Gem::Requirement
150
+ requirement: &70309786097100 !ruby/object:Gem::Requirement
151
151
  none: false
152
152
  requirements:
153
153
  - - ! '>='
@@ -155,10 +155,10 @@ dependencies:
155
155
  version: '0'
156
156
  type: :development
157
157
  prerelease: false
158
- version_requirements: *70216701288620
158
+ version_requirements: *70309786097100
159
159
  - !ruby/object:Gem::Dependency
160
160
  name: guard
161
- requirement: &70216701288200 !ruby/object:Gem::Requirement
161
+ requirement: &70309786096680 !ruby/object:Gem::Requirement
162
162
  none: false
163
163
  requirements:
164
164
  - - ! '>='
@@ -166,10 +166,10 @@ dependencies:
166
166
  version: '0'
167
167
  type: :development
168
168
  prerelease: false
169
- version_requirements: *70216701288200
169
+ version_requirements: *70309786096680
170
170
  - !ruby/object:Gem::Dependency
171
171
  name: guard-rspec
172
- requirement: &70216701287780 !ruby/object:Gem::Requirement
172
+ requirement: &70309786096260 !ruby/object:Gem::Requirement
173
173
  none: false
174
174
  requirements:
175
175
  - - ! '>='
@@ -177,10 +177,10 @@ dependencies:
177
177
  version: '0'
178
178
  type: :development
179
179
  prerelease: false
180
- version_requirements: *70216701287780
180
+ version_requirements: *70309786096260
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: guard-cucumber
183
- requirement: &70216701287360 !ruby/object:Gem::Requirement
183
+ requirement: &70309786095840 !ruby/object:Gem::Requirement
184
184
  none: false
185
185
  requirements:
186
186
  - - ! '>='
@@ -188,10 +188,10 @@ dependencies:
188
188
  version: '0'
189
189
  type: :development
190
190
  prerelease: false
191
- version_requirements: *70216701287360
191
+ version_requirements: *70309786095840
192
192
  - !ruby/object:Gem::Dependency
193
193
  name: guard-spork
194
- requirement: &70216701286940 !ruby/object:Gem::Requirement
194
+ requirement: &70309793388760 !ruby/object:Gem::Requirement
195
195
  none: false
196
196
  requirements:
197
197
  - - ! '>='
@@ -199,7 +199,7 @@ dependencies:
199
199
  version: '0'
200
200
  type: :development
201
201
  prerelease: false
202
- version_requirements: *70216701286940
202
+ version_requirements: *70309793388760
203
203
  description: Resolves cookbook dependencies
204
204
  email:
205
205
  - josiah@skirmisher.net