mem 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/mem.rb +0 -1
  4. data/lib/mem/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ecaf373ebeba1d6dae7301eb5e57f7b55d38de3c
4
- data.tar.gz: 0ac99374afe9cc191003701f7a28c6a85d0a7928
3
+ metadata.gz: 62d24793e77a9b1f81cd1695cc7885f3c9d24ceb
4
+ data.tar.gz: 47c3486cc3b2cb33cab110754ed307df7b6231a1
5
5
  SHA512:
6
- metadata.gz: 7a04c41775361140df941c50a418fd861877f873ba6cd64200ddef7349330444ffac29239e3470c4c99c04893d9d5d6c664408005fa108f35b4ffc883cffaaf7
7
- data.tar.gz: 234a6e162ad9dea70843a8eb3d1a090f444fa1a9fba14203084cb90bb18bd950cd9ff602416d93334e52d56434090b93e944142851d799e6be1968bc010886ed
6
+ metadata.gz: fabce24420248b57a76e99cccf9469a4dc7684ca05c2b5f8f7312817943d278224a962b75051f15a13d0730daeedaa912d0427a0c3bc057901fb70175ac90ba7
7
+ data.tar.gz: 8b94d0885c1b9f7f819ea5ff9fdbea2ca1fc9ed71148f2ee01ee659ea9c501197207fb318373f8fe266f52413e72ea70318c6e7cd88342ca0e1153f6f065789a
data/README.md CHANGED
@@ -7,7 +7,7 @@ gem install mem
7
7
  ```
8
8
 
9
9
  ## Usage
10
- ```
10
+ ```ruby
11
11
  class Foo
12
12
  extend Mem
13
13
 
@@ -20,7 +20,7 @@ class Foo
20
20
  end
21
21
 
22
22
  # `memoize` defines bar_with_memoize & bar_without_memoize,
23
- # and the result of 1st method call is stored into @bar.
23
+ # and the result of the 1st method call is stored into @bar.
24
24
  memoize :bar
25
25
 
26
26
  private
data/lib/mem.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  require "mem/version"
2
- require "active_support/core_ext/module/aliasing"
3
2
 
4
3
  module Mem
5
4
  def memoize(method_name)
@@ -1,3 +1,3 @@
1
1
  module Mem
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura