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
return SSL_TLSEXT_ERR_OK;
}
+
+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
visitor.tree
end
# create a YAML AST from a Ruby object
my_object = [ "(( foo ))" ]
View commands.log
rbenv uninstall jruby-9.0.0.0.pre
git checkout jruby
rbenv uninstall jruby-9.0.0.0.pre2
rbenv install jruby-9.0.0.0.pre2
rbenv shell jruby-9.0.0.0.pre2
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-9.0.0.0.pre
[aaron@TC psych (jruby)]$ git checkout jruby
Already on 'jruby'
[aaron@TC psych (jruby)]$ rbenv uninstall jruby-9.0.0.0.pre2
rbenv: remove /Users/aaron/.rbenv/versions/jruby-9.0.0.0.pre2? y
[aaron@TC psych (jruby)]$ rbenv install jruby-9.0.0.0.pre2
Downloading jruby-bin-9.0.0.0.pre2.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/6c9fd54c71bb64a04cea2af5938a67eab1ed951609fe999d6de88f6b98a6a1e4
Installing jruby-9.0.0.0.pre2...
Installed jruby-9.0.0.0.pre2 to /Users/aaron/.rbenv/versions/jruby-9.0.0.0.pre2
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-9.0.0.0.pre1/lib/ruby/stdlib/rubygems/dependency.rb:315 - 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-9.0.0.0.pre1/lib/ruby/gems/shared', execute `gem env` for more information
/Users/aaron/.rbenv/versions/jruby-9.0.0.0.pre1/lib/ruby/gems/shared/gems/jar-dependencies-0.1.13/lib/jars/installer.rb:12: 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-9.0.0.0.pre1/lib/ruby/gems/shared/gems/maven-tools-1.0.7/lib/maven/tools/dsl.rb:207: warning: Ambiguous first argument; make sure.
/Users/aaron/.rbenv/versions/jruby-9.0.0.0.pre1/lib/ruby/gems/shared/gems/maven-tools-1.0.7/lib/maven/tools/dsl.rb:789: warning: (...) int
Something went wrong with that request. Please try again.