This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <windows.h> | |
| #include <stdio.h> | |
| #include <shlwapi.h> | |
| void main() | |
| { | |
| CHAR *path; | |
| BOOL ret; | |
| path = "C:/projects/rubyinstaller/sandbox"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/test/psych/test_hash.rb b/test/psych/test_hash.rb | |
| index 4bd4edf..b000226 100644 | |
| --- a/test/psych/test_hash.rb | |
| +++ b/test/psych/test_hash.rb | |
| @@ -5,6 +5,10 @@ module Psych | |
| class X < Hash | |
| end | |
| + class Y < Hash | |
| + attr_accessor :val |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/test/psych/test_array.rb b/test/psych/test_array.rb | |
| index ec6a1aa..57b9428 100644 | |
| --- a/test/psych/test_array.rb | |
| +++ b/test/psych/test_array.rb | |
| @@ -2,11 +2,30 @@ require 'psych/helper' | |
| module Psych | |
| class TestArray < TestCase | |
| + class X < Array | |
| + end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "vcr" | |
| require "net/http" | |
| VCR.configure do |c| | |
| c.cassette_library_dir = '/tmp' | |
| c.hook_into :webmock | |
| c.default_cassette_options = { | |
| record: :once | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/vmdb/vendor/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb b/vmdb/vendor/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb | |
| index 97c6cd4..28f1318 100644 | |
| --- a/vmdb/vendor/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb | |
| +++ b/vmdb/vendor/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb | |
| @@ -36,9 +36,15 @@ module ActiveRecord | |
| # Executes the SQL statement in the context of this connection. | |
| def execute(sql, name = nil) | |
| - raise NotImplementedError, "execute is an abstract method" | |
| + check_delayed_open_transaction |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Loading development environment (Rails 4.1.8) | |
| irb(main):001:0> u = User.first | |
| User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 | |
| => #<User id: 1, name: "Fryguy", created_at: "2014-12-05 21:18:18", updated_at: "2014-12-05 21:18:18"> | |
| irb(main):002:0> u.save! | |
| (0.2ms) begin transaction | |
| (0.1ms) commit transaction | |
| => true | |
| irb(main):003:0> u.name = "Fryguy" | |
| => "Fryguy" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'open4' | |
| CASE = 'ruby -e "STDERR.puts \'a\'*70000; STDOUT.puts \'Hi\'"' | |
| puts CASE | |
| puts "---" | |
| status = Open4.open4(CASE) do |pid, stdin, stdout, stderr| | |
| stdin.close | |
| threads = [ | |
| Thread.new { stdout.each_line { |l| puts "STDOUT: #{l}" } }, | |
| Thread.new { stderr.each_line { |l| puts "STDERR: #{l}" } } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/Gemfile b/Gemfile | |
| index 90b36f7..75077b4 100644 | |
| --- a/Gemfile | |
| +++ b/Gemfile | |
| @@ -4,6 +4,8 @@ eval_gemfile(File.expand_path("gems/pending/Gemfile", __dir__)) | |
| # VMDB specific gems | |
| # | |
| +gem 'influxdb' | |
| + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/generated_slick.grid.css b/app/assets/stylesheets/slick.grid.css | |
| index fb2bede..6cc53a4 100644 | |
| --- a/generated_slick.grid.css | |
| +++ b/app/assets/stylesheets/slick.grid.css | |
| @@ -4,14 +4,21 @@ In order to preserve the uniform grid appearance, all cell styles need to have p | |
| No built-in (selected, editable, highlight, flashing, invalid, loading, :focus) or user-specified CSS | |
| classes should alter those! | |
| */ | |
| -/* line 10, /Users/jfrey/.gem/ruby/2.2.3/gems/rails-assets-slickgrid-2.1.0/app/assets/stylesheets/slickgrid/slick.grid.scss */ | |
| + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| irb(main):001:0> require 'objspace' | |
| => true | |
| irb(main):002:0> GC.start | |
| => nil | |
| irb(main):003:0> GC.start | |
| => nil | |
| irb(main):004:0> ObjectSpace.dump_all | |
| => #<File:/var/folders/y3/p3qvt8mj7v36kg5m6_mfdfgm0000gn/T/rubyheap20151012-93687-1kakmc5.json> | |
| irb(main):005:0> ObjectSpace.trace_object_allocations_start | |
| => nil |
OlderNewer