infinity2008 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/infinity2008-dense +7 -7
- data/lib/infinity2008/infinity2008.rb +4 -4
- data/lib/infinity2008/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3968c0cdf84da95d4984046b85f63ebf7a8a2aee
|
4
|
+
data.tar.gz: ca3c0868eaf991d6cc6b5382cca035a74088fc06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e4dd6c94a55e41b7edc188144ba2c4592135b492ebe7492cb2b8c524783f920cf912a5f1ea0e654dc26c82aac90d0297fb99378b5750931e2e33601cb94fa0c
|
7
|
+
data.tar.gz: 320ffc783d40620fe068230143684ee0aa00a4520c8f82e75ddfebc810e1d3abd6500371357fc4b5df608f268eeb980f70fc0d8096e82dae96272d2322096bce
|
data/bin/infinity2008-dense
CHANGED
@@ -6,11 +6,11 @@ class Freak; { key: ",\n", needs: " " }.each { |m, s|
|
|
6
6
|
define_method m do "#{m}#{s}#{arg}" end end } end
|
7
7
|
|
8
8
|
class You
|
9
|
-
{ INFINITY =>
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
9
|
+
{ INFINITY => -> { puts "... #{Float::INFINITY}!" }, relax!: -> { puts
|
10
|
+
true }, time: -> { [->(_) { print '.'; sleep 1 }].cycle } }.each { |m,
|
11
|
+
l| define_method(m) { print "#{m} "; l.call } }; def in? o; (@t ||= (
|
12
|
+
[false] * 188).each).next rescue (puts " trust in #{o.class}"; true)
|
13
|
+
end; def method_missing(m, *args); m == :find ? send(*args) : self
|
14
14
|
end end
|
15
15
|
|
16
16
|
class Me < Freak
|
@@ -19,5 +19,5 @@ class Me < Freak
|
|
19
19
|
time.(goes_by: :naturally) } and you.will.find INFINITY
|
20
20
|
end end
|
21
21
|
|
22
|
-
me = Me.new; puts "Here's my #{me.key}\n\nA #{me.class.superclass}
|
23
|
-
" #{me.class},\njust #{me.needs}\n"; me.send :infinity, You.new
|
22
|
+
me = Me.new; puts "Here's my #{me.key}\n\nA #{me.class.superclass} " \
|
23
|
+
"like #{me.class},\njust #{me.needs}\n"; me.send :infinity, You.new
|
@@ -14,10 +14,10 @@ module Infinity2008
|
|
14
14
|
end
|
15
15
|
|
16
16
|
class You
|
17
|
-
{ INFINITY =>
|
18
|
-
relax!:
|
19
|
-
time:
|
20
|
-
[
|
17
|
+
{ INFINITY => -> { puts "... #{Float::INFINITY}!" },
|
18
|
+
relax!: -> { puts; true },
|
19
|
+
time: -> do
|
20
|
+
[->(_) { print '.'; sleep 1 }].cycle
|
21
21
|
end
|
22
22
|
}.each do |m, l|
|
23
23
|
define_method(m) { print "#{m} "; l.call }
|
data/lib/infinity2008/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infinity2008
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alejandro Martinez Ruiz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|