mug 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mug/self.rb +7 -1
- data/test/test-self.rb +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e6d51e59fcdb5386274ec26ba60079ff66a236e
|
4
|
+
data.tar.gz: 0a855d5b44c9ff19f9e8a7f872036442d7982d18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 146d779ea09455b0000ad24d82f5c903e44a62460e2d804df9bc8da769fd7d272eb5907d7fa21e4f946077cd1568eb438ed71a0abf5c0e861a01a080697fa6f2
|
7
|
+
data.tar.gz: ba65631a98bf8d34668d37f1488a7cc3d6d7de66c79d23ef92de233bf50e73f0043fa337f5783082fae498ce06a756a46c33c0763db42d03b44dae8bc8fbaa92
|
data/lib/mug/self.rb
CHANGED
data/test/test-self.rb
CHANGED
@@ -10,9 +10,9 @@ class Test_self < Test::Unit::TestCase
|
|
10
10
|
assert_equal( 6, 2.self{|i| i*3 } )
|
11
11
|
assert_equal( {1=>[1,1], 2=>[2,2], 3=>[3]}, [1,1,2,2,3].group_by(&:self) )
|
12
12
|
|
13
|
-
assert_equal( 1, 1.
|
14
|
-
assert_equal( obj, obj.
|
15
|
-
assert_equal( 6, 2.
|
16
|
-
assert_equal( {1=>[1,1], 2=>[2,2], 3=>[3]}, [1,1,2,2,3].group_by(&:
|
13
|
+
assert_equal( 1, 1.itself )
|
14
|
+
assert_equal( obj, obj.itself )
|
15
|
+
assert_equal( 6, 2.itself{|i| i*3 } )
|
16
|
+
assert_equal( {1=>[1,1], 2=>[2,2], 3=>[3]}, [1,1,2,2,3].group_by(&:itself) )
|
17
17
|
end
|
18
18
|
end
|
metadata
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Kerwin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
== MUG: Matty's Ultimate Gem
|
15
15
|
|
16
16
|
A collection of wonders to astound the mind!!
|
17
17
|
|
18
|
-
See the documentation at
|
18
|
+
See the documentation at <https://github.com/phluid61/mug>.
|
19
19
|
email:
|
20
20
|
- matthew@kerwin.net.au
|
21
21
|
executables: []
|