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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c99101d2aebb36566af5bf209abaf96c73335ae9fae3dc81bf922dd84be53b0a
4
- data.tar.gz: bf23582056929f6fd2e4aaef6706069fb7629573354a2faee40d894ae640a26e
3
+ metadata.gz: c79192ed4be181f1dbae2bb10dba1c635b9d34dd00cc1209a30cc829ae0ca1f8
4
+ data.tar.gz: 920b3b59655ca3ad839226b18739e3d5138f2fd5744df35dbd30b016b0769a49
5
5
  SHA512:
6
- metadata.gz: 5956d5b284f94243b7cc7f259bad8e969463f73ca308966ddf0bfa4c6a60d8df669a67e8fae4625182510ef6c36db68a12d3f75ce44595c117d5bfde17da920a
7
- data.tar.gz: 0733f7f6e0ca79a71ad51def0186f96eabcf124ce6a4f80f9b53555b2df5d23e2c18394165c16c6623f8c7e11b197d1489213fa26623982c33f639b771451729
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.0)
5
- rake_dependencies (>= 1.6)
6
- rake_factory (>= 0.11)
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 (5.2.4.1)
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
- concurrent-ruby (1.1.5)
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.6.0)
35
+ rake_dependencies (2.1.0)
36
36
  hamster (~> 3.0)
37
37
  minitar (~> 0.9)
38
- rake_factory (~> 0.11)
39
- rubyzip (~> 2.0)
40
- rake_factory (0.11.0)
41
- activesupport (~> 5.2)
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.0.0)
58
+ rubyzip (2.2.0)
59
59
  semantic (1.6.1)
60
- simplecov (0.17.1)
60
+ simplecov (0.18.2)
61
61
  docile (~> 1.1)
62
- json (>= 1.8, < 3)
63
- simplecov-html (~> 0.10.0)
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: ->(ts) { ts.get_pipeline_task_name }
26
+ name: RakeFactory::DynamicValue.new { |ts|
27
+ ts.get_pipeline_task_name
28
+ }
27
29
  task Tasks::SetPipeline,
28
- name: ->(ts) { ts.set_pipeline_task_name }
30
+ name: RakeFactory::DynamicValue.new { |ts|
31
+ ts.set_pipeline_task_name
32
+ }
29
33
  task Tasks::UnpausePipeline,
30
- name: ->(ts) { ts.unpause_pipeline_task_name }
34
+ name: RakeFactory::DynamicValue.new { |ts|
35
+ ts.unpause_pipeline_task_name
36
+ }
31
37
  task Tasks::PushPipeline,
32
- name: ->(ts) { ts.push_pipeline_task_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 ->(t) { [t.ensure_task_name] }
9
- default_description ->(t) do
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
- end
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 ->(t) do
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
- end
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 ->(t) { [t.ensure_task_name] }
9
- default_description ->(t) do
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
- end
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 ->(t) { [t.ensure_task_name] }
9
- default_description ->(t) do
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
- end
16
+ }
15
17
 
16
18
  parameter :target, :required => true
17
19
  parameter :pipeline, :required => true
@@ -1,3 +1,3 @@
1
1
  module RakeFly
2
- VERSION = '1.5.0'
2
+ VERSION = '1.6.0.pre.1'
3
3
  end
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', '>= 1.6'
29
- spec.add_dependency 'rake_factory', '>= 0.11'
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.5.0
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-04 00:00:00.000000000 Z
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: '1.6'
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: '1.6'
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.11'
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.11'
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: '0'
248
+ version: 1.3.1
236
249
  requirements: []
237
250
  rubygems_version: 3.0.1
238
251
  signing_key: