librarian-ansible 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/librarian/ansible/source/galaxy.rb +5 -1
- data/lib/librarian/ansible/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1b2fae772f312e6f6a4f23b968ab0664b37f88f5
|
|
4
|
+
data.tar.gz: 19dc64ca7eeaf384979b9701303e369363f4d9ac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 86a273755d061d508ee412120e2cac329394d6baf641e471ae375c59ffafe769e1a60073267f7e5bde112aab9f31d8e38db326884c61e3fdce09533f6b1fee67
|
|
7
|
+
data.tar.gz: 6b7605a8806fc3027808e0ef2b6e53640b014157ff890245617967bb09291d7de77142c08b2cf0883438f87bd580ef6c3cc23a579c72734b635f17a5cd7883ef
|
|
@@ -54,13 +54,17 @@ module Librarian
|
|
|
54
54
|
raise Error, 'Could not read package from galaxy API.'
|
|
55
55
|
else
|
|
56
56
|
json = JSON.parse(response.body)
|
|
57
|
+
|
|
58
|
+
break if json['results'].nil?
|
|
59
|
+
|
|
57
60
|
package = json['results'].find do |r|
|
|
58
61
|
r['namespace'] == username &&
|
|
59
62
|
r['name'] == name
|
|
60
63
|
end
|
|
61
64
|
return package if package
|
|
65
|
+
|
|
66
|
+
break unless json['next']
|
|
62
67
|
url = "#{@@galaxy_api}/#{json['next']}"
|
|
63
|
-
break unless url
|
|
64
68
|
end
|
|
65
69
|
end
|
|
66
70
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: librarian-ansible
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Benjamin Coe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-06-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: librarian
|