rake_fly 1.5.0 → 1.6.0.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +16 -16
- data/lib/rake_fly/kernel_extensions.rb +1 -0
- data/lib/rake_fly/task_sets/pipeline.rb +12 -4
- data/lib/rake_fly/tasks/get_pipeline.rb +5 -3
- data/lib/rake_fly/tasks/push_pipeline.rb +2 -2
- data/lib/rake_fly/tasks/set_pipeline.rb +5 -3
- data/lib/rake_fly/tasks/unpause_pipeline.rb +5 -3
- data/lib/rake_fly/version.rb +1 -1
- data/rake_fly.gemspec +2 -2
- metadata +23 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c79192ed4be181f1dbae2bb10dba1c635b9d34dd00cc1209a30cc829ae0ca1f8
|
4
|
+
data.tar.gz: 920b3b59655ca3ad839226b18739e3d5138f2fd5744df35dbd30b016b0769a49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28cd71a275eeebf31f88c683a1cdc3e7e2409b213fb06d8355236b637dd8b3eb693dae4f588cdfe6f88cb691a802ae6f2985d7b4593ac2b96b2d044a40dbf71a
|
7
|
+
data.tar.gz: 8414a108d496266d07c25b9e97d775be7e9df7160500efb5aa8c46d2d5c57c05140621f160d33cb8ed3e8d72b01869780435ee4a4e115fad255e7cade2380871
|
data/Gemfile.lock
CHANGED
@@ -1,21 +1,22 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rake_fly (1.
|
5
|
-
rake_dependencies (
|
6
|
-
rake_factory (>= 0.
|
4
|
+
rake_fly (1.6.0.pre.1)
|
5
|
+
rake_dependencies (~> 2, < 3)
|
6
|
+
rake_factory (>= 0.23, < 1)
|
7
7
|
ruby_fly (~> 0.11)
|
8
8
|
semantic (~> 1.6.1)
|
9
9
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activesupport (
|
13
|
+
activesupport (6.0.2.1)
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
15
|
i18n (>= 0.7, < 2)
|
16
16
|
minitest (~> 5.1)
|
17
17
|
tzinfo (~> 1.1)
|
18
|
-
|
18
|
+
zeitwerk (~> 2.2)
|
19
|
+
concurrent-ruby (1.1.6)
|
19
20
|
diff-lcs (1.3)
|
20
21
|
docile (1.3.2)
|
21
22
|
fakefs (0.20.1)
|
@@ -24,7 +25,6 @@ GEM
|
|
24
25
|
concurrent-ruby (~> 1.0)
|
25
26
|
i18n (1.8.2)
|
26
27
|
concurrent-ruby (~> 1.0)
|
27
|
-
json (2.3.0)
|
28
28
|
lino (1.1.0)
|
29
29
|
hamster (~> 3.0)
|
30
30
|
open4 (~> 1.3)
|
@@ -32,13 +32,13 @@ GEM
|
|
32
32
|
minitest (5.14.0)
|
33
33
|
open4 (1.3.4)
|
34
34
|
rake (13.0.1)
|
35
|
-
rake_dependencies (1.
|
35
|
+
rake_dependencies (2.1.0)
|
36
36
|
hamster (~> 3.0)
|
37
37
|
minitar (~> 0.9)
|
38
|
-
rake_factory (~> 0.
|
39
|
-
rubyzip (
|
40
|
-
rake_factory (0.
|
41
|
-
activesupport (
|
38
|
+
rake_factory (~> 0.23)
|
39
|
+
rubyzip (>= 1.3)
|
40
|
+
rake_factory (0.23.0)
|
41
|
+
activesupport (>= 4)
|
42
42
|
rake (~> 13.0)
|
43
43
|
rspec (3.9.0)
|
44
44
|
rspec-core (~> 3.9.0)
|
@@ -55,16 +55,16 @@ GEM
|
|
55
55
|
rspec-support (3.9.2)
|
56
56
|
ruby_fly (0.11.0)
|
57
57
|
lino (~> 1.1)
|
58
|
-
rubyzip (2.
|
58
|
+
rubyzip (2.2.0)
|
59
59
|
semantic (1.6.1)
|
60
|
-
simplecov (0.
|
60
|
+
simplecov (0.18.2)
|
61
61
|
docile (~> 1.1)
|
62
|
-
|
63
|
-
|
64
|
-
simplecov-html (0.10.2)
|
62
|
+
simplecov-html (~> 0.11)
|
63
|
+
simplecov-html (0.12.0)
|
65
64
|
thread_safe (0.3.6)
|
66
65
|
tzinfo (1.2.6)
|
67
66
|
thread_safe (~> 0.1)
|
67
|
+
zeitwerk (2.2.2)
|
68
68
|
|
69
69
|
PLATFORMS
|
70
70
|
ruby
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'rake_factory/kernel_extensions'
|
@@ -23,13 +23,21 @@ module RakeFly
|
|
23
23
|
parameter :push_pipeline_task_name, :default => :push_pipeline
|
24
24
|
|
25
25
|
task Tasks::GetPipeline,
|
26
|
-
name:
|
26
|
+
name: RakeFactory::DynamicValue.new { |ts|
|
27
|
+
ts.get_pipeline_task_name
|
28
|
+
}
|
27
29
|
task Tasks::SetPipeline,
|
28
|
-
name:
|
30
|
+
name: RakeFactory::DynamicValue.new { |ts|
|
31
|
+
ts.set_pipeline_task_name
|
32
|
+
}
|
29
33
|
task Tasks::UnpausePipeline,
|
30
|
-
name:
|
34
|
+
name: RakeFactory::DynamicValue.new { |ts|
|
35
|
+
ts.unpause_pipeline_task_name
|
36
|
+
}
|
31
37
|
task Tasks::PushPipeline,
|
32
|
-
name:
|
38
|
+
name: RakeFactory::DynamicValue.new { |ts|
|
39
|
+
ts.push_pipeline_task_name
|
40
|
+
}
|
33
41
|
end
|
34
42
|
end
|
35
43
|
end
|
@@ -5,13 +5,15 @@ module RakeFly
|
|
5
5
|
module Tasks
|
6
6
|
class GetPipeline < RakeFactory::Task
|
7
7
|
default_name :get_pipeline
|
8
|
-
default_prerequisites
|
9
|
-
|
8
|
+
default_prerequisites RakeFactory::DynamicValue.new { |t|
|
9
|
+
[t.ensure_task_name]
|
10
|
+
}
|
11
|
+
default_description RakeFactory::DynamicValue.new { |t|
|
10
12
|
pipeline = t.pipeline || '<derived>'
|
11
13
|
target = t.target || '<derived>'
|
12
14
|
|
13
15
|
"Get pipeline #{pipeline} for target #{target}"
|
14
|
-
|
16
|
+
}
|
15
17
|
|
16
18
|
parameter :target, :required => true
|
17
19
|
parameter :pipeline, :required => true
|
@@ -5,12 +5,12 @@ module RakeFly
|
|
5
5
|
module Tasks
|
6
6
|
class PushPipeline < RakeFactory::Task
|
7
7
|
default_name :push_pipeline
|
8
|
-
default_description
|
8
|
+
default_description RakeFactory::DynamicValue.new { |t|
|
9
9
|
pipeline = t.pipeline || '<derived>'
|
10
10
|
target = t.target || '<derived>'
|
11
11
|
|
12
12
|
"Push pipeline #{pipeline} to target #{target}"
|
13
|
-
|
13
|
+
}
|
14
14
|
|
15
15
|
parameter :target, :required => true
|
16
16
|
parameter :pipeline, :required => true
|
@@ -5,13 +5,15 @@ module RakeFly
|
|
5
5
|
module Tasks
|
6
6
|
class SetPipeline < RakeFactory::Task
|
7
7
|
default_name :set_pipeline
|
8
|
-
default_prerequisites
|
9
|
-
|
8
|
+
default_prerequisites RakeFactory::DynamicValue.new { |t|
|
9
|
+
[t.ensure_task_name]
|
10
|
+
}
|
11
|
+
default_description RakeFactory::DynamicValue.new { |t|
|
10
12
|
pipeline = t.pipeline || '<derived>'
|
11
13
|
target = t.target || '<derived>'
|
12
14
|
|
13
15
|
"Set pipeline #{pipeline} for target #{target}"
|
14
|
-
|
16
|
+
}
|
15
17
|
|
16
18
|
parameter :target, :required => true
|
17
19
|
parameter :pipeline, :required => true
|
@@ -5,13 +5,15 @@ module RakeFly
|
|
5
5
|
module Tasks
|
6
6
|
class UnpausePipeline < RakeFactory::Task
|
7
7
|
default_name :unpause_pipeline
|
8
|
-
default_prerequisites
|
9
|
-
|
8
|
+
default_prerequisites RakeFactory::DynamicValue.new { |t|
|
9
|
+
[t.ensure_task_name]
|
10
|
+
}
|
11
|
+
default_description RakeFactory::DynamicValue.new { |t|
|
10
12
|
pipeline = t.pipeline || '<derived>'
|
11
13
|
target = t.target || '<derived>'
|
12
14
|
|
13
15
|
"Unpause pipeline #{pipeline} for target #{target}"
|
14
|
-
|
16
|
+
}
|
15
17
|
|
16
18
|
parameter :target, :required => true
|
17
19
|
parameter :pipeline, :required => true
|
data/lib/rake_fly/version.rb
CHANGED
data/rake_fly.gemspec
CHANGED
@@ -25,8 +25,8 @@ Gem::Specification.new do |spec|
|
|
25
25
|
|
26
26
|
spec.required_ruby_version = '>= 2.6'
|
27
27
|
|
28
|
-
spec.add_dependency 'rake_dependencies', '
|
29
|
-
spec.add_dependency 'rake_factory', '>= 0.
|
28
|
+
spec.add_dependency 'rake_dependencies', '~> 2', '< 3'
|
29
|
+
spec.add_dependency 'rake_factory', '>= 0.23', '< 1'
|
30
30
|
spec.add_dependency 'ruby_fly', '~> 0.11'
|
31
31
|
spec.add_dependency 'semantic', '~> 1.6.1'
|
32
32
|
|
metadata
CHANGED
@@ -1,43 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake_fly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0.pre.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toby Clemson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake_dependencies
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
22
|
+
version: '3'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '2'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
32
|
+
version: '3'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: rake_factory
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
37
|
- - ">="
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
39
|
+
version: '0.23'
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '1'
|
34
43
|
type: :runtime
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
38
47
|
- - ">="
|
39
48
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0.
|
49
|
+
version: '0.23'
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '1'
|
41
53
|
- !ruby/object:Gem::Dependency
|
42
54
|
name: ruby_fly
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -199,6 +211,7 @@ files:
|
|
199
211
|
- config/secrets/rubygems/credentials
|
200
212
|
- go
|
201
213
|
- lib/rake_fly.rb
|
214
|
+
- lib/rake_fly/kernel_extensions.rb
|
202
215
|
- lib/rake_fly/task_sets.rb
|
203
216
|
- lib/rake_fly/task_sets/pipeline.rb
|
204
217
|
- lib/rake_fly/tasks.rb
|
@@ -230,9 +243,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
230
243
|
version: '2.6'
|
231
244
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
232
245
|
requirements:
|
233
|
-
- - "
|
246
|
+
- - ">"
|
234
247
|
- !ruby/object:Gem::Version
|
235
|
-
version:
|
248
|
+
version: 1.3.1
|
236
249
|
requirements: []
|
237
250
|
rubygems_version: 3.0.1
|
238
251
|
signing_key:
|