riak-record 0.4.0 → 0.4.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: c748667d6b7ac6f92c336fd09223cd25afc2ed44
4
- data.tar.gz: 64f29aeab06a312e6950226069503015872cf7ae
3
+ metadata.gz: b00a705964f29ab77910a325b38f3bebb60043bd
4
+ data.tar.gz: b66150ea829d5c1c5d789a1f4e44c876217f05b5
5
5
  SHA512:
6
- metadata.gz: e3871dd3dce55ce6cdc00e7ed8d84cdb35794793be38bdb7b6668c51a6b71d1098ce174c604d85bf45dc30162e69e0b54b6f74b5426cdd45497ff2837740c036
7
- data.tar.gz: 08ea68ccb42f6ae571104b9d052b35053914f7674d6c68aec8a7d56d2cdc5679592db0e76703eb6ba84e8be6dd1d25e70b985938e047857138dc88594e18344c
6
+ metadata.gz: c8cc3bdb8ab3e991d0414311d557db8155eb5f7a990d140990cc52daab2c9af729e16dfcc06fdea157ef32846622754881c5c36cd35dc89d4855d0b151cfde7a
7
+ data.tar.gz: b77edf9f28a069979e5c314fe8431088badf93a2acda46d8f1272ed7df4abc6f8ed4b2eb05e26dd0d5ea84826f656ada0a16eeee98460a01f7e43e496df6f065
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
@@ -37,7 +37,7 @@ module RiakRecord
37
37
 
38
38
  def #{association_name}
39
39
  @belongs_to_riak_#{association_name} = nil if @belongs_to_riak_#{association_name} && @belongs_to_riak_#{association_name}.id.to_s != Array(#{foreign_key}).first.to_s
40
- @belongs_to_riak_#{association_name} ||= #{class_name}.find(#{foreign_key})
40
+ @belongs_to_riak_#{association_name} ||= #{class_name}.find(Array(#{foreign_key}).first)
41
41
  end
42
42
 
43
43
  def #{association_name}=(obj)
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.4.0 ruby lib
5
+ # stub: riak-record 0.4.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "riak-record"
9
- s.version = "0.4.0"
9
+ s.version = "0.4.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-29"
14
+ s.date = "2014-10-03"
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.4.0
4
+ version: 0.4.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-29 00:00:00.000000000 Z
11
+ date: 2014-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: riak-client