pry-toggle 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: 2bb7c24419c7ab585abcdbe487475dd24d12a680
4
- data.tar.gz: 9ec8430d6e2bbb1c0c1deb773527d227ab26934f
3
+ metadata.gz: 07ba3162467e49527e4ed99d1c39782d9b992ed9
4
+ data.tar.gz: e4f5d4b8ab51fb2c936a386f5651acddabe24000
5
5
  SHA512:
6
- metadata.gz: 776cdad068d5a30652c97092ed6df3999dd39d402badd8f0e2f4ef34e0876ab2e5901231555b16a5f2884291153459de4777fbd442fa63ada87bc32cf21a9b42
7
- data.tar.gz: a5464d5431b7479f0a9fc854be54d7106fbcc87e82e9956722038062e79f194a5440507078942d7ea5d4932f1a9db705279ce3b82c87f08adbdffa8911f18247
6
+ metadata.gz: 01c4026d5a6cda028721cbafd788fb4c6e0dafa58b63abf490263c2bf376edcf8790ce4d35faa8d8e2fefc737a5ced88c2e6be91c35c7d0d4a33fdb7e4b4fe37
7
+ data.tar.gz: e5a622f385dc4b54bc2cdf95157285e004d658256c8963c777170410c83840f194d11028f990a16b7f36c324aba3907df276ee4a35cf441df78fdeb4572082c9
@@ -9,12 +9,12 @@ module PryToggle
9
9
  if hash[:on]
10
10
  puts <<-DOC
11
11
  === Invalid command format. should be like that. ===
12
- $ pry-on exmain.rb:10
12
+ $ pry-on example.rb:10
13
13
  DOC
14
14
  else
15
15
  puts <<-DOC
16
16
  === Invalid command format. should be like that. ===
17
- $ pry-off exmain.rb:10
17
+ $ pry-off example.rb:10
18
18
  DOC
19
19
  end
20
20
 
@@ -10,7 +10,7 @@ module PryToggle
10
10
  o.each.with_index(1) do |line, i|
11
11
  d << str if i == line_num
12
12
  d << line
13
- d << str if line =~ %r|def( +)#{mth_name}|
13
+ # d << str if line =~ %r|def( +)#{mth_name}|
14
14
  end
15
15
  else
16
16
  o.each.with_index(1) do |line, i|
@@ -1,3 +1,3 @@
1
1
  module PryToggle
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-toggle
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
  - gogotanaka