assembly-objectfile 2.1.3 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec_helper.rb CHANGED
@@ -7,23 +7,15 @@ require File.expand_path("#{File.dirname(__FILE__)}/../config/boot")
7
7
  require 'pry-byebug'
8
8
 
9
9
  RSpec.configure do |config|
10
- config.order = 'random'
11
- end
12
-
13
- PATH_TO_GEM = File.expand_path("#{File.dirname(__FILE__)}/..")
14
- TEST_INPUT_DIR = File.join(PATH_TO_GEM, 'spec', 'test_data', 'input')
15
- TEST_TIF_INPUT_FILE = File.join(TEST_INPUT_DIR, 'test.tif')
16
- TEST_JP2_INPUT_FILE = File.join(TEST_INPUT_DIR, 'test.jp2')
17
-
18
- TEST_TIFF_NO_COLOR_FILE = File.join(TEST_INPUT_DIR, 'test_no_color_profile.tif')
10
+ # Enable flags like --only-failures and --next-failure
11
+ config.example_status_persistence_file_path = ".rspec_status"
19
12
 
20
- TEST_RES1_TIF1 = File.join(TEST_INPUT_DIR, 'res1_image1.tif')
21
- TEST_RES1_TEXT = File.join(TEST_INPUT_DIR, 'res1_textfile.txt')
22
- TEST_RES1_PDF = File.join(TEST_INPUT_DIR, 'res1_transcript.pdf')
13
+ config.expect_with :rspec do |c|
14
+ c.syntax = :expect
15
+ end
23
16
 
24
- TEST_FILE_NO_EXIF = File.join(TEST_INPUT_DIR, 'file_with_no_exif.xml')
17
+ config.default_formatter = 'doc' if config.files_to_run.one?
25
18
 
26
- TEST_JSON_FILE = File.join(TEST_INPUT_DIR, 'test.json')
27
-
28
- TEST_OBJ_FILE = File.join(TEST_INPUT_DIR, 'someobject.obj')
29
- TEST_PLY_FILE = File.join(TEST_INPUT_DIR, 'someobject.ply')
19
+ config.order = 'random'
20
+ Kernel.srand config.seed
21
+ end
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.1.3
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Mangiafico
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2022-08-30 00:00:00.000000000 Z
14
+ date: 2023-05-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport
@@ -166,19 +166,20 @@ files:
166
166
  - lib/assembly/object_file.rb
167
167
  - lib/assembly/object_file/version.rb
168
168
  - spec/assembly/object_file_spec.rb
169
+ - spec/fixtures/empty.txt
170
+ - spec/fixtures/input/.empty
171
+ - spec/fixtures/input/file_with_no_exif.xml
172
+ - spec/fixtures/input/res1_image1.tif
173
+ - spec/fixtures/input/res1_textfile.txt
174
+ - spec/fixtures/input/res1_transcript.pdf
175
+ - spec/fixtures/input/someobject.obj
176
+ - spec/fixtures/input/someobject.ply
177
+ - spec/fixtures/input/test.jp2
178
+ - spec/fixtures/input/test.json
179
+ - spec/fixtures/input/test.tif
180
+ - spec/fixtures/input/test.vtt
181
+ - spec/fixtures/input/test_no_color_profile.tif
169
182
  - spec/spec_helper.rb
170
- - spec/test_data/empty.txt
171
- - spec/test_data/input/.empty
172
- - spec/test_data/input/file_with_no_exif.xml
173
- - spec/test_data/input/res1_image1.tif
174
- - spec/test_data/input/res1_textfile.txt
175
- - spec/test_data/input/res1_transcript.pdf
176
- - spec/test_data/input/someobject.obj
177
- - spec/test_data/input/someobject.ply
178
- - spec/test_data/input/test.jp2
179
- - spec/test_data/input/test.json
180
- - spec/test_data/input/test.tif
181
- - spec/test_data/input/test_no_color_profile.tif
182
183
  homepage: https://github.com/sul-dlss/assembly-objectfile
183
184
  licenses:
184
185
  - ALv2
@@ -199,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
200
  - !ruby/object:Gem::Version
200
201
  version: '0'
201
202
  requirements: []
202
- rubygems_version: 3.2.32
203
+ rubygems_version: 3.4.6
203
204
  signing_key:
204
205
  specification_version: 4
205
206
  summary: Ruby implementation of file services needed to prepare objects to be accessioned
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes