ddr-models 2.7.4 → 2.7.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f3c6181e57a1a67d5f374d1d83d5afa6e33d1962
4
- data.tar.gz: 11ee5833bb3cb7730b30ed8e2ef38579de97ac59
3
+ metadata.gz: 59526d4a12d267ab39bab08743ee77fcee04747b
4
+ data.tar.gz: be336f9d1ce16110bf47d74a020921e0c63ae41d
5
5
  SHA512:
6
- metadata.gz: e52d6d3b398d55289c9eb51d97fad7a08661849918e1077523ae770dbf8f77b261382befd8f7695f186981e9fba2c9dc40fc89039df701a3a9391473746cf8b0
7
- data.tar.gz: 49ce6887894e3857da80afa8ba9f97bedb27a6b155405b64d8706e17d983d68d4f2086fd22ee51268d0d73e1a654dc60a9fa894609fe26d2ed1560d8178fcd2e
6
+ metadata.gz: dc27ebb61917fd05d99d7b49f5112170e2b6374fbc0b54ff88a18960986a281d432d4f22e8f18a5e51f6653d1f0b25b19edf51a01085f582ca35d41ca2131e15
7
+ data.tar.gz: b640bfebb32889fbd1d8d11d151f5b9473ccf98dbac7362c9afe11fc8faa18e008825c632835963650a944eb0ca5eaf0d986e7954827f053b10b42c48d12b4a6
@@ -15,6 +15,10 @@ module Ddr::Datastreams
15
15
  super.merge(controlGroup: "E")
16
16
  end
17
17
 
18
+ def content
19
+ File.read(file_path)
20
+ end
21
+
18
22
  def file_size
19
23
  if path = file_path
20
24
  File.size(path)
@@ -1,5 +1,5 @@
1
1
  module Ddr
2
2
  module Models
3
- VERSION = "2.7.4"
3
+ VERSION = "2.7.5"
4
4
  end
5
5
  end
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: 2.7.4
4
+ version: 2.7.5
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: 2017-04-28 00:00:00.000000000 Z
12
+ date: 2017-05-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -780,7 +780,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
780
780
  version: '0'
781
781
  requirements: []
782
782
  rubyforge_project:
783
- rubygems_version: 2.6.8
783
+ rubygems_version: 2.6.11
784
784
  signing_key:
785
785
  specification_version: 4
786
786
  summary: Models used in the Duke Digital Repository