request_store 1.4.0 → 1.4.1

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: 057f28c37dcfc7b49f7443c8440af572892672ee
4
- data.tar.gz: b5d14983640d8e012ca2c153e2b8dddaa6ace337
3
+ metadata.gz: c517aaaa8dab4047c4aaff050b211e0ae064a17c
4
+ data.tar.gz: 60ca08c8030550b4b008f5af53009a50eeb32e41
5
5
  SHA512:
6
- metadata.gz: cea24b9f63fa74fc0b0235d155133932fc018934b64dae3256266a320f060e2f10b004b48735926caaeacf64d28f5fcad336f3df4c5c436994a9c02ac5651994
7
- data.tar.gz: 502ed5cb5807e7066fc3d2a0ac7d7f0d768af7f53c88f96e43c384ca57cfb9a371230f09c98692a8441c74e87c2402d68f09e48dc6aa8ba461892efc6af415c2
6
+ metadata.gz: 3f7bae9168c5c94fb08a84f3ea0d2110a29853d36402b3c195e885df82ff0f0a35de0e92096732c6f20d0a233e7c32a2a91dfb142030f715e6929ee2dc943151
7
+ data.tar.gz: ed8c6184028da4cc114f5ad86bbf954d4a14be985df6bbe0c3fd6e81ce167f7428da53e2aa88bf5d7a4419b73c7dff7bcf865624e70861c5e1192934e599b2bc
@@ -43,7 +43,7 @@ module RequestStore
43
43
  store.key?(key)
44
44
  end
45
45
 
46
- def self.fetch(key, &block)
46
+ def self.fetch(key)
47
47
  store[key] = yield unless exist?(key)
48
48
  store[key]
49
49
  end
@@ -1,3 +1,3 @@
1
1
  module RequestStore
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: request_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Klabnik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-01 00:00:00.000000000 Z
11
+ date: 2018-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack