Permalink
Browse files

Bump to support 1.8.7, REE and RBX.

  • Loading branch information...
1 parent b1ef1ca commit 7e64d0dc6834b2ac6b0ae537886ccdd8b4a29f27 @brianp committed Mar 4, 2012
Showing with 11 additions and 5 deletions.
  1. +4 −3 .travis.yml
  2. +4 −0 CHANGELOG.rdoc
  3. +2 −1 Guardfile
  4. +1 −1 lib/garnish/presenter/relationships.rb
View
@@ -1,6 +1,7 @@
rvm:
- # - 1.8.7 # (current default)
+ - 1.8.7
+ - ree
- 1.9.2
- 1.9.3
- # - rbx-2.0
- # - ree
+ - rbx-18mode
+ - rbx-19mode
View
@@ -1,3 +1,7 @@
+0.0.6 (March 3, 2012)
+
+* Added support for Ruby 1.8.7, REE & Rubinius
+
0.0.5 (February 29, 2012)
* Remove cruft from Guardfile so Guard works again. Fix broken tests from last
View
@@ -1,4 +1,5 @@
-guard 'rspec', :cli => "--color --order random", :version => 2 do
+guard 'rspec', :cli => "--color --order random", :version => 2, :rvm =>
+['1.9.3'] do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
@@ -9,7 +9,7 @@ def self.extended(base)
relationships.map do |key|
alias_method "#{key}_orig".to_sym, key.to_sym
- define_method "#{key}" do |opts = nil, *rest|
+ define_method "#{key}" do |*rest|
records = self.send("#{key}_orig")
Garnish::Collection.new(records, template)
end

0 comments on commit 7e64d0d

Please sign in to comment.