bigfiles 0.2.1 → 0.2.2

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.
Files changed (74) hide show
  1. checksums.yaml +5 -5
  2. data/.circleci/config.yml +134 -0
  3. data/.envrc +2 -0
  4. data/.git-hooks/pre_commit/circle_ci.rb +21 -0
  5. data/.gitattributes +6 -0
  6. data/.gitignore +65 -0
  7. data/.overcommit.yml +55 -0
  8. data/.rubocop.yml +116 -0
  9. data/.rubocop_todo.yml +13 -0
  10. data/.yamllint.yml +8 -0
  11. data/CODE_OF_CONDUCT.md +104 -46
  12. data/DEVELOPMENT.md +30 -0
  13. data/Gemfile +6 -0
  14. data/Gemfile.lock +110 -0
  15. data/LICENSE +21 -0
  16. data/Makefile +73 -0
  17. data/README.md +3 -2
  18. data/Rakefile +3 -0
  19. data/bigfiles.gemspec +42 -33
  20. data/bin/bigfiles +25 -2
  21. data/bin/bump +29 -0
  22. data/bin/overcommit +29 -0
  23. data/bin/rake +29 -0
  24. data/coverage/.last_run.json +6 -0
  25. data/docs/cookiecutter_input.json +13 -0
  26. data/exe/bigfiles +6 -0
  27. data/feature/big_files_cli_spec.rb +49 -0
  28. data/feature/expected/four_files_results.txt +3 -0
  29. data/feature/expected/no_files_results.txt +0 -0
  30. data/feature/expected/swift_and_ruby_files_results.txt +3 -0
  31. data/feature/expected/swift_zorb_and_ruby_files_excluded_results.txt +3 -0
  32. data/feature/expected/swift_zorb_and_ruby_files_results.txt +3 -0
  33. data/feature/expected/three_files_results.txt +3 -0
  34. data/feature/feature_helper.rb +33 -0
  35. data/feature/pronto_big_files_use_spec.rb +54 -0
  36. data/feature/samples/four_files/five_lines.rb +5 -0
  37. data/feature/samples/four_files/four_lines.rb +4 -0
  38. data/feature/samples/four_files/three_lines.rb +3 -0
  39. data/feature/samples/four_files/two_lines.rb +2 -0
  40. data/feature/samples/no_files/.keepme +0 -0
  41. data/feature/samples/swift_and_ruby_files/five_lines.swift +5 -0
  42. data/feature/samples/swift_and_ruby_files/four_lines.rb +4 -0
  43. data/feature/samples/swift_and_ruby_files/three_lines.rb +3 -0
  44. data/feature/samples/swift_zorb_and_ruby_files/five_lines.swift +5 -0
  45. data/feature/samples/swift_zorb_and_ruby_files/four_lines.zorb +4 -0
  46. data/feature/samples/swift_zorb_and_ruby_files/three_lines.rb +3 -0
  47. data/feature/samples/swift_zorb_and_ruby_files_excluded/excluded.rb +9 -0
  48. data/feature/samples/swift_zorb_and_ruby_files_excluded/five_lines.swift +5 -0
  49. data/feature/samples/swift_zorb_and_ruby_files_excluded/four_lines.zorb +4 -0
  50. data/feature/samples/swift_zorb_and_ruby_files_excluded/three_lines.rb +3 -0
  51. data/feature/samples/three_files/five_lines.rb +5 -0
  52. data/feature/samples/three_files/four_lines.rb +4 -0
  53. data/feature/samples/three_files/three_lines.rb +3 -0
  54. data/fix.sh +371 -0
  55. data/lib/bigfiles/config.rb +1 -0
  56. data/lib/bigfiles/inspector.rb +3 -3
  57. data/lib/bigfiles/option_parser.rb +5 -6
  58. data/lib/bigfiles/version.rb +1 -1
  59. data/lib/bigfiles.rb +7 -6
  60. data/rakelib/citest.rake +4 -0
  61. data/rakelib/clear_metrics.rake +17 -0
  62. data/rakelib/console.rake +6 -0
  63. data/rakelib/default.rake +4 -0
  64. data/rakelib/feature.rake +10 -0
  65. data/rakelib/gem_tasks.rake +3 -0
  66. data/rakelib/localtest.rake +4 -0
  67. data/rakelib/overcommit.rake +6 -0
  68. data/rakelib/quality.rake +4 -0
  69. data/rakelib/repl.rake +4 -0
  70. data/rakelib/spec.rake +9 -0
  71. data/rakelib/undercover.rake +8 -0
  72. data/requirements_dev.txt +2 -0
  73. metadata +132 -30
  74. data/License.txt +0 -20
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bigfiles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz
8
- autorequire:
9
- bindir: bin
8
+ autorequire:
9
+ bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-04 00:00:00.000000000 Z
11
+ date: 2021-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: high_water_mark
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '2'
41
41
  - !ruby/object:Gem::Dependency
42
- name: bundler
42
+ name: bump
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: pronto
56
+ name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
@@ -67,21 +67,21 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: pronto-bigfiles
70
+ name: overcommit
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: 0.58.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: 0.58.0
83
83
  - !ruby/object:Gem::Dependency
84
- name: pronto-punchlist
84
+ name: pry
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -95,7 +95,35 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: pronto-rubocop
98
+ name: rake
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '13.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '13.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rspec
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '3.4'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '3.4'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop
99
127
  requirement: !ruby/object:Gem::Requirement
100
128
  requirements:
101
129
  - - ">="
@@ -109,21 +137,21 @@ dependencies:
109
137
  - !ruby/object:Gem::Version
110
138
  version: '0'
111
139
  - !ruby/object:Gem::Dependency
112
- name: quality
140
+ name: rubocop-rake
113
141
  requirement: !ruby/object:Gem::Requirement
114
142
  requirements:
115
- - - "~>"
143
+ - - ">="
116
144
  - !ruby/object:Gem::Version
117
- version: '37'
145
+ version: '0'
118
146
  type: :development
119
147
  prerelease: false
120
148
  version_requirements: !ruby/object:Gem::Requirement
121
149
  requirements:
122
- - - "~>"
150
+ - - ">="
123
151
  - !ruby/object:Gem::Version
124
- version: '37'
152
+ version: '0'
125
153
  - !ruby/object:Gem::Dependency
126
- name: rake
154
+ name: rubocop-rspec
127
155
  requirement: !ruby/object:Gem::Requirement
128
156
  requirements:
129
157
  - - ">="
@@ -137,7 +165,21 @@ dependencies:
137
165
  - !ruby/object:Gem::Version
138
166
  version: '0'
139
167
  - !ruby/object:Gem::Dependency
140
- name: rspec
168
+ name: simplecov
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: 0.18.0
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: 0.18.0
181
+ - !ruby/object:Gem::Dependency
182
+ name: simplecov-lcov
141
183
  requirement: !ruby/object:Gem::Requirement
142
184
  requirements:
143
185
  - - ">="
@@ -151,7 +193,7 @@ dependencies:
151
193
  - !ruby/object:Gem::Version
152
194
  version: '0'
153
195
  - !ruby/object:Gem::Dependency
154
- name: simplecov
196
+ name: undercover
155
197
  requirement: !ruby/object:Gem::Requirement
156
198
  requirements:
157
199
  - - ">="
@@ -164,8 +206,7 @@ dependencies:
164
206
  - - ">="
165
207
  - !ruby/object:Gem::Version
166
208
  version: '0'
167
- description: bigfiles finds the largest source files in your project and reports on
168
- them
209
+ description:
169
210
  email:
170
211
  - vince@broz.cc
171
212
  executables:
@@ -173,22 +214,84 @@ executables:
173
214
  extensions: []
174
215
  extra_rdoc_files: []
175
216
  files:
217
+ - ".circleci/config.yml"
218
+ - ".envrc"
219
+ - ".git-hooks/pre_commit/circle_ci.rb"
220
+ - ".gitattributes"
221
+ - ".gitignore"
222
+ - ".overcommit.yml"
223
+ - ".rubocop.yml"
224
+ - ".rubocop_todo.yml"
225
+ - ".yamllint.yml"
176
226
  - CODE_OF_CONDUCT.md
177
- - License.txt
227
+ - DEVELOPMENT.md
228
+ - Gemfile
229
+ - Gemfile.lock
230
+ - LICENSE
231
+ - Makefile
178
232
  - README.md
233
+ - Rakefile
179
234
  - bigfiles.gemspec
180
235
  - bin/bigfiles
236
+ - bin/bump
237
+ - bin/overcommit
238
+ - bin/rake
239
+ - coverage/.last_run.json
240
+ - docs/cookiecutter_input.json
241
+ - exe/bigfiles
242
+ - feature/big_files_cli_spec.rb
243
+ - feature/expected/four_files_results.txt
244
+ - feature/expected/no_files_results.txt
245
+ - feature/expected/swift_and_ruby_files_results.txt
246
+ - feature/expected/swift_zorb_and_ruby_files_excluded_results.txt
247
+ - feature/expected/swift_zorb_and_ruby_files_results.txt
248
+ - feature/expected/three_files_results.txt
249
+ - feature/feature_helper.rb
250
+ - feature/pronto_big_files_use_spec.rb
251
+ - feature/samples/four_files/five_lines.rb
252
+ - feature/samples/four_files/four_lines.rb
253
+ - feature/samples/four_files/three_lines.rb
254
+ - feature/samples/four_files/two_lines.rb
255
+ - feature/samples/no_files/.keepme
256
+ - feature/samples/swift_and_ruby_files/five_lines.swift
257
+ - feature/samples/swift_and_ruby_files/four_lines.rb
258
+ - feature/samples/swift_and_ruby_files/three_lines.rb
259
+ - feature/samples/swift_zorb_and_ruby_files/five_lines.swift
260
+ - feature/samples/swift_zorb_and_ruby_files/four_lines.zorb
261
+ - feature/samples/swift_zorb_and_ruby_files/three_lines.rb
262
+ - feature/samples/swift_zorb_and_ruby_files_excluded/excluded.rb
263
+ - feature/samples/swift_zorb_and_ruby_files_excluded/five_lines.swift
264
+ - feature/samples/swift_zorb_and_ruby_files_excluded/four_lines.zorb
265
+ - feature/samples/swift_zorb_and_ruby_files_excluded/three_lines.rb
266
+ - feature/samples/three_files/five_lines.rb
267
+ - feature/samples/three_files/four_lines.rb
268
+ - feature/samples/three_files/three_lines.rb
269
+ - fix.sh
181
270
  - lib/bigfiles.rb
182
271
  - lib/bigfiles/config.rb
183
272
  - lib/bigfiles/file_with_lines.rb
184
273
  - lib/bigfiles/inspector.rb
185
274
  - lib/bigfiles/option_parser.rb
186
275
  - lib/bigfiles/version.rb
187
- homepage: http://github.com/apiology/bigfiles
276
+ - rakelib/citest.rake
277
+ - rakelib/clear_metrics.rake
278
+ - rakelib/console.rake
279
+ - rakelib/default.rake
280
+ - rakelib/feature.rake
281
+ - rakelib/gem_tasks.rake
282
+ - rakelib/localtest.rake
283
+ - rakelib/overcommit.rake
284
+ - rakelib/quality.rake
285
+ - rakelib/repl.rake
286
+ - rakelib/spec.rake
287
+ - rakelib/undercover.rake
288
+ - requirements_dev.txt
289
+ homepage: https://github.com/apiology/bigfiles
188
290
  licenses:
189
- - MIT
190
- metadata: {}
191
- post_install_message:
291
+ - MIT license
292
+ metadata:
293
+ rubygems_mfa_required: 'true'
294
+ post_install_message:
192
295
  rdoc_options: []
193
296
  require_paths:
194
297
  - lib
@@ -196,16 +299,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
196
299
  requirements:
197
300
  - - ">="
198
301
  - !ruby/object:Gem::Version
199
- version: '0'
302
+ version: '2.6'
200
303
  required_rubygems_version: !ruby/object:Gem::Requirement
201
304
  requirements:
202
305
  - - ">="
203
306
  - !ruby/object:Gem::Version
204
307
  version: '0'
205
308
  requirements: []
206
- rubyforge_project:
207
- rubygems_version: 2.6.14.4
208
- signing_key:
309
+ rubygems_version: 3.0.3.1
310
+ signing_key:
209
311
  specification_version: 4
210
312
  summary: Finds largest source files in a project
211
313
  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.