cleanup_vendor 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +25 -15
- data/Gemfile.lock +19 -19
- data/README.md +4 -2
- data/cleanup_vendor.gemspec +3 -3
- data/lib/cleanup_vendor.rb +1 -0
- data/lib/cleanup_vendor/version.rb +1 -1
- metadata +7 -8
- data/.travis.yml +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d403417bbae7a38dd4971b59ed763c38546f7e70421932772726d4fb5d17e81
|
4
|
+
data.tar.gz: bca191976404a154e6ea744b1c4b534cbfbeb900f2145202877a56f9027b4a17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db9609bd86a140158be40238a6c155ef2e8bd24a02c65bdea6f6d5c7570ee707727c590bc641707a690cf71f55734d894639f37c18e06ff6f72c98cc555ab2ee
|
7
|
+
data.tar.gz: 6a30da6486d33ca88bd8eaa545547cfae369c7dcd34c81fadf7794b54f4513242c37da8829aa0b486cce460f10b3ae7fed47b8308fde79ecc9d647b412063c0b
|
data/.github/workflows/ruby.yml
CHANGED
@@ -12,20 +12,30 @@ jobs:
|
|
12
12
|
|
13
13
|
strategy:
|
14
14
|
matrix:
|
15
|
-
ruby: [2.5, 2.6, 2.7]
|
15
|
+
ruby: [2.5, 2.6, 2.7, 3.0]
|
16
16
|
|
17
17
|
steps:
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
18
|
+
- uses: actions/checkout@v2
|
19
|
+
|
20
|
+
- name: Set up Ruby
|
21
|
+
uses: ruby/setup-ruby@v1
|
22
|
+
with:
|
23
|
+
ruby-version: ${{ matrix.ruby }}
|
24
|
+
bundler-cache: true
|
25
|
+
|
26
|
+
- name: Update the RubyGems system software
|
27
|
+
run: gem update --system
|
28
|
+
|
29
|
+
- name: Update Bundler
|
30
|
+
run: bundle update --bundler
|
31
|
+
|
32
|
+
- name: Install dependencies
|
33
|
+
run: bundle install
|
34
|
+
|
35
|
+
- name: Run tests and publish coverage
|
36
|
+
uses: paambaati/codeclimate-action@v2.7.5
|
37
|
+
env:
|
38
|
+
COVERAGE: on
|
39
|
+
CC_TEST_REPORTER_ID: 223eccd52e0685221f32d788a5847a98d00c00688c3eebfa714ee95887d40f20
|
40
|
+
with:
|
41
|
+
coverageCommand: bundle exec rspec
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cleanup_vendor (0.
|
4
|
+
cleanup_vendor (0.6.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -10,12 +10,11 @@ GEM
|
|
10
10
|
byebug (11.1.3)
|
11
11
|
coderay (1.1.3)
|
12
12
|
diff-lcs (1.4.4)
|
13
|
-
docile (1.3.
|
14
|
-
gem-release (2.2.
|
15
|
-
json (2.3.0)
|
13
|
+
docile (1.3.5)
|
14
|
+
gem-release (2.2.1)
|
16
15
|
method_source (1.0.0)
|
17
16
|
parallel (1.20.1)
|
18
|
-
parser (
|
17
|
+
parser (3.0.0.0)
|
19
18
|
ast (~> 2.4.1)
|
20
19
|
pry (0.13.1)
|
21
20
|
coderay (~> 1.1)
|
@@ -27,7 +26,7 @@ GEM
|
|
27
26
|
pry (~> 0.11)
|
28
27
|
yard (~> 0.9.11)
|
29
28
|
rainbow (3.0.0)
|
30
|
-
regexp_parser (2.0.
|
29
|
+
regexp_parser (2.0.3)
|
31
30
|
rexml (3.2.4)
|
32
31
|
rspec (3.10.0)
|
33
32
|
rspec-core (~> 3.10.0)
|
@@ -42,27 +41,28 @@ GEM
|
|
42
41
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
42
|
rspec-support (~> 3.10.0)
|
44
43
|
rspec-support (3.10.0)
|
45
|
-
rubocop (1.
|
44
|
+
rubocop (1.8.1)
|
46
45
|
parallel (~> 1.10)
|
47
|
-
parser (>=
|
46
|
+
parser (>= 3.0.0.0)
|
48
47
|
rainbow (>= 2.2.2, < 4.0)
|
49
48
|
regexp_parser (>= 1.8, < 3.0)
|
50
49
|
rexml
|
51
50
|
rubocop-ast (>= 1.2.0, < 2.0)
|
52
51
|
ruby-progressbar (~> 1.7)
|
53
|
-
unicode-display_width (>= 1.4.0, <
|
54
|
-
rubocop-ast (1.
|
52
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
53
|
+
rubocop-ast (1.4.0)
|
55
54
|
parser (>= 2.7.1.5)
|
56
|
-
rubocop-rspec (2.0
|
55
|
+
rubocop-rspec (2.1.0)
|
57
56
|
rubocop (~> 1.0)
|
58
57
|
rubocop-ast (>= 1.1.0)
|
59
|
-
ruby-progressbar (1.
|
60
|
-
simplecov (0.
|
58
|
+
ruby-progressbar (1.11.0)
|
59
|
+
simplecov (0.21.2)
|
61
60
|
docile (~> 1.1)
|
62
|
-
|
63
|
-
|
64
|
-
simplecov-html (0.
|
65
|
-
|
61
|
+
simplecov-html (~> 0.11)
|
62
|
+
simplecov_json_formatter (~> 0.1)
|
63
|
+
simplecov-html (0.12.3)
|
64
|
+
simplecov_json_formatter (0.1.2)
|
65
|
+
unicode-display_width (2.0.0)
|
66
66
|
yard (0.9.25)
|
67
67
|
|
68
68
|
PLATFORMS
|
@@ -75,9 +75,9 @@ DEPENDENCIES
|
|
75
75
|
pry-byebug (~> 3.8)
|
76
76
|
pry-doc (~> 1.0)
|
77
77
|
rspec (~> 3.0)
|
78
|
-
rubocop (~> 1.
|
78
|
+
rubocop (~> 1.8.0)
|
79
79
|
rubocop-rspec (~> 2.0, >= 2.0.1)
|
80
|
-
simplecov (= 0.
|
80
|
+
simplecov (= 0.21.2)
|
81
81
|
|
82
82
|
BUNDLED WITH
|
83
83
|
2.1.4
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# CleanupVendor
|
2
2
|
|
3
|
-
[![Build Status](https://
|
3
|
+
[![Build Status](https://github.com/raszi/cleanup_vendor/workflows/Ruby/badge.svg?branch=master)](https://github.com/raszi/cleanup_vendor/actions?query=workflow%3ARuby)
|
4
4
|
[![Code Climate](https://codeclimate.com/github/raszi/cleanup_vendor/badges/gpa.svg)](https://codeclimate.com/github/raszi/cleanup_vendor)
|
5
5
|
[![Test Coverage](https://codeclimate.com/github/raszi/cleanup_vendor/badges/coverage.svg)](https://codeclimate.com/github/raszi/cleanup_vendor)
|
6
6
|
[![Gem Version](https://badge.fury.io/rb/cleanup_vendor.svg)](https://badge.fury.io/rb/cleanup_vendor)
|
@@ -90,9 +90,11 @@ Specific options:
|
|
90
90
|
### Override Examples
|
91
91
|
|
92
92
|
This example excludes a file from the Password Strength gem
|
93
|
+
|
93
94
|
```
|
94
|
-
bundle exec cleanup_vendor --dry-run --verbose -e '**/password_strength*/*/common.txt'
|
95
|
+
bundle exec cleanup_vendor --dry-run --verbose -e '**/password_strength*/*/common.txt'
|
95
96
|
```
|
97
|
+
|
96
98
|
## Development
|
97
99
|
|
98
100
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bundle exec spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/cleanup_vendor.gemspec
CHANGED
@@ -23,14 +23,14 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
24
|
spec.require_paths = ['lib']
|
25
25
|
|
26
|
-
spec.required_ruby_version = '
|
26
|
+
spec.required_ruby_version = '>= 2.5'
|
27
27
|
|
28
28
|
spec.add_development_dependency 'bundler', '~> 2.1'
|
29
29
|
spec.add_development_dependency 'gem-release', '~> 2.1'
|
30
30
|
spec.add_development_dependency 'pry-byebug', '~> 3.8'
|
31
31
|
spec.add_development_dependency 'pry-doc', '~> 1.0'
|
32
32
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
33
|
-
spec.add_development_dependency 'rubocop', '~> 1.
|
33
|
+
spec.add_development_dependency 'rubocop', '~> 1.8.0'
|
34
34
|
spec.add_development_dependency 'rubocop-rspec', '~> 2.0', '>= 2.0.1'
|
35
|
-
spec.add_development_dependency 'simplecov', '= 0.
|
35
|
+
spec.add_development_dependency 'simplecov', '= 0.21.2'
|
36
36
|
end
|
data/lib/cleanup_vendor.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cleanup_vendor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- KARASZI István
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.
|
89
|
+
version: 1.8.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.
|
96
|
+
version: 1.8.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rubocop-rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,14 +120,14 @@ dependencies:
|
|
120
120
|
requirements:
|
121
121
|
- - '='
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: 0.
|
123
|
+
version: 0.21.2
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - '='
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: 0.
|
130
|
+
version: 0.21.2
|
131
131
|
description: Removes unnecessary files which are not required in production environment.
|
132
132
|
email:
|
133
133
|
- github@spam.raszi.hu
|
@@ -141,7 +141,6 @@ files:
|
|
141
141
|
- ".gitignore"
|
142
142
|
- ".rspec"
|
143
143
|
- ".rubocop.yml"
|
144
|
-
- ".travis.yml"
|
145
144
|
- Gemfile
|
146
145
|
- Gemfile.lock
|
147
146
|
- LICENSE.txt
|
@@ -164,7 +163,7 @@ require_paths:
|
|
164
163
|
- lib
|
165
164
|
required_ruby_version: !ruby/object:Gem::Requirement
|
166
165
|
requirements:
|
167
|
-
- - "
|
166
|
+
- - ">="
|
168
167
|
- !ruby/object:Gem::Version
|
169
168
|
version: '2.5'
|
170
169
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
data/.travis.yml
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
env:
|
2
|
-
global:
|
3
|
-
- CC_TEST_REPORTER_ID=223eccd52e0685221f32d788a5847a98d00c00688c3eebfa714ee95887d40f20
|
4
|
-
- COVERAGE=on
|
5
|
-
language: ruby
|
6
|
-
rvm:
|
7
|
-
- 2.5.0
|
8
|
-
- 2.6.0
|
9
|
-
before_install:
|
10
|
-
- gem update --system
|
11
|
-
- bundle update --bundler
|
12
|
-
before_script:
|
13
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
14
|
-
- chmod +x ./cc-test-reporter
|
15
|
-
- ./cc-test-reporter before-build
|
16
|
-
script:
|
17
|
-
- bundle exec rspec
|
18
|
-
- bundle exec rubocop
|
19
|
-
after_script:
|
20
|
-
- ./cc-test-reporter after-build --debug --exit-code $TRAVIS_TEST_RESULT
|