mize 0.3.5 → 0.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
  SHA256:
3
- metadata.gz: ad9af62cd3ec5921f05fde3b1c5b2fb7c76771d153c6f1be5cb21887dc210ab2
4
- data.tar.gz: 416174f2ae19c5ae1cee717e266d0426002f4d1af3b18fb3da4567d84181e201
3
+ metadata.gz: b6801c5af1f329caa1ee938a76571ce85883bb6de8f6084c3bde227923136e88
4
+ data.tar.gz: 32a2c0ac847bfbcdb23f0758dfa4f7c416fbadfa771bf1fbe6e0b47dd6e06200
5
5
  SHA512:
6
- metadata.gz: 0346bdc4f13aaed91820ed21e0772a28125c27986812e1c873a17a1dd7b784af71432c2e9a7caeefcb7ce5a31c550a5bbc09dc0deca4ca9e76b30d237209cf2c
7
- data.tar.gz: 313e41f46e249ea27c833889e76bfbfa81016cc09875d57012488a95626ece460ba20adcef969f8984ee249daae2adf1f43c0c46cf185dce6aeaa5ccfde02d65
6
+ metadata.gz: 8c88a8042b29f17f2ba1399d455d8d3c9faa38ff64790feea6cccb03751926e69661241f1ddf1223f8414f77c1296503fbda7849c4d932759c2348fe337ec244
7
+ data.tar.gz: 8f2c43358d0e21aead7e762745c58e22d2cf3e4f53da1f512a1b4f23bfb989db1166969b7e1aea347445d0fb22849e5c4da896c1af3e8d55417552a120ce85a1
data/.all_images.yml ADDED
@@ -0,0 +1,23 @@
1
+ dockerfile: |-
2
+ RUN apk add --no-cache build-base git
3
+ RUN gem update --system
4
+ RUN gem install gem_hadar bundler
5
+
6
+ script: &script |-
7
+ echo -e "\e[1m"
8
+ ruby -v
9
+ echo -e "\e[0m"
10
+ bundle update
11
+ bundle
12
+ bundle exec rake spec
13
+
14
+ fail_fast: yes
15
+
16
+ images:
17
+ ruby:3.1-alpine: *script
18
+ ruby:3.0-alpine: *script
19
+ ruby:2.7-alpine: *script
20
+ ruby:2.6-alpine: *script
21
+ ruby:2.5-alpine: *script
22
+ ruby:2.4-alpine: *script
23
+ ruby:2.3-alpine: *script
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 3.1.2
data/.travis.yml CHANGED
@@ -1,5 +1,4 @@
1
1
  rvm:
2
- - 2.0
3
2
  - 2.1
4
3
  - 2.2
5
4
  - 2.3
data/Rakefile CHANGED
@@ -17,11 +17,12 @@ 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'
24
24
  development_dependency 'yard'
25
+ development_dependency 'all_images'
25
26
 
26
27
  required_ruby_version '>= 2'
27
28
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.5
1
+ 0.4.1
@@ -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
 
data/lib/mize/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Mize
2
2
  # Mize version
3
- VERSION = '0.3.5'
3
+ VERSION = '0.4.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:
data/mize.gemspec CHANGED
@@ -1,50 +1,45 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: mize 0.3.5 ruby lib
2
+ # stub: mize 0.4.1 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.1"
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 = "2022-11-21"
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]
15
- s.files = [".gitignore".freeze, ".rspec".freeze, ".travis.yml".freeze, ".utilsrc".freeze, "Gemfile".freeze, "README.md".freeze, "Rakefile".freeze, "VERSION".freeze, "config/broken_config.yml".freeze, "config/config.yml".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, "mize.gemspec".freeze, "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]
15
+ s.files = [".all_images.yml".freeze, ".gitignore".freeze, ".rspec".freeze, ".tool-versions".freeze, ".travis.yml".freeze, ".utilsrc".freeze, "Gemfile".freeze, "README.md".freeze, "Rakefile".freeze, "VERSION".freeze, "config/broken_config.yml".freeze, "config/config.yml".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, "mize.gemspec".freeze, "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]
16
16
  s.homepage = "http://flori.github.com/mize".freeze
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.3.17".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
 
24
24
  if s.respond_to? :specification_version then
25
25
  s.specification_version = 4
26
+ end
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"])
29
- s.add_development_dependency(%q<rake>.freeze, [">= 0"])
30
- s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
31
- s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
32
- s.add_development_dependency(%q<yard>.freeze, [">= 0"])
33
- s.add_runtime_dependency(%q<protocol>.freeze, [">= 0"])
34
- else
35
- s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
36
- s.add_dependency(%q<rake>.freeze, [">= 0"])
37
- s.add_dependency(%q<simplecov>.freeze, [">= 0"])
38
- s.add_dependency(%q<rspec>.freeze, [">= 0"])
39
- s.add_dependency(%q<yard>.freeze, [">= 0"])
40
- s.add_dependency(%q<protocol>.freeze, [">= 0"])
41
- end
28
+ if s.respond_to? :add_runtime_dependency then
29
+ s.add_development_dependency(%q<gem_hadar>.freeze, ["~> 1.12.0"])
30
+ s.add_development_dependency(%q<rake>.freeze, [">= 0"])
31
+ s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
32
+ s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
33
+ s.add_development_dependency(%q<yard>.freeze, [">= 0"])
34
+ s.add_development_dependency(%q<all_images>.freeze, [">= 0"])
35
+ s.add_runtime_dependency(%q<protocol>.freeze, ["~> 2.0"])
42
36
  else
43
- s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
37
+ s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.12.0"])
44
38
  s.add_dependency(%q<rake>.freeze, [">= 0"])
45
39
  s.add_dependency(%q<simplecov>.freeze, [">= 0"])
46
40
  s.add_dependency(%q<rspec>.freeze, [">= 0"])
47
41
  s.add_dependency(%q<yard>.freeze, [">= 0"])
48
- s.add_dependency(%q<protocol>.freeze, [">= 0"])
42
+ s.add_dependency(%q<all_images>.freeze, [">= 0"])
43
+ s.add_dependency(%q<protocol>.freeze, ["~> 2.0"])
49
44
  end
50
45
  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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-09 00:00:00.000000000 Z
11
+ date: 2022-11-21 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.12.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.12.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -81,19 +81,33 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: protocol
84
+ name: all_images
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
- type: :runtime
90
+ type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: protocol
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '2.0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '2.0'
97
111
  description: Library that provides memoziation for methods and functions for Ruby.
98
112
  email: flori@ping.de
99
113
  executables: []
@@ -111,8 +125,10 @@ extra_rdoc_files:
111
125
  - lib/mize/reload.rb
112
126
  - lib/mize/version.rb
113
127
  files:
128
+ - ".all_images.yml"
114
129
  - ".gitignore"
115
130
  - ".rspec"
131
+ - ".tool-versions"
116
132
  - ".travis.yml"
117
133
  - ".utilsrc"
118
134
  - Gemfile
@@ -141,7 +157,7 @@ homepage: http://flori.github.com/mize
141
157
  licenses:
142
158
  - MIT
143
159
  metadata: {}
144
- post_install_message:
160
+ post_install_message:
145
161
  rdoc_options:
146
162
  - "--title"
147
163
  - Mize - Library that provides memoziation for methods and functions
@@ -160,9 +176,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
176
  - !ruby/object:Gem::Version
161
177
  version: '0'
162
178
  requirements: []
163
- rubyforge_project:
164
- rubygems_version: 2.7.3
165
- signing_key:
179
+ rubygems_version: 3.3.17
180
+ signing_key:
166
181
  specification_version: 4
167
182
  summary: Library that provides memoziation for methods and functions
168
183
  test_files: