opinionated 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/opinionated.rb +1 -1
- data/lib/opinionated/hash.rb +2 -2
- metadata +4 -4
data/lib/opinionated.rb
CHANGED
@@ -36,7 +36,7 @@ module Reamaze
|
|
36
36
|
eval(
|
37
37
|
<<-EOS
|
38
38
|
def #{preferential}
|
39
|
-
h = Reamaze::Opinionated::
|
39
|
+
h = Reamaze::Opinionated::PrefHash.new self, "#{preferential}"
|
40
40
|
h.replace self["#{preferential}"].from_hstore if self["#{preferential}"]
|
41
41
|
h
|
42
42
|
end
|
data/lib/opinionated/hash.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opinionated
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Lu Wang
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-06-13 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: rails
|