anaphora 0.1.1 → 0.1.2
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.
- data/VERSION +1 -1
- data/anaphora.gemspec +3 -3
- data/lib/anaphora.rb +2 -2
- metadata +5 -5
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.2
|
data/anaphora.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "anaphora"
|
|
8
|
-
s.version = "0.1.
|
|
8
|
+
s.version = "0.1.2"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["miros"]
|
|
12
|
-
s.date = "2011-
|
|
12
|
+
s.date = "2011-12-03"
|
|
13
13
|
s.description = "Anaphora monad for ruby"
|
|
14
14
|
s.email = "mirosm@mirosm.ru"
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
|
|
|
32
32
|
s.homepage = "http://github.com/miros/anaphora"
|
|
33
33
|
s.licenses = ["MIT"]
|
|
34
34
|
s.require_paths = ["lib"]
|
|
35
|
-
s.rubygems_version = "1.8.
|
|
35
|
+
s.rubygems_version = "1.8.11"
|
|
36
36
|
s.summary = "Anaphora monad for ruby"
|
|
37
37
|
|
|
38
38
|
if s.respond_to? :specification_version then
|
data/lib/anaphora.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
module Anaphora
|
|
2
2
|
class BlankSlate
|
|
3
|
-
instance_methods.each {|m| undef_method(m) unless m =~ /^__
|
|
3
|
+
instance_methods.each {|m| undef_method(m) unless m =~ /^__|^object_id$/}
|
|
4
4
|
end
|
|
5
5
|
|
|
6
6
|
class MethodInvocation < Struct.new(:name, :args, :block)
|
|
@@ -33,4 +33,4 @@ module Kernel
|
|
|
33
33
|
Anaphora::Proxy.new
|
|
34
34
|
end
|
|
35
35
|
alias_method :its, :it
|
|
36
|
-
end
|
|
36
|
+
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: anaphora
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 31
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.1.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- miros
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
18
|
+
date: 2011-12-03 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
153
153
|
requirements: []
|
|
154
154
|
|
|
155
155
|
rubyforge_project:
|
|
156
|
-
rubygems_version: 1.8.
|
|
156
|
+
rubygems_version: 1.8.11
|
|
157
157
|
signing_key:
|
|
158
158
|
specification_version: 3
|
|
159
159
|
summary: Anaphora monad for ruby
|