View ecflags_for_fdopen.diff
diff --git a/core/src/main/java/org/jruby/RubyIO.java b/core/src/main/java/org/jruby/RubyIO.java
index 4223b7c..5ea9d30 100644
--- a/core/src/main/java/org/jruby/RubyIO.java
+++ b/core/src/main/java/org/jruby/RubyIO.java
@@ -1068,7 +1068,7 @@ public class RubyIO extends RubyObject implements IOEncodable {
// We are creating a new IO object that shares the same
// IOHandler (and fileno).
try {
- return ChannelStream.fdopen(runtime, existingDescriptor, modes);
+ return ChannelStream.fdopen(runtime, existingDescriptor, modes, ecflags);
View gist:2671350c4f0ad6788c0a
Index: src/main/java/org/apache/maven/shared/release/phase/CheckDependencySnapshotsPhase.java
===================================================================
--- src/main/java/org/apache/maven/shared/release/phase/CheckDependencySnapshotsPhase.java (revision 1734625)
+++ src/main/java/org/apache/maven/shared/release/phase/CheckDependencySnapshotsPhase.java (working copy)
@@ -34,7 +34,6 @@
import org.apache.maven.artifact.ArtifactUtils;
import org.apache.maven.artifact.factory.ArtifactFactory;
import org.apache.maven.project.MavenProject;
-import org.apache.maven.project.artifact.InvalidDependencyVersionException;
import org.apache.maven.shared.release.ReleaseExecutionException;
View patch.diff
diff --git a/core/src/main/java/org/jruby/runtime/marshal/MarshalStream.java b/core/src/main/java/org/jruby/runtime/marshal/MarshalStream.java
index 4b14a54..b1b7a9a 100644
--- a/core/src/main/java/org/jruby/runtime/marshal/MarshalStream.java
+++ b/core/src/main/java/org/jruby/runtime/marshal/MarshalStream.java
@@ -46,6 +46,7 @@ import org.jruby.RubyArray;
import org.jruby.RubyBignum;
import org.jruby.RubyBoolean;
import org.jruby.RubyClass;
+import org.jruby.RubyEncoding;
import org.jruby.RubyFixnum;
View 1.bench_fractal.rb
#!/usr/local/bin/ruby
require 'benchmark'
BAILOUT = 16
MAX_ITERATIONS = 1000
class Mandelbrot
def initialize
puts "Rendering".freeze
View gist:eea4a2830c93566a0e13
a π•―π–Šπ–“ 𝖔𝖋 π•―π–Šπ–™π–Šπ–—π–’π–Žπ–“π–Šπ–‰ π•―π–†π–’π–˜π–Šπ–‘π–˜ slash sΝ”ΜžuΝ•Ν™pΝ™Ν“e̜̺rΜΌΜ¦i̼̜oΜ–Μ¬rΜ™Μ™ c̝͉α»₯Μ§Ν˜αΈ·Μ‘Ν™Ε£Ν“Μ€
View gist:34773d329f5f55dcb3bf
[] ~/projects/rubyspec $ git log | grep 2015 | wc -l
1021
[] ~/projects/rubyspec $ git log | grep 2014 | wc -l
410
[] ~/projects/rubyspec $ git log | grep 2013 | wc -l
961
[] ~/projects/rubyspec $ git log | grep 2012 | wc -l
View gist:a41848e219177daa7b3f
$ jruby -Xir.print -e 'puts "Hello!"'
2016-01-07T22:57:36.180-06:00: IRScope: Printing final IR for -e
begin SCRIPT_BODY<-e>
signature(pre=0,opt=0,post=0,rest=NONE,kwargs=0,kwreq=0,kwrest=false)
0: *%self := recv_self
1: %v_0 := load_frame_closure
2: %current_scope := copy(scope<0>)
3: %current_module := copy(mod<0>)
4: line_num(lineNumber: 0)
5: %v_3 := call_1f(*%self, fix<1>, fixNum: 1, callType: FUNCTIONAL, name: puts, potentiallyRefined: false)
View hazel_one_line.rb
com.hazelcast.core.SampleHazelcast.getTopic("default").instance_eval{addMessageListener{|m|puts "Message received = "+m};publish "message-object"}
View hazel2.rb
topic = com.hazelcast.core.SampleHazelcast.getTopic "default"
topic.addMessageListener { |msg| puts "Message received = " + msg }
topic.publish "my-message-object"
View 1.benchmark.rb
require 'benchmark'
10.times do |i|
ary = [1]
ary2 = [2]
i.times { ary = [ary]; ary2 = [ary2] }
puts "recursive levels = #{i}"
10.times do