hstore_accessor 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/hstore_accessor.rb +2 -2
- data/lib/hstore_accessor/{active_record_<_4.2 → active_record_pre_4.2}/time_helper.rb +0 -0
- data/lib/hstore_accessor/{active_record_<_4.2 → active_record_pre_4.2}/type_helpers.rb +0 -0
- data/lib/hstore_accessor/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adf6ed0370312b664c3fa65a0b95662a039e3360
|
4
|
+
data.tar.gz: 49ade9c932fa9a56860522a19479c21ae8cb1b0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69e70ea61aeb26354ec2386aa12f38a32f480b62a6c70953a0dffc338f9bd0d4eb1d164926723a342b0b432868086169f8f681739db54e1105e42ed30b653908
|
7
|
+
data.tar.gz: 27e43ef6addfd779c2f3515899654ea53a181f96f2e993224a0db2de11cefa30ae0354d288a9d1cecdd7c1fe1461cdf8d80c96735c2b0a78c8e696324b892389
|
data/README.md
CHANGED
@@ -191,8 +191,8 @@ Product.tags_contains(%w(housewares kitchen)) # tags containing a number of valu
|
|
191
191
|
Two scopes are created for `boolean` fields:
|
192
192
|
|
193
193
|
```ruby
|
194
|
-
Product.is_popular # => when
|
195
|
-
Product.not_popular # => when
|
194
|
+
Product.is_popular # => when popular is set to true
|
195
|
+
Product.not_popular # => when popular is set to false
|
196
196
|
```
|
197
197
|
|
198
198
|
Predicate methods are also available on instances:
|
data/lib/hstore_accessor.rb
CHANGED
@@ -5,8 +5,8 @@ require "hstore_accessor/version"
|
|
5
5
|
if ::ActiveRecord::VERSION::STRING.to_f >= 4.2
|
6
6
|
require "hstore_accessor/active_record_4.2/type_helpers"
|
7
7
|
else
|
8
|
-
require "hstore_accessor/
|
9
|
-
require "hstore_accessor/
|
8
|
+
require "hstore_accessor/active_record_pre_4.2/type_helpers"
|
9
|
+
require "hstore_accessor/active_record_pre_4.2/time_helper"
|
10
10
|
end
|
11
11
|
|
12
12
|
require "hstore_accessor/serialization"
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hstore_accessor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Hirn
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2015-
|
15
|
+
date: 2015-03-03 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: activerecord
|
@@ -192,8 +192,8 @@ files:
|
|
192
192
|
- hstore_accessor.gemspec
|
193
193
|
- lib/hstore_accessor.rb
|
194
194
|
- lib/hstore_accessor/active_record_4.2/type_helpers.rb
|
195
|
-
- lib/hstore_accessor/
|
196
|
-
- lib/hstore_accessor/
|
195
|
+
- lib/hstore_accessor/active_record_pre_4.2/time_helper.rb
|
196
|
+
- lib/hstore_accessor/active_record_pre_4.2/type_helpers.rb
|
197
197
|
- lib/hstore_accessor/macro.rb
|
198
198
|
- lib/hstore_accessor/serialization.rb
|
199
199
|
- lib/hstore_accessor/version.rb
|