Skip to content
View ssl.diff
diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c
index 4496d46..89a0ab1 100644
--- a/ext/openssl/ossl_ssl.c
+++ b/ext/openssl/ossl_ssl.c
@@ -660,6 +660,21 @@ ssl_info_cb(const SSL *ssl, int where, int val)
+static VALUE ossl_sslctx_set_tmp_ecdh(VALUE self, VALUE ecdh)
View alpn.diff
diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c
index 4496d46..c6b51af 100644
--- a/ext/openssl/ossl_ssl.c
+++ b/ext/openssl/ossl_ssl.c
@@ -645,6 +645,32 @@ ssl_npn_select_cb(SSL *s, unsigned char **out, unsigned char *outlen, const unsi
+static int
View puma_http2.rb
require 'socket'
require 'openssl'
require 'puma/server'
require 'ds9'
class Server < DS9::Server
def initialize socket, app
@app = app
@read_streams = {}
@write_streams = {}
View x.diff
diff --git a/vmdb/app/models/miq_report_result.rb b/vmdb/app/models/miq_report_result.rb
index 9d3e1c1..06dc3a2 100644
--- a/vmdb/app/models/miq_report_result.rb
+++ b/vmdb/app/models/miq_report_result.rb
@@ -108,7 +108,7 @@ class MiqReportResult < ActiveRecord::Base
# => See line 8 of vendor/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/quoting.rb -
# => "records are quoted as their primary key"
def report
- val = read_attribute(:report)
+ val = super
View wat.rb
require 'active_record'
require 'minitest/autorun'
ActiveRecord::Base.establish_connection adapter: 'sqlite3', database: ':memory:'
ActiveRecord::Base.connection.instance_eval do
create_table "timesheets"
create_table "projects_timesheets" do |t|
t.integer "project_id"
t.integer "timesheet_id"
View fix.patch
diff --git a/load.c b/load.c
index 39315df..4ea5280 100644
--- a/load.c
+++ b/load.c
@@ -317,7 +317,7 @@ loaded_feature_path(const char *name, long vlen, const char *feature, long len,
const char *e;
if (vlen < len+1) return 0;
- if (!strncmp(name+(vlen-len), feature, len)) {
+ if (!strncmp(name+(vlen-len), feature, len) && strchr(feature, '.')) {
View update_scalars.rb
require 'psych'
def tree o, options = {}
visitor = Psych::Visitors::YAMLTree.create options
visitor << o
# create a YAML AST from a Ruby object
my_object = [ "(( foo ))" ]
View commands.log
rbenv uninstall jruby-
git checkout jruby
rbenv uninstall jruby-
rbenv install jruby-
rbenv shell jruby-
gem install hoe rake-compiler --no-rdoc --no-ri
gem install minitest -v 4.7.5
git clean -fdx
jruby -v
jruby -S rake package
View foo.log
[aaron@TC psych (jruby)]$ rbenv uninstall jruby-
[aaron@TC psych (jruby)]$ git checkout jruby
Already on 'jruby'
[aaron@TC psych (jruby)]$ rbenv uninstall jruby-
rbenv: remove /Users/aaron/.rbenv/versions/jruby- y
[aaron@TC psych (jruby)]$ rbenv install jruby-
Downloading jruby-bin-
Installing jruby-
Installed jruby- to /Users/aaron/.rbenv/versions/jruby-
View out.txt
[aaron@TC pkg (jruby)]$ RUBYOPT=-d jruby -S gem install psych-2.0.13-java.gem
Exception `Gem::LoadError' at /Users/aaron/.rbenv/versions/jruby- - Could not find 'psych' (>= 1.2.1, ~> 1.2) - did find: [psych-2.0.13-java]
Checked in 'GEM_PATH=/Users/aaron/.gem/jruby/2.2:/Users/aaron/.rbenv/versions/jruby-', execute `gem env` for more information
/Users/aaron/.rbenv/versions/jruby- warning: Ambiguous first argument; make sure.
jar dependencies for psych-2.0.13-java.gemspec . . .
parser.rb:71: warning: Ambiguous first argument; make sure.
/Users/aaron/.rbenv/versions/jruby- warning: Ambiguous first argument; make sure.
/Users/aaron/.rbenv/versions/jruby- warning: (...) int
Something went wrong with that request. Please try again.