hellgrid 0.3.4 → 0.4.0

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
  SHA256:
3
- metadata.gz: 4ce45669d34b7469809dbf4a64ee5e29ee9981641a3e025b23872d8a218a46f8
4
- data.tar.gz: 4ca12436cfc4f4e2e24b1ac7a80983a5843a25c5beb10fe3a08cc56a6fa08b78
3
+ metadata.gz: e0caa065abbaea139e9e998f08b984d34aa1ebfcf6a5295c09328c24a9df7e79
4
+ data.tar.gz: cdcaa19a6cab7bb2db6d8269752e63832dfc4bfec60b421c1859ec3810e3c918
5
5
  SHA512:
6
- metadata.gz: de5d31dabeececd809954068879f64e3b9a04ab50007b3758e249aec4354e54ed095c455958cd97aea77a6d1d685bae4e799f7b25a007979fa895c0fe5997000
7
- data.tar.gz: fa9738f901828a055112f2bd38c1c96ad6069545ddad142213890761ee0e967f7e98267b458db12c2657b62e8671f3e1f6ca69aa6445b74e5aad745d3a361114
6
+ metadata.gz: 4914b6fffb95580d2419bb67e3553ac90516b3f4de72bc58dced496e518250e9e33de44e89f0c71cb7a6ec8e68224e3896ad5db76c9736c1b4cfbd27650851e4
7
+ data.tar.gz: c36915d2f8353171f1a158fead43c3ebde8e34ee8a1e77b4ead403e963c0c8a6b4b6d7b99a55efdbb01e64b9e1821e01bafa136f91c762e72877f59e1f134df9
data/Gemfile.lock CHANGED
@@ -1,41 +1,34 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hellgrid (0.3.4)
5
- bundler (>= 1.11.0, < 2.1)
4
+ hellgrid (0.4.0)
5
+ bundler (>= 1.11.0, < 3)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- diff-lcs (1.3)
11
- docile (1.3.1)
12
- json (2.1.0)
10
+ diff-lcs (1.5.1)
13
11
  rspec (3.8.0)
14
12
  rspec-core (~> 3.8.0)
15
13
  rspec-expectations (~> 3.8.0)
16
14
  rspec-mocks (~> 3.8.0)
17
- rspec-core (3.8.0)
15
+ rspec-core (3.8.2)
18
16
  rspec-support (~> 3.8.0)
19
- rspec-expectations (3.8.2)
17
+ rspec-expectations (3.8.6)
20
18
  diff-lcs (>= 1.2.0, < 2.0)
21
19
  rspec-support (~> 3.8.0)
22
- rspec-mocks (3.8.0)
20
+ rspec-mocks (3.8.2)
23
21
  diff-lcs (>= 1.2.0, < 2.0)
24
22
  rspec-support (~> 3.8.0)
25
- rspec-support (3.8.0)
26
- simplecov (0.16.1)
27
- docile (~> 1.1)
28
- json (>= 1.8, < 3)
29
- simplecov-html (~> 0.10.0)
30
- simplecov-html (0.10.2)
23
+ rspec-support (3.8.3)
31
24
 
32
25
  PLATFORMS
33
26
  ruby
27
+ x86_64-linux
34
28
 
35
29
  DEPENDENCIES
36
30
  hellgrid!
37
31
  rspec (~> 3.8.0)
38
- simplecov (~> 0.16.0)
39
32
 
40
33
  BUNDLED WITH
41
- 1.17.3
34
+ 2.5.3
data/README.md CHANGED
@@ -2,8 +2,7 @@
2
2
 
3
3
  Utility which will output a table containing gem versions used across your projects.
4
4
 
5
- [![Build Status`](https://circleci.com/gh/FundingCircle/hellgrid.svg?style=svg)](https://circleci.com/gh/FundingCircle/hellgrid)
6
- [![Maintainability](https://api.codeclimate.com/v1/badges/13deecf7ca1f69197cbe/maintainability)](https://codeclimate.com/github/FundingCircle/hellgrid/maintainability)
5
+ [![Build & Test](https://github.com/FundingCircle/hellgrid/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/FundingCircle/hellgrid/actions/workflows/build-and-test.yml)
7
6
 
8
7
  ## Install
9
8
 
data/hellgrid.gemspec CHANGED
@@ -19,8 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.homepage = 'https://github.com/FundingCircle/hellgrid'
20
20
  s.license = 'BSD-3-Clause'
21
21
 
22
- s.add_runtime_dependency 'bundler', '>= 1.11.0', '< 2.1'
22
+ s.add_runtime_dependency 'bundler', '>= 1.11.0', '< 3'
23
23
 
24
24
  s.add_development_dependency 'rspec', '~> 3.8.0'
25
- s.add_development_dependency 'simplecov', '~> 0.16.0'
26
25
  end
data/lib/hellgrid/cli.rb CHANGED
@@ -18,7 +18,7 @@ module Hellgrid
18
18
  matrix = Hellgrid::Matrix.new
19
19
 
20
20
  Find.find(folder) do |path|
21
- if File.directory?(path) && File.exists?(File.join(path, 'Gemfile.lock'))
21
+ if File.directory?(path) && File.exist?(File.join(path, 'Gemfile.lock'))
22
22
  matrix.add_project(Hellgrid::Project.new(folder, path))
23
23
  Find.prune unless recursive_search
24
24
  end
@@ -1,3 +1,3 @@
1
1
  module Hellgrid
2
- VERSION = '0.3.4'
2
+ VERSION = '0.4.0'
3
3
  end
@@ -1,6 +1,14 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe 'bin/hellgrid' do
4
+ def with_unbundled_env(&block)
5
+ if Bundler.respond_to?(:with_unbundled_env)
6
+ Bundler.with_unbundled_env(&block)
7
+ else
8
+ Bundler.with_clean_env(&block)
9
+ end
10
+ end
11
+
4
12
  before do
5
13
  delete_tmp_folder
6
14
 
@@ -88,7 +96,7 @@ TABLE
88
96
  rspec-support | x | 3.0.4
89
97
  TABLE
90
98
 
91
- Bundler.with_clean_env do
99
+ with_unbundled_env do
92
100
  expect(`cd ~ && #{PROJECT_ROOT}/bin/hellgrid #{PROJECT_ROOT}/spec/tmp`).to eq(expected_result)
93
101
  end
94
102
  end
@@ -106,14 +114,14 @@ TABLE
106
114
  rspec-support | x | 3.0.4
107
115
  TABLE
108
116
 
109
- Bundler.with_clean_env do
117
+ with_unbundled_env do
110
118
  expect(`cd #{PROJECT_ROOT}/spec/tmp && #{PROJECT_ROOT}/bin/hellgrid`).to eq(expected_result)
111
119
  end
112
120
  end
113
121
 
114
122
  context 'when passing -r' do
115
123
  it 'searches recursively within folders if you flag it to' do
116
- Bundler.with_clean_env do
124
+ with_unbundled_env do
117
125
  expect(`cd #{PROJECT_ROOT} && #{PROJECT_ROOT}/bin/hellgrid -r`.lines.first).to(
118
126
  include(
119
127
  'hellgrid',
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,3 @@
1
- require 'simplecov'
2
- SimpleCov.start
3
-
4
1
  require 'fileutils'
5
2
  require 'hellgrid'
6
3
  require 'hellgrid/project'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hellgrid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Deyan Dobrinov
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-01-03 00:00:00.000000000 Z
12
+ date: 2024-03-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -20,7 +20,7 @@ dependencies:
20
20
  version: 1.11.0
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '2.1'
23
+ version: '3'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -30,7 +30,7 @@ dependencies:
30
30
  version: 1.11.0
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '2.1'
33
+ version: '3'
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: rspec
36
36
  requirement: !ruby/object:Gem::Requirement
@@ -45,20 +45,6 @@ dependencies:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 3.8.0
48
- - !ruby/object:Gem::Dependency
49
- name: simplecov
50
- requirement: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: 0.16.0
55
- type: :development
56
- prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: 0.16.0
62
48
  description: Display gem versions used across your projects in a table
63
49
  email:
64
50
  - engineering+hellgrid@fundingcircle.com
@@ -103,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
89
  - !ruby/object:Gem::Version
104
90
  version: '0'
105
91
  requirements: []
106
- rubygems_version: 3.0.1
92
+ rubygems_version: 3.5.3
107
93
  signing_key:
108
94
  specification_version: 4
109
95
  summary: Gem version dependency matrix