Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 34e8e1f7ddca
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3cda1e4ec9b9
Choose a head ref
  • 3 commits
  • 3 files changed
  • 1 contributor

Commits on Jan 15, 2015

  1. Copy the full SHA
    4bc6c01 View commit details
  2. 1
    Copy the full SHA
    8c83df9 View commit details
  3. Copy the full SHA
    3cda1e4 View commit details
Original file line number Diff line number Diff line change
@@ -66,6 +66,10 @@ public boolean require(String path, String feature, RubyNode currentNode) throws
return true;
}

if (feature.equals("time")) {
return true;
}

// Try as a full path

if (requireFile(feature, currentNode)) {
Original file line number Diff line number Diff line change
@@ -26,6 +26,16 @@

# Only part of Rubinius' regexp.rb

class Regexp

IGNORECASE = 1
EXTENDED = 2
MULTILINE = 4
FIXEDENCODING = 16
NOENCODING = 32

end

class MatchData

def inspect
6 changes: 6 additions & 0 deletions core/src/main/ruby/jruby/truffle/core/shims.rb
Original file line number Diff line number Diff line change
@@ -54,6 +54,12 @@ def each_key
end
end

def each_value
each do |key, value|
yield value
end
end

end

class Regexp