mem 0.1.1 → 0.1.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
  SHA1:
3
- metadata.gz: a6ca181d52b428f217e48d148ca5f0e5e336d83f
4
- data.tar.gz: 929cbdf292bf772d4d8bb670bea88bfce549fdfb
3
+ metadata.gz: 45082bf822b4ae055268e2a456b0e68294019fd8
4
+ data.tar.gz: ad7dbcc9b47b822ee79aa0613f48d3dbc996cc9e
5
5
  SHA512:
6
- metadata.gz: 3391b30516dbdd09d794f1127f8e46dbee602bd0670d3802ff6911e6a939d426639e14e3700085149bbb4d4e2753fbdd5be7af7f5bb987a719a645305cc80fe7
7
- data.tar.gz: c4c11d2f1e1ffc7d8ec2c9aed618770a0d76cddfaf13677f865358ed1e5559b866dd494e325fc743097ceb6ad0b0356328d472ba16acc1f1fbe7e8430acb042a
6
+ metadata.gz: f6e83a74c9c1d4964d70e48e51b50d7c94c1e0db7e832376f3e2f62be31346cd4b86584f028e6ab5bf696847fa8949e29b4cb7d3bc48ae5e103e5b14bc5b9d60
7
+ data.tar.gz: 2ab5a6215433ea16675097afb978cb0526c8f3ca27e592213357931b438acdc824737db47db5f35c4538ad6d4ced746d469f7bb46ef4879c79189579e59448f9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.1.2
2
+ * Add memoize/core_ext
3
+
1
4
  ## 0.1.1
2
5
  * Define setter on `.memoize`
3
6
 
data/README.md CHANGED
@@ -38,3 +38,7 @@ foo.has_memoized?(:bar) #=> true
38
38
  foo.memoized(:bar) #=> 1
39
39
  foo.memoized_table #=> { bar: 1 }
40
40
  ```
41
+
42
+ ### core ext
43
+ If that makes you feel better, you can `require "mem/core_ext"` to avoid `include Mem`,
44
+ while this extends Object class.
@@ -0,0 +1 @@
1
+ Object.send(:include, Mem)
data/lib/mem/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mem
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-16 00:00:00.000000000 Z
11
+ date: 2014-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,6 +66,7 @@ files:
66
66
  - README.md
67
67
  - Rakefile
68
68
  - lib/mem.rb
69
+ - lib/mem/core_ext.rb
69
70
  - lib/mem/version.rb
70
71
  - mem.gemspec
71
72
  - spec/mem_spec.rb
@@ -90,10 +91,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
91
  version: '0'
91
92
  requirements: []
92
93
  rubyforge_project:
93
- rubygems_version: 2.0.3
94
+ rubygems_version: 2.2.2
94
95
  signing_key:
95
96
  specification_version: 4
96
97
  summary: Memoize any method call
97
98
  test_files:
98
99
  - spec/mem_spec.rb
99
100
  - spec/spec_helper.rb
101
+ has_rdoc: