ddr-batch 2.0.0.alpha.3 → 2.0.0.beta.1

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: f96c0f1f769ec80cade15b674d9762447e769fb3
4
- data.tar.gz: d68014dc69eae5e2494889f4a79aca769aba0f1d
3
+ metadata.gz: 01b3c494e62bcf2bfdb506dbd23b23a006388e2a
4
+ data.tar.gz: c8f6bcadf9d77ddd5834fdb7475325a404368e20
5
5
  SHA512:
6
- metadata.gz: 91d4affd0356322275b123be05bc679c82f21d385cd6edac9afdb1fed2069bbe16ce2a9858ff5d411eded91c853d68e2ba9add1f3870a8cbfdff47280c99959b
7
- data.tar.gz: aec0a4258f45c05a5f8ac46934bd45bc2a994ab93a0de724773790af9d693b10844c09398c8f73ca0016c4b5eb834cc01bf90e749738e6aefd5cf92e8a9b3428
6
+ metadata.gz: a4ab39d07a6cc856a6e037a3e96cfb121a3b803b28b290dd75073565d63f35b878f9e8ee52495eadb41f4bc65e9ca12a9e7f890615f17ff8e10c16592ca66b00
7
+ data.tar.gz: 7d9696a35a5a68c3f832f932eb04ada4500e4b75d6f1ee2d13367a796362f45e9024e8ce2182a2b4e9c59462d877099ab0b29d9b72b6eaf4716d58a182be06e9
data/Rakefile CHANGED
@@ -34,3 +34,5 @@ task :ci => ["jetty:clean"] do
34
34
  Rake::Task['spec'].invoke
35
35
  end
36
36
  end
37
+
38
+ task :default => :spec
@@ -6,7 +6,6 @@ module Ddr::Batch
6
6
 
7
7
  DATASTREAMS = [ Ddr::Datastreams::CONTENT,
8
8
  Ddr::Datastreams::DESC_METADATA,
9
- Ddr::Datastreams::RIGHTS_METADATA,
10
9
  Ddr::Datastreams::STRUCT_METADATA ]
11
10
 
12
11
  OPERATION_ADD = "ADD" # add this datastream to the object -- considered an error if datastream already exists
@@ -77,7 +77,7 @@ module Ddr::Batch
77
77
  end
78
78
  end
79
79
  if repo_object.save
80
- repo_object.notify_event(:update, user: user, comment: event_log_comment)
80
+ repo_object.notify_event(:update, user_key: user.user_key, comment: event_log_comment)
81
81
  end
82
82
  rescue Exception => e
83
83
  logger.error("Error in updating repository object #{pid} for #{identifier} : : #{e}")
data/config/fedora.yml ADDED
@@ -0,0 +1,15 @@
1
+ development:
2
+ user: fedoraAdmin
3
+ password: fedoraAdmin
4
+ url: http://127.0.0.1:8983/fedora/rest
5
+ base_path: /dev
6
+ test:
7
+ user: fedoraAdmin
8
+ password: fedoraAdmin
9
+ url: http://127.0.0.1:8983/fedora/rest
10
+ base_path: /test
11
+ production:
12
+ user: fedoraAdmin
13
+ password: fedoraAdmin
14
+ url: http://127.0.0.1:8080/fedora/rest
15
+ base_path: /prod
data/config/solr.yml ADDED
@@ -0,0 +1,6 @@
1
+ development:
2
+ url: http://localhost:8983/solr/development
3
+ test:
4
+ url: <%= "http://localhost:#{ENV['TEST_JETTY_PORT'] || 8983}/solr/test" %>
5
+ production:
6
+ url: http://your.production.server:8080/bl_solr/core0
@@ -1,5 +1,5 @@
1
1
  module Ddr
2
2
  module Batch
3
- VERSION = "2.0.0.alpha.3"
3
+ VERSION = "2.0.0.beta.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ddr-batch
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.alpha.3
4
+ version: 2.0.0.beta.1
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: 2016-01-12 00:00:00.000000000 Z
12
+ date: 2016-02-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -165,6 +165,20 @@ dependencies:
165
165
  - - ">="
166
166
  - !ruby/object:Gem::Version
167
167
  version: '0'
168
+ - !ruby/object:Gem::Dependency
169
+ name: blacklight
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - "~>"
173
+ - !ruby/object:Gem::Version
174
+ version: 5.15.0
175
+ type: :development
176
+ prerelease: false
177
+ version_requirements: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - "~>"
180
+ - !ruby/object:Gem::Version
181
+ version: 5.15.0
168
182
  description: Batch processing for Duke Digital Repository
169
183
  email:
170
184
  - lib-drs@duke.edu
@@ -189,8 +203,10 @@ files:
189
203
  - app/scripts/ddr/batch/batch_processor.rb
190
204
  - app/views/ddr/batch/batch_processor_run_mailer/send_notification.html.erb
191
205
  - app/views/ddr/batch/batch_processor_run_mailer/send_notification.text.erb
206
+ - config/fedora.yml
192
207
  - config/locales/en.yml
193
208
  - config/routes.rb
209
+ - config/solr.yml
194
210
  - db/migrate/20150828183839_create_batches.rb
195
211
  - db/migrate/20150828201857_create_batch_objects.rb
196
212
  - db/migrate/20150828202118_create_batch_object_attributes.rb