ddr-models 3.0.0.beta.2 → 3.0.0.beta.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -2
- data/lib/ddr/models/has_content.rb +4 -0
- data/lib/ddr/models/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88f17b85f90657e216998de459b6e4ebd08334e6
|
4
|
+
data.tar.gz: 073db6c4741c656699531369123246d0ddcc1375
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65c74339f0e42019ae99099d3f1e382751e8cddf32e1a2fc578c52df44d9987227625890f1886f2ad18076fd3e8b8d45258d6b75d101ce4661b1dc16c6eb4bf2
|
7
|
+
data.tar.gz: 40c13719805412f5760c3b5ae72807636dc0c3f2f7f75206c647ec7555ea42a26977b9bf4dd24c692d911a2ee5deb5aa3961e56b0e004012281113c5d00d77d3
|
data/.travis.yml
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
language: ruby
|
2
2
|
before_install:
|
3
|
+
- sudo apt-get update -qq
|
3
4
|
- sudo apt-get install libvips-dev
|
4
5
|
- gem install bundler --version "~> 1.10"
|
5
6
|
rvm:
|
6
7
|
- 2.1.5
|
7
8
|
script: "bundle exec rake ci"
|
8
|
-
cache:
|
9
|
-
- apt
|
10
9
|
notifications:
|
11
10
|
email:
|
12
11
|
- lib-drs@duke.edu
|
@@ -11,6 +11,10 @@ module Ddr
|
|
11
11
|
contains Ddr::Datastreams::EXTRACTED_TEXT, class_name: 'Ddr::Datastreams::PlainTextDatastream'
|
12
12
|
contains Ddr::Datastreams::FITS, class_name: 'Ddr::Datastreams::FitsDatastream'
|
13
13
|
|
14
|
+
property :legacy_original_filename,
|
15
|
+
predicate: RDF::Vocab::PREMIS.hasOriginalName,
|
16
|
+
multiple: false
|
17
|
+
|
14
18
|
include FileManagement
|
15
19
|
|
16
20
|
around_save :update_derivatives, if: :content_changed?
|
data/lib/ddr/models/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ddr-models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0.beta.
|
4
|
+
version: 3.0.0.beta.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Coble
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-12-
|
12
|
+
date: 2015-12-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|