bigfiles 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bigfiles.gemspec +2 -0
- data/lib/bigfiles/config.rb +3 -2
- data/lib/bigfiles/version.rb +1 -1
- metadata +30 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40e074c1cd4f8fe5ba7e90a1132019804c972f42
|
4
|
+
data.tar.gz: 0e391df1fea1e02b080bc661422d725d0c1e38d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0e07ae6f02f5e6defe8ea346cf0f659a930c885341fcde747ee8f78e86aecf0616ea9ace8db2b6155e7e67132f59a26cee99918c5d0bd56ff52bac2a6283948
|
7
|
+
data.tar.gz: 261cc60067b433587a91ba8d46557cb26b08837749f9bf5309afbff8b338b5edb10dc5a2719ca272a390ffe5bef5beb11deb34b4b13987ce67f95c3bfcc74a15
|
data/bigfiles.gemspec
CHANGED
@@ -26,9 +26,11 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.rubygems_version = '1.3.6'
|
27
27
|
s.summary = 'Finds largest source files in a project'
|
28
28
|
|
29
|
+
s.add_dependency('high_water_mark')
|
29
30
|
s.add_dependency('source_finder', ['>=2'])
|
30
31
|
s.add_development_dependency('bundler')
|
31
32
|
s.add_development_dependency('pronto')
|
33
|
+
s.add_development_dependency('pronto-bigfiles')
|
32
34
|
s.add_development_dependency('pronto-punchlist')
|
33
35
|
s.add_development_dependency('pronto-rubocop')
|
34
36
|
s.add_development_dependency('quality', '~> 37')
|
data/lib/bigfiles/config.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'source_finder/option_parser'
|
4
|
-
require '
|
4
|
+
require 'high_water_mark/threshold'
|
5
5
|
|
6
6
|
module BigFiles
|
7
7
|
# Configuration for bigfiles gem
|
@@ -11,7 +11,8 @@ module BigFiles
|
|
11
11
|
attr_reader :help, :num_files, :glob, :exclude, :minimum_high_water_mark
|
12
12
|
def initialize(source_finder_option_parser: SourceFinder::OptionParser.new,
|
13
13
|
num_files: Config::NUM_FILES_DEFAULT,
|
14
|
-
quality_threshold:
|
14
|
+
quality_threshold:
|
15
|
+
::HighWaterMark::Threshold.new('bigfiles'),
|
15
16
|
minimum_high_water_mark: 300,
|
16
17
|
help: false,
|
17
18
|
glob: source_finder_option_parser.default_source_files_glob,
|
data/lib/bigfiles/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bigfiles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vince Broz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: high_water_mark
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: source_finder
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,6 +66,20 @@ dependencies:
|
|
52
66
|
- - ">="
|
53
67
|
- !ruby/object:Gem::Version
|
54
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pronto-bigfiles
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
55
83
|
- !ruby/object:Gem::Dependency
|
56
84
|
name: pronto-punchlist
|
57
85
|
requirement: !ruby/object:Gem::Requirement
|