cleanup_vendor 0.2.0.pre.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/cleanup_vendor.rb +4 -10
- data/lib/cleanup_vendor/version.rb +1 -1
- data/lib/defaults.yml +54 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cd69188501d192b24e691c1e39f4f234ddaafe83d438563c866fb23c0cc9d14
|
4
|
+
data.tar.gz: 3adda87794ca9d802fb13d30cb084eba8d8320fb6653b75f21e85c3350f8178f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebbf384b886c6c981f46493a7e34a4b99aeb9d1d56a1c0b28ee40ea93778365d30a9b49fbf562745c9f96629f22f54434c7eb5726fd77480b3aa754e113f4e76
|
7
|
+
data.tar.gz: 287c969e76e59265d4edba74c5ddeaf46016832e444eeab66248aa27dfe637cc4e7132390deeb6e536e8a1a876b4c291c7bbda77f946b7662b1103247eeb63a8
|
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.3.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -34,7 +34,7 @@ GEM
|
|
34
34
|
rspec-mocks (~> 3.9.0)
|
35
35
|
rspec-core (3.9.1)
|
36
36
|
rspec-support (~> 3.9.1)
|
37
|
-
rspec-expectations (3.9.
|
37
|
+
rspec-expectations (3.9.1)
|
38
38
|
diff-lcs (>= 1.2.0, < 2.0)
|
39
39
|
rspec-support (~> 3.9.0)
|
40
40
|
rspec-mocks (3.9.1)
|
data/lib/cleanup_vendor.rb
CHANGED
@@ -1,21 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'pathname'
|
4
|
+
require 'yaml'
|
5
|
+
|
4
6
|
require 'cleanup_vendor/version'
|
5
7
|
|
6
8
|
module CleanupVendor
|
7
9
|
class Error < StandardError; end
|
8
10
|
|
9
|
-
|
10
|
-
|
11
|
-
filenames: %w[
|
12
|
-
README Makefile LICENSE CHANGELOG .codeclimate.yml .dockerignore
|
13
|
-
.gitignore .gitkeep .rubocop.yml .ruby-version .ruby-gemset .rspec
|
14
|
-
.rspec_status .travis.yml .yardopts
|
15
|
-
],
|
16
|
-
top_level_directories: %w[spec],
|
17
|
-
directories: %w[.git .github]
|
18
|
-
}.freeze
|
11
|
+
CONFIG_FILE = File.expand_path('defaults.yml', __dir__)
|
12
|
+
DEFAULTS = YAML.safe_load(File.binread(CONFIG_FILE)).transform_keys(&:to_sym).freeze
|
19
13
|
|
20
14
|
class << self
|
21
15
|
def run(dir, opts = {})
|
data/lib/defaults.yml
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
extensions:
|
2
|
+
- c
|
3
|
+
- cpp
|
4
|
+
- gcov
|
5
|
+
- gem
|
6
|
+
- h
|
7
|
+
- hpp
|
8
|
+
- java
|
9
|
+
- log
|
10
|
+
- markdown
|
11
|
+
- md
|
12
|
+
- mk
|
13
|
+
- o
|
14
|
+
- orig
|
15
|
+
- rdoc
|
16
|
+
- txt
|
17
|
+
filenames:
|
18
|
+
- .DS_Store
|
19
|
+
- .appveyor.yml
|
20
|
+
- .byebug_history
|
21
|
+
- .codeclimate.yml
|
22
|
+
- .dockerignore
|
23
|
+
- .gitignore
|
24
|
+
- .gitkeep
|
25
|
+
- .gitmodules
|
26
|
+
- .hound.yml
|
27
|
+
- .keep
|
28
|
+
- .npmignore
|
29
|
+
- .rspec
|
30
|
+
- .rspec_status
|
31
|
+
- .rubocop.yml
|
32
|
+
- .ruby-gemset
|
33
|
+
- .ruby-version
|
34
|
+
- .rvmrc
|
35
|
+
- .travis.yml
|
36
|
+
- .yardopts
|
37
|
+
- CHANGELOG
|
38
|
+
- LICENSE
|
39
|
+
- MIT-LICENSE
|
40
|
+
- Makefile
|
41
|
+
- NEWS
|
42
|
+
- README
|
43
|
+
- TAGS
|
44
|
+
- TODO
|
45
|
+
- gem_make.out
|
46
|
+
top_level_directories:
|
47
|
+
- spec
|
48
|
+
directories:
|
49
|
+
- .circleci
|
50
|
+
- .config
|
51
|
+
- .git
|
52
|
+
- .github
|
53
|
+
- .idea
|
54
|
+
- .yardoc
|
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.3.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: 2020-03-
|
11
|
+
date: 2020-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -130,6 +130,7 @@ files:
|
|
130
130
|
- exe/cleanup_vendor
|
131
131
|
- lib/cleanup_vendor.rb
|
132
132
|
- lib/cleanup_vendor/version.rb
|
133
|
+
- lib/defaults.yml
|
133
134
|
homepage: https://github.com/raszi/cleanup_vendor
|
134
135
|
licenses:
|
135
136
|
- MIT
|
@@ -145,9 +146,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
145
146
|
version: '0'
|
146
147
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
148
|
requirements:
|
148
|
-
- - "
|
149
|
+
- - ">="
|
149
150
|
- !ruby/object:Gem::Version
|
150
|
-
version:
|
151
|
+
version: '0'
|
151
152
|
requirements: []
|
152
153
|
rubygems_version: 3.0.8
|
153
154
|
signing_key:
|