memoized 1.0.0 → 1.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
  SHA256:
3
- metadata.gz: 30eefb403ce7300b9b943f9a6a946c56ac21fe619323ace0c06e63ca11198eab
4
- data.tar.gz: 5e0e371e3bb72db04dec7fd23789a4c88f1acfffcf49c898529c5edcd60594a4
3
+ metadata.gz: 9ab7a8649195530ae1e3ace893313e3731c1dcf3af93f6ebeaebad4a715efa65
4
+ data.tar.gz: 543fd2584dbf7a34fd45c23394888cf8935a8f93f93be9a293b684e1054c3eed
5
5
  SHA512:
6
- metadata.gz: 7402174132f312c8e7f45389fd18fcae350aeffc006587c0d20921b4ead346ef794c90634e4c6c367891050edbc6d5c0982a4203e822dc9c3cda9b91dfd9ee76
7
- data.tar.gz: 6a0676fcac1c743821fde6b3010d9d53a0792097775593fb41a7c912ca45ddb2ef68276cae9996aa96cc7ee92274c1c62e0e0af2442b02d4d69858442f90e99c
6
+ metadata.gz: 13673e0131ff6560848e8dcac44ea746db4c18602b3fa68d3072dbefeaca95bf93ea1bbd4159ce49c8be30cd7361e616237c1ef61d19bc6e2d72efaba6a5d9fe
7
+ data.tar.gz: 99f27fd8d150aaf3283d29cd159f16ed31beb13c6a293338709f15397c562294caf55a971b7764847895919aaf46c1a87ea77c123f2680691b1765b361b129b8
data/.gitignore CHANGED
@@ -1 +1,3 @@
1
- .idea
1
+ /.idea
2
+ /pkg
3
+
@@ -0,0 +1,45 @@
1
+ All notable changes to this project will be documented in this file.
2
+
3
+ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
4
+
5
+
6
+ ## Unreleased
7
+
8
+ ### Breaking changes
9
+
10
+ -
11
+
12
+ ### Compatible changes
13
+
14
+ -
15
+
16
+
17
+ ## 1.0.1 - 2019-02-27
18
+
19
+ ### Compatible changes
20
+
21
+ - Fix meta information in gemspec.
22
+
23
+
24
+ ## 1.0.0 - 2019-02-27
25
+
26
+ ### Compatible changes
27
+
28
+ Forked [memoizer](https://github.com/wegowise/memoizer) with two changes:
29
+
30
+ 1. Memoized methods now preserve their [arity](https://apidock.com/ruby/Method/arity). Previously all memoized methods had an arity of `-1`.
31
+ 2. Memoized methods are now faster at runtime. This will only be noticable if you call a memoized methods many times in the same request.
32
+
33
+ We published our fork as a new gem named [memoized](https://rubygems.org/gems/memoized).
34
+
35
+ memoized is API-compatible to memoizer, you just need to `include Memoized` instead of `Memoizer`:
36
+
37
+ ```ruby
38
+ class A
39
+ include Memoized
40
+
41
+ memoize def hello
42
+ 'hello!'
43
+ end
44
+ end
45
+ ```
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- memoized (1.0.3)
4
+ memoized (1.0.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module Memoized
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
5
5
  s.name = "memoized"
6
6
  s.version = Memoized::VERSION
7
7
  s.authors = ["Barun Singh", "Henning Koch"]
8
- s.homepage = "https://github.com/makandra/memoizer"
8
+ s.homepage = "https://github.com/makandra/memoized"
9
9
  s.summary = "Memoized caches the results of your method calls"
10
10
  s.description = s.summary
11
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memoized
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Barun Singh
@@ -63,7 +63,7 @@ files:
63
63
  - ".rspec"
64
64
  - ".ruby-version"
65
65
  - ".travis.yml"
66
- - CHANGELOG.txt
66
+ - CHANGELOG.md
67
67
  - Gemfile
68
68
  - Gemfile.lock
69
69
  - LICENSE.txt
@@ -74,7 +74,7 @@ files:
74
74
  - memoized.gemspec
75
75
  - spec/memoized_spec.rb
76
76
  - spec/spec_helper.rb
77
- homepage: https://github.com/makandra/memoizer
77
+ homepage: https://github.com/makandra/memoized
78
78
  licenses:
79
79
  - MIT
80
80
  metadata: {}
@@ -1,4 +0,0 @@
1
- == 1.0.1
2
- * Bump version to avoid conflict with old memoizer gem
3
- == 1.0.0
4
- * Initial release