rubydora 0.0.7 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +45 -0
- data/Gemfile +1 -24
- data/Rakefile +2 -21
- data/VERSION +1 -1
- data/lib/rubydora/resource_index.rb +5 -1
- data/lib/rubydora/rest_api_client/v33.rb +2 -2
- data/lib/rubydora/soap.rb +7 -8
- data/lib/rubydora/version.rb +10 -0
- data/lib/rubydora.rb +6 -8
- data/rubydora.gemspec +25 -112
- data/spec/integration_test_spec.rb +1 -1
- data/spec/soap_spec.rb +1 -1
- metadata +73 -77
data/.gitignore
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# rcov generated
|
2
|
+
coverage
|
3
|
+
|
4
|
+
# rdoc generated
|
5
|
+
rdoc
|
6
|
+
|
7
|
+
# yard generated
|
8
|
+
doc
|
9
|
+
.yardoc
|
10
|
+
|
11
|
+
# bundler
|
12
|
+
.bundle
|
13
|
+
|
14
|
+
# jeweler generated
|
15
|
+
pkg
|
16
|
+
|
17
|
+
Gemfile.lock
|
18
|
+
.rvmrc
|
19
|
+
|
20
|
+
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
21
|
+
#
|
22
|
+
# * Create a file at ~/.gitignore
|
23
|
+
# * Include files you want ignored
|
24
|
+
# * Run: git config --global core.excludesfile ~/.gitignore
|
25
|
+
#
|
26
|
+
# After doing this, these files will be ignored in all your git projects,
|
27
|
+
# saving you from having to 'pollute' every project you touch with them
|
28
|
+
#
|
29
|
+
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
|
30
|
+
#
|
31
|
+
# For MacOS:
|
32
|
+
#
|
33
|
+
#.DS_Store
|
34
|
+
#
|
35
|
+
# For TextMate
|
36
|
+
#*.tmproj
|
37
|
+
#tmtags
|
38
|
+
#
|
39
|
+
# For emacs:
|
40
|
+
#*~
|
41
|
+
#\#*
|
42
|
+
#.\#*
|
43
|
+
#
|
44
|
+
# For vim:
|
45
|
+
*.swp
|
data/Gemfile
CHANGED
@@ -1,27 +1,4 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
2
|
|
3
|
-
|
4
|
-
gem "rest-client"
|
5
|
-
gem "nokogiri"
|
6
|
-
gem "mime-types"
|
7
|
-
gem "activesupport", ">= 3.0"
|
8
|
-
gem "activemodel", ">= 3.0"
|
3
|
+
gemspec
|
9
4
|
|
10
|
-
group :soap do
|
11
|
-
gem "soap4r"
|
12
|
-
end
|
13
|
-
|
14
|
-
# Add dependencies required to use your gem here.
|
15
|
-
# Example:
|
16
|
-
# gem "activesupport", ">= 2.3.5"
|
17
|
-
|
18
|
-
# Add dependencies to develop your gem here.
|
19
|
-
# Include everything needed to run rake, tests, features, etc.
|
20
|
-
group :development do
|
21
|
-
gem "shoulda", ">= 0"
|
22
|
-
gem "bundler", "~> 1.0.0"
|
23
|
-
gem "jeweler", "~> 1.5.1"
|
24
|
-
gem "rcov", ">= 0"
|
25
|
-
gem "rspec"
|
26
|
-
gem "yard"
|
27
|
-
end
|
data/Rakefile
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'bundler'
|
3
|
+
require 'bundler/gem_tasks'
|
4
|
+
|
3
5
|
begin
|
4
6
|
Bundler.setup(:default, :development)
|
5
7
|
rescue Bundler::BundlerError => e
|
@@ -7,20 +9,6 @@ rescue Bundler::BundlerError => e
|
|
7
9
|
$stderr.puts "Run `bundle install` to install missing gems"
|
8
10
|
exit e.status_code
|
9
11
|
end
|
10
|
-
require 'rake'
|
11
|
-
|
12
|
-
require 'jeweler'
|
13
|
-
Jeweler::Tasks.new do |gem|
|
14
|
-
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
15
|
-
gem.name = "rubydora"
|
16
|
-
gem.homepage = "http://github.com/cbeer/rubydora"
|
17
|
-
gem.license = "MIT"
|
18
|
-
gem.summary = %Q{Fedora Commons REST API ruby library}
|
19
|
-
gem.description = %Q{Fedora Commons REST API ruby library : REQUIRES FCREPO 3.4+}
|
20
|
-
gem.email = "chris@cbeer.info"
|
21
|
-
gem.authors = ["Chris Beer"]
|
22
|
-
end
|
23
|
-
Jeweler::RubygemsDotOrgTasks.new
|
24
12
|
|
25
13
|
# Get your spec rake tasks working in RSpec 2.0
|
26
14
|
|
@@ -35,13 +23,6 @@ RSpec::Core::RakeTask.new do |t|
|
|
35
23
|
# Put spec opts in a file named .rspec in root
|
36
24
|
end
|
37
25
|
|
38
|
-
desc "Generate code coverage"
|
39
|
-
require "rcov/rcovtask"
|
40
|
-
RSpec::Core::RakeTask.new(:coverage) do |t|
|
41
|
-
t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default.
|
42
|
-
t.rcov = true
|
43
|
-
t.rcov_opts = ['--exclude', 'spec', '--exclude', 'gems/*']
|
44
|
-
end
|
45
26
|
|
46
27
|
require 'rake/rdoctask'
|
47
28
|
Rake::RDocTask.new do |rdoc|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0
|
1
|
+
0.1.0
|
@@ -26,7 +26,11 @@ module Rubydora
|
|
26
26
|
# @param [String] query SPARQL query
|
27
27
|
# @return [FasterCSV::Table]
|
28
28
|
def sparql query
|
29
|
-
|
29
|
+
if CSV.const_defined? :Reader
|
30
|
+
FasterCSV.parse(self.risearch(query), :headers => true)
|
31
|
+
else
|
32
|
+
CSV.parse(self.risearch(query), :headers => true)
|
33
|
+
end
|
30
34
|
end
|
31
35
|
|
32
36
|
protected
|
@@ -14,13 +14,13 @@ module Rubydora::RestApiClient
|
|
14
14
|
# {include:RestApiClient#add_relationship}
|
15
15
|
def add_relationship options = {}
|
16
16
|
pid = options.delete(:pid) || options[:subject]
|
17
|
-
self.soap.
|
17
|
+
self.soap.request :add_relationship, :pid => pid, :relationship => options[:predicate], :object => options[:object], :isLiteral => false, :datatype => nil
|
18
18
|
end
|
19
19
|
|
20
20
|
# {include:RestApiClient#purge_relationship}
|
21
21
|
def purge_relationship options = {}
|
22
22
|
pid = options.delete(:pid) || options[:subject]
|
23
|
-
self.soap.
|
23
|
+
self.soap.request :purge_relationship, :pid => pid, :relationship => options[:predicate], :object => options[:object], :isLiteral => false, :datatype => nil
|
24
24
|
end
|
25
25
|
|
26
26
|
end
|
data/lib/rubydora/soap.rb
CHANGED
@@ -3,19 +3,18 @@ module Rubydora
|
|
3
3
|
module Soap
|
4
4
|
# @param [Rubydora::Repository] repository
|
5
5
|
def self.extended repository
|
6
|
-
|
7
|
-
require 'soap/wsdlDriver'
|
6
|
+
require 'savon'
|
8
7
|
end
|
9
8
|
|
10
9
|
# SOAP API endpoint
|
11
10
|
# @return [SOAP::RPC::Driver]
|
12
11
|
def soap
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
12
|
+
@soap ||= begin
|
13
|
+
client = Savon::Client.new do |wsdl, http|
|
14
|
+
wsdl.document = "#{ config[:url] }/wsdl?api=API-M"
|
15
|
+
http.auth.basic config[:user], config[:password]
|
16
|
+
end
|
17
|
+
end
|
19
18
|
end
|
20
19
|
end
|
21
20
|
end
|
data/lib/rubydora.rb
CHANGED
@@ -15,17 +15,15 @@ module Rubydora
|
|
15
15
|
autoload :Callbacks, "rubydora/callbacks"
|
16
16
|
autoload :ArrayWithCallback, "rubydora/array_with_callback"
|
17
17
|
|
18
|
-
require 'fastercsv'
|
19
|
-
require 'restclient'
|
20
|
-
require 'nokogiri'
|
21
18
|
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
require 'csv'
|
20
|
+
if CSV.const_defined? :Reader
|
21
|
+
require 'fastercsv'
|
25
22
|
end
|
23
|
+
require 'restclient'
|
24
|
+
require 'nokogiri'
|
26
25
|
|
27
|
-
|
28
|
-
VERSION = self.version
|
26
|
+
require 'rubydora/version'
|
29
27
|
|
30
28
|
# Connect to Fedora Repository
|
31
29
|
# @return Rubydora::Repository
|
data/rubydora.gemspec
CHANGED
@@ -1,119 +1,32 @@
|
|
1
|
-
#
|
2
|
-
#
|
3
|
-
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
1
|
+
# Provide a simple gemspec so you can easily use your enginex
|
2
|
+
# project in your rails apps through git.
|
3
|
+
require File.join(File.dirname(__FILE__), "lib/rubydora/version")
|
6
4
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version =
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
5
|
+
s.name = "rubydora"
|
6
|
+
s.version = Rubydora::VERSION
|
7
|
+
s.platform = Gem::Platform::RUBY
|
11
8
|
s.authors = ["Chris Beer"]
|
12
|
-
s.
|
9
|
+
s.email = ["chris@cbeer.info"]
|
10
|
+
s.summary = %q{Fedora Commons REST API ruby library }
|
13
11
|
s.description = %q{Fedora Commons REST API ruby library : REQUIRES FCREPO 3.4+}
|
14
|
-
s.
|
15
|
-
|
16
|
-
|
17
|
-
"
|
18
|
-
|
19
|
-
s.files = [
|
20
|
-
"Gemfile",
|
21
|
-
"LICENSE.txt",
|
22
|
-
"README.rdoc",
|
23
|
-
"Rakefile",
|
24
|
-
"VERSION",
|
25
|
-
"lib/rubydora.rb",
|
26
|
-
"lib/rubydora/array_with_callback.rb",
|
27
|
-
"lib/rubydora/callbacks.rb",
|
28
|
-
"lib/rubydora/datastream.rb",
|
29
|
-
"lib/rubydora/digital_object.rb",
|
30
|
-
"lib/rubydora/ext.rb",
|
31
|
-
"lib/rubydora/ext/model_loader.rb",
|
32
|
-
"lib/rubydora/ext/solr.rb",
|
33
|
-
"lib/rubydora/extension_parameters.rb",
|
34
|
-
"lib/rubydora/models_mixin.rb",
|
35
|
-
"lib/rubydora/relationships_mixin.rb",
|
36
|
-
"lib/rubydora/repository.rb",
|
37
|
-
"lib/rubydora/resource_index.rb",
|
38
|
-
"lib/rubydora/rest_api_client.rb",
|
39
|
-
"lib/rubydora/rest_api_client/v33.rb",
|
40
|
-
"lib/rubydora/soap.rb",
|
41
|
-
"rubydora.gemspec",
|
42
|
-
"spec/datastream_spec.rb",
|
43
|
-
"spec/digital_object_spec.rb",
|
44
|
-
"spec/ext_model_loader_spec.rb",
|
45
|
-
"spec/ext_solr_spec.rb",
|
46
|
-
"spec/extension_parameters_spec.rb",
|
47
|
-
"spec/integration_test_spec.rb",
|
48
|
-
"spec/repository_spec.rb",
|
49
|
-
"spec/resource_index_spec.rb",
|
50
|
-
"spec/rest_api_client_spec.rb",
|
51
|
-
"spec/soap_spec.rb",
|
52
|
-
"spec/spec_helper.rb"
|
53
|
-
]
|
54
|
-
s.homepage = %q{http://github.com/cbeer/rubydora}
|
55
|
-
s.licenses = ["MIT"]
|
12
|
+
s.homepage = "http://github.com/cbeer/rubydora"
|
13
|
+
|
14
|
+
s.files = `git ls-files`.split("\n")
|
15
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
16
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
56
17
|
s.require_paths = ["lib"]
|
57
|
-
s.rubygems_version = %q{1.3.7}
|
58
|
-
s.summary = %q{Fedora Commons REST API ruby library}
|
59
|
-
s.test_files = [
|
60
|
-
"spec/datastream_spec.rb",
|
61
|
-
"spec/digital_object_spec.rb",
|
62
|
-
"spec/ext_model_loader_spec.rb",
|
63
|
-
"spec/ext_solr_spec.rb",
|
64
|
-
"spec/extension_parameters_spec.rb",
|
65
|
-
"spec/integration_test_spec.rb",
|
66
|
-
"spec/repository_spec.rb",
|
67
|
-
"spec/resource_index_spec.rb",
|
68
|
-
"spec/rest_api_client_spec.rb",
|
69
|
-
"spec/soap_spec.rb",
|
70
|
-
"spec/spec_helper.rb"
|
71
|
-
]
|
72
18
|
|
73
|
-
|
74
|
-
|
75
|
-
|
19
|
+
s.add_dependency "fastercsv"
|
20
|
+
s.add_dependency "rest-client"
|
21
|
+
s.add_dependency "nokogiri"
|
22
|
+
s.add_dependency "mime-types"
|
23
|
+
s.add_dependency "activesupport"
|
24
|
+
s.add_dependency "activemodel"
|
25
|
+
s.add_dependency "savon"
|
76
26
|
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
s.add_runtime_dependency(%q<activesupport>, [">= 3.0"])
|
83
|
-
s.add_runtime_dependency(%q<activemodel>, [">= 3.0"])
|
84
|
-
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
85
|
-
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
86
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
|
87
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
88
|
-
s.add_development_dependency(%q<rspec>, [">= 0"])
|
89
|
-
s.add_development_dependency(%q<yard>, [">= 0"])
|
90
|
-
else
|
91
|
-
s.add_dependency(%q<fastercsv>, [">= 0"])
|
92
|
-
s.add_dependency(%q<rest-client>, [">= 0"])
|
93
|
-
s.add_dependency(%q<nokogiri>, [">= 0"])
|
94
|
-
s.add_dependency(%q<mime-types>, [">= 0"])
|
95
|
-
s.add_dependency(%q<activesupport>, [">= 3.0"])
|
96
|
-
s.add_dependency(%q<activemodel>, [">= 3.0"])
|
97
|
-
s.add_dependency(%q<shoulda>, [">= 0"])
|
98
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
99
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
|
100
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
101
|
-
s.add_dependency(%q<rspec>, [">= 0"])
|
102
|
-
s.add_dependency(%q<yard>, [">= 0"])
|
103
|
-
end
|
104
|
-
else
|
105
|
-
s.add_dependency(%q<fastercsv>, [">= 0"])
|
106
|
-
s.add_dependency(%q<rest-client>, [">= 0"])
|
107
|
-
s.add_dependency(%q<nokogiri>, [">= 0"])
|
108
|
-
s.add_dependency(%q<mime-types>, [">= 0"])
|
109
|
-
s.add_dependency(%q<activesupport>, [">= 3.0"])
|
110
|
-
s.add_dependency(%q<activemodel>, [">= 3.0"])
|
111
|
-
s.add_dependency(%q<shoulda>, [">= 0"])
|
112
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
113
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
|
114
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
115
|
-
s.add_dependency(%q<rspec>, [">= 0"])
|
116
|
-
s.add_dependency(%q<yard>, [">= 0"])
|
117
|
-
end
|
27
|
+
s.add_development_dependency("rake")
|
28
|
+
s.add_development_dependency("shoulda")
|
29
|
+
s.add_development_dependency("bundler")
|
30
|
+
s.add_development_dependency("rspec")
|
31
|
+
s.add_development_dependency("yard")
|
118
32
|
end
|
119
|
-
|
@@ -3,7 +3,7 @@ require 'spec_helper'
|
|
3
3
|
|
4
4
|
# These tests require a fedora repository with the resource index enabled (and with syncUpdates = true)
|
5
5
|
describe "Integration testing against a live Fedora repository" do
|
6
|
-
REPOSITORY_CONFIG = { :url => 'http://localhost:
|
6
|
+
REPOSITORY_CONFIG = { :url => 'http://localhost:8983/fedora', :user => 'fedoraAdmin', :password => 'fedoraAdmin' }
|
7
7
|
before(:all) do
|
8
8
|
@repository = Rubydora.connect REPOSITORY_CONFIG
|
9
9
|
end
|
data/spec/soap_spec.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubydora
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 27
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
+
- 1
|
8
9
|
- 0
|
9
|
-
|
10
|
-
version: 0.0.7
|
10
|
+
version: 0.1.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Chris Beer
|
@@ -15,14 +15,12 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-07-14 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
type: :runtime
|
23
22
|
prerelease: false
|
24
|
-
|
25
|
-
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
24
|
none: false
|
27
25
|
requirements:
|
28
26
|
- - ">="
|
@@ -31,12 +29,12 @@ dependencies:
|
|
31
29
|
segments:
|
32
30
|
- 0
|
33
31
|
version: "0"
|
34
|
-
requirement: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
32
|
type: :runtime
|
33
|
+
name: fastercsv
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
37
36
|
prerelease: false
|
38
|
-
|
39
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
38
|
none: false
|
41
39
|
requirements:
|
42
40
|
- - ">="
|
@@ -45,12 +43,12 @@ dependencies:
|
|
45
43
|
segments:
|
46
44
|
- 0
|
47
45
|
version: "0"
|
48
|
-
requirement: *id002
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
46
|
type: :runtime
|
47
|
+
name: rest-client
|
48
|
+
version_requirements: *id002
|
49
|
+
- !ruby/object:Gem::Dependency
|
51
50
|
prerelease: false
|
52
|
-
|
53
|
-
version_requirements: &id003 !ruby/object:Gem::Requirement
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
54
52
|
none: false
|
55
53
|
requirements:
|
56
54
|
- - ">="
|
@@ -59,12 +57,12 @@ dependencies:
|
|
59
57
|
segments:
|
60
58
|
- 0
|
61
59
|
version: "0"
|
62
|
-
requirement: *id003
|
63
|
-
- !ruby/object:Gem::Dependency
|
64
60
|
type: :runtime
|
61
|
+
name: nokogiri
|
62
|
+
version_requirements: *id003
|
63
|
+
- !ruby/object:Gem::Dependency
|
65
64
|
prerelease: false
|
66
|
-
|
67
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
68
66
|
none: false
|
69
67
|
requirements:
|
70
68
|
- - ">="
|
@@ -73,42 +71,40 @@ dependencies:
|
|
73
71
|
segments:
|
74
72
|
- 0
|
75
73
|
version: "0"
|
76
|
-
requirement: *id004
|
77
|
-
- !ruby/object:Gem::Dependency
|
78
74
|
type: :runtime
|
75
|
+
name: mime-types
|
76
|
+
version_requirements: *id004
|
77
|
+
- !ruby/object:Gem::Dependency
|
79
78
|
prerelease: false
|
80
|
-
|
81
|
-
version_requirements: &id005 !ruby/object:Gem::Requirement
|
79
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
82
80
|
none: false
|
83
81
|
requirements:
|
84
82
|
- - ">="
|
85
83
|
- !ruby/object:Gem::Version
|
86
|
-
hash:
|
84
|
+
hash: 3
|
87
85
|
segments:
|
88
|
-
- 3
|
89
86
|
- 0
|
90
|
-
version: "
|
91
|
-
requirement: *id005
|
92
|
-
- !ruby/object:Gem::Dependency
|
87
|
+
version: "0"
|
93
88
|
type: :runtime
|
89
|
+
name: activesupport
|
90
|
+
version_requirements: *id005
|
91
|
+
- !ruby/object:Gem::Dependency
|
94
92
|
prerelease: false
|
95
|
-
|
96
|
-
version_requirements: &id006 !ruby/object:Gem::Requirement
|
93
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
97
94
|
none: false
|
98
95
|
requirements:
|
99
96
|
- - ">="
|
100
97
|
- !ruby/object:Gem::Version
|
101
|
-
hash:
|
98
|
+
hash: 3
|
102
99
|
segments:
|
103
|
-
- 3
|
104
100
|
- 0
|
105
|
-
version: "
|
106
|
-
|
101
|
+
version: "0"
|
102
|
+
type: :runtime
|
103
|
+
name: activemodel
|
104
|
+
version_requirements: *id006
|
107
105
|
- !ruby/object:Gem::Dependency
|
108
|
-
type: :development
|
109
106
|
prerelease: false
|
110
|
-
|
111
|
-
version_requirements: &id007 !ruby/object:Gem::Requirement
|
107
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
112
108
|
none: false
|
113
109
|
requirements:
|
114
110
|
- - ">="
|
@@ -117,44 +113,40 @@ dependencies:
|
|
117
113
|
segments:
|
118
114
|
- 0
|
119
115
|
version: "0"
|
120
|
-
|
116
|
+
type: :runtime
|
117
|
+
name: savon
|
118
|
+
version_requirements: *id007
|
121
119
|
- !ruby/object:Gem::Dependency
|
122
|
-
type: :development
|
123
120
|
prerelease: false
|
124
|
-
|
125
|
-
version_requirements: &id008 !ruby/object:Gem::Requirement
|
121
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
126
122
|
none: false
|
127
123
|
requirements:
|
128
|
-
- -
|
124
|
+
- - ">="
|
129
125
|
- !ruby/object:Gem::Version
|
130
|
-
hash:
|
126
|
+
hash: 3
|
131
127
|
segments:
|
132
|
-
- 1
|
133
|
-
- 0
|
134
128
|
- 0
|
135
|
-
version:
|
136
|
-
requirement: *id008
|
137
|
-
- !ruby/object:Gem::Dependency
|
129
|
+
version: "0"
|
138
130
|
type: :development
|
131
|
+
name: rake
|
132
|
+
version_requirements: *id008
|
133
|
+
- !ruby/object:Gem::Dependency
|
139
134
|
prerelease: false
|
140
|
-
|
141
|
-
version_requirements: &id009 !ruby/object:Gem::Requirement
|
135
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
142
136
|
none: false
|
143
137
|
requirements:
|
144
|
-
- -
|
138
|
+
- - ">="
|
145
139
|
- !ruby/object:Gem::Version
|
146
|
-
hash:
|
140
|
+
hash: 3
|
147
141
|
segments:
|
148
|
-
-
|
149
|
-
|
150
|
-
- 1
|
151
|
-
version: 1.5.1
|
152
|
-
requirement: *id009
|
153
|
-
- !ruby/object:Gem::Dependency
|
142
|
+
- 0
|
143
|
+
version: "0"
|
154
144
|
type: :development
|
145
|
+
name: shoulda
|
146
|
+
version_requirements: *id009
|
147
|
+
- !ruby/object:Gem::Dependency
|
155
148
|
prerelease: false
|
156
|
-
|
157
|
-
version_requirements: &id010 !ruby/object:Gem::Requirement
|
149
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
158
150
|
none: false
|
159
151
|
requirements:
|
160
152
|
- - ">="
|
@@ -163,12 +155,12 @@ dependencies:
|
|
163
155
|
segments:
|
164
156
|
- 0
|
165
157
|
version: "0"
|
166
|
-
requirement: *id010
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
158
|
type: :development
|
159
|
+
name: bundler
|
160
|
+
version_requirements: *id010
|
161
|
+
- !ruby/object:Gem::Dependency
|
169
162
|
prerelease: false
|
170
|
-
|
171
|
-
version_requirements: &id011 !ruby/object:Gem::Requirement
|
163
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
172
164
|
none: false
|
173
165
|
requirements:
|
174
166
|
- - ">="
|
@@ -177,12 +169,12 @@ dependencies:
|
|
177
169
|
segments:
|
178
170
|
- 0
|
179
171
|
version: "0"
|
180
|
-
requirement: *id011
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
172
|
type: :development
|
173
|
+
name: rspec
|
174
|
+
version_requirements: *id011
|
175
|
+
- !ruby/object:Gem::Dependency
|
183
176
|
prerelease: false
|
184
|
-
|
185
|
-
version_requirements: &id012 !ruby/object:Gem::Requirement
|
177
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
186
178
|
none: false
|
187
179
|
requirements:
|
188
180
|
- - ">="
|
@@ -191,17 +183,20 @@ dependencies:
|
|
191
183
|
segments:
|
192
184
|
- 0
|
193
185
|
version: "0"
|
194
|
-
|
186
|
+
type: :development
|
187
|
+
name: yard
|
188
|
+
version_requirements: *id012
|
195
189
|
description: "Fedora Commons REST API ruby library : REQUIRES FCREPO 3.4+"
|
196
|
-
email:
|
190
|
+
email:
|
191
|
+
- chris@cbeer.info
|
197
192
|
executables: []
|
198
193
|
|
199
194
|
extensions: []
|
200
195
|
|
201
|
-
extra_rdoc_files:
|
202
|
-
|
203
|
-
- README.rdoc
|
196
|
+
extra_rdoc_files: []
|
197
|
+
|
204
198
|
files:
|
199
|
+
- .gitignore
|
205
200
|
- Gemfile
|
206
201
|
- LICENSE.txt
|
207
202
|
- README.rdoc
|
@@ -223,6 +218,7 @@ files:
|
|
223
218
|
- lib/rubydora/rest_api_client.rb
|
224
219
|
- lib/rubydora/rest_api_client/v33.rb
|
225
220
|
- lib/rubydora/soap.rb
|
221
|
+
- lib/rubydora/version.rb
|
226
222
|
- rubydora.gemspec
|
227
223
|
- spec/datastream_spec.rb
|
228
224
|
- spec/digital_object_spec.rb
|
@@ -237,8 +233,8 @@ files:
|
|
237
233
|
- spec/spec_helper.rb
|
238
234
|
has_rdoc: true
|
239
235
|
homepage: http://github.com/cbeer/rubydora
|
240
|
-
licenses:
|
241
|
-
|
236
|
+
licenses: []
|
237
|
+
|
242
238
|
post_install_message:
|
243
239
|
rdoc_options: []
|
244
240
|
|
@@ -265,7 +261,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
265
261
|
requirements: []
|
266
262
|
|
267
263
|
rubyforge_project:
|
268
|
-
rubygems_version: 1.
|
264
|
+
rubygems_version: 1.6.2
|
269
265
|
signing_key:
|
270
266
|
specification_version: 3
|
271
267
|
summary: Fedora Commons REST API ruby library
|