active-fedora 6.0.0.pre7 → 6.0.0.pre8

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -3,7 +3,6 @@ source "http://rubygems.org"
3
3
  # Bundler will rely on active-fedora.gemspec for dependency information.
4
4
 
5
5
  gemspec
6
-
7
6
  group :development, :test do
8
7
  gem 'simplecov', :platform => :mri_19
9
8
  gem 'simplecov-rcov', :platform => :mri_19
@@ -1,6 +1,11 @@
1
1
  6.0.0
2
2
  New solr schema with descriptive field suffixes
3
3
  Added support for RDF lists
4
+ RDF does not index terms by default
5
+ count is now a scoped query.
6
+
7
+ 5.5.2
8
+ #25 When multiple has_many relationships share a predicate, the solr_query should use class_name to distinguish the sets.
4
9
 
5
10
  5.5.1
6
11
  #34 Allow passing RDF::URI to rdf_type
@@ -18,12 +18,12 @@ Gem::Specification.new do |s|
18
18
  s.add_dependency('rsolr')
19
19
  s.add_dependency('om', '~> 1.8.0')
20
20
  s.add_dependency('nom-xml', '>=0.5.1')
21
- s.add_dependency('solrizer', '~>3.0.0.pre6')
21
+ s.add_dependency('solrizer', '~>3.0.0.pre7')
22
22
  s.add_dependency("activeresource", '>= 3.0.0')
23
23
  s.add_dependency("activesupport", '>= 3.0.0')
24
24
  s.add_dependency("builder", '~> 3.0.0')
25
25
  s.add_dependency("mediashelf-loggable")
26
- s.add_dependency("rubydora", '~>1.2')
26
+ s.add_dependency("rubydora", '~>1.3')
27
27
  s.add_dependency("rdf")
28
28
  s.add_dependency("rdf-rdfxml", '~>1.0.0')
29
29
  s.add_dependency("deprecation")
@@ -63,11 +63,12 @@ module ActiveFedora
63
63
  def ng_xml=(new_xml)
64
64
  case new_xml
65
65
  when Nokogiri::XML::Document
66
- @ng_xml = new_xml
66
+ self.content=new_xml.to_xml
67
67
  when Nokogiri::XML::Node
68
- @ng_xml = Nokogiri::XML(new_xml.to_s) ## Cast a fragment to a document
68
+ ## Cast a fragment to a document
69
+ self.content=new_xml.to_s
69
70
  when String
70
- @ng_xml = Nokogiri::XML::Document.parse(new_xml)
71
+ self.content=new_xml
71
72
  else
72
73
  raise TypeError, "You passed a #{new_xml.class} into the ng_xml of the #{self.dsid} datastream. NokogiriDatastream.ng_xml= only accepts Nokogiri::XML::Document, Nokogiri::XML::Element, Nokogiri::XML::Node, or raw XML (String) as inputs."
73
74
  end
@@ -103,6 +104,7 @@ module ActiveFedora
103
104
 
104
105
  def content=(content)
105
106
  @ng_xml = Nokogiri::XML::Document.parse(content)
107
+ super(@ng_xml.to_s)
106
108
  end
107
109
 
108
110
  def content_changed?
@@ -1,6 +1,6 @@
1
1
  module ActiveFedora
2
2
  module Querying
3
- delegate :find, :first, :where, :limit, :order, :all, :delete_all, :destroy_all, :to=>:relation
3
+ delegate :find, :first, :where, :limit, :order, :all, :delete_all, :destroy_all, :count, :to=>:relation
4
4
  def relation
5
5
  Relation.new(self)
6
6
  end
@@ -39,6 +39,10 @@ module ActiveFedora
39
39
  end while docs.has_next?
40
40
  end
41
41
 
42
+ def calculate(calculation, conditions, opts={})
43
+ SolrService.query(create_query(conditions), :raw=>true, :rows=>0)['response']['numFound']
44
+ end
45
+
42
46
  def default_sort_params
43
47
  [ActiveFedora::SolrService.solr_name(:system_create, :stored_sortable, type: :date)+' asc']
44
48
  end
@@ -65,14 +69,6 @@ module ActiveFedora
65
69
  !inner.new?
66
70
  end
67
71
 
68
- # Get a count of the number of objects from solr
69
- # Takes :conditions as an argument
70
- def count(args = {})
71
- q = search_model_clause ? [search_model_clause] : []
72
- q << "#{args[:conditions]}" if args[:conditions]
73
- SolrService.query(q.join(' AND '), :raw=>true, :rows=>0)['response']['numFound']
74
- end
75
-
76
72
  # Returns a solr result matching the supplied conditions
77
73
  # @param[Hash,String] conditions can either be specified as a string, or
78
74
  # hash representing the query part of an solr statement. If a hash is
@@ -129,7 +125,8 @@ module ActiveFedora
129
125
  unless value.nil?
130
126
  # if the key is a property name, turn it into a solr field
131
127
  if self.delegate_registry.include?(key.to_sym)
132
- key = ActiveFedora::SolrService.solr_name(key, :searchable, type: :string)
128
+ # TODO Check to see if `key' is a possible solr field for this class, if it isn't try :searchable instead
129
+ key = ActiveFedora::SolrService.solr_name(key, :stored_searchable, type: :string)
133
130
  end
134
131
  if value.is_a? Array
135
132
  value.map { |val| "#{key}:#{quote_for_solr(val)}" }
@@ -143,7 +140,11 @@ module ActiveFedora
143
140
 
144
141
  def create_query_from_string(conditions)
145
142
  model_clause = search_model_clause
146
- model_clause ? "#{model_clause} AND (#{conditions})" : conditions
143
+ if model_clause
144
+ conditions ? "#{model_clause} AND (#{conditions})" : model_clause
145
+ else
146
+ conditions
147
+ end
147
148
  end
148
149
 
149
150
  # Return the solr clause that queries for this type of class
@@ -26,7 +26,6 @@ module ActiveFedora
26
26
  end
27
27
  end
28
28
 
29
- attr_accessor :loaded
30
29
  def metadata?
31
30
  true
32
31
  end
@@ -37,25 +36,20 @@ module ActiveFedora
37
36
  return "#{pre}__#{name}".to_sym
38
37
  end
39
38
 
39
+ # Overriding so that one can call ds.content on an unsaved datastream and they will see the serialized format
40
40
  def content
41
41
  serialize
42
42
  end
43
43
 
44
44
  def content=(content)
45
- self.loaded = true
46
45
  @graph = deserialize(content)
47
46
  end
48
47
 
49
48
  def content_changed?
50
- return false if new? and !loaded
49
+ @content = serialize
51
50
  super
52
51
  end
53
52
 
54
- def changed?
55
- super || content_changed?
56
- end
57
-
58
-
59
53
  def to_solr(solr_doc = Hash.new) # :nodoc:
60
54
  fields.each do |field_key, field_info|
61
55
  values = get_values(rdf_subject, field_key)
@@ -90,7 +84,6 @@ module ActiveFedora
90
84
 
91
85
  def graph
92
86
  @graph ||= begin
93
- self.loaded = true
94
87
  deserialize
95
88
  end
96
89
  end
@@ -167,7 +167,7 @@ module ActiveFedora
167
167
  class IndexObject
168
168
  attr_accessor :data_type, :behaviors
169
169
  def initialize
170
- @behaviors = [:searchable]
170
+ @behaviors = []
171
171
  @data_type = :string
172
172
  end
173
173
  def as(*args)
@@ -3,7 +3,10 @@ module ActiveFedora
3
3
  class TermProxy
4
4
 
5
5
  attr_reader :graph, :subject, :predicate, :options
6
- delegate :class, :to_s, :==, :kind_of?, :each, :map, :empty?, :as_json, :is_a?, :to => :values
6
+
7
+ delegate :class, :to_s, :==, :kind_of?, :each, :map, :empty?, :as_json,
8
+ :is_a?, :to_ary, :inspect, :first, :last, :include?, :count,
9
+ :to => :values
7
10
 
8
11
  # @param graph RDF::Graph
9
12
  # @param subject RDF::URI
@@ -51,14 +54,7 @@ module ActiveFedora
51
54
 
52
55
  values
53
56
  end
54
-
55
- def method_missing(method, *args, &block)
56
- if values.respond_to? method
57
- values.send(method, *args, &block)
58
- else
59
- super
60
- end
61
- end
57
+
62
58
  end
63
59
  end
64
60
  end
@@ -149,6 +149,21 @@ module ActiveFedora
149
149
  @records
150
150
  end
151
151
 
152
+ # Get a count of the number of objects from solr
153
+ # Takes :conditions as an argument
154
+ def count(*args)
155
+ return apply_finder_options(args.first).count if args.any?
156
+ opts = {}
157
+ opts[:rows] = @limit_value if @limit_value
158
+ opts[:sort] = @order_values if @order_values
159
+
160
+ query = @where_values.present? ? @where_values : {}
161
+ @klass.calculate :count, query, opts
162
+
163
+ end
164
+
165
+
166
+
152
167
  def ==(other)
153
168
  case other
154
169
  when Relation
@@ -192,7 +207,7 @@ module ActiveFedora
192
207
  if conditions
193
208
  where(conditions).destroy_all
194
209
  else
195
- to_a.each {|object| object.destroy }.tap { reset }
210
+ to_a.each {|object| object.destroy }.tap { reset }.size
196
211
  end
197
212
  end
198
213
 
@@ -200,7 +215,7 @@ module ActiveFedora
200
215
  if conditions
201
216
  where(conditions).delete_all
202
217
  else
203
- to_a.each {|object| object.delete }.tap { reset }
218
+ to_a.each {|object| object.delete }.tap { reset }.size
204
219
  end
205
220
  end
206
221
 
@@ -1,3 +1,3 @@
1
1
  module ActiveFedora
2
- VERSION = "6.0.0.pre7"
2
+ VERSION = "6.0.0.pre8"
3
3
  end
@@ -20,7 +20,7 @@ describe "A base object with metadata" do
20
20
  obj = ActiveFedora::Base.find(@obj.pid, :cast=>true)
21
21
  obj.foo.should_not be_new
22
22
  obj.foo.person.should == ['bob']
23
- person_field = ActiveFedora::SolrService.solr_name('person', :searchable, type: :string)
23
+ person_field = ActiveFedora::SolrService.solr_name('person', type: :string)
24
24
  ActiveFedora::SolrService.query("id:#{@obj.pid.gsub(":", "\\:")}", :fl=>"id #{person_field}").first.should == {"id"=>@obj.pid, person_field =>['bob']}
25
25
  end
26
26
  end
@@ -40,7 +40,7 @@ describe "A base object with metadata" do
40
40
  end
41
41
  it "should save the datastream." do
42
42
  MockAFBaseRelationship.find(@release.pid).foo.person.should == ['frank']
43
- person_field = ActiveFedora::SolrService.solr_name('person', :searchable, type: :string)
43
+ person_field = ActiveFedora::SolrService.solr_name('person', type: :string)
44
44
  ActiveFedora::SolrService.query("id:#{@release.pid.gsub(":", "\\:")}", :fl=>"id #{person_field}").first.should == {"id"=>@release.pid, person_field =>['frank']}
45
45
  end
46
46
  end
@@ -5,11 +5,11 @@ describe ActiveFedora::NtriplesRDFDatastream do
5
5
  class MyDatastream < ActiveFedora::NtriplesRDFDatastream
6
6
  map_predicates do |map|
7
7
  map.title(:in => RDF::DC) do |index|
8
- index.as :searchable, :facetable, :displayable
8
+ index.as :stored_searchable, :facetable
9
9
  end
10
10
  map.date_uploaded(:to => "dateSubmitted", :in => RDF::DC) do |index|
11
11
  index.type :date
12
- index.as :searchable, :displayable, :sortable
12
+ index.as :stored_searchable, :sortable
13
13
  end
14
14
  map.part(:to => "hasPart", :in => RDF::DC)
15
15
  map.based_near(:in => RDF::FOAF)
@@ -74,7 +74,6 @@ describe ActiveFedora::NtriplesRDFDatastream do
74
74
  it "should produce a solr document" do
75
75
  @subject = RdfTest.new(title: "War and Peace")
76
76
  solr_document = @subject.to_solr
77
- solr_document[ActiveFedora::SolrService.solr_name('rdf__title', :displayable)].should == ["War and Peace"]
78
77
  solr_document[ActiveFedora::SolrService.solr_name('rdf__title', :facetable)].should == ["War and Peace"]
79
78
  solr_document[ActiveFedora::SolrService.solr_name('rdf__title', type: :string)].should == ["War and Peace"]
80
79
  end
@@ -26,7 +26,6 @@ describe ActiveFedora::OmDatastream do
26
26
  @test_object = HydrangeaArticle2.find(@pid)
27
27
 
28
28
  @test_object.descMetadata.ng_xml = @test_object.descMetadata.ng_xml
29
-
30
29
  @test_object.descMetadata.should_not be_changed
31
30
  end
32
31
 
@@ -81,9 +81,13 @@ describe ActiveFedora::Model do
81
81
  ModelIntegrationSpec::Basic.limit(1).should == [@test_instance1]
82
82
  end
83
83
 
84
- it "should chain them" do
84
+ it "should chain queries" do
85
85
  ModelIntegrationSpec::Basic.where(ActiveFedora::SolrService.solr_name('bar', type: :string) => 'Peanuts').order(ActiveFedora::SolrService.solr_name('foo', :sortable) + ' asc').limit(1).should == [@test_instance2]
86
86
  end
87
+
88
+ it "should chain count" do
89
+ ModelIntegrationSpec::Basic.where(ActiveFedora::SolrService.solr_name('bar', type: :string) => 'Peanuts').count.should == 2
90
+ end
87
91
  end
88
92
  end
89
93
 
@@ -54,12 +54,12 @@ module Hydra
54
54
  t.computing_id
55
55
  }
56
56
  # lookup :person, :first_name
57
- t.person(:ref=>:name, :attributes=>{:type=>"personal"}, :index_as=>[:facetable, :searchable])
57
+ t.person(:ref=>:name, :attributes=>{:type=>"personal"}, :index_as=>[:facetable, :stored_searchable])
58
58
  t.department(:proxy=>[:person,:description],:index_as=>[:facetable])
59
59
  t.organization(:ref=>:name, :attributes=>{:type=>"corporate"}, :index_as=>[:facetable])
60
60
  t.conference(:ref=>:name, :attributes=>{:type=>"conference"}, :index_as=>[:facetable])
61
- t.role(:index_as=>[:searchable]) {
62
- t.text(:path=>"roleTerm",:attributes=>{:type=>"text"}, :index_as=>[:searchable])
61
+ t.role(:index_as=>[:stored_searchable]) {
62
+ t.text(:path=>"roleTerm",:attributes=>{:type=>"text"}, :index_as=>[:stored_searchable])
63
63
  t.code(:path=>"roleTerm",:attributes=>{:type=>"code"})
64
64
  }
65
65
  t.journal(:path=>'relatedItem', :attributes=>{:type=>"host"}) {
@@ -80,7 +80,7 @@ module Hydra
80
80
  }
81
81
  t.start_page(:proxy=>[:pages, :start])
82
82
  t.end_page(:proxy=>[:pages, :end])
83
- t.publication_date(:path=>"date", :type=>:date, :index_as=>[:searchable])
83
+ t.publication_date(:path=>"date", :type=>:date, :index_as=>[:stored_searchable])
84
84
  }
85
85
  }
86
86
  t.note
@@ -138,18 +138,18 @@ describe ActiveFedora::NtriplesRDFDatastream do
138
138
  index.type :date
139
139
  end
140
140
  map.title(:in => RDF::DC) do |index|
141
- index.as :searchable, :displayable, :sortable
141
+ index.as :stored_searchable, :sortable
142
142
  index.type :text
143
143
  end
144
144
  map.publisher(:in => RDF::DC) do |index|
145
- index.as :facetable, :sortable, :searchable, :displayable
145
+ index.as :facetable, :sortable, :stored_searchable
146
146
  end
147
147
  map.based_near(:in => RDF::FOAF) do |index|
148
- index.as :displayable, :facetable, :searchable
148
+ index.as :facetable, :stored_searchable
149
149
  index.type :text
150
150
  end
151
151
  map.related_url(:to => "seeAlso", :in => RDF::RDFS) do |index|
152
- index.defaults
152
+ index.as :stored_searchable
153
153
  end
154
154
  map.rights(:in => RDF::DC)
155
155
  end
@@ -175,16 +175,13 @@ describe ActiveFedora::NtriplesRDFDatastream do
175
175
  solr_doc = @subject.to_solr
176
176
  solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__publisher", type: :string)].should == ["publisher1"]
177
177
  solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__publisher", :sortable)].should == ["publisher1"]
178
- solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__publisher", :displayable)].should == ["publisher1"]
179
178
  solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__publisher", :facetable)].should == ["publisher1"]
180
179
  solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__based_near", type: :string)].should == ["coverage1", "coverage2"]
181
- solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__based_near", :displayable)].should == ["coverage1", "coverage2"]
182
180
  solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__based_near", :facetable)].should == ["coverage1", "coverage2"]
183
181
  solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__created", :sortable)].should == ["2009-10-10"]
184
182
  solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__created", :displayable)].should == ["2009-10-10"]
185
183
  solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__title", type: :string)].should == ["fake-title"]
186
184
  solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__title", :sortable)].should == ["fake-title"]
187
- solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__title", :displayable)].should == ["fake-title"]
188
185
  solr_doc[ActiveFedora::SolrService.solr_name("solr_rdf__related_url", type: :string)].should == ["http://example.org/"]
189
186
  end
190
187
 
@@ -232,16 +229,13 @@ describe ActiveFedora::NtriplesRDFDatastream do
232
229
  @obj.to_solr.keys.should include(ActiveFedora::SolrService.solr_name("solr_rdf__related_url", type: :string),
233
230
  ActiveFedora::SolrService.solr_name("solr_rdf__publisher", type: :string),
234
231
  ActiveFedora::SolrService.solr_name("solr_rdf__publisher", :sortable),
235
- ActiveFedora::SolrService.solr_name("solr_rdf__publisher", :displayable),
236
232
  ActiveFedora::SolrService.solr_name("solr_rdf__publisher", :facetable),
237
233
  ActiveFedora::SolrService.solr_name("solr_rdf__created", :sortable),
238
234
  ActiveFedora::SolrService.solr_name("solr_rdf__created", :displayable),
239
235
  ActiveFedora::SolrService.solr_name("solr_rdf__title", type: :string),
240
236
  ActiveFedora::SolrService.solr_name("solr_rdf__title", :sortable),
241
- ActiveFedora::SolrService.solr_name("solr_rdf__title", :displayable),
242
237
  ActiveFedora::SolrService.solr_name("solr_rdf__based_near", type: :string),
243
- ActiveFedora::SolrService.solr_name("solr_rdf__based_near", :facetable),
244
- ActiveFedora::SolrService.solr_name("solr_rdf__based_near", :displayable))
238
+ ActiveFedora::SolrService.solr_name("solr_rdf__based_near", :facetable))
245
239
 
246
240
  end
247
241
 
@@ -182,7 +182,7 @@ describe ActiveFedora::OmDatastream do
182
182
  end
183
183
  end
184
184
 
185
- describe '.content=' do
185
+ describe 'setting content' do
186
186
  subject { ActiveFedora::OmDatastream.new(@mock_inner, "descMetadata") }
187
187
  it "should update the content" do
188
188
  subject.stub(:new? => false )
@@ -225,7 +225,6 @@ describe ActiveFedora::OmDatastream do
225
225
  @test_ds2.should_not be_changed
226
226
  @test_ds2.ng_xml = @sample_raw_xml
227
227
  @test_ds2.should be_changed
228
- @test_ds2.instance_variable_get(:@content).should be_nil
229
228
  end
230
229
  end
231
230
 
@@ -178,7 +178,7 @@ describe ActiveFedora::Base do
178
178
  end
179
179
  it "should allow conditions" do
180
180
  mock_result = {'response'=>{'numFound'=>7}}
181
- ActiveFedora::SolrService.should_receive(:query).with("#{@model_query} AND foo:bar", :rows=>0, :raw=>true).and_return(mock_result)
181
+ ActiveFedora::SolrService.should_receive(:query).with("#{@model_query} AND (foo:bar)", :rows=>0, :raw=>true).and_return(mock_result)
182
182
  SpecModel::Basic.count(:conditions=>'foo:bar').should == 7
183
183
  end
184
184
 
metadata CHANGED
@@ -1,7 +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.pre7
4
+ version: 6.0.0.pre8
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -11,14 +11,14 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-01-30 00:00:00.000000000 Z
14
+ date: 2013-02-02 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rsolr
18
18
  requirement: !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
- - - ! '>='
21
+ - - ">="
22
22
  - !ruby/object:Gem::Version
23
23
  version: '0'
24
24
  type: :runtime
@@ -26,7 +26,7 @@ dependencies:
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  none: false
28
28
  requirements:
29
- - - ! '>='
29
+ - - ">="
30
30
  - !ruby/object:Gem::Version
31
31
  version: '0'
32
32
  - !ruby/object:Gem::Dependency
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirement: !ruby/object:Gem::Requirement
35
35
  none: false
36
36
  requirements:
37
- - - ~>
37
+ - - "~>"
38
38
  - !ruby/object:Gem::Version
39
39
  version: 1.8.0
40
40
  type: :runtime
@@ -42,7 +42,7 @@ dependencies:
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  none: false
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 1.8.0
48
48
  - !ruby/object:Gem::Dependency
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirement: !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
- - - ! '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: 0.5.1
56
56
  type: :runtime
@@ -58,7 +58,7 @@ dependencies:
58
58
  version_requirements: !ruby/object:Gem::Requirement
59
59
  none: false
60
60
  requirements:
61
- - - ! '>='
61
+ - - ">="
62
62
  - !ruby/object:Gem::Version
63
63
  version: 0.5.1
64
64
  - !ruby/object:Gem::Dependency
@@ -66,23 +66,23 @@ dependencies:
66
66
  requirement: !ruby/object:Gem::Requirement
67
67
  none: false
68
68
  requirements:
69
- - - ~>
69
+ - - "~>"
70
70
  - !ruby/object:Gem::Version
71
- version: 3.0.0.pre6
71
+ version: 3.0.0.pre7
72
72
  type: :runtime
73
73
  prerelease: false
74
74
  version_requirements: !ruby/object:Gem::Requirement
75
75
  none: false
76
76
  requirements:
77
- - - ~>
77
+ - - "~>"
78
78
  - !ruby/object:Gem::Version
79
- version: 3.0.0.pre6
79
+ version: 3.0.0.pre7
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: activeresource
82
82
  requirement: !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
- - - ! '>='
85
+ - - ">="
86
86
  - !ruby/object:Gem::Version
87
87
  version: 3.0.0
88
88
  type: :runtime
@@ -90,7 +90,7 @@ dependencies:
90
90
  version_requirements: !ruby/object:Gem::Requirement
91
91
  none: false
92
92
  requirements:
93
- - - ! '>='
93
+ - - ">="
94
94
  - !ruby/object:Gem::Version
95
95
  version: 3.0.0
96
96
  - !ruby/object:Gem::Dependency
@@ -98,7 +98,7 @@ dependencies:
98
98
  requirement: !ruby/object:Gem::Requirement
99
99
  none: false
100
100
  requirements:
101
- - - ! '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: 3.0.0
104
104
  type: :runtime
@@ -106,7 +106,7 @@ dependencies:
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  none: false
108
108
  requirements:
109
- - - ! '>='
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: 3.0.0
112
112
  - !ruby/object:Gem::Dependency
@@ -114,7 +114,7 @@ dependencies:
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  none: false
116
116
  requirements:
117
- - - ~>
117
+ - - "~>"
118
118
  - !ruby/object:Gem::Version
119
119
  version: 3.0.0
120
120
  type: :runtime
@@ -122,7 +122,7 @@ dependencies:
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  none: false
124
124
  requirements:
125
- - - ~>
125
+ - - "~>"
126
126
  - !ruby/object:Gem::Version
127
127
  version: 3.0.0
128
128
  - !ruby/object:Gem::Dependency
@@ -130,7 +130,7 @@ dependencies:
130
130
  requirement: !ruby/object:Gem::Requirement
131
131
  none: false
132
132
  requirements:
133
- - - ! '>='
133
+ - - ">="
134
134
  - !ruby/object:Gem::Version
135
135
  version: '0'
136
136
  type: :runtime
@@ -138,7 +138,7 @@ dependencies:
138
138
  version_requirements: !ruby/object:Gem::Requirement
139
139
  none: false
140
140
  requirements:
141
- - - ! '>='
141
+ - - ">="
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
144
  - !ruby/object:Gem::Dependency
@@ -146,23 +146,23 @@ dependencies:
146
146
  requirement: !ruby/object:Gem::Requirement
147
147
  none: false
148
148
  requirements:
149
- - - ~>
149
+ - - "~>"
150
150
  - !ruby/object:Gem::Version
151
- version: '1.2'
151
+ version: '1.3'
152
152
  type: :runtime
153
153
  prerelease: false
154
154
  version_requirements: !ruby/object:Gem::Requirement
155
155
  none: false
156
156
  requirements:
157
- - - ~>
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '1.2'
159
+ version: '1.3'
160
160
  - !ruby/object:Gem::Dependency
161
161
  name: rdf
162
162
  requirement: !ruby/object:Gem::Requirement
163
163
  none: false
164
164
  requirements:
165
- - - ! '>='
165
+ - - ">="
166
166
  - !ruby/object:Gem::Version
167
167
  version: '0'
168
168
  type: :runtime
@@ -170,7 +170,7 @@ dependencies:
170
170
  version_requirements: !ruby/object:Gem::Requirement
171
171
  none: false
172
172
  requirements:
173
- - - ! '>='
173
+ - - ">="
174
174
  - !ruby/object:Gem::Version
175
175
  version: '0'
176
176
  - !ruby/object:Gem::Dependency
@@ -178,7 +178,7 @@ dependencies:
178
178
  requirement: !ruby/object:Gem::Requirement
179
179
  none: false
180
180
  requirements:
181
- - - ~>
181
+ - - "~>"
182
182
  - !ruby/object:Gem::Version
183
183
  version: 1.0.0
184
184
  type: :runtime
@@ -186,7 +186,7 @@ dependencies:
186
186
  version_requirements: !ruby/object:Gem::Requirement
187
187
  none: false
188
188
  requirements:
189
- - - ~>
189
+ - - "~>"
190
190
  - !ruby/object:Gem::Version
191
191
  version: 1.0.0
192
192
  - !ruby/object:Gem::Dependency
@@ -194,7 +194,7 @@ dependencies:
194
194
  requirement: !ruby/object:Gem::Requirement
195
195
  none: false
196
196
  requirements:
197
- - - ! '>='
197
+ - - ">="
198
198
  - !ruby/object:Gem::Version
199
199
  version: '0'
200
200
  type: :runtime
@@ -202,7 +202,7 @@ dependencies:
202
202
  version_requirements: !ruby/object:Gem::Requirement
203
203
  none: false
204
204
  requirements:
205
- - - ! '>='
205
+ - - ">="
206
206
  - !ruby/object:Gem::Version
207
207
  version: '0'
208
208
  - !ruby/object:Gem::Dependency
@@ -210,7 +210,7 @@ dependencies:
210
210
  requirement: !ruby/object:Gem::Requirement
211
211
  none: false
212
212
  requirements:
213
- - - ! '>='
213
+ - - ">="
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
216
  type: :development
@@ -218,7 +218,7 @@ dependencies:
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  none: false
220
220
  requirements:
221
- - - ! '>='
221
+ - - ">="
222
222
  - !ruby/object:Gem::Version
223
223
  version: '0'
224
224
  - !ruby/object:Gem::Dependency
@@ -226,7 +226,7 @@ dependencies:
226
226
  requirement: !ruby/object:Gem::Requirement
227
227
  none: false
228
228
  requirements:
229
- - - ! '>='
229
+ - - ">="
230
230
  - !ruby/object:Gem::Version
231
231
  version: '0'
232
232
  type: :development
@@ -234,7 +234,7 @@ dependencies:
234
234
  version_requirements: !ruby/object:Gem::Requirement
235
235
  none: false
236
236
  requirements:
237
- - - ! '>='
237
+ - - ">="
238
238
  - !ruby/object:Gem::Version
239
239
  version: '0'
240
240
  - !ruby/object:Gem::Dependency
@@ -242,7 +242,7 @@ dependencies:
242
242
  requirement: !ruby/object:Gem::Requirement
243
243
  none: false
244
244
  requirements:
245
- - - ! '>='
245
+ - - ">="
246
246
  - !ruby/object:Gem::Version
247
247
  version: '0'
248
248
  type: :development
@@ -250,7 +250,7 @@ dependencies:
250
250
  version_requirements: !ruby/object:Gem::Requirement
251
251
  none: false
252
252
  requirements:
253
- - - ! '>='
253
+ - - ">="
254
254
  - !ruby/object:Gem::Version
255
255
  version: '0'
256
256
  - !ruby/object:Gem::Dependency
@@ -258,7 +258,7 @@ dependencies:
258
258
  requirement: !ruby/object:Gem::Requirement
259
259
  none: false
260
260
  requirements:
261
- - - ! '>='
261
+ - - ">="
262
262
  - !ruby/object:Gem::Version
263
263
  version: 1.2.0
264
264
  type: :development
@@ -266,7 +266,7 @@ dependencies:
266
266
  version_requirements: !ruby/object:Gem::Requirement
267
267
  none: false
268
268
  requirements:
269
- - - ! '>='
269
+ - - ">="
270
270
  - !ruby/object:Gem::Version
271
271
  version: 1.2.0
272
272
  - !ruby/object:Gem::Dependency
@@ -274,7 +274,7 @@ dependencies:
274
274
  requirement: !ruby/object:Gem::Requirement
275
275
  none: false
276
276
  requirements:
277
- - - ! '>='
277
+ - - ">="
278
278
  - !ruby/object:Gem::Version
279
279
  version: 2.9.0
280
280
  type: :development
@@ -282,7 +282,7 @@ dependencies:
282
282
  version_requirements: !ruby/object:Gem::Requirement
283
283
  none: false
284
284
  requirements:
285
- - - ! '>='
285
+ - - ">="
286
286
  - !ruby/object:Gem::Version
287
287
  version: 2.9.0
288
288
  - !ruby/object:Gem::Dependency
@@ -290,7 +290,7 @@ dependencies:
290
290
  requirement: !ruby/object:Gem::Requirement
291
291
  none: false
292
292
  requirements:
293
- - - ! '>='
293
+ - - ">="
294
294
  - !ruby/object:Gem::Version
295
295
  version: '0'
296
296
  type: :development
@@ -298,7 +298,7 @@ dependencies:
298
298
  version_requirements: !ruby/object:Gem::Requirement
299
299
  none: false
300
300
  requirements:
301
- - - ! '>='
301
+ - - ">="
302
302
  - !ruby/object:Gem::Version
303
303
  version: '0'
304
304
  description: ActiveFedora provides for creating and managing objects in the Fedora
@@ -311,8 +311,8 @@ extra_rdoc_files:
311
311
  - LICENSE
312
312
  - README.textile
313
313
  files:
314
- - .gitignore
315
- - .gitmodules
314
+ - ".gitignore"
315
+ - ".gitmodules"
316
316
  - CONSOLE_GETTING_STARTED.textile
317
317
  - Gemfile
318
318
  - History.txt
@@ -548,18 +548,18 @@ require_paths:
548
548
  required_ruby_version: !ruby/object:Gem::Requirement
549
549
  none: false
550
550
  requirements:
551
- - - ! '>='
551
+ - - ">="
552
552
  - !ruby/object:Gem::Version
553
553
  version: 1.9.3
554
554
  required_rubygems_version: !ruby/object:Gem::Requirement
555
555
  none: false
556
556
  requirements:
557
- - - ! '>'
557
+ - - ">"
558
558
  - !ruby/object:Gem::Version
559
559
  version: 1.3.1
560
560
  requirements: []
561
561
  rubyforge_project: rubyfedora
562
- rubygems_version: 1.8.24
562
+ rubygems_version: 1.8.25
563
563
  signing_key:
564
564
  specification_version: 3
565
565
  summary: A convenience libary for manipulating documents in the Fedora Repository.