startback 0.5.2 → 0.5.3

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
  SHA256:
3
- metadata.gz: f126120755d87024c112a4e93b50f2594ae2e1243a42bb5b919e1c774ac3b1b6
4
- data.tar.gz: b12087121bd87040c4725d0314fa730f968da85d003e71510f334da2a9b13e91
3
+ metadata.gz: 02a1394dae5500a58aca8fddd4609c760d0b362278d852d49d439c77f7283aed
4
+ data.tar.gz: 70e6e5a15b640bf567c1dc49031a71af83c47448398426cac235ef3857ce007e
5
5
  SHA512:
6
- metadata.gz: 0a08330ffbdb7a1901608d885e478d98e4f56313193d1d3af35e162ddcf3153df76c5f5cd596a49810f0303542f31c03efe450a700e64661a46951d9011800a5
7
- data.tar.gz: 7ce42ae03edbc5570965d0b3727bc46c5a2ae08cfb886fe785a5ce3e092711678f7d77ea54317daeb0a4e84af278177d11920cc860ab180f8176cdfb73abcb92
6
+ metadata.gz: baf500e6393b0ccf486f247d3504782cc9f3bd8a88d8623b4d04000a5e99ea28d8fa15449ddd6067ade8b05e3babaa4158f1c6583d571ca29e296490db3482a1
7
+ data.tar.gz: a6f5bc2c8d5ffd6c66b1ca58f2eabfb4965826e11c5946ae2f6964c54baf9a11bec90ddce0430d9eb7bd2c1b9e7c7513a6fd352f66abdb06e1ee5abe45000721
@@ -0,0 +1,28 @@
1
+ module Startback
2
+ module Caching
3
+ #
4
+ # Caching store implementation that caches nothing at all.
5
+ #
6
+ class NoStore
7
+
8
+ def initialize
9
+ end
10
+
11
+ def exist?(key)
12
+ false
13
+ end
14
+
15
+ def get(key)
16
+ nil
17
+ end
18
+
19
+ def set(key, value, ttl)
20
+ value
21
+ end
22
+
23
+ def delete(key)
24
+ end
25
+
26
+ end # class NoStore
27
+ end # module Caching
28
+ end # module Startback
@@ -2,7 +2,7 @@ module Startback
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 5
5
- TINY = 2
5
+ TINY = 3
6
6
  end
7
7
  VERSION = "#{Version::MAJOR}.#{Version::MINOR}.#{Version::TINY}"
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: startback
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernard Lambeau
@@ -155,6 +155,7 @@ files:
155
155
  - lib/startback/bus/memory/async.rb
156
156
  - lib/startback/bus/memory/sync.rb
157
157
  - lib/startback/caching/entity_cache.rb
158
+ - lib/startback/caching/no_store.rb
158
159
  - lib/startback/caching/store.rb
159
160
  - lib/startback/context.rb
160
161
  - lib/startback/context/middleware.rb