hooked 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.object_id }
34
- nodes[node.advice.object_id] = Node.new(children, node); nodes
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.object_id
39
+ dep_name = dep.inspect
40
40
  next unless @nodes[dep_name]
41
41
  @nodes[dep_name].children << name
42
42
  end
@@ -1,3 +1,3 @@
1
1
  module Hooked
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
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.5
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-08-14 00:00:00.000000000Z
12
+ date: 2011-09-27 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &78476800 !ruby/object:Gem::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: *78476800
24
+ version_requirements: *78425710
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: yard
27
- requirement: &78476590 !ruby/object:Gem::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: *78476590
35
+ version_requirements: *78425400
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rdiscount
38
- requirement: &78476380 !ruby/object:Gem::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: *78476380
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.8
91
+ rubygems_version: 1.8.10
92
92
  signing_key:
93
93
  specification_version: 3
94
94
  summary: Aspect Orientation Made Simple