osm 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +14 -0
- data/CHANGELOG.md +5 -0
- data/README.md +2 -2
- data/lib/osm/badge.rb +2 -2
- data/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1ecb36756b12ad4272e5ecbcc8e77c25c3cdc45
|
4
|
+
data.tar.gz: 2dd2a75365ade9411b436dc98d1cedf2d58818dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c7f3439f3535740c36fd0d0aad32e5a7f8cd3c756e1c0a8a7007088b7d01a1cd74e071f14dae60421d4d1a52fc7a944cc7bf76480e5879561b3bc630b1f8d0e
|
7
|
+
data.tar.gz: 231dbcf227706018d180dbab83a7359e7fe2a9078e7c0ee1571cfffe6890d78abf90b7adfc3727c42ff61ca1dbd69326b985bc5af2042776122bbbda36ad1edd
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## Version 1.3.2
|
2
|
+
|
3
|
+
* Add travis testing against new ruby versions (CVE-2017-17405)
|
4
|
+
* Add more information to exceptions raised when badge requirement modules can't be found
|
5
|
+
|
1
6
|
## Version 1.3.1
|
2
7
|
|
3
8
|
* Fix "undefined method '<=' for nil:NilClass" when testing if member is current
|
data/README.md
CHANGED
data/lib/osm/badge.rb
CHANGED
@@ -328,7 +328,7 @@ module Osm
|
|
328
328
|
fetched_this_time = true
|
329
329
|
end
|
330
330
|
data = @module_completion_data[badge.id]
|
331
|
-
raise ArgumentError, "That badge
|
331
|
+
raise ArgumentError, "That badge doesn't exist (bad ID #{badge.id})." if data.nil?
|
332
332
|
|
333
333
|
if data[badge.version].nil? && !fetched_this_time
|
334
334
|
@module_completion_data = get_module_completion_data(api, options)
|
@@ -336,7 +336,7 @@ module Osm
|
|
336
336
|
fetched_this_time = true
|
337
337
|
end
|
338
338
|
data = data[badge.version]
|
339
|
-
raise ArgumentError, "That badge
|
339
|
+
raise ArgumentError, "That badge doesn't exist (bad version #{badge.version} of #{badge.id})." if data.nil?
|
340
340
|
|
341
341
|
data.each{ |i| i.badge = badge }
|
342
342
|
return data
|
data/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: osm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Gauld
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -307,7 +307,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
307
307
|
version: '0'
|
308
308
|
requirements: []
|
309
309
|
rubyforge_project: osm
|
310
|
-
rubygems_version: 2.6.
|
310
|
+
rubygems_version: 2.6.14
|
311
311
|
signing_key:
|
312
312
|
specification_version: 4
|
313
313
|
summary: Use the Online Scout Manager API
|