method_source 0.8 → 0.8.1
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.
- data/Rakefile +3 -3
- data/lib/method_source/code_helpers.rb +1 -1
- data/lib/method_source/version.rb +1 -1
- data/method_source.gemspec +3 -3
- metadata +3 -3
data/Rakefile
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
dlext =
|
1
|
+
dlext = RbConfig::CONFIG['DLEXT']
|
2
2
|
direc = File.dirname(__FILE__)
|
3
3
|
|
4
4
|
require 'rake/clean'
|
5
|
-
require '
|
5
|
+
require 'rubygems/package_task'
|
6
6
|
require "#{direc}/lib/method_source/version"
|
7
7
|
|
8
8
|
CLOBBER.include("**/*.#{dlext}", "**/*~", "**/*#*", "**/*.log", "**/*.o")
|
@@ -50,7 +50,7 @@ namespace :ruby do
|
|
50
50
|
s.platform = Gem::Platform::RUBY
|
51
51
|
end
|
52
52
|
|
53
|
-
|
53
|
+
Gem::PackageTask.new(spec) do |pkg|
|
54
54
|
pkg.need_zip = false
|
55
55
|
pkg.need_tar = false
|
56
56
|
end
|
@@ -125,7 +125,7 @@ module MethodSource
|
|
125
125
|
def self.===(ex)
|
126
126
|
return false unless SyntaxError === ex
|
127
127
|
case ex.message
|
128
|
-
when /unexpected (\$end|end-of-file|END_OF_FILE)/, # mri, jruby, ironruby
|
128
|
+
when /unexpected (\$end|end-of-file|end-of-input|END_OF_FILE)/, # mri, jruby, ruby-2.0, ironruby
|
129
129
|
/embedded document meets end of file/, # =begin
|
130
130
|
/unterminated (quoted string|string|regexp) meets end of file/, # "quoted string" is ironruby
|
131
131
|
/missing 'end' for/, /: expecting '[})\]]'$/, /can't find string ".*" anywhere before EOF/, /: expecting keyword_end/, /expecting kWHEN/ # rbx
|
data/method_source.gemspec
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "method_source"
|
5
|
-
s.version = "0.8"
|
5
|
+
s.version = "0.8.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["John Mair (banisterfiend)"]
|
9
|
-
s.date = "2012-
|
9
|
+
s.date = "2012-10-17"
|
10
10
|
s.description = "retrieve the sourcecode for a method"
|
11
11
|
s.email = "jrmair@gmail.com"
|
12
12
|
s.files = [".gemtest", ".travis.yml", ".yardopts", "Gemfile", "LICENSE", "README.markdown", "Rakefile", "lib/method_source.rb", "lib/method_source/code_helpers.rb", "lib/method_source/source_location.rb", "lib/method_source/version.rb", "method_source.gemspec", "test/test.rb", "test/test_code_helpers.rb", "test/test_helper.rb"]
|
13
13
|
s.homepage = "http://banisterfiend.wordpress.com"
|
14
14
|
s.require_paths = ["lib"]
|
15
|
-
s.rubygems_version = "1.8.
|
15
|
+
s.rubygems_version = "1.8.23"
|
16
16
|
s.summary = "retrieve the sourcecode for a method"
|
17
17
|
s.test_files = ["test/test.rb", "test/test_code_helpers.rb", "test/test_helper.rb"]
|
18
18
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: method_source
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.8.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-10-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bacon
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
86
|
rubyforge_project:
|
87
|
-
rubygems_version: 1.8.
|
87
|
+
rubygems_version: 1.8.23
|
88
88
|
signing_key:
|
89
89
|
specification_version: 3
|
90
90
|
summary: retrieve the sourcecode for a method
|