pry-rake 0.0.2 → 0.0.3

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: 3c438174c8a0c3f5ef33b2d9f18d31c8c5ec1f1b
4
- data.tar.gz: ddce7788f0989955600c73397145bc8af9a63527
3
+ metadata.gz: 18e63f7bc3f57eab01f041565e20f5124a1d82dd
4
+ data.tar.gz: 4f707744dfd7f6c78bf9bd3da5963f58582cc624
5
5
  SHA512:
6
- metadata.gz: f1bcefd2f8015e0acce92746789fc3001110bf4c4f0656f6b9ad0d0ec1a923d13adb90376262695987280c1023af6dc2c83392d0fff7574163c454f1487c5271
7
- data.tar.gz: f10e426063190b0645f4d48f980373c4f9db7a4750f4d069473679bfda3b75563322d9f29310e22819d7e2306f64702f3eb9fae5d1e47e643319084bda9703c3
6
+ metadata.gz: 73119d811e7be14837c4114d8c33236b2a4f2b3d4d1a0b04746a3fb689c7a2530cc97a355eaea970712eabc9cda440921dd97cbc526a79bc163b1d8cdc494f7f
7
+ data.tar.gz: a655a0b5fcc1ac1d48b976eff205e92a275abd286ae8ad8521c01937977a2834ca6085eac909d1c8ca0a8f859a0188e04b73c7693a6a7cf89df2a716da3328be
@@ -8,7 +8,7 @@ if defined?(Rake)
8
8
 
9
9
  def initialize_rake
10
10
  rake.init
11
- rake.send(:select_tasks_to_show, Rake.application.options, :tasks, nil)
11
+ rake.send(:select_tasks_to_show, rake.options, :tasks, nil)
12
12
  rake.load_rakefile
13
13
  rake.handle_options
14
14
  end
@@ -19,8 +19,9 @@ if defined?(Rake)
19
19
  rake.display_tasks_and_comments
20
20
  end
21
21
 
22
- def invoke_task(command)
23
- rake.invoke_task(command)
22
+ def invoke_task(task_string)
23
+ rake.invoke_task(task_string)
24
+ rake.tasks.each(&:reenable)
24
25
  end
25
26
 
26
27
  initialize_rake
@@ -1,3 +1,3 @@
1
1
  module PryRake
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-rake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - KARASZI István