omega 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omega.rb +0 -1
- data/lib/omega/memoize.rb +2 -4
- metadata +4 -5
- data/lib/omega/meta.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14cca23065b103366088fb0e1a58166d7989cd3c
|
4
|
+
data.tar.gz: 2aa60f03a11c65d022a8ad903577f19d12d52dc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecb8d329541b0a789108c70a13d68257da257897f3a3c78e0c26441c43efa4e9997678d436c98a0bc75f16127332767a37ce1b4b022cf2b048aef7fef8cdbe80
|
7
|
+
data.tar.gz: 0a914d599f2b72360fef892bfcbb88b88cd6a8795de6b9f0451b653d7fbe42c66672f0f639395bc7b8f761eb9a95251c9f161fbf684de6ff3dfa94cd3e136b19
|
data/lib/omega.rb
CHANGED
data/lib/omega/memoize.rb
CHANGED
@@ -17,13 +17,11 @@ class Module
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def cmemoize n, *m
|
20
|
-
|
21
|
-
meta.memoize n, *m
|
20
|
+
singleton_class.memoize n, *m
|
22
21
|
end
|
23
22
|
end
|
24
23
|
|
25
24
|
# Let's make "main:Object" methods memoizable
|
26
25
|
def memoize n, *m
|
27
|
-
|
28
|
-
meta.memoize n, *m
|
26
|
+
singleton_class.memoize n, *m
|
29
27
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omega
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nax
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: '1.0'
|
55
55
|
description: |-
|
56
56
|
Omega is a powerful set of extensions to the basic ruby standard.
|
57
|
-
Things like efficient memoization, meta-helpers, easy class tree traversal
|
57
|
+
Things like efficient memoization, meta-helpers, easy class tree traversal and advanced math are included.
|
58
58
|
email: max.bacoux@gmail.com
|
59
59
|
executables: []
|
60
60
|
extensions: []
|
@@ -64,8 +64,7 @@ files:
|
|
64
64
|
- lib/omega/descendants.rb
|
65
65
|
- lib/omega/math.rb
|
66
66
|
- lib/omega/memoize.rb
|
67
|
-
|
68
|
-
homepage: http://rubygems.org/gems/omega
|
67
|
+
homepage: https://rubygems.org/gems/omega
|
69
68
|
licenses:
|
70
69
|
- MIT
|
71
70
|
metadata: {}
|
@@ -77,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
77
76
|
requirements:
|
78
77
|
- - ">="
|
79
78
|
- !ruby/object:Gem::Version
|
80
|
-
version:
|
79
|
+
version: 1.9.2
|
81
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
81
|
requirements:
|
83
82
|
- - ">="
|