hooked 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hooked/graph.rb +3 -3
- data/lib/hooked/version.rb +1 -1
- metadata +9 -9
data/lib/hooked/graph.rb
CHANGED
@@ -30,13 +30,13 @@ module Hooked
|
|
30
30
|
|
31
31
|
if do_sort
|
32
32
|
@nodes = input.inject({}) do |nodes, node|
|
33
|
-
children = node.dependencies[:after].map {|d| d.
|
34
|
-
nodes[node.advice.
|
33
|
+
children = node.dependencies[:after].map {|d| d.inspect }
|
34
|
+
nodes[node.advice.inspect] = Node.new(children, node); nodes
|
35
35
|
end
|
36
36
|
|
37
37
|
@nodes.each do |name, node|
|
38
38
|
node.node.dependencies[:before].each do |dep|
|
39
|
-
dep_name = dep.
|
39
|
+
dep_name = dep.inspect
|
40
40
|
next unless @nodes[dep_name]
|
41
41
|
@nodes[dep_name].children << name
|
42
42
|
end
|
data/lib/hooked/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hooked
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-09-27 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &78425710 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *78425710
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: yard
|
27
|
-
requirement: &
|
27
|
+
requirement: &78425400 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *78425400
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rdiscount
|
38
|
-
requirement: &
|
38
|
+
requirement: &78425120 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *78425120
|
47
47
|
description: Hooked lets you transparently aspectify your methods and blocks.
|
48
48
|
email:
|
49
49
|
- lars.gierth@gmail.com
|
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
version: '0'
|
89
89
|
requirements: []
|
90
90
|
rubyforge_project:
|
91
|
-
rubygems_version: 1.8.
|
91
|
+
rubygems_version: 1.8.10
|
92
92
|
signing_key:
|
93
93
|
specification_version: 3
|
94
94
|
summary: Aspect Orientation Made Simple
|