assembly-objectfile 2.2.1 → 2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8fa613f8ed1430fc36afc62c81826a53c1825ba517423ad76f00f6312660e981
4
- data.tar.gz: 7fbeb270ed5c9966df2a97f7cfdbf0d575b1ed02aad64ae7fbe04de214ce288a
3
+ metadata.gz: c5a9152cc9b64c7aa8343405dd59d3d42a58457eafe82d5fcae1bc13441612ed
4
+ data.tar.gz: 967c65af573321741eb4692e680978b81085367746038b671f14ae995019beba
5
5
  SHA512:
6
- metadata.gz: 229db4e410f940135b8a2035ec06fb2afa80208859f2499228e74a81cf56dc1530cac9a8f2270d098e5690e400db82f0bcda7ffe95ed5a51bca153d70db4b70f
7
- data.tar.gz: eb28fe4b430a39fffb23964c3622a402b3557adeb5d4cbc32400cb51a5ce5d2d9902a1106657f8d527b9e14046a373a0b0040a74cab705ffe95d651016d05a65
6
+ metadata.gz: 0ade2b997275d3b4b1c4ba61b587325635c0bba208b6cca9fd506f61a0650ad60010a312e6c8f00049077f1cdb2ea36e0b6106da00d5ffc8b23ea508ac56ca94
7
+ data.tar.gz: e091969f83af7aa72fcf47e85302f11ac0a15870b90ddd18aab7dae84b16bdf4e9d4cbf9a2bcc34795abe0956046181e22c61c4dd2cbc294a34291dd3cda87fc
data/.circleci/config.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  version: 2.1
2
2
  orbs:
3
- ruby-rails: sul-dlss/ruby-rails@4.6.0
3
+ ruby-rails: sul-dlss/ruby-rails@4.12.0
4
4
  workflows:
5
5
  build:
6
6
  jobs:
data/.rubocop.yml CHANGED
@@ -32,7 +32,7 @@ Naming/FileName:
32
32
  Exclude:
33
33
  - 'lib/assembly-objectfile.rb'
34
34
 
35
- Naming/PredicateName:
35
+ Naming/PredicatePrefix:
36
36
  ForbiddenPrefixes:
37
37
  - has_
38
38
  - have_
@@ -221,7 +221,7 @@ Lint/ConstantOverwrittenInRescue: # new in 1.31
221
221
  Enabled: true
222
222
  Lint/NonAtomicFileOperation: # new in 1.31
223
223
  Enabled: true
224
- Capybara/SpecificMatcher: # new in 2.12
224
+ Capybara/RSpec/SpecificMatcher: # new in 2.12
225
225
  Enabled: true
226
226
  RSpecRails/HaveHttpStatus: # new in 2.12
227
227
  Enabled: true
@@ -287,9 +287,9 @@ Style/RedundantRegexpConstructor: # new in 1.52
287
287
  Enabled: true
288
288
  Style/RedundantStringEscape: # new in 1.37
289
289
  Enabled: true
290
- Capybara/MatchStyle: # new in 2.17
290
+ Capybara/RSpec/MatchStyle: # new in 2.17
291
291
  Enabled: true
292
- Capybara/NegationMatcher: # new in 2.14
292
+ Capybara/RSpec/NegationMatcher: # new in 2.14
293
293
  Enabled: true
294
294
  Capybara/SpecificActions: # new in 2.14
295
295
  Enabled: true
@@ -327,3 +327,170 @@ RSpecRails/MinitestAssertions: # new in 2.17
327
327
  Enabled: true
328
328
  RSpecRails/TravelAround: # new in 2.19
329
329
  Enabled: true
330
+
331
+ Gemspec/AddRuntimeDependency: # new in 1.65
332
+ Enabled: true
333
+ Gemspec/AttributeAssignment: # new in 1.77
334
+ Enabled: true
335
+ Layout/EmptyLinesAfterModuleInclusion: # new in 1.79
336
+ Enabled: true
337
+ Lint/ArrayLiteralInRegexp: # new in 1.71
338
+ Enabled: true
339
+ Lint/ConstantReassignment: # new in 1.70
340
+ Enabled: true
341
+ Lint/CopDirectiveSyntax: # new in 1.72
342
+ Enabled: true
343
+ Lint/DataDefineOverride: # new in 1.85
344
+ Enabled: true
345
+ Lint/DuplicateSetElement: # new in 1.67
346
+ Enabled: true
347
+ Lint/HashNewWithKeywordArgumentsAsDefault: # new in 1.69
348
+ Enabled: true
349
+ Lint/ItWithoutArgumentsInBlock: # new in 1.59
350
+ Enabled: true
351
+ Lint/LiteralAssignmentInCondition: # new in 1.58
352
+ Enabled: true
353
+ Lint/MixedCaseRange: # new in 1.53
354
+ Enabled: true
355
+ Lint/NumericOperationWithConstantResult: # new in 1.69
356
+ Enabled: true
357
+ Lint/RedundantRegexpQuantifiers: # new in 1.53
358
+ Enabled: true
359
+ Lint/RedundantTypeConversion: # new in 1.72
360
+ Enabled: true
361
+ Lint/SharedMutableDefault: # new in 1.70
362
+ Enabled: true
363
+ Lint/SuppressedExceptionInNumberConversion: # new in 1.72
364
+ Enabled: true
365
+ Lint/UnescapedBracketInRegexp: # new in 1.68
366
+ Enabled: true
367
+ Lint/UnreachablePatternBranch: # new in 1.85
368
+ Enabled: true
369
+ Lint/UselessConstantScoping: # new in 1.72
370
+ Enabled: true
371
+ Lint/UselessDefaultValueArgument: # new in 1.76
372
+ Enabled: true
373
+ Lint/UselessDefined: # new in 1.69
374
+ Enabled: true
375
+ Lint/UselessNumericOperation: # new in 1.66
376
+ Enabled: true
377
+ Lint/UselessOr: # new in 1.76
378
+ Enabled: true
379
+ Naming/PredicateMethod: # new in 1.76
380
+ Enabled: true
381
+ Style/AmbiguousEndlessMethodDefinition: # new in 1.68
382
+ Enabled: true
383
+ Style/ArrayIntersectWithSingleElement: # new in 1.81
384
+ Enabled: true
385
+ Style/BitwisePredicate: # new in 1.68
386
+ Enabled: true
387
+ Style/CollectionQuerying: # new in 1.77
388
+ Enabled: true
389
+ Style/CombinableDefined: # new in 1.68
390
+ Enabled: true
391
+ Style/ComparableBetween: # new in 1.74
392
+ Enabled: true
393
+ Style/DigChain: # new in 1.69
394
+ Enabled: true
395
+ Style/EmptyClassDefinition: # new in 1.84
396
+ Enabled: true
397
+ Style/EmptyStringInsideInterpolation: # new in 1.76
398
+ Enabled: true
399
+ Style/FileNull: # new in 1.69
400
+ Enabled: true
401
+ Style/FileOpen: # new in 1.85
402
+ Enabled: true
403
+ Style/FileTouch: # new in 1.69
404
+ Enabled: true
405
+ Style/HashFetchChain: # new in 1.75
406
+ Enabled: true
407
+ Style/HashSlice: # new in 1.71
408
+ Enabled: true
409
+ Style/ItAssignment: # new in 1.70
410
+ Enabled: true
411
+ Style/ItBlockParameter: # new in 1.75
412
+ Enabled: true
413
+ Style/KeywordArgumentsMerging: # new in 1.68
414
+ Enabled: true
415
+ Style/MapIntoArray: # new in 1.63
416
+ Enabled: true
417
+ Style/MapJoin: # new in 1.85
418
+ Enabled: true
419
+ Style/ModuleMemberExistenceCheck: # new in 1.82
420
+ Enabled: true
421
+ Style/NegativeArrayIndex: # new in 1.84
422
+ Enabled: true
423
+ Style/OneClassPerFile: # new in 1.85
424
+ Enabled: true
425
+ Style/PartitionInsteadOfDoubleSelect: # new in 1.85
426
+ Enabled: true
427
+ Style/PredicateWithKind: # new in 1.85
428
+ Enabled: true
429
+ Style/ReduceToHash: # new in 1.85
430
+ Enabled: true
431
+ Style/RedundantArrayFlatten: # new in 1.76
432
+ Enabled: true
433
+ Style/RedundantCurrentDirectoryInPath: # new in 1.53
434
+ Enabled: true
435
+ Style/RedundantFormat: # new in 1.72
436
+ Enabled: true
437
+ Style/RedundantInterpolationUnfreeze: # new in 1.66
438
+ Enabled: true
439
+ Style/RedundantMinMaxBy: # new in 1.85
440
+ Enabled: true
441
+ Style/RedundantRegexpArgument: # new in 1.53
442
+ Enabled: true
443
+ Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
444
+ Enabled: true
445
+ Style/ReverseFind: # new in 1.84
446
+ Enabled: true
447
+ Style/SafeNavigationChainLength: # new in 1.68
448
+ Enabled: true
449
+ Style/SelectByKind: # new in 1.85
450
+ Enabled: true
451
+ Style/SelectByRange: # new in 1.85
452
+ Enabled: true
453
+ Style/SendWithLiteralMethodName: # new in 1.64
454
+ Enabled: true
455
+ Style/SingleLineDoEndBlock: # new in 1.57
456
+ Enabled: true
457
+ Style/SuperArguments: # new in 1.64
458
+ Enabled: true
459
+ Style/SuperWithArgsParentheses: # new in 1.58
460
+ Enabled: true
461
+ Style/TallyMethod: # new in 1.85
462
+ Enabled: true
463
+ Style/YAMLFileRead: # new in 1.53
464
+ Enabled: true
465
+ Capybara/AssertStyle: # new in 2.23
466
+ Enabled: true
467
+ Capybara/FindAllFirst: # new in 2.22
468
+ Enabled: true
469
+ Capybara/RedundantWithinFind: # new in 2.20
470
+ Enabled: true
471
+ Capybara/RSpec/CurrentPathExpectation: # new in 1.18
472
+ Enabled: true
473
+ Capybara/RSpec/HaveContent: # new in 2.23
474
+ Enabled: true
475
+ Capybara/RSpec/HaveSelector: # new in 2.19
476
+ Enabled: true
477
+ Capybara/RSpec/NegationMatcherAfterVisit: # new in 2.22
478
+ Enabled: true
479
+ Capybara/RSpec/PredicateMatcher: # new in 2.19
480
+ Enabled: true
481
+ Capybara/RSpec/VisibilityMatcher: # new in 1.39
482
+ Enabled: true
483
+ FactoryBot/ExcessiveCreateList: # new in 2.25
484
+ Enabled: true
485
+ FactoryBot/IdSequence: # new in 2.24
486
+ Enabled: true
487
+ RSpec/IncludeExamples: # new in 3.6
488
+ Enabled: true
489
+ RSpec/LeakyLocalVariable: # new in 3.8
490
+ Enabled: true
491
+ RSpec/Output: # new in 3.9
492
+ Enabled: true
493
+ RSpecRails/HttpStatusNameConsistency: # new in 2.32
494
+ Enabled: true
495
+ RSpecRails/NegationBeValid: # new in 2.23
496
+ Enabled: true
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- assembly-objectfile (2.2.1)
4
+ assembly-objectfile (2.3.0)
5
5
  activesupport (>= 5.2.0)
6
6
  mime-types (> 3)
7
7
  mini_exiftool
@@ -9,7 +9,7 @@ PATH
9
9
  GEM
10
10
  remote: http://rubygems.org/
11
11
  specs:
12
- activesupport (8.1.1)
12
+ activesupport (8.1.3)
13
13
  base64
14
14
  bigdecimal
15
15
  concurrent-ruby (~> 1.0, >= 1.3.1)
@@ -24,58 +24,60 @@ GEM
24
24
  uri (>= 0.13.1)
25
25
  ast (2.4.3)
26
26
  base64 (0.3.0)
27
- bigdecimal (4.0.1)
28
- concurrent-ruby (1.3.6)
27
+ bigdecimal (4.1.2)
28
+ concurrent-ruby (1.3.8)
29
29
  connection_pool (3.0.2)
30
- date (3.5.1)
31
30
  debug (1.11.1)
32
31
  irb (~> 1.10)
33
32
  reline (>= 0.3.8)
34
33
  diff-lcs (1.6.2)
35
- docile (1.4.1)
36
34
  drb (2.2.3)
37
- erb (6.0.1)
38
- i18n (1.14.8)
35
+ erb (6.0.6)
36
+ i18n (1.15.2)
39
37
  concurrent-ruby (~> 1.0)
40
38
  io-console (0.8.2)
41
- irb (1.16.0)
39
+ irb (1.18.0)
42
40
  pp (>= 0.6.0)
41
+ prism (>= 1.3.0)
43
42
  rdoc (>= 4.0.0)
44
43
  reline (>= 0.4.2)
45
- json (2.18.0)
46
- language_server-protocol (3.17.0.5)
44
+ json (2.21.1)
45
+ language_server-protocol (3.17.0.6)
47
46
  lint_roller (1.1.0)
48
47
  logger (1.7.0)
49
48
  mime-types (3.7.0)
50
49
  logger
51
50
  mime-types-data (~> 3.2025, >= 3.2025.0507)
52
- mime-types-data (3.2025.0924)
51
+ mime-types-data (3.2026.0701)
53
52
  mini_exiftool (2.14.0)
54
53
  ostruct (>= 0.6.0)
55
54
  pstore (>= 0.1.3)
56
- minitest (6.0.1)
55
+ minitest (6.0.6)
56
+ drb (~> 2.0)
57
57
  prism (~> 1.5)
58
58
  ostruct (0.6.3)
59
- parallel (1.27.0)
60
- parser (3.3.10.0)
59
+ parallel (2.1.0)
60
+ parser (3.3.12.0)
61
61
  ast (~> 2.4.1)
62
62
  racc
63
- pp (0.6.3)
63
+ pp (0.6.4)
64
64
  prettyprint
65
65
  prettyprint (0.2.0)
66
- prism (1.7.0)
67
- pstore (0.2.0)
68
- psych (5.3.1)
69
- date
70
- stringio
66
+ prism (1.9.0)
67
+ pstore (0.2.1)
71
68
  racc (1.8.1)
72
69
  rainbow (3.1.1)
73
- rake (13.3.1)
74
- rdoc (7.0.3)
70
+ rake (13.4.2)
71
+ rbs (4.1.0)
72
+ logger
73
+ prism (>= 1.6.0)
74
+ tsort
75
+ rdoc (8.0.0)
75
76
  erb
76
- psych (>= 4.0.0)
77
+ prism (>= 1.6.0)
78
+ rbs (>= 4.0.0)
77
79
  tsort
78
- regexp_parser (2.11.3)
80
+ regexp_parser (2.12.0)
79
81
  reline (0.6.3)
80
82
  io-console (~> 0.5)
81
83
  rspec (3.13.2)
@@ -87,46 +89,41 @@ GEM
87
89
  rspec-expectations (3.13.5)
88
90
  diff-lcs (>= 1.2.0, < 2.0)
89
91
  rspec-support (~> 3.13.0)
90
- rspec-mocks (3.13.7)
92
+ rspec-mocks (3.13.8)
91
93
  diff-lcs (>= 1.2.0, < 2.0)
92
94
  rspec-support (~> 3.13.0)
93
- rspec-support (3.13.6)
94
- rubocop (1.82.1)
95
+ rspec-support (3.13.7)
96
+ rubocop (1.88.2)
95
97
  json (~> 2.3)
96
98
  language_server-protocol (~> 3.17.0.2)
97
99
  lint_roller (~> 1.1.0)
98
- parallel (~> 1.10)
100
+ parallel (>= 1.10)
99
101
  parser (>= 3.3.0.2)
100
102
  rainbow (>= 2.2.2, < 4.0)
101
103
  regexp_parser (>= 2.9.3, < 3.0)
102
- rubocop-ast (>= 1.48.0, < 2.0)
104
+ rubocop-ast (>= 1.49.0, < 2.0)
103
105
  ruby-progressbar (~> 1.7)
104
106
  unicode-display_width (>= 2.4.0, < 4.0)
105
- rubocop-ast (1.49.0)
107
+ rubocop-ast (1.50.0)
106
108
  parser (>= 3.3.7.2)
107
109
  prism (~> 1.7)
108
- rubocop-capybara (2.22.1)
110
+ rubocop-capybara (3.0.0)
109
111
  lint_roller (~> 1.1)
110
- rubocop (~> 1.72, >= 1.72.1)
112
+ rubocop (~> 1.81)
111
113
  rubocop-factory_bot (2.28.0)
112
114
  lint_roller (~> 1.1)
113
115
  rubocop (~> 1.72, >= 1.72.1)
114
- rubocop-rspec (3.8.0)
116
+ rubocop-rspec (3.10.2)
115
117
  lint_roller (~> 1.1)
116
- rubocop (~> 1.81)
118
+ regexp_parser (>= 2.0)
119
+ rubocop (~> 1.86, >= 1.86.2)
117
120
  rubocop-rspec_rails (2.32.0)
118
121
  lint_roller (~> 1.1)
119
122
  rubocop (~> 1.72, >= 1.72.1)
120
123
  rubocop-rspec (~> 3.5)
121
124
  ruby-progressbar (1.13.0)
122
125
  securerandom (0.4.1)
123
- simplecov (0.22.0)
124
- docile (~> 1.1)
125
- simplecov-html (~> 0.11)
126
- simplecov_json_formatter (~> 0.1)
127
- simplecov-html (0.13.2)
128
- simplecov_json_formatter (0.1.4)
129
- stringio (3.2.0)
126
+ simplecov (1.0.3)
130
127
  tsort (0.2.0)
131
128
  tzinfo (2.0.6)
132
129
  concurrent-ruby (~> 1.0)
@@ -151,4 +148,4 @@ DEPENDENCIES
151
148
  simplecov
152
149
 
153
150
  BUNDLED WITH
154
- 4.0.3
151
+ 4.0.17
data/Rakefile CHANGED
@@ -1,14 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'bundler/gem_tasks'
4
-
5
- desc 'Run console with irb (default), pry, etc.'
6
- task :console, :irb do |_t, args|
7
- irb = args[:irb].nil? ? 'irb' : args[:irb]
8
- sh irb, '-r', "#{File.dirname(__FILE__)}/config/boot.rb"
9
- end
10
-
3
+ require 'bundler/setup' # Set up gems listed in the Gemfile.
11
4
  require 'rspec/core/rake_task'
5
+ require 'bundler/gem_tasks'
12
6
 
13
7
  desc 'Run specs'
14
8
  RSpec::Core::RakeTask.new(:spec)
data/bin/console CHANGED
@@ -1,3 +1,9 @@
1
- #!/bin/bash
1
+ #! /usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
- bundle exec rake console
4
+ require 'rubygems'
5
+ require 'pry'
6
+
7
+ require File.expand_path("#{File.dirname(__FILE__)}/../config/boot")
8
+
9
+ Pry.start
@@ -4,6 +4,6 @@
4
4
  module Assembly
5
5
  class ObjectFile
6
6
  # Gem version
7
- VERSION = '2.2.1'
7
+ VERSION = '2.3.0'
8
8
  end
9
9
  end
@@ -19,7 +19,8 @@ module Assembly
19
19
  # e.g. for any .json file, you will always get `application/json`
20
20
  OVERRIDE_MIMETYPES = {
21
21
  '.json': 'application/json',
22
- '.vtt': 'text/vtt'
22
+ '.vtt': 'text/vtt',
23
+ '.shp': 'application/vnd.shp'
23
24
  }.freeze
24
25
  end
25
26
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: assembly-objectfile
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Mangiafico
@@ -10,7 +10,7 @@ authors:
10
10
  - Tony Calavano
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2026-01-09 00:00:00.000000000 Z
13
+ date: 1980-01-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -226,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
226
226
  - !ruby/object:Gem::Version
227
227
  version: '0'
228
228
  requirements: []
229
- rubygems_version: 3.6.2
229
+ rubygems_version: 4.0.15
230
230
  specification_version: 4
231
231
  summary: Ruby implementation of file services needed to prepare objects to be accessioned
232
232
  into the Stanford Digital Repository