rake_fly 0.5.0 → 0.6.0
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c3460c7da241de9ca22f7934b7b9ca1d0416dd9
|
4
|
+
data.tar.gz: 57f85ad365672a4d85b5a94fe21b0a9c8d4a43f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b33a2ed4d20e87208411e091743458f5aa42e89c65ebf459113e942fbc8d6647a289a7002423a12a132e548b72564cf7c8178ebce049f3cd993875d201a678d0
|
7
|
+
data.tar.gz: a35733c4fd65b9de7c37ba4a2b6159725d5b9bfb5d752ce3e91ca5957810a94f872e0b4c7412d0397b1987c98972dc2ec3b33aa47d3ad556679e9efaf1b3da3b
|
data/Gemfile.lock
CHANGED
@@ -17,7 +17,10 @@ module RakeFly
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def define
|
20
|
-
|
20
|
+
pipeline_name = pipeline.respond_to?(:call) ? "<derived>" : pipeline
|
21
|
+
target_name = target.respond_to?(:call) ? "<derived>" : target
|
22
|
+
|
23
|
+
desc "Get pipeline #{pipeline_name} for target #{target_name}"
|
21
24
|
task name, argument_names => [ensure_task] do |_, args|
|
22
25
|
derived_target = target.respond_to?(:call) ?
|
23
26
|
target.call(*[args].slice(0, target.arity)) :
|
@@ -26,7 +29,7 @@ module RakeFly
|
|
26
29
|
pipeline.call(*[args].slice(0, pipeline.arity)) :
|
27
30
|
pipeline
|
28
31
|
|
29
|
-
puts "Getting pipeline #{
|
32
|
+
puts "Getting pipeline #{derived_pipeline} for target #{derived_target}..."
|
30
33
|
RubyFly.get_pipeline(
|
31
34
|
target: derived_target,
|
32
35
|
pipeline: derived_pipeline)
|
@@ -45,11 +45,14 @@ module RakeFly
|
|
45
45
|
t.pipeline = pipeline
|
46
46
|
end
|
47
47
|
|
48
|
-
|
48
|
+
pipeline_name = pipeline.respond_to?(:call) ? "<derived>" : pipeline
|
49
|
+
target_name = target.respond_to?(:call) ? "<derived>" : target
|
50
|
+
|
49
51
|
scoped_set_pipeline_task_name = scoped_task_name(set_pipeline_task_name)
|
50
52
|
scoped_get_pipeline_task_name = scoped_task_name(get_pipeline_task_name)
|
51
53
|
scoped_unpause_pipeline_task_name = scoped_task_name(unpause_pipeline_task_name)
|
52
54
|
|
55
|
+
desc "Push pipeline #{pipeline_name} for target #{target_name}"
|
53
56
|
task name, argument_names do |_, args|
|
54
57
|
[
|
55
58
|
scoped_set_pipeline_task_name,
|
@@ -22,7 +22,10 @@ module RakeFly
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def define
|
25
|
-
|
25
|
+
pipeline_name = pipeline.respond_to?(:call) ? "<derived>" : pipeline
|
26
|
+
target_name = target.respond_to?(:call) ? "<derived>" : target
|
27
|
+
|
28
|
+
desc "Set pipeline #{pipeline_name} for target #{target_name}"
|
26
29
|
task name, argument_names => [ensure_task] do |_, args|
|
27
30
|
derived_target = target.respond_to?(:call) ?
|
28
31
|
target.call(*[args].slice(0, target.arity)) :
|
@@ -40,7 +43,7 @@ module RakeFly
|
|
40
43
|
var_files.call(*[args].slice(0, var_files.arity)) :
|
41
44
|
var_files
|
42
45
|
|
43
|
-
puts "Setting pipeline #{
|
46
|
+
puts "Setting pipeline #{derived_pipeline} for target #{derived_target}..."
|
44
47
|
RubyFly.set_pipeline(
|
45
48
|
target: derived_target,
|
46
49
|
pipeline: derived_pipeline,
|
@@ -17,7 +17,10 @@ module RakeFly
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def define
|
20
|
-
|
20
|
+
pipeline_name = pipeline.respond_to?(:call) ? "<derived>" : pipeline
|
21
|
+
target_name = target.respond_to?(:call) ? "<derived>" : target
|
22
|
+
|
23
|
+
desc "Unpause pipeline #{pipeline_name} for target #{target_name}"
|
21
24
|
task name, argument_names => [ensure_task] do |_, args|
|
22
25
|
derived_target = target.respond_to?(:call) ?
|
23
26
|
target.call(*[args].slice(0, target.arity)) :
|
@@ -26,7 +29,7 @@ module RakeFly
|
|
26
29
|
pipeline.call(*[args].slice(0, pipeline.arity)) :
|
27
30
|
pipeline
|
28
31
|
|
29
|
-
puts "Unpausing pipeline #{
|
32
|
+
puts "Unpausing pipeline #{derived_pipeline} for target #{derived_target}..."
|
30
33
|
RubyFly.unpause_pipeline(
|
31
34
|
target: derived_target,
|
32
35
|
pipeline: derived_pipeline)
|
data/lib/rake_fly/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake_fly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toby Clemson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake_dependencies
|