cobradeps 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cobradeps.gemspec +1 -1
- data/lib/cobradeps.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 990499b924ff7e401271f97d03cc97080fbd4bfb
|
4
|
+
data.tar.gz: e09e9e1514d0875ed9b39f25be946bf6751b6296
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7fded17305317842736f25fab5c72ccb56115ad2b6d8ee879b058c396d51a6bf797180644b2ee4097eaa626b2ffd8e7d73e474076a3f35a5a659958e87b55b7
|
7
|
+
data.tar.gz: fcafd36fccced021301c71774c03f7b5debc8a5217ffe47bffdf82bd0d72ef5ca0247c9d877f9e38a40a4e6072b951d56a48757a899f4764dd90ff8f8014a1a0
|
data/cobradeps.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'cobradeps'
|
7
|
-
spec.version = '0.4.
|
7
|
+
spec.version = '0.4.1'
|
8
8
|
spec.authors = ['Stephan Hagemann']
|
9
9
|
spec.email = ['stephan.hagemann@gmail.com']
|
10
10
|
spec.summary = %q{Prints and exports the dependencies within component-based Ruby/Rails applications}
|
data/lib/cobradeps.rb
CHANGED
@@ -6,7 +6,7 @@ module Cbradeps
|
|
6
6
|
require_relative "cobradeps/gemfile_scraper"
|
7
7
|
|
8
8
|
def self.output_text(root_path = nil)
|
9
|
-
path = root_path || current_path
|
9
|
+
path = File.expand_path(root_path) || File.expand_path(current_path)
|
10
10
|
app = GemfileScraper.new(path)
|
11
11
|
|
12
12
|
outputs "APP"
|
@@ -31,12 +31,12 @@ module Cbradeps
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def self.output_graph(root_path = nil, filename)
|
34
|
-
path = root_path || current_path
|
34
|
+
path = File.expand_path(root_path) || File.expand_path(current_path)
|
35
35
|
graph(path).output(:png => "#{filename}.png")
|
36
36
|
end
|
37
37
|
|
38
38
|
def self.output_dot(root_path = nil, filename)
|
39
|
-
path = root_path || current_path
|
39
|
+
path = File.expand_path(root_path) || File.expand_path(current_path)
|
40
40
|
graph(path).output(:dot => "#{filename}.dot")
|
41
41
|
end
|
42
42
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cobradeps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephan Hagemann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-graphviz
|
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
104
|
version: '0'
|
105
105
|
requirements: []
|
106
106
|
rubyforge_project:
|
107
|
-
rubygems_version: 2.6.
|
107
|
+
rubygems_version: 2.6.13
|
108
108
|
signing_key:
|
109
109
|
specification_version: 4
|
110
110
|
summary: Prints and exports the dependencies within component-based Ruby/Rails applications
|