rake-tilde 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/README.md +1 -1
- data/lib/rake/tilde.rb +1 -1
- data/lib/rake/tilde/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a7583f5894648460b25735c5983c4c4826734dc
|
4
|
+
data.tar.gz: 371579309e3824d9f5a3a5220023ee62ca62d940
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c982787530794164dc49f7d0b084b856e12940720915923d7a7a3a5402b19690508741449d890e6359723466a8bb544d9c65e918fe8390dab447ae75d8ac6a1
|
7
|
+
data.tar.gz: 5d34530c1bc3db52950c00a580ca22346992f55ec2fcbbe8fd293c2088da2cc98e3134e96db5911c86f0a44a28d7623fccad42083422c3310535ec1d498c3f3b
|
data/README.md
CHANGED
@@ -33,7 +33,7 @@ task :woo do
|
|
33
33
|
puts "woo"
|
34
34
|
end
|
35
35
|
|
36
|
-
listen to: :woo, path: "/somewhere-else", ignore: /\.rb$/ do |modified, added, removed|
|
36
|
+
listen to: :woo, path: "/somewhere-else", opts: { ignore: /\.rb$/ } do |modified, added, removed|
|
37
37
|
puts "woooooo"
|
38
38
|
end
|
39
39
|
```
|
data/lib/rake/tilde.rb
CHANGED
@@ -27,7 +27,7 @@ module Rake
|
|
27
27
|
|
28
28
|
def run(task_name, *task_args)
|
29
29
|
task = Rake.application[task_name]
|
30
|
-
listen_path = paths.fetch(task_name) {{}}
|
30
|
+
listen_path = paths.fetch(task_name.intern) {{}}
|
31
31
|
paths = listen_path.fetch(:paths, listen_path.fetch(:path) { Dir.pwd })
|
32
32
|
opts = listen_path.fetch(:opts) {{}}
|
33
33
|
blk = listen_path[:blk]
|
data/lib/rake/tilde/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake-tilde
|
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
|
- myobie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|