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
c:\github\2000-2005-adapter>ruby -v | |
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] | |
c:\github\2000-2005-adapter>irb | |
irb(main):001:0> cmd = "puts Time.local(2009).zone" | |
=> "puts Time.local(2009).zone" | |
irb(main):002:0> ['PST', 'CST'].each do |tz| | |
irb(main):003:1* ENV['TZ'] = tz | |
irb(main):004:1> puts `ruby -e \"#{cmd}\"` | |
irb(main):005:1> 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
ActiveSupport has been patched to ignore MiniTests | |
Using native SQLServer | |
* DEFERRED: For abstract behavior with different language should do a date insertion when language is german. | |
Undefined coerced test: AdapterTest#test_add_limit_offset_should_sanitize_sql_injection_for_limit_without_comas | |
Undefined coerced test: AdapterTest#test_add_limit_offset_should_sanitize_sql_injection_for_limit_with_comas | |
Undefined coerced test: EagerAssociationTest#test_eager_with_has_many_and_limit_and_high_offset_and_multiple_array_conditions | |
Undefined coerced test: EagerAssociationTest#test_eager_with_has_many_and_limit_and_high_offset_and_multiple_hash_conditions | |
Undefined coerced test: EagerAssociationTest#test_count_with_include | |
Undefined coerced test: BasicsTest#test_read_attributes_before_type_cast_on_datetime | |
Undefined coerced test: CalculationsTest#test_should_sum_expression |
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/lib/active_record/connection_adapters/sqlserver_adapter.rb b/lib/active_record/connection_adapters/sqlserver_adapter.rb | |
index 23c0dfd..75efadb 100644 | |
--- a/lib/active_record/connection_adapters/sqlserver_adapter.rb | |
+++ b/lib/active_record/connection_adapters/sqlserver_adapter.rb | |
@@ -1,4 +1,5 @@ | |
require 'active_record/connection_adapters/abstract_adapter' | |
+require 'active_support/core_ext/kernel/requires' | |
require_library_or_gem 'dbi' unless defined?(DBI) | |
require 'core_ext/dbi' | |
require 'core_ext/active_record' |
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
ActiveSupport has been patched to ignore MiniTests | |
Using native SQLServer | |
* DEFERRED: For abstract behavior with different language should do a date insertion when language is german. | |
Undefined coerced test: AdapterTest#test_add_limit_offset_should_sanitize_sql_injection_for_limit_without_comas | |
Undefined coerced test: AdapterTest#test_add_limit_offset_should_sanitize_sql_injection_for_limit_with_comas | |
Undefined coerced test: EagerAssociationTest#test_eager_with_has_many_and_limit_and_high_offset_and_multiple_array_conditions | |
Undefined coerced test: EagerAssociationTest#test_eager_with_has_many_and_limit_and_high_offset_and_multiple_hash_conditions | |
Undefined coerced test: EagerAssociationTest#test_count_with_include | |
Undefined coerced test: BasicsTest#test_read_attributes_before_type_cast_on_datetime | |
Undefined coerced test: CalculationsTest#test_should_sum_expression |
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/activemodel/lib/active_model/validations_repair_helper.rb b/activemodel/lib/active_model/validations_repair_helper.rb | |
index 432e411..e5ddf57 100644 | |
--- a/activemodel/lib/active_model/validations_repair_helper.rb | |
+++ b/activemodel/lib/active_model/validations_repair_helper.rb | |
@@ -29,7 +29,7 @@ module ActiveModel | |
@validation_repairs = Toolbox.record_validations(*model_classes) | |
end | |
teardown do | |
- Toolbox.reset_validations(@validation_repairs) | |
+ Toolbox.reset_validations(@validation_repairs) if @validation_repairs |
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/Merlin/Main/Languages/Ruby/Ruby/Builtins/MutableString.cs b/Merlin/Main/Languages/Ruby/Ruby/Builtins/MutableString.cs | |
index 56ee03b..131c1f7 100644 | |
--- a/Merlin/Main/Languages/Ruby/Ruby/Builtins/MutableString.cs | |
+++ b/Merlin/Main/Languages/Ruby/Ruby/Builtins/MutableString.cs | |
@@ -469,7 +469,11 @@ namespace IronRuby.Builtins { | |
/// The internal representation of the MutableString is preserved. | |
/// </summary> | |
public byte[]/*!*/ ToByteArray() { | |
- return _content.ToByteArray(); | |
+ try { |
This file has been truncated, but you can view the full file.
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
Using SQL via IronRuby, activerecord-sqlserver-adapter | |
Loaded suite c:/github/ironruby/Merlin/External.LCA_RESTRICTED/Languages/Ruby/ruby-1.8.6p287/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader | |
Started | |
Finished in 3690.26 seconds. | |
1) Error: | |
test_add_column(ActiveSchemaTest): | |
NameError: uninitialized constant ActiveRecord::ConnectionAdapters::MysqlAdapter | |
c:/github/rails/activerecord/test/cases/../../lib/../../activemodel/lib/../../activesupport/lib/active_support/dependencies.rb:462:in `load_missing_constant' |
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
print "Using SQL via IronRuby, activerecord-mssql-adapter\n" | |
require_dependency 'models/course' | |
require 'logger' | |
ActiveRecord::Base.logger = Logger.new("debug.log") | |
ActiveRecord::Base.configurations = { | |
'arunit' => { | |
:adapter => 'mssql', | |
:host => ENV['COMPUTERNAME'] + '\\SQLEXPRESS', | |
:database => 'activerecord_unittest', |
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
@echo off | |
setlocal | |
REM Script to run ActiveRecord tests. This executes the same command as doing "rake", but allows customization | |
REM This assumes that you did "git clone git://github.com/rails/rails.git" in the c:\github folder | |
REM This allows easily switching between IronRuby and MRI | |
set USE_IRON_RUBY=1 | |
if defined USE_IRON_RUBY ( | |
set RUBY_EXE=%MERLIN_ROOT%\bin\Debug\ir.exe |
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
(in c:/github/rake) | |
RCov is not available | |
UNABLE TO RUN FUNCTIONAL TESTS | |
No Session Found (gem install session) | |
Loaded suite lib/rake/rake_test_loader | |
Started | |
.......................................................................E.........................F........................................................EEEF...FF..E...........................................F...........F............................................F...................................................................................... | |
Finished in 271.9702 seconds. | |
1) Error: |
NewerOlder