depression 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/depression.gemspec +1 -0
- data/lib/depression.rb +1 -1
- data/lib/depression/version.rb +1 -1
- data/test/depression_test.rb +3 -3
- metadata +4 -4
data/depression.gemspec
CHANGED
data/lib/depression.rb
CHANGED
data/lib/depression/version.rb
CHANGED
data/test/depression_test.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require File.dirname(__FILE__) + "/helper
|
1
|
+
require File.dirname(__FILE__) + "/helper"
|
2
2
|
|
3
3
|
class DepressionTest < Test::Unit::TestCase
|
4
4
|
def setup
|
@@ -49,8 +49,8 @@ class DepressionTest < Test::Unit::TestCase
|
|
49
49
|
test "resolves greedy before/after relations" do
|
50
50
|
items = [
|
51
51
|
@item.call(:foo, :before => [:bar]),
|
52
|
-
@item.call(:bar, :after =>
|
53
|
-
@item.call(:baz, :before =>
|
52
|
+
@item.call(:bar, :after => :all),
|
53
|
+
@item.call(:baz, :before => :all)
|
54
54
|
]
|
55
55
|
|
56
56
|
result = Depression.process(items).map {|i| i.name }
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: depression
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Lars Gierth
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-11-
|
18
|
+
date: 2010-11-18 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|