Commits

Author Commit Message Labels Comments Date
Sean Cribbs
Fix failing spec on JRuby.
Sean Cribbs
Tweak inspect output a little more.
Jay Adkisson
fix a misleading "inspect" Here's what I was seeing: >> my_robject.store #<Riak::RObject http://riak/bucket/foo [text/json]:nil> This is because RObject#load wiped out @data and set @raw_data, but inspect was only looking at @data, not calling the lazy method.
Kyle Kingsbury
Fix bucket#keys raising under rare occasions In rare situations chunked keys can yield an empty string to bucket#keys. This commit checks for nil results from JSON.parse in addition to checking for exceptions.
Duff OMelia
Gitignore test_server.yml in riak-sessions. This makes it consistent with ripple and riak-client.
Sean Cribbs
Make HTTP backends more selectable and prefer Net::HTTP.
Sean Cribbs
Add support for mass-assignment security.
Sean Cribbs
Move the ActiveSupport version check into riak/cache_store.rb.
Sean Cribbs
Add example test server configs. Closes #88.
Duff OMelia
Allow document assignment even if it's a proxy. If the proxy target is the right type, assign away.
Sean Cribbs
Give Kyle credit.
Sean Cribbs
Refactor Riak::Link to use bucket/key/tag internally instead of url/tag.
Sean Cribbs
Remove the pesky warning, especially since Curb is being problematic.
Sean Cribbs
Improve JRuby compatibility.
Sean Cribbs
Move requires into the core_ext file.
Sean Cribbs
Resolve Hash-ordering differences between 1.9 and 1.8.
Sean Cribbs
Make CacheStore specs run again.
Sean Cribbs
Update dependencies.
Sean Cribbs
Fix 1.8.x issue with Open3 returning a nil waitthread.
Sean Cribbs
Require active_support/json so our time formats get applied correctly.
Aphyr
Removed riak-client dependency on ActiveSupport. Riak-client will now use JSON.parse and #to_json. It is compatible with both the yajl-ruby and json gems. Activesupport monkeypatching has been reduced to some minimal methods in lib/riak/core_ext.
Duff OMelia
Report a changed attribute only if its value changes. class Widget include Ripple::Document property :name, String end widget = Widget.create(:name => "TheName") widget.name = "TheName" widget.name_changed? # Before this patch it returned true. Now it returns false.
Duff OMelia
Reload disregards the _type property. It's a property is in the DB but not in the @attributes.
Duff OMelia
Calling reload on a Ripple Document now casts property values. class Widget include Ripple::Document property :shipped_at, Time end widget = Widget.create(:shipped_at => Time.now) widget.reload.shipped_at.class # String This patch allows us to get a Time back, as opposed to a string: widget.reload.shipped_at.class # Time
Sean Cribbs
Bump to v0.8.2.
Sean Cribbs
Regenerate one more time, excluding unstaged files.
Sean Cribbs
Regenerate gemspecs.
Adam Hunter
fixed long standing embedded associations bug where the associated validator would get added to the parent class every time the association was instantiated.
Sean Cribbs
Change dependencies for Rails 3.0.1 and RSpec 2.
Sean Cribbs
Give John credit.
  1. Prev
  2. Next