opinionated 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,7 +36,7 @@ module Reamaze
36
36
  eval(
37
37
  <<-EOS
38
38
  def #{preferential}
39
- h = Reamaze::Opinionated::Hash.new self, "#{preferential}"
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
@@ -1,6 +1,6 @@
1
1
  module Reamaze
2
2
  module Opinionated
3
- class Hash < ::Hash
3
+ class PrefHash < Hash
4
4
  def initialize(owner, preferential)
5
5
  @owner = owner
6
6
  @preferential = preferential
@@ -26,4 +26,4 @@ module Reamaze
26
26
  end
27
27
  end
28
28
  end
29
- end
29
+ end
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: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
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-05-31 00:00:00 Z
18
+ date: 2012-06-13 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails