simp-rake-helpers 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG.md +3 -0
- data/lib/simp/rake/build/deps.rb +16 -13
- data/lib/simp/rake/helpers/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MzE5MjQzNGIzOTcwMmFlNDE3MzhlNDdjMDM1NzhkOTc1OWRkMzdkZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YWUzYmVlMmFjNzNmMGIzYmNmMDZkNjlkNDk4MjI5NDg3ZGQ0OTU1Yg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTA3ZWEyZjIzYzkxYzU4MjZkZWJmMTM1M2YzMDU2ZTVmMzdhNjEzYTFiYjM5
|
10
|
+
NGM1MDNlMzlhYmJmMjFiZTcyOGUxZjg2YzRlMWVhZTk2MjMzOTA1Y2RkNjIx
|
11
|
+
YWJhYTM0ZTA5MmQ0MDFkZmFhZTBmZDAyNzdjZDA1NWI2MjNkMjM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDkwNmRjMjEyMTBiZDEwMjgyN2IxYTRmZmFmMjZlYTNjMTJjMTI5ZDA2MDM3
|
14
|
+
NjZlYmU5OTI5NGExOGMyN2YxNDhkMjM0MmRkNzMyN2RmZWUyYzE5MGRlM2Yy
|
15
|
+
NDc4OTM3OGVkYWZmZjcxYjQzYTQwNjVjZDBmZTE1NmJhN2M5Yjg=
|
data/CHANGELOG.md
CHANGED
data/lib/simp/rake/build/deps.rb
CHANGED
@@ -196,22 +196,25 @@ module Simp::Rake::Build
|
|
196
196
|
FileUtils.mkdir_p(mod[:path])
|
197
197
|
end
|
198
198
|
|
199
|
-
#
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
199
|
+
# Only for known modules...
|
200
|
+
unless mod[:status] == :unknown
|
201
|
+
# Since r10k is destructive, we're enumerating all valid states
|
202
|
+
# here
|
203
|
+
if [:absent, :mismatched, :outdated].include?(mod[:r10k_module].status)
|
204
|
+
unless mod[:r10k_cache].synced?
|
205
|
+
mod[:r10k_cache].sync
|
206
|
+
end
|
205
207
|
|
206
|
-
|
207
|
-
|
208
|
+
if mod[:status] == :known
|
209
|
+
mod[:r10k_module].sync
|
210
|
+
else
|
211
|
+
# If we get here, the module was dirty and should be skipped
|
212
|
+
puts "#{mod[:name]}: Skipping - #{mod[:status]}"
|
213
|
+
next
|
214
|
+
end
|
208
215
|
else
|
209
|
-
#
|
210
|
-
puts "#{mod[:name]}: Skipping - #{mod[:status]}"
|
211
|
-
next
|
216
|
+
puts "#{mod[:name]}: Skipping - Unknown status type #{mod[:r10k_module].status}"
|
212
217
|
end
|
213
|
-
else
|
214
|
-
puts "#{mod[:name]}: Skipping - Unknown status type #{mod[:r10k_module].status}"
|
215
218
|
end
|
216
219
|
end
|
217
220
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simp-rake-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Tessmer
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-04-
|
12
|
+
date: 2016-04-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|