rubydora 1.6.2 → 1.6.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3a5b245a875f22288d000657c72694c89601fd52
4
- data.tar.gz: bccc0e54f0a6c6a208cbff50ce97ccec33ce36aa
3
+ metadata.gz: 3446c99b699e41f3fb8e24b636313a510c7b77cc
4
+ data.tar.gz: a0b85f13192eeb58e95423ce84eb5956285f1879
5
5
  SHA512:
6
- metadata.gz: a25f822e7db26590892d49f6b36aa51e4f6241db5ffc9b1d6add176af57619b3740c3b26ecaafcbe9119861f31d433c27e108ff785858fb27051ff8f137f7242
7
- data.tar.gz: aec54491026595a746447295f391ceb17f1ae012ab92334f57f07170f819f99f93387b399338d50c7d0512a7ee6f7febccf18c0d72084f58419afbf355515ce8
6
+ metadata.gz: 7b280b7c624ba9037034ee314a2a03e6e91bc36c8690a89dd3a74b43e58a7239afe52a05657f7ee41aa54f8cf9decc1426e9e8335f285baffa0a83046fce8937
7
+ data.tar.gz: 4b96fe24d6ec7878662bad578a9a4171d27af9e8bf245fe03a1f5b1b6dfe1b25d7156d8a9f695fe2575ed562671e7bb22c84a22eae6c63cc4b4c02b6a4cbe2de
data/.gitignore CHANGED
@@ -16,6 +16,8 @@ pkg
16
16
 
17
17
  Gemfile.lock
18
18
  .rvmrc
19
+ jetty
20
+ tmp
19
21
 
20
22
  # Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
21
23
  #
data/.gitmodules CHANGED
@@ -1,4 +0,0 @@
1
- [submodule "jetty"]
2
- path = jetty
3
- url = git://github.com/projecthydra/hydra-jetty.git
4
- ignore = dirty
data/.travis.yml ADDED
@@ -0,0 +1,8 @@
1
+ language: ruby
2
+ rvm:
3
+ - "1.9.3"
4
+ - "2.0.0"
5
+
6
+ notifications:
7
+ irc: "irc.freenode.org#projecthydra"
8
+
data/History.textile CHANGED
@@ -1,3 +1,6 @@
1
+ h3. 1.6.3 (2 May 2013)
2
+ * Don't require backports gem
3
+
1
4
  h3. 1.6.2 (29 April 2013)
2
5
  * Handle 401 (no access) from Fedora in a graceful manner
3
6
  * Expose methods relating to control group (e.g. external?, redirect?, managed?, inline?)
data/README.rdoc CHANGED
@@ -1,4 +1,5 @@
1
1
  = rubydora
2
+ {<img src="https://travis-ci.org/projecthydra/rubydora.png?branch=master" alt="Build Status" />}[https://travis-ci.org/projecthydra/rubydora]
2
3
 
3
4
  Rubydora is a low-level Fedora Commons REST API consumer, providing direct access to REST API methods, as well as a primitive ruby abstraction.
4
5
 
data/Rakefile CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'rubygems'
2
2
  require 'bundler'
3
+ require 'jettywrapper'
3
4
  require 'bundler/gem_tasks'
4
5
 
5
6
  begin
@@ -14,8 +15,8 @@ end
14
15
 
15
16
  require 'rspec/core/rake_task'
16
17
 
17
- desc 'Default: run specs.'
18
- task :default => :spec
18
+ desc 'Default: run ci build.'
19
+ task :default => :ci
19
20
 
20
21
  desc "Run specs"
21
22
  RSpec::Core::RakeTask.new do |t|
@@ -37,19 +38,18 @@ task :console do
37
38
  end
38
39
 
39
40
  desc "Execute Continuous Integration build"
40
- task :ci do
41
+ task :ci => 'jetty:clean' do
41
42
  unless ENV['environment'] == 'test'
42
43
  exec("rake ci environment=test")
43
44
  end
44
45
 
45
- require 'jettywrapper'
46
46
  jetty_params = {
47
47
  :jetty_home => File.expand_path(File.dirname(__FILE__) + '/jetty'),
48
48
  :quiet => false,
49
49
  :jetty_port => ENV['TEST_JETTY_PORT'] || 8983,
50
50
  :solr_home => File.expand_path(File.dirname(__FILE__) + '/jetty/solr'),
51
51
  :fedora_home => File.expand_path(File.dirname(__FILE__) + '/jetty/fedora/default'),
52
- :startup_wait => 30,
52
+ :startup_wait => 60,
53
53
  :java_opts => ['-Xmx256m', '-XX:MaxPermSize=128m']
54
54
  }
55
55
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.2
1
+ 1.6.3
@@ -1,5 +1,4 @@
1
1
  require 'equivalent-xml'
2
- require 'backports' # for Enumerator.new in ruby 1.8.7
3
2
  module Rubydora
4
3
  # This class represents a Fedora datastream object
5
4
  # and provides helper methods for creating and manipulating
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubydora
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-29 00:00:00.000000000 Z
11
+ date: 2013-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastercsv
@@ -243,6 +243,7 @@ extra_rdoc_files: []
243
243
  files:
244
244
  - .gitignore
245
245
  - .gitmodules
246
+ - .travis.yml
246
247
  - Gemfile
247
248
  - History.textile
248
249
  - LICENSE.txt