persistent-cache 0.3.9 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Persistent
2
2
  class Cache
3
- VERSION = "0.3.9"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
@@ -18,6 +18,6 @@ Gem::Specification.new do |gem|
18
18
  gem.add_development_dependency 'simplecov'
19
19
  gem.add_development_dependency 'simplecov-rcov'
20
20
  gem.add_development_dependency 'debugger'
21
- gem.add_dependency 'sqlite3', '1.3.7'
21
+ gem.add_dependency 'sqlite3', '1.3.10'
22
22
  gem.add_dependency 'eh'
23
23
  end
@@ -140,7 +140,7 @@ describe Persistent::Cache do
140
140
 
141
141
  it "should return the list of keys when asked" do
142
142
  setup_cache
143
- expect(@pcache.keys).to eq(["one", "two", "three"])
143
+ expect(@pcache.keys).to eq(["two", "one", "three"])
144
144
  end
145
145
 
146
146
  it "should allow iteration through each" do
@@ -149,7 +149,7 @@ describe Persistent::Cache do
149
149
  @pcache.each do |key, value|
150
150
  test << "#{key} => #{value}"
151
151
  end
152
- expect(test).to eq(["one => value one", "two => value two", "three => value three"])
152
+ expect(test).to eq(["two => value two", "one => value one", "three => value three"])
153
153
  end
154
154
 
155
155
  it "should delete all entries in the database when asked to clear" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: persistent-cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.9
4
+ version: 0.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-06-10 00:00:00.000000000 Z
13
+ date: 2015-07-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
@@ -83,7 +83,7 @@ dependencies:
83
83
  requirements:
84
84
  - - '='
85
85
  - !ruby/object:Gem::Version
86
- version: 1.3.7
86
+ version: 1.3.10
87
87
  type: :runtime
88
88
  prerelease: false
89
89
  version_requirements: !ruby/object:Gem::Requirement
@@ -91,7 +91,7 @@ dependencies:
91
91
  requirements:
92
92
  - - '='
93
93
  - !ruby/object:Gem::Version
94
- version: 1.3.7
94
+ version: 1.3.10
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: eh
97
97
  requirement: !ruby/object:Gem::Requirement