lookup_by 0.10.3 → 0.10.4

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: f978eb6ea2c1275848596421d2608d697512adb2
4
- data.tar.gz: 04077b7a42c9fb8b02bba3a577b9374b910a99a6
3
+ metadata.gz: 6dabf985d40ba22c3fccef9758f08829c367029d
4
+ data.tar.gz: d8428f8ef2f854c3552e0ff507a9e7b7d3c50993
5
5
  SHA512:
6
- metadata.gz: aa5ce445131c392a62416a527973b41f483407261d495d7d17e5a91cdac025022f873dafb96e1092f04649fc1ad867f45709ebbddb779d9089eb70fa3ba6df73
7
- data.tar.gz: 0d8baa7e9ffe7f4e036af2d2f6b064603c25c6946231bc4f7d9c20de4835d72ee8634226a3ca8f323946cd14220c6bea247c99d914fe378d80b9bc5486762f08
6
+ metadata.gz: d27a0d57bc5bf4fdbd05de046da003f1e97bafcec89cf701f37765f9eaa82a5721bb79c601c3a8de4da1e6694a2fbcfc49eed9b458a700435f5a3816569bc27a
7
+ data.tar.gz: 1439c460e20d6cd602bb04848df2bc6aeb41c2059bd61eeb40b56d2a877240eef01ba6124b27530063203bc8d4cfe2be08d649d2c6ed379e82fd862c35aa3f6a
@@ -108,6 +108,7 @@ module LookupBy
108
108
  super if defined?(super)
109
109
 
110
110
  @lookup.seed *args
111
+ @lookup.reload
111
112
  end
112
113
  end
113
114
 
@@ -1,3 +1,3 @@
1
1
  module LookupBy
2
- VERSION = "0.10.3"
2
+ VERSION = "0.10.4"
3
3
  end
@@ -81,10 +81,6 @@ describe LookupBy::Lookup::ClassMethods do
81
81
  expect(City.pluck(:name)).to eq(['Chicago'])
82
82
  end
83
83
  end
84
-
85
- it "returns objects" do
86
- expect(City.seed 'Chicago').to eq(City.all)
87
- end
88
84
  end
89
85
  end
90
86
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lookup_by
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.3
4
+ version: 0.10.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Peterson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-19 00:00:00.000000000 Z
11
+ date: 2015-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  version: '0'
154
154
  requirements: []
155
155
  rubyforge_project:
156
- rubygems_version: 2.4.5
156
+ rubygems_version: 2.4.7
157
157
  signing_key:
158
158
  specification_version: 4
159
159
  summary: A thread-safe lookup table cache for ActiveRecord