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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2fe8b3bae802fc9575a1b169ebc43a885cd95944fbc0f18e0f38703d08518b34
4
- data.tar.gz: 640ba5733ea35ae6d295668498f558d31d73cdbfb4e018e266fddfddc9addd4c
3
+ metadata.gz: 8cd69188501d192b24e691c1e39f4f234ddaafe83d438563c866fb23c0cc9d14
4
+ data.tar.gz: 3adda87794ca9d802fb13d30cb084eba8d8320fb6653b75f21e85c3350f8178f
5
5
  SHA512:
6
- metadata.gz: 97bc5b1a1623ab465c31c023b21c06398a6d056532498ebaf018def7c96433063d60a0faea9e1e5e9615e6a025b99933f93aea5b142db816e27532f4ab3e2ce0
7
- data.tar.gz: 0e0d99c088770ce7dd6c75764bfc97dfe05655702cd5c36d8dd42d2e1a2b9f3eb5c5b766398bafbceced4f02ca3a49b3d095ab7e4ece3184751904d34b88e39c
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.2.0.pre.2)
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.0)
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)
@@ -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
- DEFAULTS = {
10
- extensions: %w[c cpp gem h hpp java log md mk o rdoc txt],
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 = {})
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CleanupVendor
4
- VERSION = '0.2.0.pre.2'
4
+ VERSION = '0.3.0'
5
5
  end
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.2.0.pre.2
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-14 00:00:00.000000000 Z
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: 1.3.1
151
+ version: '0'
151
152
  requirements: []
152
153
  rubygems_version: 3.0.8
153
154
  signing_key: