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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f98e9edfdf5e80acdb888bcff5925860185cdb75
4
- data.tar.gz: a7ba3c286b3fd6d54027fab10c83098dc63526d7
3
+ metadata.gz: 40e074c1cd4f8fe5ba7e90a1132019804c972f42
4
+ data.tar.gz: 0e391df1fea1e02b080bc661422d725d0c1e38d8
5
5
  SHA512:
6
- metadata.gz: 27c3ea11512e8608a75c0ef4dc28f2a936e637131252b8f7e72d188d02f915e6545f859d2dabd41c31dccb4f4ed2a98595dd122e0f63583c1e16983dcc2fe9f9
7
- data.tar.gz: c21ba07a949deebe99b71647146ed4bed2faad4f73f041db6538b1d51b58006f91d6ce493bae3c516daa2434f4423b8ada6e65415a48d741af6058419dc15bc6
6
+ metadata.gz: d0e07ae6f02f5e6defe8ea346cf0f659a930c885341fcde747ee8f78e86aecf0616ea9ace8db2b6155e7e67132f59a26cee99918c5d0bd56ff52bac2a6283948
7
+ data.tar.gz: 261cc60067b433587a91ba8d46557cb26b08837749f9bf5309afbff8b338b5edb10dc5a2719ca272a390ffe5bef5beb11deb34b4b13987ce67f95c3bfcc74a15
@@ -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')
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'source_finder/option_parser'
4
- require 'quality/threshold'
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: ::Quality::Threshold.new('bigfiles'),
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,
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Tool to find the largest source files in your project
4
4
  module BigFiles
5
- VERSION = '0.2.0'
5
+ VERSION = '0.2.1'
6
6
  end
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.0
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-03 00:00:00.000000000 Z
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