method_source 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ require "#{direc}/method_source/source_location"
8
8
 
9
9
  module MethodSource
10
10
 
11
- if RUBY_VERSION =~ /1.9/
11
+ if RUBY_VERSION =~ /1.9/ && RUBY_ENGINE == "ruby"
12
12
  require 'ripper'
13
13
 
14
14
  # Determine if a string of code is a valid Ruby expression.
@@ -1,3 +1,3 @@
1
1
  module MethodSource
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 0
9
- version: 0.4.0
8
+ - 1
9
+ version: 0.4.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - John Mair (banisterfiend)
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-03-16 00:00:00 +13:00
17
+ date: 2011-04-11 00:00:00 +12:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency