bigfiles 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.circleci/config.yml +134 -0
- data/.envrc +2 -0
- data/.git-hooks/pre_commit/circle_ci.rb +21 -0
- data/.gitattributes +6 -0
- data/.gitignore +65 -0
- data/.markdownlint_style.rb +3 -0
- data/.mdlrc +1 -0
- data/.overcommit.yml +55 -0
- data/.rubocop.yml +116 -0
- data/.rubocop_todo.yml +13 -0
- data/.yamllint.yml +8 -0
- data/CODE_OF_CONDUCT.md +104 -46
- data/CONTRIBUTING.rst +75 -0
- data/DEVELOPMENT.md +31 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +133 -0
- data/LICENSE +21 -0
- data/Makefile +75 -0
- data/README.md +43 -2
- data/Rakefile +3 -0
- data/bigfiles.gemspec +43 -31
- data/bin/bigfiles +25 -2
- data/bin/bump +29 -0
- data/bin/overcommit +29 -0
- data/bin/rake +29 -0
- data/coverage/.last_run.json +6 -0
- data/docs/cookiecutter_input.json +13 -0
- data/exe/bigfiles +6 -0
- data/feature/big_files_cli_spec.rb +49 -0
- data/feature/expected/four_files_results.txt +3 -0
- data/feature/expected/no_files_results.txt +0 -0
- data/feature/expected/swift_and_ruby_files_results.txt +3 -0
- data/feature/expected/swift_zorb_and_ruby_files_excluded_results.txt +3 -0
- data/feature/expected/swift_zorb_and_ruby_files_results.txt +3 -0
- data/feature/expected/three_files_results.txt +3 -0
- data/feature/feature_helper.rb +33 -0
- data/feature/pronto_big_files_use_spec.rb +54 -0
- data/feature/samples/four_files/five_lines.rb +5 -0
- data/feature/samples/four_files/four_lines.rb +4 -0
- data/feature/samples/four_files/three_lines.rb +3 -0
- data/feature/samples/four_files/two_lines.rb +2 -0
- data/feature/samples/no_files/.keepme +0 -0
- data/feature/samples/swift_and_ruby_files/five_lines.swift +5 -0
- data/feature/samples/swift_and_ruby_files/four_lines.rb +4 -0
- data/feature/samples/swift_and_ruby_files/three_lines.rb +3 -0
- data/feature/samples/swift_zorb_and_ruby_files/five_lines.swift +5 -0
- data/feature/samples/swift_zorb_and_ruby_files/four_lines.zorb +4 -0
- data/feature/samples/swift_zorb_and_ruby_files/three_lines.rb +3 -0
- data/feature/samples/swift_zorb_and_ruby_files_excluded/excluded.rb +9 -0
- data/feature/samples/swift_zorb_and_ruby_files_excluded/five_lines.swift +5 -0
- data/feature/samples/swift_zorb_and_ruby_files_excluded/four_lines.zorb +4 -0
- data/feature/samples/swift_zorb_and_ruby_files_excluded/three_lines.rb +3 -0
- data/feature/samples/three_files/five_lines.rb +5 -0
- data/feature/samples/three_files/four_lines.rb +4 -0
- data/feature/samples/three_files/three_lines.rb +3 -0
- data/fix.sh +366 -0
- data/lib/bigfiles/config.rb +4 -2
- data/lib/bigfiles/config_file_parser.rb +48 -0
- data/lib/bigfiles/inspector.rb +3 -3
- data/lib/bigfiles/option_parser.rb +6 -8
- data/lib/bigfiles/version.rb +1 -1
- data/lib/bigfiles.rb +15 -7
- data/rakelib/citest.rake +4 -0
- data/rakelib/clear_metrics.rake +17 -0
- data/rakelib/console.rake +6 -0
- data/rakelib/default.rake +4 -0
- data/rakelib/feature.rake +10 -0
- data/rakelib/gem_tasks.rake +3 -0
- data/rakelib/localtest.rake +4 -0
- data/rakelib/overcommit.rake +6 -0
- data/rakelib/quality.rake +4 -0
- data/rakelib/repl.rake +4 -0
- data/rakelib/spec.rake +9 -0
- data/rakelib/undercover.rake +8 -0
- data/requirements_dev.txt +2 -0
- metadata +172 -24
- data/License.txt +0 -20
@@ -0,0 +1,48 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'yaml'
|
4
|
+
|
5
|
+
module BigFiles
|
6
|
+
# Load configuration from files
|
7
|
+
class ConfigFileParser
|
8
|
+
attr_reader :project_config_filename
|
9
|
+
|
10
|
+
def initialize(project_config_filename = '.bigfiles.yml',
|
11
|
+
yaml_class: YAML,
|
12
|
+
file_class: File)
|
13
|
+
@project_config_filename = project_config_filename
|
14
|
+
@yaml_class = yaml_class
|
15
|
+
@file_class = file_class
|
16
|
+
end
|
17
|
+
|
18
|
+
def parse_config_files
|
19
|
+
config = {}
|
20
|
+
project_config = parse_project_config
|
21
|
+
config.merge(project_config)
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def item(raw_project_config, section, key)
|
27
|
+
raw_project_config.fetch('bigfiles', {}).fetch(section, {}).fetch(key, nil)
|
28
|
+
end
|
29
|
+
|
30
|
+
def top_item(raw_project_config, key)
|
31
|
+
raw_project_config.fetch('bigfiles', {}).fetch(key, nil)
|
32
|
+
end
|
33
|
+
|
34
|
+
def parse_project_config
|
35
|
+
return {} unless @file_class.file? project_config_filename
|
36
|
+
|
37
|
+
project_config = {}
|
38
|
+
raw_project_config = @yaml_class.load_file(project_config_filename)
|
39
|
+
exclude = item(raw_project_config, 'exclude', 'glob')
|
40
|
+
project_config[:exclude] = exclude unless exclude.nil?
|
41
|
+
glob = item(raw_project_config, 'include', 'glob')
|
42
|
+
project_config[:glob] = glob unless glob.nil?
|
43
|
+
num_files = top_item(raw_project_config, 'num_files')
|
44
|
+
project_config[:num_files] = num_files unless num_files.nil?
|
45
|
+
project_config
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
data/lib/bigfiles/inspector.rb
CHANGED
@@ -10,11 +10,11 @@ module BigFiles
|
|
10
10
|
def initialize(config: Config.new,
|
11
11
|
source_file_globber: SourceFinder::SourceFileGlobber.new,
|
12
12
|
file_with_lines: FileWithLines,
|
13
|
-
|
13
|
+
io_class: Kernel)
|
14
14
|
@config = config
|
15
15
|
@source_file_globber = source_file_globber
|
16
16
|
@file_with_lines = file_with_lines
|
17
|
-
@
|
17
|
+
@io_class = io_class
|
18
18
|
end
|
19
19
|
|
20
20
|
def find_and_analyze
|
@@ -28,7 +28,7 @@ module BigFiles
|
|
28
28
|
|
29
29
|
def find_analyze_and_report_on_files
|
30
30
|
find_and_analyze.each do |file|
|
31
|
-
@
|
31
|
+
@io_class.puts "#{file.num_lines}: #{file.filename}"
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
@@ -5,12 +5,11 @@ require_relative 'config'
|
|
5
5
|
module BigFiles
|
6
6
|
# Parse options passed to bigfiles command
|
7
7
|
class OptionParser
|
8
|
-
def initialize(option_parser_class: ::OptionParser,
|
9
|
-
|
10
|
-
exiter: Kernel
|
11
|
-
source_finder_option_parser:)
|
8
|
+
def initialize(source_finder_option_parser:, option_parser_class: ::OptionParser,
|
9
|
+
io_class: Kernel,
|
10
|
+
exiter: Kernel)
|
12
11
|
@option_parser_class = option_parser_class
|
13
|
-
@
|
12
|
+
@io_class = io_class
|
14
13
|
@exiter = exiter
|
15
14
|
@source_finder_option_parser = source_finder_option_parser
|
16
15
|
end
|
@@ -43,12 +42,11 @@ module BigFiles
|
|
43
42
|
options = setup_options(opts)
|
44
43
|
@option_parser = opts
|
45
44
|
end.parse!(args)
|
46
|
-
|
47
|
-
source_finder_option_parser: @source_finder_option_parser)
|
45
|
+
options
|
48
46
|
end
|
49
47
|
|
50
48
|
def usage
|
51
|
-
@
|
49
|
+
@io_class.puts @option_parser
|
52
50
|
@exiter.exit(1)
|
53
51
|
end
|
54
52
|
end
|
data/lib/bigfiles/version.rb
CHANGED
data/lib/bigfiles.rb
CHANGED
@@ -2,9 +2,12 @@
|
|
2
2
|
|
3
3
|
require 'optparse'
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
require 'bigfiles/file_with_lines'
|
6
|
+
require 'bigfiles/config_file_parser'
|
7
|
+
require 'bigfiles/option_parser'
|
8
|
+
require 'bigfiles/config'
|
9
|
+
require 'bigfiles/inspector'
|
10
|
+
require 'bigfiles/version'
|
8
11
|
require 'source_finder/source_file_globber'
|
9
12
|
require 'source_finder/option_parser'
|
10
13
|
|
@@ -13,27 +16,32 @@ module BigFiles
|
|
13
16
|
# Simple tool to find the largest source files in your project.
|
14
17
|
class BigFiles
|
15
18
|
def initialize(args,
|
16
|
-
|
19
|
+
io_class: Kernel,
|
17
20
|
exiter: Kernel,
|
18
21
|
file_with_lines: FileWithLines,
|
19
22
|
source_file_globber: SourceFinder::SourceFileGlobber.new,
|
20
23
|
inspector_class: Inspector,
|
21
24
|
option_parser_class: ::OptionParser,
|
22
25
|
source_finder_option_parser: SourceFinder::OptionParser.new,
|
26
|
+
yaml_class: YAML,
|
23
27
|
bigfiles_option_parser:
|
24
28
|
::BigFiles::OptionParser
|
25
29
|
.new(option_parser_class: option_parser_class,
|
26
|
-
|
30
|
+
io_class: io_class,
|
27
31
|
exiter: exiter,
|
28
32
|
source_finder_option_parser:
|
29
33
|
source_finder_option_parser),
|
30
|
-
|
34
|
+
config_file_parser: ::BigFiles::ConfigFileParser.new(yaml_class: yaml_class),
|
35
|
+
raw_config: config_file_parser.parse_config_files
|
36
|
+
.merge(bigfiles_option_parser.parse_options(args)),
|
37
|
+
config: Config.new(**raw_config))
|
38
|
+
|
31
39
|
@bigfiles_option_parser = bigfiles_option_parser
|
32
40
|
@config = config
|
33
41
|
@inspector = inspector_class.new(source_file_globber: source_file_globber,
|
34
42
|
config: config,
|
35
43
|
file_with_lines: file_with_lines,
|
36
|
-
|
44
|
+
io_class: io_class)
|
37
45
|
end
|
38
46
|
|
39
47
|
def run
|
data/rakelib/citest.rake
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
desc 'Ensure that any locally ratcheted coverage metrics are cleared back ' \
|
4
|
+
'to git baseline'
|
5
|
+
task :clear_metrics do |_t|
|
6
|
+
ret =
|
7
|
+
system('git checkout coverage/.last_run.json')
|
8
|
+
raise unless ret
|
9
|
+
|
10
|
+
# Without this old lines which are removed are still counted,
|
11
|
+
# leading to inconsistent coverage percentages between runs.
|
12
|
+
#
|
13
|
+
# need to save coverage/.last_run.json
|
14
|
+
ret =
|
15
|
+
system('rm -fr coverage/assets coverage/.*.json.lock coverage/lcov/* coverage/index.html coverage/.resultset.json')
|
16
|
+
raise unless ret
|
17
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'rspec/core/rake_task'
|
4
|
+
|
5
|
+
desc 'Run features'
|
6
|
+
RSpec::Core::RakeTask.new(:feature) do |task|
|
7
|
+
task.pattern = 'feature/**/*_spec.rb'
|
8
|
+
task.rspec_opts = '--format doc --default-path feature ' \
|
9
|
+
'--require feature_helper'
|
10
|
+
end
|
data/rakelib/repl.rake
ADDED
data/rakelib/spec.rake
ADDED
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.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vince Broz
|
8
|
-
autorequire:
|
9
|
-
bindir:
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-07-08 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
|
@@ -25,7 +39,7 @@ dependencies:
|
|
25
39
|
- !ruby/object:Gem::Version
|
26
40
|
version: '2'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
42
|
+
name: bump
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
45
|
- - ">="
|
@@ -39,7 +53,7 @@ dependencies:
|
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
56
|
+
name: bundler
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
59
|
- - ">="
|
@@ -53,7 +67,7 @@ dependencies:
|
|
53
67
|
- !ruby/object:Gem::Version
|
54
68
|
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
70
|
+
name: mdl
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
73
|
- - ">="
|
@@ -67,7 +81,21 @@ dependencies:
|
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
84
|
+
name: overcommit
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.58.0
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.58.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: pry
|
71
99
|
requirement: !ruby/object:Gem::Requirement
|
72
100
|
requirements:
|
73
101
|
- - ">="
|
@@ -81,21 +109,35 @@ dependencies:
|
|
81
109
|
- !ruby/object:Gem::Version
|
82
110
|
version: '0'
|
83
111
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
112
|
+
name: rake
|
85
113
|
requirement: !ruby/object:Gem::Requirement
|
86
114
|
requirements:
|
87
115
|
- - "~>"
|
88
116
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
117
|
+
version: '13.0'
|
90
118
|
type: :development
|
91
119
|
prerelease: false
|
92
120
|
version_requirements: !ruby/object:Gem::Requirement
|
93
121
|
requirements:
|
94
122
|
- - "~>"
|
95
123
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
124
|
+
version: '13.0'
|
97
125
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
126
|
+
name: rspec
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '3.4'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '3.4'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rubocop
|
99
141
|
requirement: !ruby/object:Gem::Requirement
|
100
142
|
requirements:
|
101
143
|
- - ">="
|
@@ -109,7 +151,21 @@ dependencies:
|
|
109
151
|
- !ruby/object:Gem::Version
|
110
152
|
version: '0'
|
111
153
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
154
|
+
name: rubocop-rake
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rubocop-rspec
|
113
169
|
requirement: !ruby/object:Gem::Requirement
|
114
170
|
requirements:
|
115
171
|
- - ">="
|
@@ -124,6 +180,20 @@ dependencies:
|
|
124
180
|
version: '0'
|
125
181
|
- !ruby/object:Gem::Dependency
|
126
182
|
name: simplecov
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 0.18.0
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 0.18.0
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: simplecov-lcov
|
127
197
|
requirement: !ruby/object:Gem::Requirement
|
128
198
|
requirements:
|
129
199
|
- - ">="
|
@@ -136,8 +206,21 @@ dependencies:
|
|
136
206
|
- - ">="
|
137
207
|
- !ruby/object:Gem::Version
|
138
208
|
version: '0'
|
139
|
-
|
140
|
-
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: undercover
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
description:
|
141
224
|
email:
|
142
225
|
- vince@broz.cc
|
143
226
|
executables:
|
@@ -145,22 +228,88 @@ executables:
|
|
145
228
|
extensions: []
|
146
229
|
extra_rdoc_files: []
|
147
230
|
files:
|
231
|
+
- ".circleci/config.yml"
|
232
|
+
- ".envrc"
|
233
|
+
- ".git-hooks/pre_commit/circle_ci.rb"
|
234
|
+
- ".gitattributes"
|
235
|
+
- ".gitignore"
|
236
|
+
- ".markdownlint_style.rb"
|
237
|
+
- ".mdlrc"
|
238
|
+
- ".overcommit.yml"
|
239
|
+
- ".rubocop.yml"
|
240
|
+
- ".rubocop_todo.yml"
|
241
|
+
- ".yamllint.yml"
|
148
242
|
- CODE_OF_CONDUCT.md
|
149
|
-
-
|
243
|
+
- CONTRIBUTING.rst
|
244
|
+
- DEVELOPMENT.md
|
245
|
+
- Gemfile
|
246
|
+
- Gemfile.lock
|
247
|
+
- LICENSE
|
248
|
+
- Makefile
|
150
249
|
- README.md
|
250
|
+
- Rakefile
|
151
251
|
- bigfiles.gemspec
|
152
252
|
- bin/bigfiles
|
253
|
+
- bin/bump
|
254
|
+
- bin/overcommit
|
255
|
+
- bin/rake
|
256
|
+
- coverage/.last_run.json
|
257
|
+
- docs/cookiecutter_input.json
|
258
|
+
- exe/bigfiles
|
259
|
+
- feature/big_files_cli_spec.rb
|
260
|
+
- feature/expected/four_files_results.txt
|
261
|
+
- feature/expected/no_files_results.txt
|
262
|
+
- feature/expected/swift_and_ruby_files_results.txt
|
263
|
+
- feature/expected/swift_zorb_and_ruby_files_excluded_results.txt
|
264
|
+
- feature/expected/swift_zorb_and_ruby_files_results.txt
|
265
|
+
- feature/expected/three_files_results.txt
|
266
|
+
- feature/feature_helper.rb
|
267
|
+
- feature/pronto_big_files_use_spec.rb
|
268
|
+
- feature/samples/four_files/five_lines.rb
|
269
|
+
- feature/samples/four_files/four_lines.rb
|
270
|
+
- feature/samples/four_files/three_lines.rb
|
271
|
+
- feature/samples/four_files/two_lines.rb
|
272
|
+
- feature/samples/no_files/.keepme
|
273
|
+
- feature/samples/swift_and_ruby_files/five_lines.swift
|
274
|
+
- feature/samples/swift_and_ruby_files/four_lines.rb
|
275
|
+
- feature/samples/swift_and_ruby_files/three_lines.rb
|
276
|
+
- feature/samples/swift_zorb_and_ruby_files/five_lines.swift
|
277
|
+
- feature/samples/swift_zorb_and_ruby_files/four_lines.zorb
|
278
|
+
- feature/samples/swift_zorb_and_ruby_files/three_lines.rb
|
279
|
+
- feature/samples/swift_zorb_and_ruby_files_excluded/excluded.rb
|
280
|
+
- feature/samples/swift_zorb_and_ruby_files_excluded/five_lines.swift
|
281
|
+
- feature/samples/swift_zorb_and_ruby_files_excluded/four_lines.zorb
|
282
|
+
- feature/samples/swift_zorb_and_ruby_files_excluded/three_lines.rb
|
283
|
+
- feature/samples/three_files/five_lines.rb
|
284
|
+
- feature/samples/three_files/four_lines.rb
|
285
|
+
- feature/samples/three_files/three_lines.rb
|
286
|
+
- fix.sh
|
153
287
|
- lib/bigfiles.rb
|
154
288
|
- lib/bigfiles/config.rb
|
289
|
+
- lib/bigfiles/config_file_parser.rb
|
155
290
|
- lib/bigfiles/file_with_lines.rb
|
156
291
|
- lib/bigfiles/inspector.rb
|
157
292
|
- lib/bigfiles/option_parser.rb
|
158
293
|
- lib/bigfiles/version.rb
|
159
|
-
|
294
|
+
- rakelib/citest.rake
|
295
|
+
- rakelib/clear_metrics.rake
|
296
|
+
- rakelib/console.rake
|
297
|
+
- rakelib/default.rake
|
298
|
+
- rakelib/feature.rake
|
299
|
+
- rakelib/gem_tasks.rake
|
300
|
+
- rakelib/localtest.rake
|
301
|
+
- rakelib/overcommit.rake
|
302
|
+
- rakelib/quality.rake
|
303
|
+
- rakelib/repl.rake
|
304
|
+
- rakelib/spec.rake
|
305
|
+
- rakelib/undercover.rake
|
306
|
+
- requirements_dev.txt
|
307
|
+
homepage: https://github.com/apiology/bigfiles
|
160
308
|
licenses:
|
161
|
-
- MIT
|
162
|
-
metadata:
|
163
|
-
|
309
|
+
- MIT license
|
310
|
+
metadata:
|
311
|
+
rubygems_mfa_required: 'true'
|
312
|
+
post_install_message:
|
164
313
|
rdoc_options: []
|
165
314
|
require_paths:
|
166
315
|
- lib
|
@@ -168,16 +317,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
168
317
|
requirements:
|
169
318
|
- - ">="
|
170
319
|
- !ruby/object:Gem::Version
|
171
|
-
version: '
|
320
|
+
version: '2.6'
|
172
321
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
322
|
requirements:
|
174
323
|
- - ">="
|
175
324
|
- !ruby/object:Gem::Version
|
176
325
|
version: '0'
|
177
326
|
requirements: []
|
178
|
-
|
179
|
-
|
180
|
-
signing_key:
|
327
|
+
rubygems_version: 3.0.3.1
|
328
|
+
signing_key:
|
181
329
|
specification_version: 4
|
182
330
|
summary: Finds largest source files in a project
|
183
331
|
test_files: []
|
data/License.txt
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright (c) 2013 Vincent Broz
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|