dep_walker 1.0.0 → 1.0.1
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/History.rdoc +7 -1
- data/lib/dep_walker.rb +2 -2
- metadata +75 -66
data/History.rdoc
CHANGED
data/lib/dep_walker.rb
CHANGED
@@ -46,7 +46,7 @@ end
|
|
46
46
|
module DepWalker
|
47
47
|
extend self
|
48
48
|
|
49
|
-
VERSION = '1.0.
|
49
|
+
VERSION = '1.0.1'
|
50
50
|
|
51
51
|
##
|
52
52
|
# Informational messages
|
@@ -86,7 +86,7 @@ module DepWalker
|
|
86
86
|
##
|
87
87
|
def check(name_or_spec, version=nil)
|
88
88
|
gem_deps = {}
|
89
|
-
spec = name_or_spec.is_a?(String) ? Gem::Specification.find_all_by_name(name_or_spec, version) : name_or_spec
|
89
|
+
spec = name_or_spec.is_a?(String) ? Gem::Specification.find_all_by_name(name_or_spec, version) : [name_or_spec]
|
90
90
|
spec.each do |s|
|
91
91
|
walk_deps(s).each do |k,v|
|
92
92
|
gem_deps[k] = v[:not_found] unless v[:not_found].empty?
|
metadata
CHANGED
@@ -1,79 +1,81 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: dep_walker
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
-
|
12
|
+
authors:
|
13
|
+
- !binary |
|
14
|
+
Qm/FoWtvIEl2YW5pxaFldmnEhw==
|
15
|
+
|
9
16
|
autorequire:
|
10
17
|
bindir: bin
|
11
18
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
19
|
+
|
20
|
+
date: 2011-05-07 00:00:00 Z
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
15
23
|
name: rake-compiler
|
16
|
-
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
26
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: 3
|
31
|
+
segments:
|
32
|
+
- 0
|
33
|
+
version: "0"
|
22
34
|
type: :development
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
26
37
|
name: hoe
|
27
|
-
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
40
|
none: false
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 35
|
45
|
+
segments:
|
46
|
+
- 2
|
47
|
+
- 9
|
48
|
+
- 4
|
32
49
|
version: 2.9.4
|
33
50
|
type: :development
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
extensions
|
38
|
-
|
51
|
+
version_requirements: *id002
|
52
|
+
description: |-
|
53
|
+
The dep_walker is small utility gem that checks dependencies for native extensions
|
39
54
|
used by installed gems on Windows. If you are {RubyInstaller}[http://www.rubyinstaller.org]
|
40
|
-
|
41
55
|
user and have seen message box:
|
42
|
-
|
43
|
-
|
56
|
+
|
44
57
|
<em>"This application has failed to start because <name_of_dll>.dll was not found.
|
45
|
-
|
46
58
|
Re-installing the application may fix this problem"</em>
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
problem on Windows systems - missing dependency dll. Same error might occur even
|
52
|
-
if
|
53
|
-
|
59
|
+
|
60
|
+
when you tried to use gem that has pre-built binariy extension, you've faced common
|
61
|
+
problem on Windows systems - missing dependency dll. Same error might occur even if
|
54
62
|
extension library was built during gem installation if all header files and libraries
|
55
|
-
|
56
63
|
are available to the build tools, but runtime dependencies are not present.
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
gem will print out information where dependency is found on the system, so you can
|
63
|
-
check
|
64
|
-
|
65
|
-
whether Ruby extension really uses correct version of required dll.'
|
66
|
-
email:
|
64
|
+
|
65
|
+
With dep_walker you can simply check all installed gems. Even more, if log is turned on,
|
66
|
+
gem will print out information where dependency is found on the system, so you can check
|
67
|
+
whether Ruby extension really uses correct version of required dll.
|
68
|
+
email:
|
67
69
|
- bosko.ivanisevic@gmail.com
|
68
|
-
executables:
|
70
|
+
executables:
|
69
71
|
- dep_walker
|
70
|
-
extensions:
|
72
|
+
extensions:
|
71
73
|
- ext/dep_walker/extconf.rb
|
72
|
-
extra_rdoc_files:
|
74
|
+
extra_rdoc_files:
|
73
75
|
- Manifest.txt
|
74
76
|
- History.rdoc
|
75
77
|
- README.rdoc
|
76
|
-
files:
|
78
|
+
files:
|
77
79
|
- .autotest
|
78
80
|
- History.rdoc
|
79
81
|
- Manifest.txt
|
@@ -89,30 +91,37 @@ files:
|
|
89
91
|
- .gemtest
|
90
92
|
homepage: http://github.com/bosko/dep_walker
|
91
93
|
licenses: []
|
94
|
+
|
92
95
|
post_install_message:
|
93
|
-
rdoc_options:
|
96
|
+
rdoc_options:
|
94
97
|
- --main
|
95
98
|
- README.rdoc
|
96
|
-
require_paths:
|
99
|
+
require_paths:
|
97
100
|
- lib
|
98
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
101
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
99
102
|
none: false
|
100
|
-
requirements:
|
101
|
-
- -
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
|
104
|
-
|
103
|
+
requirements:
|
104
|
+
- - ">="
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
hash: 3
|
107
|
+
segments:
|
108
|
+
- 0
|
109
|
+
version: "0"
|
110
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
111
|
none: false
|
106
|
-
requirements:
|
107
|
-
- -
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
hash: 3
|
116
|
+
segments:
|
117
|
+
- 0
|
118
|
+
version: "0"
|
110
119
|
requirements: []
|
120
|
+
|
111
121
|
rubyforge_project: dep_walker
|
112
122
|
rubygems_version: 1.8.1
|
113
123
|
signing_key:
|
114
124
|
specification_version: 3
|
115
|
-
summary: The dep_walker is small utility gem that checks dependencies for native extensions
|
116
|
-
|
117
|
-
test_files:
|
125
|
+
summary: The dep_walker is small utility gem that checks dependencies for native extensions used by installed gems on Windows
|
126
|
+
test_files:
|
118
127
|
- test/test_dep_walker.rb
|