rake-opt-chore 0.1.0
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 +15 -0
- data/lib/rake/opt/chore.rb +25 -0
- data/lib/rake/opt/chore/patches.rb +1 -0
- data/lib/rake/opt/chore/patches/rake/dsl.rb +8 -0
- metadata +65 -0
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
M2M1MzFkZmU5MTQ4YjUxZjFlNzQ5ZDQwYjA4MDZlNjczZmQ0ZDE2Mw==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
Yjk4MzFkMWMwODcwYmNiZGNmMzE0OWJjNjlkNmM2MzU1OGI1YzI0YQ==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MDJiZmQxOTA0MmI5MzkyNmI3YmNiM2I5MjhlYjQzNjYxZTZmNGRiYjEyOGJi
|
10
|
+
ZmEwN2QxN2FkMTYyZmFhMjE2NDU3MDM4NzMwM2RmZjhkMDY2ZTBmMDIxOWI1
|
11
|
+
Y2JmM2NiNzc5YmYwNTIwNDFiMWEzOWUyN2ViMWI2MTk2OTdlM2E=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MzI1YjIzMjBiNDNhMzMzYmY3MjA0NTI1ZTk5MjczZjc5MzgzNjQ1OGNjNWZh
|
14
|
+
MDE2ZGU3NmFhMjAwZWY2OGVjNmU0YTQyYjhjMmI0NjFjZjJhMzFhYjUyNTI5
|
15
|
+
ZDc4ZmUyNTU0M2VhNTE0ZDkxYjZmNTRhZWRiMzU0YWUxNWE4MmM=
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module Rake
|
2
|
+
module Opt
|
3
|
+
class Chore < Rake::Task
|
4
|
+
|
5
|
+
# Overrides Rake::Task#invoke to execute even if already invoked
|
6
|
+
def invoke_with_call_chain(task_args, invocation_chain) # :nodoc:
|
7
|
+
new_chain = InvocationChain.append(self, invocation_chain)
|
8
|
+
@lock.synchronize do
|
9
|
+
if application.options.trace
|
10
|
+
application.trace "** Invoke #{name} #{format_trace_flags}"
|
11
|
+
end
|
12
|
+
@already_invoked = true
|
13
|
+
invoke_prerequisites(task_args, new_chain)
|
14
|
+
execute(task_args) if needed?
|
15
|
+
end
|
16
|
+
rescue Exception => ex
|
17
|
+
add_chain_to(ex, new_chain)
|
18
|
+
raise ex
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
require_relative 'chore/patches.rb'
|
@@ -0,0 +1 @@
|
|
1
|
+
require_relative 'patches/rake/dsl.rb'
|
metadata
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rake-opt-chore
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: !binary |-
|
5
|
+
MC4xLjA=
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Jon San Miguel
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2016-05-23 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rake
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ! '>='
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: !binary |-
|
21
|
+
MTAuMy4y
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ! '>='
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: !binary |-
|
29
|
+
MTAuMy4y
|
30
|
+
description: Equivalent of a rake task except that it will be executed even if it
|
31
|
+
has already been invoked
|
32
|
+
email: jon.sanmiguel@optimizely.com
|
33
|
+
executables: []
|
34
|
+
extensions: []
|
35
|
+
extra_rdoc_files: []
|
36
|
+
files:
|
37
|
+
- lib/rake/opt/chore.rb
|
38
|
+
- lib/rake/opt/chore/patches.rb
|
39
|
+
- lib/rake/opt/chore/patches/rake/dsl.rb
|
40
|
+
homepage: http://rubygems.org/gems/rake-opt-chore
|
41
|
+
licenses:
|
42
|
+
- Apache 2.0
|
43
|
+
metadata: {}
|
44
|
+
post_install_message:
|
45
|
+
rdoc_options: []
|
46
|
+
require_paths:
|
47
|
+
- lib
|
48
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - ! '>='
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '0'
|
53
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - ! '>='
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '0'
|
58
|
+
requirements: []
|
59
|
+
rubyforge_project:
|
60
|
+
rubygems_version: 2.4.8
|
61
|
+
signing_key:
|
62
|
+
specification_version: 4
|
63
|
+
summary: Equivalent of a rake task except that it will be executed even if it has
|
64
|
+
already been invoked
|
65
|
+
test_files: []
|