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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de29e58f3c06ef987ee3993e90e3525ec413edba
4
- data.tar.gz: 6d9660e9bfe46255f1e58db4cf1f2e1d48b999b9
3
+ metadata.gz: 3a7583f5894648460b25735c5983c4c4826734dc
4
+ data.tar.gz: 371579309e3824d9f5a3a5220023ee62ca62d940
5
5
  SHA512:
6
- metadata.gz: 0c602b508f4d82e88fdb78dfdf210895eddf9be7a8842e068e7d132ca1a98ad997aa074155177086ada93c12d1fe398eb698f159373b4776ae37cc343f1f99f5
7
- data.tar.gz: 3a9818bf42dfaa6d630bd7cb71bb4b8268754d5bebfff69452f2eb5d904e4221dbe80aa4db3bc84706dccbf320b6831f857edde3da1de5e4cfe012eccde2977c
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
  ```
@@ -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]
@@ -1,5 +1,5 @@
1
1
  module Rake
2
2
  module Tilde
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
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.3
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-01-01 00:00:00.000000000 Z
11
+ date: 2015-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler