mize 0.0.0 → 0.0.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: 1a3d262bfae6dc90882b9a6deeb29a655bebd647
4
- data.tar.gz: 9e606ff6fae19a19b6c83f263e3d6ae58f18589a
3
+ metadata.gz: 70eac2b57785b3f69d89ea8776b291471c0c0cbc
4
+ data.tar.gz: 8cd3b53cdda66555f9359551a7e06b6609e5f85a
5
5
  SHA512:
6
- metadata.gz: a2754ca93ed9e827b50d3f8528a535a9ac69790d8defbc9510d0408d4a0128a7f3b8a3356f5420a856cbb141b8fb42c187732be8ee934d6d03fb1a1db40b91c5
7
- data.tar.gz: 715c53aa026e8270bcc9fc9e4fed0a35bafdc6514b57ce11c023d1e2797f113b073a7c2e9c2220bf5a374c1dda809e64443b54b4f5c6e9fe81716eec275144e9
6
+ metadata.gz: 27717d3a91fb0f441b5b1cb13fa875de1b407065aefa030f8e414027e71245ddd5aa819057de8ac815afe88c31de7891c277e15977e41f67af25c2a3d9075470
7
+ data.tar.gz: 3b7672c704ab7f7ec41319124a30f602cd726fda9d2bf22097f2c9aebc9c569f5fea7d5698c4186a5a355554d517f154205aa4bd773083e523e30f62f95a987e
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.0
1
+ 0.0.1
@@ -20,6 +20,7 @@ module Mize
20
20
  cache = ObjectSpace._id2ref id
21
21
  rescue RangeError
22
22
  end
23
+ cache.conform_to?(Mize::CacheProtocol) or cache = nil
23
24
  yield id, cache
24
25
  end
25
26
  end
@@ -1,6 +1,6 @@
1
1
  module Mize
2
2
  # Mize version
3
- VERSION = '0.0.0'
3
+ VERSION = '0.0.1'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: mize 0.0.0 ruby lib
2
+ # stub: mize 0.0.1 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "mize"
6
- s.version = "0.0.0"
6
+ s.version = "0.0.1"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib"]
10
10
  s.authors = ["Florian Frank"]
11
- s.date = "2016-01-28"
11
+ s.date = "2016-02-02"
12
12
  s.description = "Library that provides memoziation for methods and functions for Ruby."
13
13
  s.email = "flori@ping.de"
14
14
  s.extra_rdoc_files = ["README.md", "lib/mize.rb", "lib/mize/cache_methods.rb", "lib/mize/cache_protocol.rb", "lib/mize/configure.rb", "lib/mize/default_cache.rb", "lib/mize/global_clear.rb", "lib/mize/memoize.rb", "lib/mize/railtie.rb", "lib/mize/reload.rb", "lib/mize/version.rb"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-28 00:00:00.000000000 Z
11
+ date: 2016-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar