mize 0.3.5 → 0.4.0

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: ad9af62cd3ec5921f05fde3b1c5b2fb7c76771d153c6f1be5cb21887dc210ab2
4
- data.tar.gz: 416174f2ae19c5ae1cee717e266d0426002f4d1af3b18fb3da4567d84181e201
3
+ metadata.gz: dcfd4e246719f8931a0e654722a01dc8d091831ddf38659d2109e1150e59842f
4
+ data.tar.gz: 4681c082ae4c0d90e693b7596c57cf16fc6923c7e000edb18d595da7f187601c
5
5
  SHA512:
6
- metadata.gz: 0346bdc4f13aaed91820ed21e0772a28125c27986812e1c873a17a1dd7b784af71432c2e9a7caeefcb7ce5a31c550a5bbc09dc0deca4ca9e76b30d237209cf2c
7
- data.tar.gz: 313e41f46e249ea27c833889e76bfbfa81016cc09875d57012488a95626ece460ba20adcef969f8984ee249daae2adf1f43c0c46cf185dce6aeaa5ccfde02d65
6
+ metadata.gz: 458d9164d55a7fe85a04eb9b79868243235e4f46a24206f7e35b49d7e36d02318735298ce6c2feca8ebfc147159c0c37c6afe0220fcc9d537b06a9c4ede78738
7
+ data.tar.gz: a31876ac329016bd93317cb3defa0699e9f18afba57d103df8d074941b2bd4c3b3cc2dd08e2e9c6885cc4b372d7a091e7480666b1b4134b7b0492cca7bce010f
data/Rakefile CHANGED
@@ -17,7 +17,7 @@ GemHadar do
17
17
  '.AppleDouble', 'tags', '.byebug_history', '.yard*', 'errors.lst'
18
18
 
19
19
 
20
- dependency 'protocol'
20
+ dependency 'protocol', '~> 2.0'
21
21
  development_dependency 'rake'
22
22
  development_dependency 'simplecov'
23
23
  development_dependency 'rspec'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.5
1
+ 0.4.0
@@ -21,7 +21,7 @@ module Mize::CacheMethods
21
21
 
22
22
  # Set the cache object to +cache+.
23
23
  def __mize_cache__=(cache)
24
- Mize::CacheProtocol.check cache
24
+ Mize::CacheProtocol =~ cache
25
25
  @__mize_cache__ = cache
26
26
  end
27
27
 
@@ -1,6 +1,6 @@
1
1
  module Mize
2
2
  # Mize version
3
- VERSION = '0.3.5'
3
+ VERSION = '0.4.0'
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.3.5 ruby lib
2
+ # stub: mize 0.4.0 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "mize".freeze
6
- s.version = "0.3.5"
6
+ s.version = "0.4.0"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
10
10
  s.authors = ["Florian Frank".freeze]
11
- s.date = "2018-02-09"
11
+ s.date = "2019-11-15"
12
12
  s.description = "Library that provides memoziation for methods and functions for Ruby.".freeze
13
13
  s.email = "flori@ping.de".freeze
14
14
  s.extra_rdoc_files = ["README.md".freeze, "lib/mize.rb".freeze, "lib/mize/cache_methods.rb".freeze, "lib/mize/cache_protocol.rb".freeze, "lib/mize/configure.rb".freeze, "lib/mize/default_cache.rb".freeze, "lib/mize/global_clear.rb".freeze, "lib/mize/memoize.rb".freeze, "lib/mize/railtie.rb".freeze, "lib/mize/reload.rb".freeze, "lib/mize/version.rb".freeze]
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
  s.licenses = ["MIT".freeze]
18
18
  s.rdoc_options = ["--title".freeze, "Mize - Library that provides memoziation for methods and functions".freeze, "--main".freeze, "README.md".freeze]
19
19
  s.required_ruby_version = Gem::Requirement.new(">= 2".freeze)
20
- s.rubygems_version = "2.7.3".freeze
20
+ s.rubygems_version = "3.0.6".freeze
21
21
  s.summary = "Library that provides memoziation for methods and functions".freeze
22
22
  s.test_files = ["spec/mize/global_clear_spec.rb".freeze, "spec/mize/memoize_method_spec.rb".freeze, "spec/mize/memoize_reload_spec.rb".freeze, "spec/mize/version_spec.rb".freeze, "spec/spec_helper.rb".freeze]
23
23
 
@@ -25,26 +25,26 @@ Gem::Specification.new do |s|
25
25
  s.specification_version = 4
26
26
 
27
27
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
28
- s.add_development_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
28
+ s.add_development_dependency(%q<gem_hadar>.freeze, ["~> 1.10.0"])
29
29
  s.add_development_dependency(%q<rake>.freeze, [">= 0"])
30
30
  s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
31
31
  s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
32
32
  s.add_development_dependency(%q<yard>.freeze, [">= 0"])
33
- s.add_runtime_dependency(%q<protocol>.freeze, [">= 0"])
33
+ s.add_runtime_dependency(%q<protocol>.freeze, ["~> 2.0"])
34
34
  else
35
- s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
35
+ s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.10.0"])
36
36
  s.add_dependency(%q<rake>.freeze, [">= 0"])
37
37
  s.add_dependency(%q<simplecov>.freeze, [">= 0"])
38
38
  s.add_dependency(%q<rspec>.freeze, [">= 0"])
39
39
  s.add_dependency(%q<yard>.freeze, [">= 0"])
40
- s.add_dependency(%q<protocol>.freeze, [">= 0"])
40
+ s.add_dependency(%q<protocol>.freeze, ["~> 2.0"])
41
41
  end
42
42
  else
43
- s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
43
+ s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.10.0"])
44
44
  s.add_dependency(%q<rake>.freeze, [">= 0"])
45
45
  s.add_dependency(%q<simplecov>.freeze, [">= 0"])
46
46
  s.add_dependency(%q<rspec>.freeze, [">= 0"])
47
47
  s.add_dependency(%q<yard>.freeze, [">= 0"])
48
- s.add_dependency(%q<protocol>.freeze, [">= 0"])
48
+ s.add_dependency(%q<protocol>.freeze, ["~> 2.0"])
49
49
  end
50
50
  end
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.3.5
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-09 00:00:00.000000000 Z
11
+ date: 2019-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.9.1
19
+ version: 1.10.0
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.9.1
26
+ version: 1.10.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -84,16 +84,16 @@ dependencies:
84
84
  name: protocol
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '2.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '2.0'
97
97
  description: Library that provides memoziation for methods and functions for Ruby.
98
98
  email: flori@ping.de
99
99
  executables: []
@@ -160,8 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  - !ruby/object:Gem::Version
161
161
  version: '0'
162
162
  requirements: []
163
- rubyforge_project:
164
- rubygems_version: 2.7.3
163
+ rubygems_version: 3.0.6
165
164
  signing_key:
166
165
  specification_version: 4
167
166
  summary: Library that provides memoziation for methods and functions