bundler_dependency_matrix 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/bin/bundler_dependency_matrix +5 -0
- data/circle.yml +7 -0
- data/lib/bundler_dependency_matrix/version.rb +1 -1
- data/spec/bundler_dependency_matrix_spec.rb +18 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7db092e752f5246f825924708416ce0ee990c5bf
|
4
|
+
data.tar.gz: 9235bc843081ab1928794cb038ff4aec3c1dcad3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b3dfce4f5826c9982c501280cdd4ffeb39d3b989da8b9e1f5d9c0a866b87ab11d3cd348eef2ef8011e097556c8f243d4eb258b4a062e6620c18de78556aad70
|
7
|
+
data.tar.gz: 4056f6d2ac8e3145ab0e21495eef1d767d4e8116fbdf278ca84f7815fc0f9e144485357e19a03ddf876e2b2d8c866b1b90d5da7c600da09cbadd448849da3d18
|
data/.gitignore
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
spec/tmp
|
1
|
+
spec/tmp
|
2
|
+
bundler_dependency_matrix-*.gem
|
@@ -1,7 +1,12 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'pathname'
|
4
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', Pathname.new(__FILE__).realpath)
|
5
|
+
|
2
6
|
require 'rubygems'
|
3
7
|
require 'bundler/setup'
|
4
8
|
require 'find'
|
9
|
+
|
5
10
|
require 'bundler_dependency_matrix/project'
|
6
11
|
require 'bundler_dependency_matrix/matrix'
|
7
12
|
require 'bundler_dependency_matrix/views/console'
|
data/circle.yml
ADDED
@@ -74,4 +74,22 @@ TABLE
|
|
74
74
|
|
75
75
|
expect(`#{PROJECT_ROOT}/bin/bundler_dependency_matrix #{PROJECT_ROOT}/spec/tmp`).to eq(expected_result)
|
76
76
|
end
|
77
|
+
|
78
|
+
it 'could be run from random directory' do
|
79
|
+
expected_result = <<-TABLE
|
80
|
+
x | bar | foo
|
81
|
+
--------------------+--------+--------
|
82
|
+
diff-lcs | 1.2.5 | 1.2.5
|
83
|
+
rake | 10.0.0 | 11.1.0
|
84
|
+
rspec | 2.0.0 | 3.0.0
|
85
|
+
rspec-core | 2.0.0 | 3.0.4
|
86
|
+
rspec-expectations | 2.0.0 | 3.0.4
|
87
|
+
rspec-mocks | 2.0.0 | 3.0.4
|
88
|
+
rspec-support | x | 3.0.4
|
89
|
+
TABLE
|
90
|
+
|
91
|
+
Bundler.with_clean_env do
|
92
|
+
expect(`cd ~ && #{PROJECT_ROOT}/bin/bundler_dependency_matrix #{PROJECT_ROOT}/spec/tmp`).to eq(expected_result)
|
93
|
+
end
|
94
|
+
end
|
77
95
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundler_dependency_matrix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Deyan Dobrinov
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- README.md
|
67
67
|
- bin/bundler_dependency_matrix
|
68
68
|
- bundler_dependency_matrix.gemspec
|
69
|
+
- circle.yml
|
69
70
|
- lib/bundler_dependency_matrix.rb
|
70
71
|
- lib/bundler_dependency_matrix/matrix.rb
|
71
72
|
- lib/bundler_dependency_matrix/project.rb
|