cobradeps 0.4.0 → 0.4.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/cobradeps.gemspec +1 -1
  3. data/lib/cobradeps.rb +3 -3
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf2c4837ace66225c6e94b21c8643bf11a64045f
4
- data.tar.gz: 580a100ed62e22ad60b55d8450007e2d3d0bc32e
3
+ metadata.gz: 990499b924ff7e401271f97d03cc97080fbd4bfb
4
+ data.tar.gz: e09e9e1514d0875ed9b39f25be946bf6751b6296
5
5
  SHA512:
6
- metadata.gz: 3adaac7210c40843bac63c77126a7e33b490b071818e0b06e0d3d255121ae25819c5051b95a7ce963bf8161406b35b11a8a2f69831d369ed945206f9c9d9b4ef
7
- data.tar.gz: 0974dee6bc1ab9019c9c5c1905e74c61b8d9709097c2f2ad036678df91f83579939ab1aa3d0cf8ad8edd0d614f6ae78d6f33a64af8c1032ad67af373132def7d
6
+ metadata.gz: b7fded17305317842736f25fab5c72ccb56115ad2b6d8ee879b058c396d51a6bf797180644b2ee4097eaa626b2ffd8e7d73e474076a3f35a5a659958e87b55b7
7
+ data.tar.gz: fcafd36fccced021301c71774c03f7b5debc8a5217ffe47bffdf82bd0d72ef5ca0247c9d877f9e38a40a4e6072b951d56a48757a899f4764dd90ff8f8014a1a0
@@ -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.0'
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}
@@ -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.0
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-06-11 00:00:00.000000000 Z
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.10
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