bundler-stats 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +27 -0
- data/.gitignore +1 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/bin/bundle-stats +0 -1
- data/bin/bundler-stats +3 -0
- data/bundler-stats.gemspec +4 -4
- data/lib/bundler/stats/version.rb +1 -1
- data/spec/lib/bundler/stats/calculator_spec.rb +2 -3
- data/spec/lib/bundler/stats/printer_spec.rb +1 -2
- data/spec/lib/bundler/stats/remover_spec.rb +1 -2
- data/spec/lib/bundler/stats/tree_spec.rb +1 -2
- data/spec/spec_helper.rb +11 -0
- metadata +24 -16
- data/.travis.yml +0 -9
- data/bin/bundler-stats +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c2cbaee0909835a5e655b3b148edd0448425beb1540f52f8b5e491440d66b7d
|
4
|
+
data.tar.gz: ca93d96c36ef79c6007ca752b2d8a747145dd5b075de83044d3080665dbbb19b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 292b5afa7e530edc6a58fdb38a3f2c752f9e87c489c2e1c139562a80d9dcc177cf31473667a3a0329d99fb0b177bc3854e96a89fd1a4496ec7cab01e1564a30f
|
7
|
+
data.tar.gz: cf28a1e2379ebdaad08bdfe8e519b2faa924851964f60f006ac66a8175469680d0af16213faccf2199671e5238c275321fafb91084d790d8887bbc7162d71b6b
|
@@ -0,0 +1,27 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ master ]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
test:
|
11
|
+
strategy:
|
12
|
+
matrix:
|
13
|
+
os: [ubuntu-latest, macos-latest]
|
14
|
+
ruby-version: [3.0, 2.7, 2.6, 2.5, 2.4, 2.3]
|
15
|
+
runs-on: ${{ matrix.os }}
|
16
|
+
|
17
|
+
steps:
|
18
|
+
- uses: actions/checkout@v2
|
19
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
20
|
+
uses: ruby/setup-ruby@v1
|
21
|
+
with:
|
22
|
+
ruby-version: ${{ matrix.ruby-version }}
|
23
|
+
bundler-cache: true
|
24
|
+
- name: Install dependencies
|
25
|
+
run: bundle install
|
26
|
+
- name: Run tests
|
27
|
+
run: bundle exec rspec
|
data/.gitignore
CHANGED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.7.3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,22 @@
|
|
1
1
|
Changelog
|
2
2
|
=============
|
3
3
|
|
4
|
+
## [2.1.1] - 2021-11-30
|
5
|
+
|
6
|
+
### Changed
|
7
|
+
- Symlink isn't the recommended way to alias a command. Patterned current
|
8
|
+
solution after bundle-audit. Boy that naming convention was unfortunate.
|
9
|
+
- Pin down dependencies a bit.
|
10
|
+
|
11
|
+
### Added
|
12
|
+
- Moved to Github test workflow, by @etagwerker.
|
13
|
+
- New default ruby version to be most current non-3 ruby.
|
14
|
+
- Build artifacts now ignored.
|
15
|
+
- Moved to a real spec_helper so tests can be filtered during runs if desired.
|
16
|
+
|
17
|
+
### Fixed
|
18
|
+
- Failing test from previous version.
|
19
|
+
|
4
20
|
## [2.1.0] - 2021-11-29
|
5
21
|
|
6
22
|
### Changed
|
data/README.md
CHANGED
@@ -154,7 +154,7 @@ Credits
|
|
154
154
|
Thanks to the many kind people at [RailsCamp East
|
155
155
|
2016](http://east.railscamp.com) for the help, the ideas, and the support.
|
156
156
|
|
157
|
-
|
157
|
+
Also, many other folks for their feature / fix contributions. ❤️
|
158
158
|
|
159
159
|
License
|
160
160
|
-------
|
data/bin/bundle-stats
CHANGED
data/bin/bundler-stats
ADDED
data/bundler-stats.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.licenses = "MIT"
|
16
16
|
gem.authors = "Joseph Mastey"
|
17
17
|
gem.email = "jmmastey@gmail.com"
|
18
|
-
gem.homepage = ""
|
18
|
+
gem.homepage = "http://github.com/jmmastey/bundler-stats"
|
19
19
|
|
20
20
|
gem.metadata = {
|
21
21
|
"homepage_uri" => "http://github.com/jmmastey/bundler-stats",
|
@@ -35,12 +35,12 @@ Gem::Specification.new do |gem|
|
|
35
35
|
|
36
36
|
gem.require_paths = %w[ext lib].select { |dir| File.directory?(dir) }
|
37
37
|
|
38
|
-
gem.add_dependency "bundler", ">= 1.9"
|
38
|
+
gem.add_dependency "bundler", ">= 1.9", "< 3"
|
39
39
|
gem.add_dependency "thor", "~> 0.19"
|
40
40
|
|
41
41
|
gem.add_development_dependency "rspec", "~> 3.4"
|
42
42
|
gem.add_development_dependency "guard", "~> 2.13"
|
43
|
-
gem.add_development_dependency "guard-rspec"
|
43
|
+
gem.add_development_dependency "guard-rspec", "< 5"
|
44
44
|
gem.add_development_dependency "pry", "~> 0.10"
|
45
|
-
gem.add_development_dependency "rb-readline"
|
45
|
+
gem.add_development_dependency "rb-readline", "< 1"
|
46
46
|
end
|
@@ -1,5 +1,4 @@
|
|
1
|
-
require '
|
2
|
-
require 'bundler/stats'
|
1
|
+
require 'spec_helper'
|
3
2
|
|
4
3
|
describe Bundler::Stats::Calculator do
|
5
4
|
subject { described_class }
|
@@ -79,11 +78,11 @@ describe Bundler::Stats::Calculator do
|
|
79
78
|
context "#gem_stats" do
|
80
79
|
let(:partial_sorted_result) do
|
81
80
|
[
|
82
|
-
["will_paginate", 0],
|
83
81
|
["rolify", 0],
|
84
82
|
["rubocop-rspec", 0],
|
85
83
|
["spring", 0],
|
86
84
|
["state_machine", 0],
|
85
|
+
["will_paginate", 0]
|
87
86
|
]
|
88
87
|
end
|
89
88
|
|
data/spec/spec_helper.rb
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundler-stats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joseph Mastey
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -17,6 +17,9 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.9'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '3'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -24,6 +27,9 @@ dependencies:
|
|
24
27
|
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '1.9'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: thor
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,16 +76,16 @@ dependencies:
|
|
70
76
|
name: guard-rspec
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
|
-
- - "
|
79
|
+
- - "<"
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
81
|
+
version: '5'
|
76
82
|
type: :development
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
|
-
- - "
|
86
|
+
- - "<"
|
81
87
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
88
|
+
version: '5'
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
90
|
name: pry
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,16 +104,16 @@ dependencies:
|
|
98
104
|
name: rb-readline
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
100
106
|
requirements:
|
101
|
-
- - "
|
107
|
+
- - "<"
|
102
108
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
109
|
+
version: '1'
|
104
110
|
type: :development
|
105
111
|
prerelease: false
|
106
112
|
version_requirements: !ruby/object:Gem::Requirement
|
107
113
|
requirements:
|
108
|
-
- - "
|
114
|
+
- - "<"
|
109
115
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
116
|
+
version: '1'
|
111
117
|
description: Looks through your lockfile and tries to identify problematic use of
|
112
118
|
dependencies
|
113
119
|
email: jmmastey@gmail.com
|
@@ -120,9 +126,10 @@ extra_rdoc_files:
|
|
120
126
|
- CODE_OF_CONDUCT.md
|
121
127
|
- README.md
|
122
128
|
files:
|
129
|
+
- ".github/workflows/main.yml"
|
123
130
|
- ".gitignore"
|
124
131
|
- ".rspec"
|
125
|
-
- ".
|
132
|
+
- ".ruby-version"
|
126
133
|
- CHANGELOG.md
|
127
134
|
- CODE_OF_CONDUCT.md
|
128
135
|
- Gemfile
|
@@ -143,16 +150,17 @@ files:
|
|
143
150
|
- spec/lib/bundler/stats/printer_spec.rb
|
144
151
|
- spec/lib/bundler/stats/remover_spec.rb
|
145
152
|
- spec/lib/bundler/stats/tree_spec.rb
|
153
|
+
- spec/spec_helper.rb
|
146
154
|
- spec/test_gemfile
|
147
155
|
- spec/test_gemfile.lock
|
148
|
-
homepage:
|
156
|
+
homepage: http://github.com/jmmastey/bundler-stats
|
149
157
|
licenses:
|
150
158
|
- MIT
|
151
159
|
metadata:
|
152
160
|
homepage_uri: http://github.com/jmmastey/bundler-stats
|
153
161
|
changelog_uri: https://github.com/jmmastey/bundler-stats/blob/master/CHANGELOG.md
|
154
162
|
source_code_uri: http://github.com/jmmastey/bundler-stats
|
155
|
-
post_install_message:
|
163
|
+
post_install_message:
|
156
164
|
rdoc_options: []
|
157
165
|
require_paths:
|
158
166
|
- lib
|
@@ -167,8 +175,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
175
|
- !ruby/object:Gem::Version
|
168
176
|
version: '0'
|
169
177
|
requirements: []
|
170
|
-
rubygems_version: 3.
|
171
|
-
signing_key:
|
178
|
+
rubygems_version: 3.1.6
|
179
|
+
signing_key:
|
172
180
|
specification_version: 4
|
173
181
|
summary: Dependency investigation for Bundler
|
174
182
|
test_files: []
|
data/.travis.yml
DELETED
data/bin/bundler-stats
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
bin/bundle-stats
|