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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 14bffeef020bb03f0fd7c17f700eb82192cf89a5
4
- data.tar.gz: 9a2d23869e8ceb44a51a7dff69e94feb80a4feb4
3
+ metadata.gz: 7db092e752f5246f825924708416ce0ee990c5bf
4
+ data.tar.gz: 9235bc843081ab1928794cb038ff4aec3c1dcad3
5
5
  SHA512:
6
- metadata.gz: bb5b77e16d9b5bed20f94bf87a996163f900b0ee8fd98669002e0e6f67698cc397b04d3fcf33efbd4e6a78762f93907241a4518b99cf794be2c712e8c38fcc7a
7
- data.tar.gz: c1f6d5ff6ff5b8b142b45b7cdeddb744a8d1b37a8fe1b3ec5aecc919f5e9bc031e6352d9cab482f0bc22f0541781f5297d8001d0273a82e5e40eb031a495b34d
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
@@ -0,0 +1,7 @@
1
+ machine:
2
+ ruby:
3
+ version: 2.3.0
4
+
5
+ dependencies:
6
+ pre:
7
+ - gem install bundler -v 1.11.2
@@ -1,3 +1,3 @@
1
1
  module BundlerDependencyMatrix
2
- VERSION = '0.0.0'
2
+ VERSION = '0.0.1'
3
3
  end
@@ -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.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