view_source 0.0.2 → 0.0.3

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.
@@ -4,4 +4,8 @@ class Object
4
4
  `mate #{location[0]} -l #{location[1]}` if location
5
5
  location
6
6
  end
7
+
8
+ def grep_methods(pattern)
9
+ methods.map(&:to_s).grep pattern
10
+ end
7
11
  end
@@ -1,3 +1,3 @@
1
1
  module ViewSource
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: view_source
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: irb_plugin
17
- requirement: &2157737020 !ruby/object:Gem::Requirement
17
+ requirement: &2165800480 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2157737020
25
+ version_requirements: *2165800480
26
26
  description: irb plugin to view the source of a Ruby method in TextMate
27
27
  email:
28
28
  - mike@clarkware.com