active-fedora 6.0.0.rc4 → 6.0.0.rc5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -24
- data/.gitmodules +0 -4
- data/.travis.yml +8 -0
- data/README.textile +2 -0
- data/Rakefile +2 -1
- data/lib/active_fedora/base.rb +2 -2
- data/lib/active_fedora/delegating.rb +12 -3
- data/lib/active_fedora/model.rb +20 -29
- data/lib/active_fedora/om_datastream.rb +13 -3
- data/lib/active_fedora/querying.rb +7 -0
- data/lib/active_fedora/semantic_node.rb +0 -2
- data/lib/active_fedora/version.rb +1 -1
- data/lib/tasks/active_fedora_dev.rake +34 -10
- data/spec/integration/delete_all_spec.rb +2 -3
- data/spec/integration/om_datastream_spec.rb +19 -0
- data/spec/unit/ntriples_datastream_spec.rb +2 -2
- data/spec/unit/om_datastream_spec.rb +2 -0
- metadata +40 -83
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d4e2f066e9427bc89c4e04d96ee04b95b5dd1589
|
4
|
+
data.tar.gz: cfa6839afae6e7a17734bcc80599afa75da00e8d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c88d464c1acd22f8f8e4c6c5a905c78b7dae98f86b14a3a735ddb84139e54c2e497d22d3e627a7bf1c2144f40f17cb04fe3275030564430cf6df0c3e18039b5f
|
7
|
+
data.tar.gz: 39c20226680cd0c79c4e39bcbf69cddd5c6d426b8c32c89b7efc913c0f92e3a2a56df57e2b2804812effeb4207040a96c42e13c947e8d232919e9361c5c712ca
|
data/.gitignore
CHANGED
@@ -1,24 +1,3 @@
|
|
1
|
-
## MAC OS
|
2
|
-
.DS_Store
|
3
|
-
|
4
|
-
## TEXTMATE
|
5
|
-
*.tmproj
|
6
|
-
tmtags
|
7
|
-
|
8
|
-
## EMACS
|
9
|
-
*~
|
10
|
-
\#*
|
11
|
-
.\#*
|
12
|
-
|
13
|
-
## VIM
|
14
|
-
*.swp
|
15
|
-
*.swo
|
16
|
-
|
17
|
-
##SVN
|
18
|
-
.svn
|
19
|
-
.svn/*
|
20
|
-
|
21
|
-
## PROJECT::GENERAL
|
22
1
|
coverage
|
23
2
|
rdoc
|
24
3
|
pkg
|
@@ -28,6 +7,4 @@ pkg
|
|
28
7
|
doc
|
29
8
|
tmp
|
30
9
|
Gemfile.lock
|
31
|
-
|
32
|
-
## PROJECT::SPECIFIC
|
33
|
-
hydra-jetty
|
10
|
+
jetty
|
data/.gitmodules
CHANGED
data/.travis.yml
ADDED
data/README.textile
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
"!https://travis-ci.org/projecthydra/active_fedora.png!":https://travis-ci.org/projecthydra/active_fedora
|
2
|
+
|
1
3
|
h2. Description
|
2
4
|
|
3
5
|
RubyFedora and ActiveFedora provide a set of Ruby gems for creating and managing objects in the Fedora Repository Architecture ("http://fedora-commons.org":http://fedora-commons.org). ActiveFedora is loosely based on "ActiveRecord" in Rails. The 3.x series of ActiveFedora depends on Rails 3, specifically activemodel and activesupport.
|
data/Rakefile
CHANGED
@@ -11,8 +11,9 @@ load "lib/tasks/active_fedora_dev.rake" if defined?(Rake)
|
|
11
11
|
|
12
12
|
CLEAN.include %w[**/.DS_Store tmp *.log *.orig *.tmp **/*~]
|
13
13
|
|
14
|
+
task :ci => ['jetty:clean', 'active_fedora:ci']
|
14
15
|
task :spec => ['active_fedora:rspec']
|
15
16
|
task :rcov => ['active_fedora:rcov']
|
16
17
|
|
17
18
|
|
18
|
-
task :default => [:
|
19
|
+
task :default => [:ci]
|
data/lib/active_fedora/base.rb
CHANGED
@@ -315,7 +315,7 @@ module ActiveFedora
|
|
315
315
|
Base.class_eval do
|
316
316
|
include Attributes
|
317
317
|
include ActiveFedora::Persistence
|
318
|
-
|
318
|
+
extend Model
|
319
319
|
include Loggable
|
320
320
|
include Indexing
|
321
321
|
include ActiveModel::Conversion
|
@@ -324,10 +324,10 @@ module ActiveFedora
|
|
324
324
|
include Datastreams
|
325
325
|
extend ActiveModel::Naming
|
326
326
|
include Delegating
|
327
|
+
extend Querying
|
327
328
|
include Associations
|
328
329
|
include NestedAttributes
|
329
330
|
include Reflection
|
330
|
-
extend Querying
|
331
331
|
end
|
332
332
|
|
333
333
|
end
|
@@ -53,9 +53,18 @@ module ActiveFedora
|
|
53
53
|
# foo.field1 # => "My Value"
|
54
54
|
# foo.field2 # => NoMethodError: undefined method `field2' for #<Foo:0x1af30c>
|
55
55
|
|
56
|
-
def delegate(
|
57
|
-
|
58
|
-
|
56
|
+
def delegate(*methods)
|
57
|
+
fields = methods.dup
|
58
|
+
options = fields.pop
|
59
|
+
unless options.is_a?(Hash) && to = options[:to]
|
60
|
+
raise ArgumentError, "Target is required"
|
61
|
+
end
|
62
|
+
if ds_specs.has_key? to.to_s
|
63
|
+
create_delegate_reader(fields.first, options)
|
64
|
+
create_delegate_setter(fields.first, options)
|
65
|
+
else
|
66
|
+
super(*methods)
|
67
|
+
end
|
59
68
|
end
|
60
69
|
|
61
70
|
def delegate_registry
|
data/lib/active_fedora/model.rb
CHANGED
@@ -5,13 +5,6 @@ module ActiveFedora
|
|
5
5
|
# This module mixes various methods into the including class,
|
6
6
|
# much in the way ActiveRecord does.
|
7
7
|
module Model
|
8
|
-
extend ActiveSupport::Concern
|
9
|
-
|
10
|
-
included do
|
11
|
-
class_attribute :solr_query_handler
|
12
|
-
self.solr_query_handler = 'standard'
|
13
|
-
end
|
14
|
-
|
15
8
|
# Takes a Fedora URI for a cModel and returns classname, namespace
|
16
9
|
def self.classname_from_uri(uri)
|
17
10
|
local_path = uri.split('/')[1]
|
@@ -45,33 +38,31 @@ module ActiveFedora
|
|
45
38
|
result
|
46
39
|
end
|
47
40
|
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
pid_suffix = self.pid_suffix
|
56
|
-
end
|
57
|
-
unless self.respond_to? :pid_namespace
|
58
|
-
namespace = attrs.has_key?(:namespace) ? attrs[:namespace] : ContentModel::CMODEL_NAMESPACE
|
59
|
-
else
|
60
|
-
namespace = self.pid_namespace
|
61
|
-
end
|
62
|
-
"info:fedora/#{namespace}:#{ContentModel.sanitized_class_name(self)}#{pid_suffix}"
|
41
|
+
# Returns a suitable uri object for :has_model
|
42
|
+
# Should reverse Model#from_class_uri
|
43
|
+
def to_class_uri(attrs = {})
|
44
|
+
unless self.respond_to? :pid_suffix
|
45
|
+
pid_suffix = attrs.has_key?(:pid_suffix) ? attrs[:pid_suffix] : ContentModel::CMODEL_PID_SUFFIX
|
46
|
+
else
|
47
|
+
pid_suffix = self.pid_suffix
|
63
48
|
end
|
64
|
-
|
49
|
+
unless self.respond_to? :pid_namespace
|
50
|
+
namespace = attrs.has_key?(:namespace) ? attrs[:namespace] : ContentModel::CMODEL_NAMESPACE
|
51
|
+
else
|
52
|
+
namespace = self.pid_namespace
|
53
|
+
end
|
54
|
+
"info:fedora/#{namespace}:#{ContentModel.sanitized_class_name(self)}#{pid_suffix}"
|
65
55
|
end
|
56
|
+
|
66
57
|
|
67
58
|
private
|
68
59
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
60
|
+
def self.class_exists?(class_name)
|
61
|
+
klass = class_name.constantize
|
62
|
+
return klass.is_a?(Class)
|
63
|
+
rescue NameError
|
64
|
+
return false
|
65
|
+
end
|
75
66
|
|
76
67
|
end
|
77
68
|
end
|
@@ -59,6 +59,9 @@ module ActiveFedora
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def ng_xml=(new_xml)
|
62
|
+
# before we set ng_xml, we load the datastream so we know if the new value differs.
|
63
|
+
local_or_remote_content(true)
|
64
|
+
|
62
65
|
case new_xml
|
63
66
|
when Nokogiri::XML::Document
|
64
67
|
self.content=new_xml.to_xml
|
@@ -93,15 +96,22 @@ module ActiveFedora
|
|
93
96
|
end
|
94
97
|
|
95
98
|
def content
|
96
|
-
to_xml
|
99
|
+
return to_xml if ng_xml_changed? || autocreate?
|
100
|
+
val = local_or_remote_content(false)
|
101
|
+
val unless val == "<?xml version=\"1.0\"?>\n"
|
102
|
+
end
|
103
|
+
|
104
|
+
def autocreate?
|
105
|
+
changed_attributes.has_key? :profile
|
97
106
|
end
|
98
107
|
|
99
108
|
def datastream_content
|
100
109
|
@datastream_content ||= Nokogiri::XML(super).to_xml {|config| config.no_declaration}.strip
|
101
110
|
end
|
102
111
|
|
103
|
-
def content=(
|
104
|
-
|
112
|
+
def content=(new_content)
|
113
|
+
ng_xml_will_change! unless EquivalentXml.equivalent?(datastream_content, new_content)
|
114
|
+
@ng_xml = Nokogiri::XML::Document.parse(new_content)
|
105
115
|
super(@ng_xml.to_s)
|
106
116
|
end
|
107
117
|
|
@@ -1,6 +1,13 @@
|
|
1
1
|
module ActiveFedora
|
2
2
|
module Querying
|
3
3
|
delegate :find, :first, :where, :limit, :order, :all, :delete_all, :destroy_all, :count, :to=>:relation
|
4
|
+
|
5
|
+
def self.extended(base)
|
6
|
+
base.class_attribute :solr_query_handler
|
7
|
+
base.solr_query_handler = 'standard'
|
8
|
+
end
|
9
|
+
|
10
|
+
|
4
11
|
def relation
|
5
12
|
Relation.new(self)
|
6
13
|
end
|
@@ -2,9 +2,7 @@ module ActiveFedora
|
|
2
2
|
module SemanticNode
|
3
3
|
extend ActiveSupport::Concern
|
4
4
|
included do
|
5
|
-
class_attribute :class_relationships, :internal_uri
|
6
5
|
class_attribute :class_relationships_desc
|
7
|
-
self.class_relationships = {}
|
8
6
|
end
|
9
7
|
attr_accessor :relationships_loaded, :load_from_solr, :subject
|
10
8
|
|
@@ -2,6 +2,38 @@ APP_ROOT = File.expand_path("#{File.dirname(__FILE__)}/../../")
|
|
2
2
|
|
3
3
|
require 'jettywrapper'
|
4
4
|
|
5
|
+
namespace :jetty do
|
6
|
+
JETTY_URL = 'https://github.com/projecthydra/hydra-jetty/archive/new-solr-schema.zip'
|
7
|
+
JETTY_ZIP = File.join 'tmp', JETTY_URL.split('/').last
|
8
|
+
JETTY_DIR = 'jetty'
|
9
|
+
|
10
|
+
desc "download the jetty zip file"
|
11
|
+
task :download do
|
12
|
+
system 'mkdir tmp' unless File.directory? 'tmp'
|
13
|
+
puts "Downloading jetty..."
|
14
|
+
system "curl -L #{JETTY_URL} -o #{JETTY_ZIP}"
|
15
|
+
abort "Unable to download jetty from #{JETTY_URL}" unless $?.success?
|
16
|
+
end
|
17
|
+
|
18
|
+
task :unzip do
|
19
|
+
Rake::Task["jetty:download"].invoke unless File.exists? JETTY_ZIP
|
20
|
+
puts "Unpacking jetty..."
|
21
|
+
tmp_save_dir = File.join 'tmp', 'jetty_generator'
|
22
|
+
system "unzip -d #{tmp_save_dir} -qo #{JETTY_ZIP}"
|
23
|
+
abort "Unable to unzip #{JETTY_ZIP} into tmp_save_dir/" unless $?.success?
|
24
|
+
|
25
|
+
expanded_dir = Dir[File.join(tmp_save_dir, "hydra-jetty-*")].first
|
26
|
+
|
27
|
+
system "mv #{expanded_dir} #{JETTY_DIR}"
|
28
|
+
abort "Unable to move #{expanded_dir} into #{JETTY_DIR}/" unless $?.success?
|
29
|
+
end
|
30
|
+
|
31
|
+
task :clean do
|
32
|
+
system "rm -rf #{JETTY_DIR}"
|
33
|
+
Rake::Task["jetty:unzip"].invoke
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
5
37
|
namespace :active_fedora do
|
6
38
|
require 'active-fedora'
|
7
39
|
|
@@ -36,13 +68,6 @@ require 'rspec/core/rake_task'
|
|
36
68
|
spec.rcov = true
|
37
69
|
end
|
38
70
|
|
39
|
-
task :clean_jetty do
|
40
|
-
Dir.chdir("./jetty")
|
41
|
-
system("git clean -f -d")
|
42
|
-
system("git checkout .")
|
43
|
-
Dir.chdir("..")
|
44
|
-
end
|
45
|
-
|
46
71
|
desc "Loads or refreshes the fixtures needed to run the tests"
|
47
72
|
task :fixtures => :environment do
|
48
73
|
ENV["pid"] = "hydrangea:fixture_mods_article1"
|
@@ -60,7 +85,6 @@ require 'rspec/core/rake_task'
|
|
60
85
|
|
61
86
|
desc "Copies the default SOLR config for the bundled Testing Server"
|
62
87
|
task :configure_jetty do
|
63
|
-
Rake::Task["active_fedora:clean_jetty"].invoke
|
64
88
|
FileList['solr/conf/*'].each do |f|
|
65
89
|
cp("#{f}", 'jetty/solr/development-core/conf/', :verbose => true)
|
66
90
|
cp("#{f}", 'jetty/solr/test-core/conf/', :verbose => true)
|
@@ -68,8 +92,8 @@ require 'rspec/core/rake_task'
|
|
68
92
|
end
|
69
93
|
|
70
94
|
|
71
|
-
desc "
|
72
|
-
task :
|
95
|
+
desc "CI build"
|
96
|
+
task :ci do
|
73
97
|
ENV['environment'] = "test"
|
74
98
|
Rake::Task["active_fedora:configure_jetty"].invoke
|
75
99
|
jetty_params = Jettywrapper.load_config
|
@@ -24,14 +24,13 @@ describe ActiveFedora::Base do
|
|
24
24
|
SpecModel::Basic.create!
|
25
25
|
SpecModel::Basic.create!
|
26
26
|
SpecModel::Basic.callback_counter = 0
|
27
|
-
@count = SpecModel::Basic.count
|
28
27
|
end
|
29
28
|
|
30
29
|
|
31
30
|
describe ".destroy_all" do
|
32
31
|
it "should remove both and run callbacks" do
|
33
32
|
SpecModel::Basic.destroy_all
|
34
|
-
SpecModel::Basic.count.should ==
|
33
|
+
SpecModel::Basic.count.should == 0
|
35
34
|
SpecModel::Basic.callback_counter.should == 2
|
36
35
|
end
|
37
36
|
|
@@ -40,7 +39,7 @@ describe ActiveFedora::Base do
|
|
40
39
|
describe ".delete_all" do
|
41
40
|
it "should remove both and not run callbacks" do
|
42
41
|
SpecModel::Basic.delete_all
|
43
|
-
SpecModel::Basic.count.should ==
|
42
|
+
SpecModel::Basic.count.should == 0
|
44
43
|
SpecModel::Basic.callback_counter.should == 0
|
45
44
|
end
|
46
45
|
end
|
@@ -20,6 +20,25 @@ describe ActiveFedora::OmDatastream do
|
|
20
20
|
Object.send(:remove_const, :HydrangeaArticle2)
|
21
21
|
end
|
22
22
|
|
23
|
+
describe "an new instance with a inline datastream" do
|
24
|
+
before do
|
25
|
+
@obj = HydrangeaArticle2.new
|
26
|
+
@obj.save
|
27
|
+
@obj.descMetadata.should be_inline
|
28
|
+
end
|
29
|
+
after do
|
30
|
+
@obj.destroy
|
31
|
+
end
|
32
|
+
it "should not be changed when no fields have been set" do
|
33
|
+
@obj.descMetadata.should_not be_content_changed
|
34
|
+
end
|
35
|
+
it "should be changed when a field has been set" do
|
36
|
+
@obj.descMetadata.title = 'Foobar'
|
37
|
+
@obj.descMetadata.should be_content_changed
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
|
23
42
|
describe "#changed?" do
|
24
43
|
it "should not be changed if the new xml matches the old xml" do
|
25
44
|
@pid = "hydrangea:fixture_mods_article2"
|
@@ -189,7 +189,7 @@ describe ActiveFedora::NtriplesRDFDatastream do
|
|
189
189
|
solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__publisher", :facetable)].should == ["publisher1"]
|
190
190
|
solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__based_near", type: :string)].should == ["coverage1", "coverage2"]
|
191
191
|
solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__based_near", :facetable)].should == ["coverage1", "coverage2"]
|
192
|
-
solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__created", :sortable)].should == ["2009-10-
|
192
|
+
solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__created", :sortable, type: :date)].should == ["2009-10-10T00:00:00Z"]
|
193
193
|
solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__created", :displayable)].should == ["2009-10-10"]
|
194
194
|
solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__title", type: :string)].should == ["fake-title"]
|
195
195
|
solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__title", :sortable)].should == ["fake-title"]
|
@@ -241,7 +241,7 @@ describe ActiveFedora::NtriplesRDFDatastream do
|
|
241
241
|
ActiveFedora::SolrService.solr_name("solr_rdf__publisher", type: :string),
|
242
242
|
ActiveFedora::SolrService.solr_name("solr_rdf__publisher", :sortable),
|
243
243
|
ActiveFedora::SolrService.solr_name("solr_rdf__publisher", :facetable),
|
244
|
-
ActiveFedora::SolrService.solr_name("solr_rdf__created", :sortable),
|
244
|
+
ActiveFedora::SolrService.solr_name("solr_rdf__created", :sortable, type: :date),
|
245
245
|
ActiveFedora::SolrService.solr_name("solr_rdf__created", :displayable),
|
246
246
|
ActiveFedora::SolrService.solr_name("solr_rdf__title", type: :string),
|
247
247
|
ActiveFedora::SolrService.solr_name("solr_rdf__title", :sortable),
|
@@ -173,6 +173,7 @@ describe ActiveFedora::OmDatastream do
|
|
173
173
|
it "should persist the product of .to_xml in fedora" do
|
174
174
|
@mock_repo.stub(:datastream).and_return('')
|
175
175
|
@test_ds.stub(:new? => true)
|
176
|
+
@test_ds.stub(:ng_xml_changed? => true)
|
176
177
|
@test_ds.stub(:to_xml => "fake xml")
|
177
178
|
@mock_repo.should_receive(:add_datastream).with(:pid => nil, :dsid => 'descMetadata', :versionable => true, :content => 'fake xml', :controlGroup => 'X', :dsState => 'A', :mimeType=>'text/xml')
|
178
179
|
|
@@ -376,6 +377,7 @@ describe ActiveFedora::OmDatastream do
|
|
376
377
|
@mods_ds.term_values(*term_pointer)
|
377
378
|
end
|
378
379
|
end
|
380
|
+
|
379
381
|
describe "an instance that exists in the datastore, but hasn't been loaded" do
|
380
382
|
before do
|
381
383
|
class MyObj < ActiveFedora::Base
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active-fedora
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.0.
|
5
|
-
prerelease: 6
|
4
|
+
version: 6.0.0.rc5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Matt Zumwalt
|
@@ -11,28 +10,25 @@ authors:
|
|
11
10
|
autorequire:
|
12
11
|
bindir: bin
|
13
12
|
cert_chain: []
|
14
|
-
date: 2013-
|
13
|
+
date: 2013-03-07 00:00:00.000000000 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: rsolr
|
18
17
|
requirement: !ruby/object:Gem::Requirement
|
19
|
-
none: false
|
20
18
|
requirements:
|
21
|
-
- -
|
19
|
+
- - '>='
|
22
20
|
- !ruby/object:Gem::Version
|
23
21
|
version: '0'
|
24
22
|
type: :runtime
|
25
23
|
prerelease: false
|
26
24
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
-
none: false
|
28
25
|
requirements:
|
29
|
-
- -
|
26
|
+
- - '>='
|
30
27
|
- !ruby/object:Gem::Version
|
31
28
|
version: '0'
|
32
29
|
- !ruby/object:Gem::Dependency
|
33
30
|
name: om
|
34
31
|
requirement: !ruby/object:Gem::Requirement
|
35
|
-
none: false
|
36
32
|
requirements:
|
37
33
|
- - ~>
|
38
34
|
- !ruby/object:Gem::Version
|
@@ -40,7 +36,6 @@ dependencies:
|
|
40
36
|
type: :runtime
|
41
37
|
prerelease: false
|
42
38
|
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
none: false
|
44
39
|
requirements:
|
45
40
|
- - ~>
|
46
41
|
- !ruby/object:Gem::Version
|
@@ -48,23 +43,20 @@ dependencies:
|
|
48
43
|
- !ruby/object:Gem::Dependency
|
49
44
|
name: nom-xml
|
50
45
|
requirement: !ruby/object:Gem::Requirement
|
51
|
-
none: false
|
52
46
|
requirements:
|
53
|
-
- -
|
47
|
+
- - '>='
|
54
48
|
- !ruby/object:Gem::Version
|
55
49
|
version: 0.5.1
|
56
50
|
type: :runtime
|
57
51
|
prerelease: false
|
58
52
|
version_requirements: !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
53
|
requirements:
|
61
|
-
- -
|
54
|
+
- - '>='
|
62
55
|
- !ruby/object:Gem::Version
|
63
56
|
version: 0.5.1
|
64
57
|
- !ruby/object:Gem::Dependency
|
65
58
|
name: solrizer
|
66
59
|
requirement: !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
60
|
requirements:
|
69
61
|
- - ~>
|
70
62
|
- !ruby/object:Gem::Version
|
@@ -72,7 +64,6 @@ dependencies:
|
|
72
64
|
type: :runtime
|
73
65
|
prerelease: false
|
74
66
|
version_requirements: !ruby/object:Gem::Requirement
|
75
|
-
none: false
|
76
67
|
requirements:
|
77
68
|
- - ~>
|
78
69
|
- !ruby/object:Gem::Version
|
@@ -80,39 +71,34 @@ dependencies:
|
|
80
71
|
- !ruby/object:Gem::Dependency
|
81
72
|
name: activeresource
|
82
73
|
requirement: !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
84
74
|
requirements:
|
85
|
-
- -
|
75
|
+
- - '>='
|
86
76
|
- !ruby/object:Gem::Version
|
87
77
|
version: 3.0.0
|
88
78
|
type: :runtime
|
89
79
|
prerelease: false
|
90
80
|
version_requirements: !ruby/object:Gem::Requirement
|
91
|
-
none: false
|
92
81
|
requirements:
|
93
|
-
- -
|
82
|
+
- - '>='
|
94
83
|
- !ruby/object:Gem::Version
|
95
84
|
version: 3.0.0
|
96
85
|
- !ruby/object:Gem::Dependency
|
97
86
|
name: activesupport
|
98
87
|
requirement: !ruby/object:Gem::Requirement
|
99
|
-
none: false
|
100
88
|
requirements:
|
101
|
-
- -
|
89
|
+
- - '>='
|
102
90
|
- !ruby/object:Gem::Version
|
103
91
|
version: 3.0.0
|
104
92
|
type: :runtime
|
105
93
|
prerelease: false
|
106
94
|
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
none: false
|
108
95
|
requirements:
|
109
|
-
- -
|
96
|
+
- - '>='
|
110
97
|
- !ruby/object:Gem::Version
|
111
98
|
version: 3.0.0
|
112
99
|
- !ruby/object:Gem::Dependency
|
113
100
|
name: builder
|
114
101
|
requirement: !ruby/object:Gem::Requirement
|
115
|
-
none: false
|
116
102
|
requirements:
|
117
103
|
- - ~>
|
118
104
|
- !ruby/object:Gem::Version
|
@@ -120,7 +106,6 @@ dependencies:
|
|
120
106
|
type: :runtime
|
121
107
|
prerelease: false
|
122
108
|
version_requirements: !ruby/object:Gem::Requirement
|
123
|
-
none: false
|
124
109
|
requirements:
|
125
110
|
- - ~>
|
126
111
|
- !ruby/object:Gem::Version
|
@@ -128,23 +113,20 @@ dependencies:
|
|
128
113
|
- !ruby/object:Gem::Dependency
|
129
114
|
name: mediashelf-loggable
|
130
115
|
requirement: !ruby/object:Gem::Requirement
|
131
|
-
none: false
|
132
116
|
requirements:
|
133
|
-
- -
|
117
|
+
- - '>='
|
134
118
|
- !ruby/object:Gem::Version
|
135
119
|
version: '0'
|
136
120
|
type: :runtime
|
137
121
|
prerelease: false
|
138
122
|
version_requirements: !ruby/object:Gem::Requirement
|
139
|
-
none: false
|
140
123
|
requirements:
|
141
|
-
- -
|
124
|
+
- - '>='
|
142
125
|
- !ruby/object:Gem::Version
|
143
126
|
version: '0'
|
144
127
|
- !ruby/object:Gem::Dependency
|
145
128
|
name: rubydora
|
146
129
|
requirement: !ruby/object:Gem::Requirement
|
147
|
-
none: false
|
148
130
|
requirements:
|
149
131
|
- - ~>
|
150
132
|
- !ruby/object:Gem::Version
|
@@ -152,7 +134,6 @@ dependencies:
|
|
152
134
|
type: :runtime
|
153
135
|
prerelease: false
|
154
136
|
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
none: false
|
156
137
|
requirements:
|
157
138
|
- - ~>
|
158
139
|
- !ruby/object:Gem::Version
|
@@ -160,23 +141,20 @@ dependencies:
|
|
160
141
|
- !ruby/object:Gem::Dependency
|
161
142
|
name: rdf
|
162
143
|
requirement: !ruby/object:Gem::Requirement
|
163
|
-
none: false
|
164
144
|
requirements:
|
165
|
-
- -
|
145
|
+
- - '>='
|
166
146
|
- !ruby/object:Gem::Version
|
167
147
|
version: '0'
|
168
148
|
type: :runtime
|
169
149
|
prerelease: false
|
170
150
|
version_requirements: !ruby/object:Gem::Requirement
|
171
|
-
none: false
|
172
151
|
requirements:
|
173
|
-
- -
|
152
|
+
- - '>='
|
174
153
|
- !ruby/object:Gem::Version
|
175
154
|
version: '0'
|
176
155
|
- !ruby/object:Gem::Dependency
|
177
156
|
name: rdf-rdfxml
|
178
157
|
requirement: !ruby/object:Gem::Requirement
|
179
|
-
none: false
|
180
158
|
requirements:
|
181
159
|
- - ~>
|
182
160
|
- !ruby/object:Gem::Version
|
@@ -184,7 +162,6 @@ dependencies:
|
|
184
162
|
type: :runtime
|
185
163
|
prerelease: false
|
186
164
|
version_requirements: !ruby/object:Gem::Requirement
|
187
|
-
none: false
|
188
165
|
requirements:
|
189
166
|
- - ~>
|
190
167
|
- !ruby/object:Gem::Version
|
@@ -192,161 +169,141 @@ dependencies:
|
|
192
169
|
- !ruby/object:Gem::Dependency
|
193
170
|
name: deprecation
|
194
171
|
requirement: !ruby/object:Gem::Requirement
|
195
|
-
none: false
|
196
172
|
requirements:
|
197
|
-
- -
|
173
|
+
- - '>='
|
198
174
|
- !ruby/object:Gem::Version
|
199
175
|
version: '0'
|
200
176
|
type: :runtime
|
201
177
|
prerelease: false
|
202
178
|
version_requirements: !ruby/object:Gem::Requirement
|
203
|
-
none: false
|
204
179
|
requirements:
|
205
|
-
- -
|
180
|
+
- - '>='
|
206
181
|
- !ruby/object:Gem::Version
|
207
182
|
version: '0'
|
208
183
|
- !ruby/object:Gem::Dependency
|
209
184
|
name: rdoc
|
210
185
|
requirement: !ruby/object:Gem::Requirement
|
211
|
-
none: false
|
212
186
|
requirements:
|
213
|
-
- -
|
187
|
+
- - '>='
|
214
188
|
- !ruby/object:Gem::Version
|
215
189
|
version: '0'
|
216
190
|
type: :development
|
217
191
|
prerelease: false
|
218
192
|
version_requirements: !ruby/object:Gem::Requirement
|
219
|
-
none: false
|
220
193
|
requirements:
|
221
|
-
- -
|
194
|
+
- - '>='
|
222
195
|
- !ruby/object:Gem::Version
|
223
196
|
version: '0'
|
224
197
|
- !ruby/object:Gem::Dependency
|
225
198
|
name: yard
|
226
199
|
requirement: !ruby/object:Gem::Requirement
|
227
|
-
none: false
|
228
200
|
requirements:
|
229
|
-
- -
|
201
|
+
- - '>='
|
230
202
|
- !ruby/object:Gem::Version
|
231
203
|
version: '0'
|
232
204
|
type: :development
|
233
205
|
prerelease: false
|
234
206
|
version_requirements: !ruby/object:Gem::Requirement
|
235
|
-
none: false
|
236
207
|
requirements:
|
237
|
-
- -
|
208
|
+
- - '>='
|
238
209
|
- !ruby/object:Gem::Version
|
239
210
|
version: '0'
|
240
211
|
- !ruby/object:Gem::Dependency
|
241
212
|
name: RedCloth
|
242
213
|
requirement: !ruby/object:Gem::Requirement
|
243
|
-
none: false
|
244
214
|
requirements:
|
245
|
-
- -
|
215
|
+
- - '>='
|
246
216
|
- !ruby/object:Gem::Version
|
247
217
|
version: '0'
|
248
218
|
type: :development
|
249
219
|
prerelease: false
|
250
220
|
version_requirements: !ruby/object:Gem::Requirement
|
251
|
-
none: false
|
252
221
|
requirements:
|
253
|
-
- -
|
222
|
+
- - '>='
|
254
223
|
- !ruby/object:Gem::Version
|
255
224
|
version: '0'
|
256
225
|
- !ruby/object:Gem::Dependency
|
257
226
|
name: rake
|
258
227
|
requirement: !ruby/object:Gem::Requirement
|
259
|
-
none: false
|
260
228
|
requirements:
|
261
|
-
- -
|
229
|
+
- - '>='
|
262
230
|
- !ruby/object:Gem::Version
|
263
231
|
version: '0'
|
264
232
|
type: :development
|
265
233
|
prerelease: false
|
266
234
|
version_requirements: !ruby/object:Gem::Requirement
|
267
|
-
none: false
|
268
235
|
requirements:
|
269
|
-
- -
|
236
|
+
- - '>='
|
270
237
|
- !ruby/object:Gem::Version
|
271
238
|
version: '0'
|
272
239
|
- !ruby/object:Gem::Dependency
|
273
240
|
name: jettywrapper
|
274
241
|
requirement: !ruby/object:Gem::Requirement
|
275
|
-
none: false
|
276
242
|
requirements:
|
277
|
-
- -
|
243
|
+
- - '>='
|
278
244
|
- !ruby/object:Gem::Version
|
279
245
|
version: 1.2.0
|
280
246
|
type: :development
|
281
247
|
prerelease: false
|
282
248
|
version_requirements: !ruby/object:Gem::Requirement
|
283
|
-
none: false
|
284
249
|
requirements:
|
285
|
-
- -
|
250
|
+
- - '>='
|
286
251
|
- !ruby/object:Gem::Version
|
287
252
|
version: 1.2.0
|
288
253
|
- !ruby/object:Gem::Dependency
|
289
254
|
name: rspec
|
290
255
|
requirement: !ruby/object:Gem::Requirement
|
291
|
-
none: false
|
292
256
|
requirements:
|
293
|
-
- -
|
257
|
+
- - '>='
|
294
258
|
- !ruby/object:Gem::Version
|
295
259
|
version: 2.9.0
|
296
260
|
type: :development
|
297
261
|
prerelease: false
|
298
262
|
version_requirements: !ruby/object:Gem::Requirement
|
299
|
-
none: false
|
300
263
|
requirements:
|
301
|
-
- -
|
264
|
+
- - '>='
|
302
265
|
- !ruby/object:Gem::Version
|
303
266
|
version: 2.9.0
|
304
267
|
- !ruby/object:Gem::Dependency
|
305
268
|
name: equivalent-xml
|
306
269
|
requirement: !ruby/object:Gem::Requirement
|
307
|
-
none: false
|
308
270
|
requirements:
|
309
|
-
- -
|
271
|
+
- - '>='
|
310
272
|
- !ruby/object:Gem::Version
|
311
273
|
version: '0'
|
312
274
|
type: :development
|
313
275
|
prerelease: false
|
314
276
|
version_requirements: !ruby/object:Gem::Requirement
|
315
|
-
none: false
|
316
277
|
requirements:
|
317
|
-
- -
|
278
|
+
- - '>='
|
318
279
|
- !ruby/object:Gem::Version
|
319
280
|
version: '0'
|
320
281
|
- !ruby/object:Gem::Dependency
|
321
282
|
name: rest-client
|
322
283
|
requirement: !ruby/object:Gem::Requirement
|
323
|
-
none: false
|
324
284
|
requirements:
|
325
|
-
- -
|
285
|
+
- - '>='
|
326
286
|
- !ruby/object:Gem::Version
|
327
287
|
version: '0'
|
328
288
|
type: :development
|
329
289
|
prerelease: false
|
330
290
|
version_requirements: !ruby/object:Gem::Requirement
|
331
|
-
none: false
|
332
291
|
requirements:
|
333
|
-
- -
|
292
|
+
- - '>='
|
334
293
|
- !ruby/object:Gem::Version
|
335
294
|
version: '0'
|
336
295
|
- !ruby/object:Gem::Dependency
|
337
296
|
name: webmock
|
338
297
|
requirement: !ruby/object:Gem::Requirement
|
339
|
-
none: false
|
340
298
|
requirements:
|
341
|
-
- -
|
299
|
+
- - '>='
|
342
300
|
- !ruby/object:Gem::Version
|
343
301
|
version: '0'
|
344
302
|
type: :development
|
345
303
|
prerelease: false
|
346
304
|
version_requirements: !ruby/object:Gem::Requirement
|
347
|
-
none: false
|
348
305
|
requirements:
|
349
|
-
- -
|
306
|
+
- - '>='
|
350
307
|
- !ruby/object:Gem::Version
|
351
308
|
version: '0'
|
352
309
|
description: ActiveFedora provides for creating and managing objects in the Fedora
|
@@ -361,6 +318,7 @@ extra_rdoc_files:
|
|
361
318
|
files:
|
362
319
|
- .gitignore
|
363
320
|
- .gitmodules
|
321
|
+
- .travis.yml
|
364
322
|
- CONSOLE_GETTING_STARTED.textile
|
365
323
|
- Gemfile
|
366
324
|
- History.txt
|
@@ -599,27 +557,26 @@ files:
|
|
599
557
|
- spec/unit/validations_spec.rb
|
600
558
|
homepage: https://github.com/projecthydra/active_fedora
|
601
559
|
licenses: []
|
560
|
+
metadata: {}
|
602
561
|
post_install_message:
|
603
562
|
rdoc_options: []
|
604
563
|
require_paths:
|
605
564
|
- lib
|
606
565
|
required_ruby_version: !ruby/object:Gem::Requirement
|
607
|
-
none: false
|
608
566
|
requirements:
|
609
|
-
- -
|
567
|
+
- - '>='
|
610
568
|
- !ruby/object:Gem::Version
|
611
569
|
version: 1.9.3
|
612
570
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
613
|
-
none: false
|
614
571
|
requirements:
|
615
|
-
- -
|
572
|
+
- - '>'
|
616
573
|
- !ruby/object:Gem::Version
|
617
574
|
version: 1.3.1
|
618
575
|
requirements: []
|
619
576
|
rubyforge_project: rubyfedora
|
620
|
-
rubygems_version:
|
577
|
+
rubygems_version: 2.0.0
|
621
578
|
signing_key:
|
622
|
-
specification_version:
|
579
|
+
specification_version: 4
|
623
580
|
summary: A convenience libary for manipulating documents in the Fedora Repository.
|
624
581
|
test_files:
|
625
582
|
- spec/config_helper.rb
|