prospectus_dockerhub 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.prospectus +21 -7
- data/lib/prospectus_dockerhub.rb +3 -3
- data/prospectus_dockerhub.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ff82b02956f75957fafd7b6cda61b9965211bbf
|
4
|
+
data.tar.gz: 5c062fd6363df2bf9dc38ce37c443042189259b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3976cc63e1183c422e678ea0c1f3b553d7210b62213beb4c7f848f98c8b7e9e332c46898eb37fb25c24c2260d26efa33dfe139b2701640695e4aca4b195d658
|
7
|
+
data.tar.gz: 1c7713c8144668d3dc89d5ee5424201edc1bd714efa35c022614cb2c1dd97e5e244a275a7472b1afa2cb3f82d4db516d1cf6e87a5a8599fe34927dd7bc8e79ea
|
data/.prospectus
CHANGED
@@ -1,11 +1,25 @@
|
|
1
|
+
Prospectus.extra_dep('file', 'prospectus_circleci')
|
2
|
+
|
3
|
+
my_slug = 'akerl/prospectus_dockerhub'
|
4
|
+
|
1
5
|
item do
|
2
|
-
|
3
|
-
static
|
4
|
-
set 'green'
|
5
|
-
end
|
6
|
+
noop
|
6
7
|
|
7
|
-
|
8
|
-
|
9
|
-
|
8
|
+
deps do
|
9
|
+
item do
|
10
|
+
name 'gems'
|
11
|
+
|
12
|
+
expected do
|
13
|
+
static
|
14
|
+
set 'green'
|
15
|
+
end
|
16
|
+
|
17
|
+
actual do
|
18
|
+
gemnasium
|
19
|
+
slug my_slug
|
20
|
+
end
|
21
|
+
end
|
10
22
|
end
|
23
|
+
|
24
|
+
extend ProspectusCircleci::Build.new(my_slug)
|
11
25
|
end
|
data/lib/prospectus_dockerhub.rb
CHANGED
@@ -2,7 +2,7 @@ require 'nokogiri'
|
|
2
2
|
require 'open-uri'
|
3
3
|
|
4
4
|
module ProspectusDockerhub
|
5
|
-
GOOD_STATUSES = %w[success].freeze
|
5
|
+
GOOD_STATUSES = %w[queued building success].freeze
|
6
6
|
# rubocop:disable Metrics/LineLength
|
7
7
|
STATUS_XPATH = '//span[contains(@class, "BuildStatus__statusWrapper__")]'.freeze
|
8
8
|
# rubocop:enable Metrics/LineLength
|
@@ -23,12 +23,12 @@ module ProspectusDockerhub
|
|
23
23
|
|
24
24
|
expected do
|
25
25
|
static
|
26
|
-
set
|
26
|
+
set expected_val
|
27
27
|
end
|
28
28
|
|
29
29
|
actual do
|
30
30
|
static
|
31
|
-
set
|
31
|
+
set actual_val
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'prospectus_dockerhub'
|
3
|
-
s.version = '0.0.
|
3
|
+
s.version = '0.0.4'
|
4
4
|
s.date = Time.now.strftime('%Y-%m-%d')
|
5
5
|
|
6
6
|
s.summary = 'Prospectus helpers for docker hub'
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.files = `git ls-files`.split
|
14
14
|
s.test_files = `git ls-files spec/*`.split
|
15
15
|
|
16
|
-
s.add_dependency 'prospectus', '~> 0.
|
16
|
+
s.add_dependency 'prospectus', '~> 0.4.0'
|
17
17
|
s.add_dependency 'nokogiri', '~> 1.8.0'
|
18
18
|
|
19
19
|
s.add_development_dependency 'rubocop', '~> 0.49.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prospectus_dockerhub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Les Aker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prospectus
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.4.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.4.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: nokogiri
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|