sdr-replication 0.6.0 → 1.0.0

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: c9045400c2d3a49bd77d96453b89c29e583db186
4
- data.tar.gz: 93c1aa92f9486602fb623345265c5bb88c75dc54
3
+ metadata.gz: 45c62b5f93416444d33bc654cad08ea044b63e15
4
+ data.tar.gz: 7a5d02e2fdd54d109b3f2f4ed28a4855f309de9f
5
5
  SHA512:
6
- metadata.gz: ae096cda70bc1df8894a601da7b283d0b62f58e939828eba05e6ecfceb43b6ae0ba1e4fefbbd5eb8bc22a0ab6cce71c3dd4749f56488eaa78feda9e18a5d6f4b
7
- data.tar.gz: 9622fb34001a5a062174cd5a972b98f7ef48faa970fd6888ee5478dcf8dd3c28129d445c05ffcc82c474bf86349fdb12270b7ecf60dfca67e6c9bdc67c2bcfd7
6
+ metadata.gz: bb8c72959b5ac62d2de22bf7592a7939edf9b4f276a322135b833d0f6500732d1f04c23a66c130f77375fac071cfef396f7eb941e8be9879bd6c2bd6208adb23
7
+ data.tar.gz: 0cff8b31b03039ae93c396461cedfb1510cfafcdefdae8dac85a38b83903620a88cd9bef0a7358fcf492f71782d419e69491987f02953f38568ca11ec299472b
@@ -58,8 +58,8 @@ module Replication
58
58
 
59
59
  # @return [Replica] Open the replica's bag and extract its properties
60
60
  def get_bag_data
61
- bag = BagitBag.open_bag(bag_pathname)
62
- @create_date = UtcTime.output(bag_pathname.ctime)
61
+ bag = Archive::BagitBag.open_bag(bag_pathname)
62
+ @create_date = Moab::UtcTime.output(bag_pathname.ctime)
63
63
  size_hash = bag.info_payload_size
64
64
  @payload_size = size_hash[:bytes]
65
65
  file_fixity_hash = bag.read_manifest_files('manifest')
@@ -7,7 +7,7 @@ module Replication
7
7
 
8
8
  def initialize(druid)
9
9
  @digital_object_id = druid
10
- storage_object = StorageServices.find_storage_object(druid, include_deposit=true)
10
+ storage_object = Stanford::StorageServices.find_storage_object(druid, include_deposit=true)
11
11
  @object_pathname = storage_object.object_pathname
12
12
  @storage_root = storage_object.storage_root
13
13
  end
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'bundler/setup'
3
3
  Bundler.setup
4
4
  require 'archive-utils'
5
- require 'moab_stanford'
5
+ require 'moab/stanford'
6
6
 
7
7
  # The classes used for SDR Replication workflows
8
8
  module Replication
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sdr-replication
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darren Weber
@@ -9,22 +9,8 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-10-20 00:00:00.000000000 Z
12
+ date: 2016-02-16 00:00:00.000000000 Z
13
13
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: json_pure
16
- requirement: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - "~>"
19
- - !ruby/object:Gem::Version
20
- version: '1.8'
21
- type: :runtime
22
- prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - "~>"
26
- - !ruby/object:Gem::Version
27
- version: '1.8'
28
14
  - !ruby/object:Gem::Dependency
29
15
  name: rest-client
30
16
  requirement: !ruby/object:Gem::Requirement
@@ -45,14 +31,14 @@ dependencies:
45
31
  requirements:
46
32
  - - "~>"
47
33
  - !ruby/object:Gem::Version
48
- version: '1.3'
34
+ version: '2.0'
49
35
  type: :runtime
50
36
  prerelease: false
51
37
  version_requirements: !ruby/object:Gem::Requirement
52
38
  requirements:
53
39
  - - "~>"
54
40
  - !ruby/object:Gem::Version
55
- version: '1.3'
41
+ version: '2.0'
56
42
  - !ruby/object:Gem::Dependency
57
43
  name: archive-utils
58
44
  requirement: !ruby/object:Gem::Requirement
@@ -143,28 +129,28 @@ dependencies:
143
129
  requirements:
144
130
  - - "~>"
145
131
  - !ruby/object:Gem::Version
146
- version: '2.0'
132
+ version: '3.0'
147
133
  type: :development
148
134
  prerelease: false
149
135
  version_requirements: !ruby/object:Gem::Requirement
150
136
  requirements:
151
137
  - - "~>"
152
138
  - !ruby/object:Gem::Version
153
- version: '2.0'
139
+ version: '3.0'
154
140
  - !ruby/object:Gem::Dependency
155
141
  name: simplecov
156
142
  requirement: !ruby/object:Gem::Requirement
157
143
  requirements:
158
144
  - - "~>"
159
145
  - !ruby/object:Gem::Version
160
- version: '0.7'
146
+ version: 0.9.0
161
147
  type: :development
162
148
  prerelease: false
163
149
  version_requirements: !ruby/object:Gem::Requirement
164
150
  requirements:
165
151
  - - "~>"
166
152
  - !ruby/object:Gem::Version
167
- version: '0.7'
153
+ version: 0.9.0
168
154
  - !ruby/object:Gem::Dependency
169
155
  name: yard
170
156
  requirement: !ruby/object:Gem::Requirement
@@ -213,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
199
  version: 2.2.1
214
200
  requirements: []
215
201
  rubyforge_project:
216
- rubygems_version: 2.4.2
202
+ rubygems_version: 2.4.5.1
217
203
  signing_key:
218
204
  specification_version: 4
219
205
  summary: Core methods for support of SDR Preservation Core replication