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/data_objects/lib/data_objects/spec/typecast/string_spec.rb b/data_objects/lib/data_objects/spec/typecast/string_spec.rb | |
index 4b15afb..f06ef2c 100644 | |
--- a/data_objects/lib/data_objects/spec/typecast/string_spec.rb | |
+++ b/data_objects/lib/data_objects/spec/typecast/string_spec.rb | |
@@ -83,4 +83,25 @@ share_examples_for 'supporting String' do | |
end | |
+ class StringWithExtraPowers < String; 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
/usr/local/jruby-1.4.0RC3/lib/ruby/gems/1.8/gems/data_objects-0.10.1/lib/data_objects/pooling.rb:221:in `expired?': undefined method `exiting' for DataObjects:Module (NoMethodError) | |
from /usr/local/jruby-1.4.0RC3/lib/ruby/gems/1.8/gems/data_objects-0.10.1/lib/data_objects/pooling.rb:220:in `each' | |
from /usr/local/jruby-1.4.0RC3/lib/ruby/gems/1.8/gems/data_objects-0.10.1/lib/data_objects/pooling.rb:220:in `expired?' | |
from /usr/local/jruby-1.4.0RC3/lib/ruby/gems/1.8/gems/data_objects-0.10.1/lib/data_objects/pooling.rb:46:in `scavenger' | |
from /usr/local/jruby-1.4.0RC3/lib/ruby/gems/1.8/gems/data_objects-0.10.1/lib/data_objects/pooling.rb:45:in `scavenger' | |
from /usr/local/jruby/lib/ruby/1.8/set.rb:195:in `each' | |
from /usr/local/jruby/lib/ruby/1.8/set.rb:195:in `each_key' | |
from /usr/local/jruby/lib/ruby/1.8/set.rb:195:in `each' | |
from /usr/local/jruby-1.4.0RC3/lib/ruby/gems/1.8/gems/data_objects-0.10.1/lib/data_objects/pooling.rb:42:in `scavenger' |
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/dm-core/collection.rb b/lib/dm-core/collection.rb | |
index 0ef2942..6d8658a 100644 | |
--- a/lib/dm-core/collection.rb | |
+++ b/lib/dm-core/collection.rb | |
@@ -1197,7 +1197,7 @@ module DataMapper | |
conditions = query.conditions | |
if conditions.slug == :and | |
- properties = self.properties.dup | |
+ properties = self.send(:properties).dup |
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
NoMethodError in 'DataMapper::Collection with mysql#create! when scoped with a condition other than eql before(:all)' | |
undefined method `properties' for []:DataMapper::Collection | |
/usr/local/jruby-1.4.0RC3/lib/ruby/gems/1.8/gems/extlib-0.9.14/lib/extlib/lazy_array.rb:418:in `method_missing' | |
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1387:in `method_missing' | |
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1200:in `default_attributes' | |
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1156:in `_create' | |
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/repository.rb:106:in `scope' | |
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1156:in `_create' | |
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:782:in `create!' | |
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:241: |
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 'benchmark' | |
require 'rubygems' | |
require 'addressable/uri' | |
require 'pathname' | |
include Benchmark | |
dir = File.dirname(__FILE__) | |
lib_path = File.expand_path("#{dir}/lib") | |
$LOAD_PATH.unshift lib_path unless $LOAD_PATH.include?(lib_path) | |
# put data_objects from repository in the load path |
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
[alexbcoles@mondiale dm-core (next)]$ ADAPTERS=in_memory irake spec | |
(in /Users/alexbcoles/git-repos/dm-core) | |
You must 'gem install win32console' to use colour on Windows | |
/usr/local/ironruby/lib/ironruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/shared_example_group.rb:38:in `already_registered?': Shared Example 'It can transfer a Resource from another association' already exists (ArgumentError) | |
from /usr/local/ironruby/lib/ironruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/shared_example_group.rb:7:in `register' | |
from /usr/local/ironruby/lib/ironruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_factory.rb:24:in `create_shared_example_group' | |
from /usr/local/ironruby/lib/ironruby/gems/1.8/gems/rspec-1.2.9/lib/spec/dsl/main.rb:50:in `share_examples_for' | |
from /Users/alexbcoles/git-repos/dm-core/spec/public/shared/association_collection_shared_spec.rb:1 | |
from /usr/local/ironruby/lib/ironruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:15:in `load_files' | |
from /usr/local/ironr |
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
[alexbcoles@mondiale extlib (next)]$ irake spec | |
(in /Users/alexbcoles/git-repos/extlib) | |
You must 'gem install win32console' to use colour on Windows | |
.....................................F.........................F...........................FFF.......FFFFFF........FFFFFFFFFFFFFFFFFFFFFFFFFFFFF..FFFFF..FFFF..FFFFFFFFFFFFFFFFFF.F.FF.F.FFFF.........................................................................................................................................................FFF.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. |
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
jruby -S rake spec | |
(in /Users/alexbcoles/git-repos/do/do_sqlite3) | |
To cross-compile, install rake-compiler (gem install rake-compiler) | |
rubyforge gem is required to generate releases, please install it (gem install rubyforge). | |
rm -r pkg/ | |
rm -r lib/do_sqlite3_ext.jar | |
rm -r log/do.log | |
rm -r spec/test.db | |
rm -r ext/do_sqlite3_ext/Makefile | |
rm -r ext-java/target |
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
Code | |
---- | |
* next branch | |
* master branch | |
OS: | |
--- | |
* Windows |
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:\Users\alexbcoles\git-repos\extlib>irake install | |
(in c:/Users/alexbcoles/git-repos/extlib) | |
c:/Users/alexbcoles/git-repos/ironruby/Merlin/Main/bin/Debug/ir.exe -S gem install --local pkg/extlib-0.9.14 | |
Option `-S' not supported | |
rake aborted! | |
Command failed with status (-1): [ c:/Users/alexbcoles/git-repos/ironruby/Me...] | |
c:/Users/alexbcoles/git-repos/extlib/rakefile:100:in `sudo_gem' | |
(See full trace by running task with --trace) | |