ork 0.1.4 → 0.1.5

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: 2c07bdc3fa0fd2f3ed00a327a9ca745315e33243
4
- data.tar.gz: 9059ca0b44c7d24afdec3db8ce3ad8a2de5b05be
3
+ metadata.gz: e8506fc01349568cec96cc076183f841932ccbbd
4
+ data.tar.gz: 59e5fd926f139a1ba0d758d1491ab19c4c024e76
5
5
  SHA512:
6
- metadata.gz: 8da194455a375e7e84f75bbec0776ef9e5b5bcfa068b36eb7a27528b9bea1263a220a2ac3826921e94f22eea7e163469b87fb8e4b9cb705d050569d3fb72bcd8
7
- data.tar.gz: d5e4c535d1f791a17994af104700173dcc5cd58ebc5968088931628e98fa15dbf826234987ba9294cc7d89e46754cb957a4710aaac83c41a40f9a2895341a22d
6
+ metadata.gz: a9488dd440ad18e174dce1753bbdaec3f04d636a8be77bd31bf49a40cbc504183850e0f71e0dcf9e25c772add99b43aad0d46a87fc2627b4b1b289d1eaf04292
7
+ data.tar.gz: e63071f261cef5efbf4547cd1a2809ae17ec76ff9b6eda769eb554e9a58b3cc009a19780cbf70504e1c8f8c5ff8eec21b6935cd7cff1a413d98147f653a5779d
data/README.md CHANGED
@@ -264,6 +264,9 @@ If you don't know them, you should take a look, but remember that you are free t
264
264
 
265
265
  Just remember to check if an object is _valid_ __before__ you _save_ it.
266
266
 
267
+ # Ork vs Ripple
268
+
269
+ ![Ork_vs_ripple](http://f.cl.ly/items/2L2F090T3C0i0H1C2C1P/Image%202014-04-23%20at%203.52.56%20PM.png)
267
270
 
268
271
  # Tools
269
272
 
data/lib/ork.rb CHANGED
@@ -7,7 +7,7 @@ require 'ork/errors'
7
7
  require "riak"
8
8
 
9
9
  module Ork
10
- VERSION = "0.1.2"
10
+ VERSION = "0.1.5"
11
11
 
12
12
  def self.conn
13
13
  @conn ||= Ork::Connection.new
@@ -14,7 +14,7 @@ module Ork::Model
14
14
  # It's best to normalize or encode any
15
15
  # user-supplied data before using it as an index
16
16
  def value_from(attributes)
17
- Set[attributes[@name]]
17
+ Array(attributes[@name]).to_set
18
18
  end
19
19
  end
20
20
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'ork'
3
- s.version = '0.1.4'
3
+ s.version = '0.1.5'
4
4
  s.date = Time.now.strftime('%Y-%m-%d')
5
5
  s.summary = 'Ruby modeling layer for Riak.'
6
6
  s.description = 'Ork is a small Ruby modeling layer for Riak, inspired by Ohm.'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emiliano Mancuso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-16 00:00:00.000000000 Z
11
+ date: 2014-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: riak-client
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  version: '0'
97
97
  requirements: []
98
98
  rubyforge_project:
99
- rubygems_version: 2.2.1
99
+ rubygems_version: 2.4.3
100
100
  signing_key:
101
101
  specification_version: 4
102
102
  summary: Ruby modeling layer for Riak.