sufia 3.4.0.rc2 → 3.4.0.rc3
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 +4 -4
- data/Gemfile +0 -2
- data/History.md +2 -4
- data/README.md +9 -5
- data/Releasing_sufia.md +4 -1
- data/SUFIA_VERSION +1 -1
- data/lib/sufia/version.rb +1 -1
- data/spec/controllers/generic_files_controller_spec.rb +12 -24
- data/spec/fixtures/image.jpg +0 -0
- data/spec/fixtures/png_fits.xml +29 -0
- data/spec/models/file_content_datastream_spec.rb +2 -5
- data/spec/models/generic_file_spec.rb +6 -1
- data/spec/spec_helper.rb +10 -4
- data/sufia-models/{lib/sufia/models → app/models/concerns/sufia}/user.rb +0 -0
- data/sufia-models/lib/sufia/models.rb +0 -6
- data/sufia-models/lib/sufia/models/engine.rb +2 -1
- data/sufia-models/lib/sufia/models/noid.rb +1 -1
- data/sufia-models/lib/sufia/models/version.rb +1 -1
- data/sufia-models/sufia-models.gemspec +2 -4
- data/tasks/release.rake +2 -0
- metadata +10 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2aaf4403b11351ceaec8191e0717c0d7fbdef037
|
4
|
+
data.tar.gz: 0b5f652ae3ea1c824095e61d3c2f31a9cdf629ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fb341ecba6b0cbd6621225a03f5c468ed11f462f238384da502b416b5ff626cf0098de4e597ed47b37d8c2bb701fdf61d4e0572f790c50b71b1fceec45f81ef
|
7
|
+
data.tar.gz: 7dd4b76cacb8b58f4a21ff25c2fe1c02f53731264f699e88edc682f9a236bfc2ec5c231159d94279c4e94db9cb8fbfbcfd50c19af1c0282dcfa46f0cc1965d9f
|
data/Gemfile
CHANGED
@@ -8,8 +8,6 @@ gem 'kaminari', github: 'harai/kaminari', branch: 'route_prefix_prototype'
|
|
8
8
|
gem 'sufia-models', path: './sufia-models'
|
9
9
|
|
10
10
|
group :development, :test do
|
11
|
-
# https://github.com/zdennis/activerecord-import/pull/79
|
12
|
-
#gem 'activerecord-import', '0.3.0'
|
13
11
|
gem 'sqlite3'
|
14
12
|
gem 'selenium-webdriver'
|
15
13
|
gem 'rspec-rails', '~> 2.14'
|
data/History.md
CHANGED
@@ -1,17 +1,15 @@
|
|
1
1
|
# History of Sufia releases
|
2
2
|
|
3
|
-
## 3.4.0.
|
3
|
+
## 3.4.0.rc3
|
4
|
+
* Pinned to hydra-head ~> 6.4.0 [Justin Coyne]
|
4
5
|
* Moved trophies related methods to Trophies module [Justin Coyne]
|
5
6
|
* Move mime type related methods into MimeTypes module [Justin Coyne]
|
6
7
|
* Extract version methods into its own module [Justin Coyne]
|
7
8
|
* Extract metadata into its own module [Justin Coyne]
|
8
|
-
* Update to latest rc of hydra-head [Justin Coyne]
|
9
9
|
* AccessRight has moved into HydraHead [Justin Coyne]
|
10
|
-
* Remove cruft [ci skip] [Justin Coyne]
|
11
10
|
* Remove Visibility, which was moved into hydra-head [Justin Coyne]
|
12
11
|
* Fix deprecation warnings by switching to
|
13
12
|
Hydra::AccessControls::Permissions [Justin Coyne]
|
14
|
-
* 2013-09-27: Works with hydra 6.1.0.rc1 [Justin Coyne]
|
15
13
|
|
16
14
|
|
17
15
|
## 3.3.0
|
data/README.md
CHANGED
@@ -49,11 +49,8 @@ Then `bundle install`
|
|
49
49
|
|
50
50
|
Note the line with kaminari listed as a dependency. This is a temporary fix to address a problem in the current release of kaminari. Technically you should not have to list kaminari, which is a dependency of blacklight and sufia.
|
51
51
|
|
52
|
-
### Run the
|
52
|
+
### Run the sufia generator
|
53
53
|
```
|
54
|
-
rails g blacklight --devise
|
55
|
-
rails g hydra:head -f
|
56
|
-
bundle install
|
57
54
|
rails g sufia -f
|
58
55
|
rm public/index.html
|
59
56
|
```
|
@@ -90,6 +87,13 @@ Add this line:
|
|
90
87
|
//= require sufia
|
91
88
|
```
|
92
89
|
|
90
|
+
**Remove** this line, if present (typically, when using Rails 4):
|
91
|
+
```
|
92
|
+
//= require turbolinks
|
93
|
+
```
|
94
|
+
|
95
|
+
Turbolinks does not mix well with Blacklight.
|
96
|
+
|
93
97
|
### Install Fits.sh
|
94
98
|
1. Go to http://code.google.com/p/fits/downloads/list and download a copy of fits & unpack it somewhere on your Machine.
|
95
99
|
1. Give your system access to fits
|
@@ -120,7 +124,7 @@ See https://github.com/defunkt/resque for more options
|
|
120
124
|
#### On a mac
|
121
125
|
Use homebrew:
|
122
126
|
```
|
123
|
-
brew install ffmpeg --with-libvpx --with-libvorbis
|
127
|
+
brew install ffmpeg --with-fdk-aac --with-libvpx --with-libvorbis
|
124
128
|
```
|
125
129
|
|
126
130
|
#### On Ubuntu Linux
|
data/Releasing_sufia.md
CHANGED
data/SUFIA_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.4.0.
|
1
|
+
3.4.0.rc3
|
data/lib/sufia/version.rb
CHANGED
@@ -191,7 +191,7 @@ describe GenericFilesController do
|
|
191
191
|
# Dir.mkdir @mock_upload_directory unless File.exists? @mock_upload_directory
|
192
192
|
FileUtils.mkdir_p([File.join(@mock_upload_directory, "import/files"),File.join(@mock_upload_directory, "import/metadata")])
|
193
193
|
FileUtils.copy(File.expand_path('../../fixtures/world.png', __FILE__), @mock_upload_directory)
|
194
|
-
FileUtils.copy(File.expand_path('../../fixtures/image.
|
194
|
+
FileUtils.copy(File.expand_path('../../fixtures/image.jpg', __FILE__), @mock_upload_directory)
|
195
195
|
FileUtils.copy(File.expand_path('../../fixtures/dublin_core_rdf_descMetadata.nt', __FILE__), File.join(@mock_upload_directory, "import/metadata"))
|
196
196
|
FileUtils.copy(File.expand_path('../../fixtures/icons.zip', __FILE__), File.join(@mock_upload_directory, "import/files"))
|
197
197
|
FileUtils.copy(File.expand_path('../../fixtures/Example.ogg', __FILE__), File.join(@mock_upload_directory, "import/files"))
|
@@ -203,30 +203,24 @@ describe GenericFilesController do
|
|
203
203
|
end
|
204
204
|
context "when User model defines a directory path" do
|
205
205
|
before do
|
206
|
-
User.any_instance.stub(:directory).and_return(@mock_upload_directory)
|
207
|
-
end
|
208
|
-
it "should ingest files from the filesystem" do
|
209
206
|
if $in_travis
|
210
|
-
# This is in place because we stub fits for travis, and the stub sets the mime to application/pdf.
|
211
207
|
# In order to avoid an invalid derivative creation, just stub out the derivatives.
|
212
208
|
GenericFile.any_instance.stub(:create_derivatives)
|
213
209
|
end
|
214
|
-
|
210
|
+
User.any_instance.stub(:directory).and_return(@mock_upload_directory)
|
211
|
+
end
|
212
|
+
it "should ingest files from the filesystem" do
|
213
|
+
lambda { post :create, local_file: ["world.png", "image.jpg"], batch_id: "xw42n7934"}.should change(GenericFile, :count).by(2)
|
215
214
|
response.should redirect_to Sufia::Engine.routes.url_helpers.batch_edit_path('xw42n7934')
|
216
215
|
# These files should have been moved out of the upload directory
|
217
|
-
File.exist?("#{@mock_upload_directory}/image.
|
216
|
+
File.exist?("#{@mock_upload_directory}/image.jpg").should be_false
|
218
217
|
File.exist?("#{@mock_upload_directory}/world.png").should be_false
|
219
218
|
# And into the storage directory
|
220
219
|
files = GenericFile.find(Solrizer.solr_name("is_part_of",:symbol) => 'info:fedora/sufia:xw42n7934')
|
221
220
|
files.first.label.should == 'world.png'
|
222
|
-
files.last.label.should == 'image.
|
221
|
+
files.last.label.should == 'image.jpg'
|
223
222
|
end
|
224
223
|
it "should ingest redirect to another location" do
|
225
|
-
if $in_travis
|
226
|
-
# This is in place because we stub fits for travis, and the stub sets the mime to application/pdf.
|
227
|
-
# In order to avoid an invalid derivative creation, just stub out the derivatives.
|
228
|
-
GenericFile.any_instance.stub(:create_derivatives)
|
229
|
-
end
|
230
224
|
GenericFilesController.should_receive(:upload_complete_path).and_return(mock_url)
|
231
225
|
lambda { post :create, local_file: ["world.png"], batch_id: "xw42n7934"}.should change(GenericFile, :count).by(1)
|
232
226
|
response.should redirect_to mock_url
|
@@ -237,12 +231,6 @@ describe GenericFilesController do
|
|
237
231
|
files.first.label.should == 'world.png'
|
238
232
|
end
|
239
233
|
it "should ingest directories from the filesystem" do
|
240
|
-
#TODO this test is very slow because it kicks off CharacterizeJob.
|
241
|
-
if $in_travis
|
242
|
-
# This is in place because we stub fits for travis, and the stub sets the mime to application/pdf.
|
243
|
-
# In order to avoid an invalid derivative creation, just stub out the derivatives.
|
244
|
-
GenericFile.any_instance.stub(:create_derivatives)
|
245
|
-
end
|
246
234
|
lambda { post :create, local_file: ["world.png", "import"], batch_id: "xw42n7934"}.should change(GenericFile, :count).by(4)
|
247
235
|
response.should redirect_to Sufia::Engine.routes.url_helpers.batch_edit_path('xw42n7934')
|
248
236
|
# These files should have been moved out of the upload directory
|
@@ -261,7 +249,7 @@ describe GenericFilesController do
|
|
261
249
|
end
|
262
250
|
context "when User model does not define directory path" do
|
263
251
|
it "should return an error message and redirect to file upload page" do
|
264
|
-
lambda { post :create, local_file: ["world.png", "image.
|
252
|
+
lambda { post :create, local_file: ["world.png", "image.jpg"], batch_id: "xw42n7934"}.should_not change(GenericFile, :count)
|
265
253
|
response.should render_template :new
|
266
254
|
flash[:alert].should == 'Your account is not configured for importing files from a user-directory on the server.'
|
267
255
|
end
|
@@ -375,15 +363,15 @@ describe GenericFilesController do
|
|
375
363
|
posted_file = GenericFile.find(@generic_file.pid)
|
376
364
|
version1 = posted_file.content.latest_version
|
377
365
|
posted_file.content.version_committer(version1).should == @user.user_key
|
378
|
-
|
379
|
-
file = fixture_file_upload('/image.
|
366
|
+
|
367
|
+
file = fixture_file_upload('/image.jpg','image/jpg')
|
380
368
|
post :update, :id=>@generic_file.pid, :filedata=>file, :Filename=>"The world", :generic_file=>{:tag=>[''], :permissions=>{:new_user_name=>{'archivist1@example.com'=>'edit'}}}
|
381
369
|
|
382
370
|
posted_file = GenericFile.find(@generic_file.pid)
|
383
371
|
version2 = posted_file.content.latest_version
|
384
372
|
posted_file.content.version_committer(version2).should == @user.user_key
|
385
373
|
|
386
|
-
posted_file.content.mimeType.should == "image/
|
374
|
+
posted_file.content.mimeType.should == "image/jpeg"
|
387
375
|
post :update, :id=>@generic_file.pid, :revision=>'content.0'
|
388
376
|
|
389
377
|
|
@@ -422,7 +410,7 @@ describe GenericFilesController do
|
|
422
410
|
s2 = double('one')
|
423
411
|
CharacterizeJob.should_receive(:new).with(@generic_file.pid).and_return(s2)
|
424
412
|
Sufia.queue.should_receive(:push).with(s2).once
|
425
|
-
file = fixture_file_upload('/image.
|
413
|
+
file = fixture_file_upload('/image.jpg','image/jpg')
|
426
414
|
post :update, :id=>@generic_file.pid, :filedata=>file, :Filename=>"The world"
|
427
415
|
|
428
416
|
edited_file = GenericFile.find(@generic_file.pid)
|
Binary file
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<fits xmlns="http://hul.harvard.edu/ois/xml/ns/fits/fits_output" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hul.harvard.edu/ois/xml/ns/fits/fits_output http://hul.harvard.edu/ois/xml/xsd/fits/fits_output.xsd" version="0.6.2" timestamp="10/14/13 11:13 AM">
|
3
|
+
<identification>
|
4
|
+
<identity format="Portable Network Graphics" mimetype="image/png" toolname="FITS" toolversion="0.6.2">
|
5
|
+
<tool toolname="Exiftool" toolversion="9.06" />
|
6
|
+
<tool toolname="Droid" toolversion="3.0" />
|
7
|
+
<tool toolname="ffident" toolversion="0.2" />
|
8
|
+
<version toolname="Droid" toolversion="3.0">1.0</version>
|
9
|
+
<externalIdentifier toolname="Droid" toolversion="3.0" type="puid">fmt/11</externalIdentifier>
|
10
|
+
</identity>
|
11
|
+
</identification>
|
12
|
+
<fileinfo>
|
13
|
+
<lastmodified toolname="Exiftool" toolversion="9.06" status="SINGLE_RESULT">2013:05:13 11:02:08-04:00</lastmodified>
|
14
|
+
<filepath toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">/Users/jfriesen/Repositories/sufia/spec/fixtures/world.png</filepath>
|
15
|
+
<filename toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">spec/fixtures/world.png</filename>
|
16
|
+
<size toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">4218</size>
|
17
|
+
<md5checksum toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">28da6259ae5707c68708192a40b3e85c</md5checksum>
|
18
|
+
<fslastmodified toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">1368457328000</fslastmodified>
|
19
|
+
</fileinfo>
|
20
|
+
<filestatus />
|
21
|
+
<metadata>
|
22
|
+
<image>
|
23
|
+
<compressionScheme toolname="Exiftool" toolversion="9.06" status="SINGLE_RESULT">Deflate/Inflate</compressionScheme>
|
24
|
+
<imageWidth toolname="Exiftool" toolversion="9.06" status="SINGLE_RESULT">50</imageWidth>
|
25
|
+
<imageHeight toolname="Exiftool" toolversion="9.06" status="SINGLE_RESULT">50</imageHeight>
|
26
|
+
</image>
|
27
|
+
</metadata>
|
28
|
+
</fits>
|
29
|
+
|
@@ -54,9 +54,6 @@ describe FileContentDatastream do
|
|
54
54
|
@subject.stub(:pid=>'my_pid')
|
55
55
|
@subject.stub(:dsVersionID=>'content.7')
|
56
56
|
end
|
57
|
-
it "should have the path" do
|
58
|
-
@subject.send(:fits_path).should be_present
|
59
|
-
end
|
60
57
|
it "should return an xml document", :unless => $in_travis do
|
61
58
|
repo = double("repo")
|
62
59
|
repo.stub(:config=>{})
|
@@ -64,7 +61,7 @@ describe FileContentDatastream do
|
|
64
61
|
content = double("file")
|
65
62
|
content.stub(:read=>f.read)
|
66
63
|
content.stub(:rewind=>f.rewind)
|
67
|
-
@subject.
|
64
|
+
@subject.stub(:content).and_return(f)
|
68
65
|
xml = @subject.extract_metadata
|
69
66
|
doc = Nokogiri::XML.parse(xml)
|
70
67
|
doc.root.xpath('//ns:imageWidth/text()', {'ns'=>'http://hul.harvard.edu/ois/xml/ns/fits/fits_output'}).inner_text.should == '50'
|
@@ -77,7 +74,7 @@ describe FileContentDatastream do
|
|
77
74
|
content = double("file")
|
78
75
|
content.stub(:read=>f.read)
|
79
76
|
content.stub(:rewind=>f.rewind)
|
80
|
-
@subject.
|
77
|
+
@subject.stub(:content).and_return(f)
|
81
78
|
xml = @subject.extract_metadata
|
82
79
|
doc = Nokogiri::XML.parse(xml)
|
83
80
|
doc.root.xpath('//ns:identity/@mimetype', {'ns'=>'http://hul.harvard.edu/ois/xml/ns/fits/fits_output'}).first.value.should == 'image/png'
|
@@ -263,6 +263,7 @@ describe GenericFile do
|
|
263
263
|
end
|
264
264
|
end
|
265
265
|
it "should support to_solr" do
|
266
|
+
@file.stub(:pid).and_return('stubbed_pid')
|
266
267
|
@file.part_of = "Arabiana"
|
267
268
|
@file.contributor = "Mohammad"
|
268
269
|
@file.creator = "Allah"
|
@@ -303,7 +304,7 @@ describe GenericFile do
|
|
303
304
|
local[Solrizer.solr_name("desc_metadata__identifier")].should == ["urn:isbn:1234567890"]
|
304
305
|
local[Solrizer.solr_name("desc_metadata__based_near")].should == ["Medina, Saudi Arabia"]
|
305
306
|
local[Solrizer.solr_name("mime_type")].should == ["image/jpeg"]
|
306
|
-
local["noid_tsi"].should
|
307
|
+
local["noid_tsi"].should eq('stubbed_pid')
|
307
308
|
end
|
308
309
|
it "should support multi-valued fields in solr" do
|
309
310
|
@file.tag = ["tag1", "tag2"]
|
@@ -547,6 +548,10 @@ describe GenericFile do
|
|
547
548
|
describe "characterize" do
|
548
549
|
it "should return expected results when called", :unless => $in_travis do
|
549
550
|
@file.add_file(File.open(fixture_path + '/world.png'), 'content', 'world.png')
|
551
|
+
# Without the stub(:save), the after save callback was being triggered
|
552
|
+
# which resulted the characterize_if_changed method being called; which
|
553
|
+
# enqueued a job for characterizing
|
554
|
+
@file.stub(:save)
|
550
555
|
@file.characterize
|
551
556
|
doc = Nokogiri::XML.parse(@file.characterization.content)
|
552
557
|
doc.root.xpath('//ns:imageWidth/text()', {'ns'=>'http://hul.harvard.edu/ois/xml/ns/fits/fits_output'}).inner_text.should == '50'
|
data/spec/spec_helper.rb
CHANGED
@@ -19,11 +19,17 @@ $in_travis = !ENV['TRAVIS'].nil? && ENV['TRAVIS'] == 'true'
|
|
19
19
|
|
20
20
|
if $in_travis
|
21
21
|
# Monkey-patches the FITS runner to return the PDF FITS fixture
|
22
|
-
module Hydra
|
22
|
+
module Hydra
|
23
23
|
module Derivatives
|
24
24
|
module ExtractMetadata
|
25
|
-
def
|
26
|
-
|
25
|
+
def extract_metadata
|
26
|
+
return unless has_content?
|
27
|
+
Hydra::FileCharacterization.characterize(content, filename_for_characterization, :fits) do |config|
|
28
|
+
config[:fits] = lambda { |filename|
|
29
|
+
filename = File.expand_path("../fixtures/pdf_fits.xml", __FILE__)
|
30
|
+
File.read(filename)
|
31
|
+
}
|
32
|
+
end
|
27
33
|
end
|
28
34
|
end
|
29
35
|
end
|
@@ -65,4 +71,4 @@ module FactoryGirl
|
|
65
71
|
tmpl = FactoryGirl.build(handle)
|
66
72
|
tmpl.class.send("find_by_#{by}".to_sym, tmpl.send(by)) || FactoryGirl.create(handle)
|
67
73
|
end
|
68
|
-
end
|
74
|
+
end
|
File without changes
|
@@ -6,12 +6,6 @@ require 'mailboxer'
|
|
6
6
|
require 'acts_as_follower'
|
7
7
|
require 'paperclip'
|
8
8
|
require "active_resource" # used by GenericFile to catch errors & by GeoNamesResource
|
9
|
-
begin
|
10
|
-
# activerecord-import 0.3.1 does not support rails 4, so we don't require it.
|
11
|
-
require 'activerecord-import'
|
12
|
-
rescue LoadError
|
13
|
-
$stderr.puts "Sufia-models is unable to load activerecord-import"
|
14
|
-
end
|
15
9
|
require 'resque/server'
|
16
10
|
|
17
11
|
module Sufia
|
@@ -28,6 +28,7 @@ module Sufia
|
|
28
28
|
config.autoload_paths += %W(
|
29
29
|
#{config.root}/lib/sufia/models/jobs
|
30
30
|
#{config.root}/app/models/datastreams
|
31
|
+
#{config.root}/app/models/concerns
|
31
32
|
)
|
32
33
|
|
33
34
|
rake_tasks do
|
@@ -42,6 +43,7 @@ module Sufia
|
|
42
43
|
end
|
43
44
|
|
44
45
|
initializer 'requires' do
|
46
|
+
require 'activerecord-import'
|
45
47
|
require 'hydra/derivatives'
|
46
48
|
require 'sufia/models/model_methods'
|
47
49
|
require 'sufia/models/noid'
|
@@ -54,7 +56,6 @@ module Sufia
|
|
54
56
|
require 'sufia/models/generic_file/mime_types'
|
55
57
|
require 'sufia/models/generic_file/thumbnail'
|
56
58
|
require 'sufia/models/generic_file'
|
57
|
-
require 'sufia/models/user'
|
58
59
|
require 'sufia/models/user_local_directory_behavior'
|
59
60
|
require 'sufia/models/id_service'
|
60
61
|
require 'sufia/models/solr_document_behavior'
|
@@ -33,8 +33,7 @@ Gem::Specification.new do |spec|
|
|
33
33
|
# spec.add_dependency "hydra", "6.1.0.rc2"
|
34
34
|
# Since hydra 6.1 isn't out yet, we'll just build it so that it's compatible
|
35
35
|
# without an explicit dependency
|
36
|
-
spec.add_dependency "hydra-head", "~> 6.4.0
|
37
|
-
spec.add_dependency 'active-fedora', "~> 6.6.0.rc1"
|
36
|
+
spec.add_dependency "hydra-head", "~> 6.4.0"
|
38
37
|
|
39
38
|
spec.add_dependency 'nest', '~> 1.1.1'
|
40
39
|
spec.add_dependency 'resque', '~> 1.23.0'#, :require => 'resque/server'
|
@@ -45,6 +44,5 @@ Gem::Specification.new do |spec|
|
|
45
44
|
spec.add_dependency 'paperclip', '~> 3.4.0'
|
46
45
|
spec.add_dependency 'zipruby', '0.3.6'
|
47
46
|
spec.add_dependency 'hydra-derivatives', '~> 0.0.5'
|
48
|
-
|
49
|
-
#spec.add_dependency 'activerecord-import', '0.3.0' # 0.3.1 caused a bug in testing: "SQLite3::SQLException: near ",": syntax error: INSERT INTO..."
|
47
|
+
spec.add_dependency 'activerecord-import'
|
50
48
|
end
|
data/tasks/release.rake
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sufia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.0.
|
4
|
+
version: 3.4.0.rc3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sufia-models
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.4.0.
|
19
|
+
version: 3.4.0.rc3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.4.0.
|
26
|
+
version: 3.4.0.rc3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: blacklight_advanced_search
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -534,12 +534,14 @@ files:
|
|
534
534
|
- spec/fixtures/genreForms.nt
|
535
535
|
- spec/fixtures/icons.zip
|
536
536
|
- spec/fixtures/image.jp2
|
537
|
+
- spec/fixtures/image.jpg
|
537
538
|
- spec/fixtures/jp2_fits.xml
|
538
539
|
- spec/fixtures/jpg_fits.xml
|
539
540
|
- spec/fixtures/lexvo.rdf
|
540
541
|
- spec/fixtures/mp3_fits.xml
|
541
542
|
- spec/fixtures/pdf_fits.xml
|
542
543
|
- spec/fixtures/piano_note.wav
|
544
|
+
- spec/fixtures/png_fits.xml
|
543
545
|
- spec/fixtures/small_file.txt
|
544
546
|
- spec/fixtures/sufia/.gitignore
|
545
547
|
- spec/fixtures/sufia/bg_header.jpg
|
@@ -614,6 +616,7 @@ files:
|
|
614
616
|
- sufia-models/Rakefile
|
615
617
|
- sufia-models/app/models/batch.rb
|
616
618
|
- sufia-models/app/models/checksum_audit_log.rb
|
619
|
+
- sufia-models/app/models/concerns/sufia/user.rb
|
617
620
|
- sufia-models/app/models/datastreams/batch_rdf_datastream.rb
|
618
621
|
- sufia-models/app/models/datastreams/file_content_datastream.rb
|
619
622
|
- sufia-models/app/models/datastreams/fits_datastream.rb
|
@@ -687,7 +690,6 @@ files:
|
|
687
690
|
- sufia-models/lib/sufia/models/noid.rb
|
688
691
|
- sufia-models/lib/sufia/models/resque.rb
|
689
692
|
- sufia-models/lib/sufia/models/solr_document_behavior.rb
|
690
|
-
- sufia-models/lib/sufia/models/user.rb
|
691
693
|
- sufia-models/lib/sufia/models/user_local_directory_behavior.rb
|
692
694
|
- sufia-models/lib/sufia/models/utils.rb
|
693
695
|
- sufia-models/lib/sufia/models/version.rb
|
@@ -749,7 +751,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
749
751
|
version: 1.3.1
|
750
752
|
requirements: []
|
751
753
|
rubyforge_project:
|
752
|
-
rubygems_version: 2.
|
754
|
+
rubygems_version: 2.1.7
|
753
755
|
signing_key:
|
754
756
|
specification_version: 4
|
755
757
|
summary: Sufia was extracted from ScholarSphere developed by Penn State University
|
@@ -789,12 +791,14 @@ test_files:
|
|
789
791
|
- spec/fixtures/genreForms.nt
|
790
792
|
- spec/fixtures/icons.zip
|
791
793
|
- spec/fixtures/image.jp2
|
794
|
+
- spec/fixtures/image.jpg
|
792
795
|
- spec/fixtures/jp2_fits.xml
|
793
796
|
- spec/fixtures/jpg_fits.xml
|
794
797
|
- spec/fixtures/lexvo.rdf
|
795
798
|
- spec/fixtures/mp3_fits.xml
|
796
799
|
- spec/fixtures/pdf_fits.xml
|
797
800
|
- spec/fixtures/piano_note.wav
|
801
|
+
- spec/fixtures/png_fits.xml
|
798
802
|
- spec/fixtures/small_file.txt
|
799
803
|
- spec/fixtures/sufia/.gitignore
|
800
804
|
- spec/fixtures/sufia/bg_header.jpg
|