riak-record 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 323433e9c9fb5acd1f53b15aebadb059e8cd2302
4
- data.tar.gz: f085f0f28796d53fb8e9146ab799ac54b55c86b8
3
+ metadata.gz: c8049ba441ebb2cba652263e32d6df1bd0a828a6
4
+ data.tar.gz: 1108f270ce115612546ddef1b5311a68a91eb1bc
5
5
  SHA512:
6
- metadata.gz: 2fa5ac5afafbd7e089ab4d04ae8c7a1e4b7862cde0312b738aaca34b12a328904192adef314b7873754813d117e1ab9fffda3e4e5d77ed734204f34e48bcb147
7
- data.tar.gz: 9ff0f2298cfd033786ee6f5b42fb8dc5a16224d6882b1339d13e54827cecefaf80eb6a5e62651b69a820c04e5b6df4a4aab86f3bfbfabbeb1dd9df1360af556d
6
+ metadata.gz: 2384d583d3f58389b0f85f0324b6303fd7513dced12cbb8d6000545639bd14d748b26d342de605ed2a5cfb2e1dba67201707088ce6ff8e393013e67e90cef871
7
+ data.tar.gz: 7993a11ea520f4e214f6fa20a3bffe4ac552b6c0eb73d3e918daffb5bb0fecc563599fd6a59284789531407ecfca8971e514a6c0ed5888fcbb7432405a488008
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -69,6 +69,10 @@ module RiakRecord
69
69
  riak_object.key
70
70
  end
71
71
 
72
+ def to_param
73
+ id
74
+ end
75
+
72
76
  def ==(record)
73
77
  return false unless record.kind_of?(RiakRecord::Base)
74
78
  self.class.bucket_name == record.class.bucket_name && id == record.id
data/riak-record.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: riak-record 0.3.0 ruby lib
5
+ # stub: riak-record 0.3.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "riak-record"
9
- s.version = "0.3.0"
9
+ s.version = "0.3.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Robert Graff"]
14
- s.date = "2014-09-26"
14
+ s.date = "2014-09-27"
15
15
  s.description = "RiakRecord is a thin and immature wrapper around riak-ruby-client. It creates a bucket for\n each class, provides a simple finder, and creates attribute reader."
16
16
  s.email = "robert_graff@yahoo.com"
17
17
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riak-record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Graff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-26 00:00:00.000000000 Z
11
+ date: 2014-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: riak-client