active_memoize 2.0.1 → 2.0.2

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: 57549a776e911db388a0fa908c7688e289a829985b829962f184fc0bd5873b2a
4
- data.tar.gz: 0d1fbf9069ff2abbf12c6076ec245f9c29ea74e1c0ad4f3f8fd7766f290fb21c
3
+ metadata.gz: 319bbad01c674d237b4b2c66e865ba44127de572a67cfea712b51b5e2b5bdfc0
4
+ data.tar.gz: d0f8439b424104e55939ac7fb373e08b1f3baa8e8d9997e8d01c009f781d299e
5
5
  SHA512:
6
- metadata.gz: 65e09de372029ecf6d83615b4f167d39ae7ff8b9d1f78763ab9c9451d67f712d8af393f486553edec4936b61f4f443b6e6a7980214a7d4ddaf3d4a24a54d7375
7
- data.tar.gz: ef516fc6e64bdbb6a07a22d903532f0853d66512345d802f5f6678129fc585a0a400b36500c8d81a14f6bf238f666fdf754b73910c201bced3b86fe4a363991e
6
+ metadata.gz: a9d7c454c684d646a6a934230660d29280e992258c99f8d4ec6b7a23cc7388948b8812036d5c4fe1526905fd4b78efd34c45cb591e24ef2ecdc0ae872001949e
7
+ data.tar.gz: bbd807429d3ab6e6df57afb7adf4e6f8ff476efb38a7801cbf418a63d109cad913d59b2b620ef0c35ca14c816aba46c33583cdb56a4bd31fd66f8cec55775a58
@@ -10,8 +10,8 @@ module ActiveMemoize
10
10
  end
11
11
 
12
12
  def key(method_name, method_args)
13
- method_md5 = Digest::MD5.hexdigest(method_args.to_s)
14
- "#{method_name}:#{method_md5}"
13
+ method_sha1 = Digest::SHA1.hexdigest(method_args.to_s)
14
+ "#{method_name}:#{method_sha1}"
15
15
  end
16
16
 
17
17
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveMemoize
4
- VERSION ||= '2.0.1'
4
+ VERSION ||= '2.0.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_memoize
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez