mize 0.3.3 → 0.3.4

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: dcbec8700d538dbeca1aa6429be4e66285ce4870
4
- data.tar.gz: 3f63c2310f5dd5fd6b606c8c8abf135e23cb1e83
3
+ metadata.gz: da7427d30a8bf8a9f0190561f6c55208149a7e1a
4
+ data.tar.gz: 61830ed8d838bd718450265f5ed6310961f99903
5
5
  SHA512:
6
- metadata.gz: dd8d23f0e5448a7f59501814b0f1d9237cf9d594ce8b9f3f8cfbddf6fc63f39f4242d6244e1955079efb9c54c0f46f3682ab8e01d30dbbda7bf79a421e7eb116
7
- data.tar.gz: 2095587ce0e1b4db4bf1b8c2d30c03a7b20f38d19e100f19cd5770fb391167017d37d620410c95685f278acccd8c70f469ed358cd55303926840ba92ef20425b
6
+ metadata.gz: 2ed9ac99d3a241580f9acba22ac041638e5f7a7fc7d1c473d159ca95fc3f4bf48b73665a0373e31c2da6a103c7516006a05eb020f273bbe965679cd974e6c737
7
+ data.tar.gz: e74f1b99afa3b6e88d88fc418a72c4e9ec19d1b27a27174f9767f9e22766a1ecd1ccfd8b84174d2180687253cf479f5dfdeb03fdf96554fa1224c9ca55c39cf4
@@ -3,7 +3,7 @@ rvm:
3
3
  - 2.1
4
4
  - 2.2
5
5
  - 2.3.3
6
- - 2.4.1
6
+ - 2.4.2
7
7
  - ruby-head
8
8
  matrix:
9
9
  allow_failures:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.3
1
+ 0.3.4
@@ -12,7 +12,7 @@ module Mize::CacheMethods
12
12
  def mize_cache_clear_name(name)
13
13
  name = build_key_prefix(name)
14
14
  __mize_cache__.each_name do |n|
15
- n =~ %r{\A#{name}/} and __mize_cache__.delete(n)
15
+ n =~ %r{\A#{Regexp.quote(name)}/} and __mize_cache__.delete(n)
16
16
  end
17
17
  self
18
18
  end
@@ -1,6 +1,6 @@
1
1
  module Mize
2
2
  # Mize version
3
- VERSION = '0.3.3'
3
+ VERSION = '0.3.4'
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.3 ruby lib
2
+ # stub: mize 0.3.4 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "mize".freeze
6
- s.version = "0.3.3"
6
+ s.version = "0.3.4"
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 = "2017-08-28"
11
+ s.date = "2017-11-01"
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]
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.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-28 00:00:00.000000000 Z
11
+ date: 2017-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar