shrine-memory 0.2.1 → 0.2.2

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: fa09c0c5caf3b30260c11a1f165574cb612f5f52
4
- data.tar.gz: edf49d0c341424316351c663d230e3c5f21b1c0d
3
+ metadata.gz: b1b4e451fd11a0df9921c1ded7c040061331ae7b
4
+ data.tar.gz: 3b7aa57a77fdab0b98a7b1dcad7830bf8692f02b
5
5
  SHA512:
6
- metadata.gz: 365460459edb27161af4d6df9864a4f3d5f28aed83ea1eccf5f0092776624b1f1f7974bba7a2fa615979034e31d3ec2731bd861beac2cbaa2e622d4d0f6df713
7
- data.tar.gz: 2c493f4b13abe9ff5e014ed87894f875065f9154bd86dcfd33797362f128cc9a722a1876e0e5587950c69c7a9c97362231690e8e31cfbf17a32cbdf137521836
6
+ metadata.gz: acf03632a079d72c6e7e6895f536ebfe497836fea414d140793c30af0ebe168d4785eb2c380ae4405ff5e4da196e61d02783af823436e8d95c5dc705a5bd04cb
7
+ data.tar.gz: 9d7731e62f1809227c4f7bd28d2daf7424764df51176021e4cee76a37ec78bba260933233da4dc6ee0c5b1b41b1516fac4611b2dd47dbef944b204c72cf32d98
@@ -40,7 +40,7 @@ class Shrine
40
40
  end
41
41
 
42
42
  def delete(id)
43
- store.delete(id) or raise KeyError, "key not found: #{id.inspect}"
43
+ store.delete(id)
44
44
  end
45
45
 
46
46
  def multi_delete(ids)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = "shrine-memory"
3
- gem.version = "0.2.1"
3
+ gem.version = "0.2.2"
4
4
 
5
5
  gem.required_ruby_version = ">= 2.1"
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shrine-memory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janko Marohnić
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-22 00:00:00.000000000 Z
11
+ date: 2016-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: shrine
@@ -102,4 +102,3 @@ signing_key:
102
102
  specification_version: 4
103
103
  summary: Provides in-memory storage for Shrine.
104
104
  test_files: []
105
- has_rdoc: