rubydeps 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -23,3 +23,5 @@ tmp
23
23
  ## PROJECT::SPECIFIC
24
24
  rubydeps.dump
25
25
  lib/*.bundle
26
+
27
+ Gemfile.lock
data/Gemfile CHANGED
@@ -1,8 +1,8 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem 'rake-compiler', "~> 0.8.0"
4
- gem 'rspec', "~> 2.8.0"
5
- gem 'file_test_helper', "~> 1.0.0"
6
- gem 'ruby_core_source', "~> 0.1.5"
7
- gem 'ruby-graphviz', "~> 1.0.5"
8
- gem 'thor', "~> 0.14.2"
3
+ gem 'rake-compiler', "~> 0.8"
4
+ gem 'rspec', "~> 2.8"
5
+ gem 'file_test_helper', "~> 1.0"
6
+ gem 'ruby_core_source', "~> 0.1"
7
+ gem 'ruby-graphviz', "~> 1.0"
8
+ gem 'thor', "~> 0.14"
data/README.md CHANGED
@@ -1,4 +1,7 @@
1
1
  [![Build Status](https://secure.travis-ci.org/dcadenas/rubydeps.png?branch=master)](http://travis-ci.org/dcadenas/rubydeps)
2
+
3
+ [![endorse](http://api.coderwall.com/dcadenas/endorsecount.png)](http://coderwall.com/dcadenas)
4
+
2
5
  rubydeps
3
6
  ========
4
7
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.2
1
+ 0.9.3
@@ -90,6 +90,7 @@ event_hook(rb_event_flag_t event, VALUE data, VALUE self, ID mid, VALUE klass){
90
90
  rb_control_frame_t* cfp = GET_THREAD()->cfp;
91
91
  VALUE class_of_called_object = class_of_obj_or_class(self);
92
92
  VALUE called_class = get_real_class(cfp->iseq->klass);
93
+ VALUE called_class_file_path = cfp->iseq->filepath;
93
94
 
94
95
  rb_control_frame_t* previous_cfp = callsite_cfp(cfp);
95
96
  if(previous_cfp != NULL){
@@ -97,17 +98,17 @@ event_hook(rb_event_flag_t event, VALUE data, VALUE self, ID mid, VALUE klass){
97
98
 
98
99
  if(class_of_called_object != calling_class){
99
100
  if(class_of_called_object != called_class){
100
- //we can't assume that the location of class_of_called_object is the same as called_class, so guess == true
101
- add_dependency(calling_class, class_of_called_object, cfp->iseq->filepath, Qtrue);
101
+ //we can't assume that the location of class_of_called_object is the same as the called_class file path, so guess == true
102
+ add_dependency(calling_class, class_of_called_object, called_class_file_path, Qtrue);
102
103
  } else {
103
- add_dependency(calling_class, called_class, cfp->iseq->filepath, Qfalse);
104
+ add_dependency(calling_class, called_class, called_class_file_path, Qfalse);
104
105
  }
105
106
  }
106
107
  }
107
108
 
108
109
  //this dependency represents inheritance/inclusion/extension
109
110
  if(class_of_called_object != called_class){
110
- add_dependency(class_of_called_object, called_class, cfp->iseq->filepath, Qfalse);
111
+ add_dependency(class_of_called_object, called_class, called_class_file_path, Qfalse);
111
112
  }
112
113
  }
113
114
 
data/rubydeps.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{rubydeps}
3
- s.version = "0.9.2"
3
+ s.version = "0.9.3"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["Daniel Cadenas"]
metadata CHANGED
@@ -1,97 +1,124 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rubydeps
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.3
4
5
  prerelease:
5
- version: 0.9.2
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Daniel Cadenas
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2012-03-13 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2012-12-14 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: rake-compiler
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
18
+ requirements:
21
19
  - - ~>
22
- - !ruby/object:Gem::Version
20
+ - !ruby/object:Gem::Version
23
21
  version: 0.8.0
24
22
  type: :development
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: rspec
28
23
  prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 0.8.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
30
33
  none: false
31
- requirements:
34
+ requirements:
32
35
  - - ~>
33
- - !ruby/object:Gem::Version
36
+ - !ruby/object:Gem::Version
34
37
  version: 2.8.0
35
38
  type: :development
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: file_test_helper
39
39
  prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
- requirements:
42
+ requirements:
43
43
  - - ~>
44
- - !ruby/object:Gem::Version
44
+ - !ruby/object:Gem::Version
45
+ version: 2.8.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: file_test_helper
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
45
53
  version: 1.0.0
46
54
  type: :development
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: ruby_core_source
50
55
  prerelease: false
51
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 1.0.0
62
+ - !ruby/object:Gem::Dependency
63
+ name: ruby_core_source
64
+ requirement: !ruby/object:Gem::Requirement
52
65
  none: false
53
- requirements:
66
+ requirements:
54
67
  - - ~>
55
- - !ruby/object:Gem::Version
68
+ - !ruby/object:Gem::Version
56
69
  version: 0.1.5
57
70
  type: :runtime
58
- version_requirements: *id004
59
- - !ruby/object:Gem::Dependency
60
- name: ruby-graphviz
61
71
  prerelease: false
62
- requirement: &id005 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 0.1.5
78
+ - !ruby/object:Gem::Dependency
79
+ name: ruby-graphviz
80
+ requirement: !ruby/object:Gem::Requirement
63
81
  none: false
64
- requirements:
82
+ requirements:
65
83
  - - ~>
66
- - !ruby/object:Gem::Version
84
+ - !ruby/object:Gem::Version
67
85
  version: 1.0.5
68
86
  type: :runtime
69
- version_requirements: *id005
70
- - !ruby/object:Gem::Dependency
71
- name: thor
72
87
  prerelease: false
73
- requirement: &id006 !ruby/object:Gem::Requirement
88
+ version_requirements: !ruby/object:Gem::Requirement
74
89
  none: false
75
- requirements:
90
+ requirements:
76
91
  - - ~>
77
- - !ruby/object:Gem::Version
92
+ - !ruby/object:Gem::Version
93
+ version: 1.0.5
94
+ - !ruby/object:Gem::Dependency
95
+ name: thor
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ~>
100
+ - !ruby/object:Gem::Version
78
101
  version: 0.14.2
79
102
  type: :runtime
80
- version_requirements: *id006
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: 0.14.2
81
110
  description: A tool to create class dependency graphs from test suites
82
111
  email: dcadenas@gmail.com
83
- executables:
112
+ executables:
84
113
  - rubydeps
85
- extensions:
114
+ extensions:
86
115
  - ext/call_site_analyzer/extconf.rb
87
116
  extra_rdoc_files: []
88
-
89
- files:
117
+ files:
90
118
  - .document
91
119
  - .gitignore
92
120
  - .travis.yml
93
121
  - Gemfile
94
- - Gemfile.lock
95
122
  - LICENSE
96
123
  - README.md
97
124
  - Rakefile
@@ -107,30 +134,26 @@ files:
107
134
  - spec/spec_helper.rb
108
135
  homepage: http://github.com/dcadenas/rubydeps
109
136
  licenses: []
110
-
111
137
  post_install_message:
112
138
  rdoc_options: []
113
-
114
- require_paths:
139
+ require_paths:
115
140
  - lib
116
- required_ruby_version: !ruby/object:Gem::Requirement
141
+ required_ruby_version: !ruby/object:Gem::Requirement
117
142
  none: false
118
- requirements:
119
- - - ">="
120
- - !ruby/object:Gem::Version
121
- version: "0"
122
- required_rubygems_version: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ! '>='
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ required_rubygems_version: !ruby/object:Gem::Requirement
123
148
  none: false
124
- requirements:
125
- - - ">="
126
- - !ruby/object:Gem::Version
127
- version: "0"
149
+ requirements:
150
+ - - ! '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
128
153
  requirements: []
129
-
130
154
  rubyforge_project:
131
- rubygems_version: 1.8.16
155
+ rubygems_version: 1.8.24
132
156
  signing_key:
133
157
  specification_version: 3
134
158
  summary: A tool to create class dependency graphs from test suites
135
159
  test_files: []
136
-
data/Gemfile.lock DELETED
@@ -1,32 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- archive-tar-minitar (0.5.2)
5
- diff-lcs (1.1.3)
6
- file_test_helper (1.0.2)
7
- rake (0.9.2.2)
8
- rake-compiler (0.8.0)
9
- rake
10
- rspec (2.8.0)
11
- rspec-core (~> 2.8.0)
12
- rspec-expectations (~> 2.8.0)
13
- rspec-mocks (~> 2.8.0)
14
- rspec-core (2.8.0)
15
- rspec-expectations (2.8.0)
16
- diff-lcs (~> 1.1.2)
17
- rspec-mocks (2.8.0)
18
- ruby-graphviz (1.0.5)
19
- ruby_core_source (0.1.5)
20
- archive-tar-minitar (>= 0.5.2)
21
- thor (0.14.6)
22
-
23
- PLATFORMS
24
- ruby
25
-
26
- DEPENDENCIES
27
- file_test_helper (~> 1.0.0)
28
- rake-compiler (~> 0.8.0)
29
- rspec (~> 2.8.0)
30
- ruby-graphviz (~> 1.0.5)
31
- ruby_core_source (~> 0.1.5)
32
- thor (~> 0.14.2)