delta_cache 1.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -36,4 +36,4 @@ Connection
36
36
 
37
37
  DeltaCache.logger = Logger.new(STDOUT, Logger::DEBUG)
38
38
 
39
- See emamples directory for more details.
39
+ See examples directory for more details.
Binary file
@@ -12,7 +12,7 @@ class Notifications
12
12
  attr_accessor :cache
13
13
 
14
14
  def initialize(cache_id)
15
- self.cache = DeltaCache::Cache.new(cache_id)
15
+ self.cache = DeltaCache.new(cache_id)
16
16
 
17
17
  ## flush and initialize cache
18
18
  cache.flush!
@@ -1,3 +1,3 @@
1
1
  module DeltaCache
2
- VERSION = '1.0'
2
+ VERSION = '1.0.1'
3
3
  end
data/lib/delta_cache.rb CHANGED
@@ -8,6 +8,10 @@ module DeltaCache
8
8
 
9
9
  class << self
10
10
  attr_accessor :connection, :logger, :cache_name
11
+
12
+ def new(cache_id)
13
+ Cache.new(cache_id)
14
+ end
11
15
  end
12
16
 
13
17
  class Cache
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delta_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: