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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NjAwZjEzY2M5ODE0ODg3Y2E5NmI5ODcyYWY0OTc5OGQzNTNmMzc2YQ==
4
+ MzE5MjQzNGIzOTcwMmFlNDE3MzhlNDdjMDM1NzhkOTc1OWRkMzdkZQ==
5
5
  data.tar.gz: !binary |-
6
- ZDkwMzgzZGZiNWQ4YWI2NWMwM2Q3YjQ3MWZjY2JiMzM2MzcyN2FjMg==
6
+ YWUzYmVlMmFjNzNmMGIzYmNmMDZkNjlkNDk4MjI5NDg3ZGQ0OTU1Yg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- N2UyNmI5ZjBiMGMzMDFjN2QyMmU0ODYyM2UwZGQ5ZDc4ODc4N2EzMDljOThm
10
- NmQ1MDFlZDNmODQ1MWU2ZDdmNDZhNmQ1OWM0ODlmMzEwOTdjYjJkYmQ2ZDBl
11
- MDZkZjFiNmVjMmVhZjRjNTU0YzI3Zjg1MzI1YmZkOWZhOGE2OWQ=
9
+ YTA3ZWEyZjIzYzkxYzU4MjZkZWJmMTM1M2YzMDU2ZTVmMzdhNjEzYTFiYjM5
10
+ NGM1MDNlMzlhYmJmMjFiZTcyOGUxZjg2YzRlMWVhZTk2MjMzOTA1Y2RkNjIx
11
+ YWJhYTM0ZTA5MmQ0MDFkZmFhZTBmZDAyNzdjZDA1NWI2MjNkMjM=
12
12
  data.tar.gz: !binary |-
13
- Yzk0YjMyNzZlNTc1MzU0MTlmZThkMTU1ODQwMmQ2MzlmNDM3NDdkNDZhNjZl
14
- Mjk0MWM5YzNiZmUwZjcxNDA0ZmNmYzgwZDNhY2UxMmM5Y2YwYmFlMjA5M2U3
15
- ZmIzMGU2YjNmNTMyYjRhZTY3OTA0NTQzNjNmNWJjZWNmYjk0ODk=
13
+ ZDkwNmRjMjEyMTBiZDEwMjgyN2IxYTRmZmFmMjZlYTNjMTJjMTI5ZDA2MDM3
14
+ NjZlYmU5OTI5NGExOGMyN2YxNDhkMjM0MmRkNzMyN2RmZWUyYzE5MGRlM2Yy
15
+ NDc4OTM3OGVkYWZmZjcxYjQzYTQwNjVjZDBmZTE1NmJhN2M5Yjg=
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### 2.0.1 / 2016-04-05
2
+ * Fix a bug where deps:checkout failed on unknown repos being present
3
+
1
4
  ### 1.0.13 / 2016-02-10
2
5
  * Ensure that all rake tasks can run on EL6 systems
3
6
  * Update the processing of RPM spec files to properly handle macros in target builds
@@ -196,22 +196,25 @@ module Simp::Rake::Build
196
196
  FileUtils.mkdir_p(mod[:path])
197
197
  end
198
198
 
199
- # Since r10k is destructive, we're enumerating all valid states
200
- # here
201
- if [:absent, :mismatched, :outdated].include?(mod[:r10k_module].status)
202
- unless mod[:r10k_cache].synced?
203
- mod[:r10k_cache].sync
204
- end
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
- if mod[:status] == :known
207
- mod[:r10k_module].sync
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
- # If we get here, the module was dirty and should be skipped
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
@@ -2,5 +2,5 @@ module Simp; end
2
2
  module Simp::Rake; end
3
3
 
4
4
  class Simp::Rake::Helpers
5
- VERSION = '2.0.0'
5
+ VERSION = '2.0.1'
6
6
  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.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-01 00:00:00.000000000 Z
12
+ date: 2016-04-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler