active-fedora 4.4.1 → 4.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active-fedora (4.4.1)
4
+ active-fedora (4.5.0)
5
5
  activeresource (>= 3.0.0)
6
6
  activesupport (>= 3.0.0)
7
7
  deprecation
@@ -11,7 +11,7 @@ PATH
11
11
  rdf
12
12
  rdf-rdfxml (~> 0.3.8)
13
13
  rsolr
14
- rubydora (~> 0.5.11)
14
+ rubydora (~> 0.5.13)
15
15
  solrizer (~> 1.2.0)
16
16
 
17
17
  GEM
@@ -27,14 +27,14 @@ GEM
27
27
  activesupport (3.2.6)
28
28
  i18n (~> 0.6)
29
29
  multi_json (~> 1.0)
30
- addressable (2.2.8)
30
+ addressable (2.3.2)
31
31
  akami (1.2.0)
32
32
  gyoku (>= 0.4.0)
33
33
  nokogiri (>= 1.4.0)
34
34
  backports (2.6.2)
35
35
  builder (3.0.0)
36
- childprocess (0.3.3)
37
- ffi (~> 1.0.6)
36
+ childprocess (0.3.4)
37
+ ffi (~> 1.0, >= 1.0.6)
38
38
  columnize (0.3.6)
39
39
  daemons (1.1.8)
40
40
  deprecation (0.0.5)
@@ -43,14 +43,14 @@ GEM
43
43
  equivalent-xml (0.2.9)
44
44
  nokogiri (>= 1.4.3)
45
45
  fastercsv (1.5.5)
46
- ffi (1.0.11)
46
+ ffi (1.1.0)
47
47
  gyoku (0.4.6)
48
48
  builder (>= 2.1.2)
49
49
  hooks (0.2.0)
50
50
  httpi (1.1.1)
51
51
  rack
52
52
  i18n (0.6.0)
53
- jettywrapper (1.3.0)
53
+ jettywrapper (1.3.1)
54
54
  activesupport (>= 3.0.0)
55
55
  childprocess
56
56
  i18n
@@ -87,20 +87,20 @@ GEM
87
87
  mime-types (>= 1.16)
88
88
  rsolr (1.0.8)
89
89
  builder (>= 2.1.2)
90
- rspec (2.10.0)
91
- rspec-core (~> 2.10.0)
92
- rspec-expectations (~> 2.10.0)
93
- rspec-mocks (~> 2.10.0)
94
- rspec-core (2.10.1)
95
- rspec-expectations (2.10.0)
90
+ rspec (2.11.0)
91
+ rspec-core (~> 2.11.0)
92
+ rspec-expectations (~> 2.11.0)
93
+ rspec-mocks (~> 2.11.0)
94
+ rspec-core (2.11.1)
95
+ rspec-expectations (2.11.1)
96
96
  diff-lcs (~> 1.1.3)
97
- rspec-mocks (2.10.1)
97
+ rspec-mocks (2.11.1)
98
98
  ruby-debug (0.10.4)
99
99
  columnize (>= 0.1)
100
100
  ruby-debug-base (~> 0.10.4.0)
101
101
  ruby-debug-base (0.10.4)
102
102
  linecache (>= 0.3)
103
- rubydora (0.5.11)
103
+ rubydora (0.5.13)
104
104
  activemodel
105
105
  activesupport
106
106
  deprecation
@@ -124,7 +124,7 @@ GEM
124
124
  simplecov-html (0.5.3)
125
125
  simplecov-rcov (0.2.3)
126
126
  simplecov (>= 0.4.1)
127
- solrizer (1.2.1)
127
+ solrizer (1.2.2)
128
128
  daemons
129
129
  mediashelf-loggable (~> 0.4.7)
130
130
  nokogiri
data/History.txt CHANGED
@@ -1,3 +1,10 @@
1
+ 4.5.0
2
+ HYDRA-837: ActiveFedora::Datastreams#has_file_datastream should support :versionable argument
3
+ implement per-class and per-instance defaults from rubydora 0.5.13
4
+ bump to Rubydora 0.5.13
5
+ add has_metadata :autocreate boolean that allows datastream to /not/ be created when a new object is saved
6
+ add an after_rollback handler to update the SolrService when an object is rolled back
7
+
1
8
  4.4.1
2
9
  HYDRA-834 find(:all) should work on ActiveFedora::Base
3
10
  update AF to hide the deprecation warnings introduced in rubydora 0.5.11
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
  s.add_dependency("activesupport", '>= 3.0.0')
23
23
  s.add_dependency("mediashelf-loggable")
24
24
  s.add_dependency("equivalent-xml")
25
- s.add_dependency("rubydora", '~>0.5.11')
25
+ s.add_dependency("rubydora", '~>0.5.13')
26
26
  s.add_dependency("rdf")
27
27
  s.add_dependency("rdf-rdfxml", '~>0.3.8')
28
28
  s.add_dependency("deprecation")
@@ -78,10 +78,20 @@ module ActiveFedora
78
78
 
79
79
  def datastream_from_spec(ds_spec, name)
80
80
  ds = ds_spec[:type].new(inner_object, name)
81
- ds.dsLabel = ds_spec[:label] if ds_spec[:label].present?
82
- ds.controlGroup = ds_spec[:control_group]
83
- ds.versionable = ds_spec[:versionable] unless ds_spec[:versionable].nil?
84
- additional_attributes_for_external_and_redirect_control_groups(ds, ds_spec)
81
+ attributes = {}
82
+
83
+ attributes[:dsLabel] = ds_spec[:label] if ds_spec[:label].present?
84
+ attributes[:controlGroup] = ds_spec[:control_group] if ds_spec[:control_group].present?
85
+ attributes[:versionable] = ds_spec[:versionable] unless ds_spec[:versionable].nil?
86
+ if attributes[:controlGroup]=='E'
87
+ if !ds_spec[:disseminator].present? && ds_spec[:url].present?
88
+ attributes[:dsLocation]= ds_spec[:url]
89
+ end
90
+ elsif attributes[:controlGroup]=='R'
91
+ attributes[:dsLocation]= ds_spec[:url]
92
+ end
93
+ ds.default_attributes = attributes
94
+ ds.datastream_will_change! if ds_spec[:autocreate]
85
95
  ds
86
96
  end
87
97
 
@@ -197,6 +207,7 @@ module ActiveFedora
197
207
  attrs.merge!({:mimeType=>opts[:content_type]})
198
208
  end
199
209
  attrs[:checksumType] = opts[:checksumType] if opts[:checksumType]
210
+ attrs[:versionable] = opts[:versionable] unless opts[:versionable].nil?
200
211
  ds = create_datastream(self.class.datastream_class_for_name(opts[:dsid]), opts[:dsid], attrs)
201
212
  add_datastream(ds)
202
213
  end
@@ -207,8 +218,8 @@ module ActiveFedora
207
218
  klass = type.kind_of?(Class) ? type : type.constantize
208
219
  raise ArgumentError, "Argument dsid must be of type string" unless dsid.kind_of?(String) || dsid.kind_of?(NilClass)
209
220
  ds = klass.new(inner_object, dsid)
210
- [:mimeType, :controlGroup, :dsLabel, :dsLocation, :checksumType].each do |key|
211
- ds.send("#{key}=".to_sym, opts[key]) if opts[key]
221
+ [:mimeType, :controlGroup, :dsLabel, :dsLocation, :checksumType, :versionable].each do |key|
222
+ ds.send("#{key}=".to_sym, opts[key]) unless opts[key].nil?
212
223
  end
213
224
  blob = opts[:blob]
214
225
  if blob
@@ -250,13 +261,14 @@ module ActiveFedora
250
261
  # @option args [Class] :type The class that will represent this datastream, should extend ``Datastream''
251
262
  # @option args [String] :name the handle to refer to this datastream as
252
263
  # @option args [String] :label sets the fedora label
253
- # @option args [String] :control_group ('X') must be one of 'E', 'X', 'M', 'R'
264
+ # @option args [String] :control_group must be one of 'E', 'X', 'M', 'R'
254
265
  # @option args [String] :disseminator Sets the disseminator location see {#add_disseminator_location_to_datastreams}
255
266
  # @option args [String] :url
256
- # @option args [Boolean] :versionable (true) Should versioned datastreams be stored
267
+ # @option args [Boolean] :autocreate Always create this datastream on new objects
268
+ # @option args [Boolean] :versionable Should versioned datastreams be stored
257
269
  # @yield block executed by some kinds of datastreams
258
270
  def has_metadata(args, &block)
259
- spec = {:type => args[:type], :label => args.fetch(:label,""), :control_group => args.fetch(:control_group,"X"), :disseminator => args.fetch(:disseminator,""), :url => args.fetch(:url,""),:block => block}
271
+ spec = {:autocreate => args.fetch(:autocreate, true), :type => args[:type], :label => args.fetch(:label,""), :control_group => args[:control_group], :disseminator => args.fetch(:disseminator,""), :url => args.fetch(:url,""),:block => block}
260
272
  spec[:versionable] = args[:versionable] if args.has_key? :versionable
261
273
  ds_specs[args[:name]]= spec
262
274
  end
@@ -268,12 +280,13 @@ module ActiveFedora
268
280
  # @option args :type (ActiveFedora::Datastream) The class the datastream should have
269
281
  # @option args :label ("File Datastream") The default value to put in the dsLabel field
270
282
  # @option args :control_group ("M") The type of controlGroup to store the datastream as. Defaults to M
283
+ # @option args [Boolean] :autocreate Always create this datastream on new objects
284
+ # @option args [Boolean] :versionable Should versioned datastreams be stored
271
285
  def has_file_datastream(args = {})
272
- ds_specs[args.fetch(:name, "content")]= {
273
- :type => args.fetch(:type,ActiveFedora::Datastream),
274
- :label => args.fetch(:label,"File Datastream"),
275
- :control_group => args.fetch(:control_group,"M")
276
- }
286
+ spec = {:autocreate => args.fetch(:autocreate, true), :type => args.fetch(:type,ActiveFedora::Datastream),
287
+ :label => args.fetch(:label,"File Datastream"), :control_group => args.fetch(:control_group,"M")}
288
+ spec[:versionable] = args[:versionable] if args.has_key? :versionable
289
+ ds_specs[args.fetch(:name, "content")]= spec
277
290
  end
278
291
  end
279
292
 
@@ -17,6 +17,10 @@ module ActiveFedora
17
17
 
18
18
  attr_accessor :internal_solr_doc
19
19
 
20
+ def self.default_attributes
21
+ super.merge(:controlGroup => 'X', :mimeType => 'text/xml')
22
+ end
23
+
20
24
  # Create an instance of this class based on xml content
21
25
  # @param [String, File, Nokogiri::XML::Node] xml the xml content to build from
22
26
  # @param [ActiveFedora::MetadataDatastream] tmpl the Datastream object that you are building @default a new instance of this class
@@ -2,16 +2,12 @@ require 'rdf/ntriples'
2
2
 
3
3
  module ActiveFedora
4
4
  class NtriplesRDFDatastream < RDFDatastream
5
- def serialization_format
6
- :ntriples
7
- end
8
-
9
- def mimeType
10
- 'text/plain'
5
+ def self.default_attributes
6
+ super.merge(:controlGroup => 'M', :mimeType => 'text/plain')
11
7
  end
12
8
 
13
- def controlGroup
14
- 'M'
9
+ def serialization_format
10
+ :ntriples
15
11
  end
16
12
  end
17
13
  end
@@ -17,6 +17,22 @@ module ActiveFedora
17
17
  client_options = options.reject { |k,v| not allowable_options.include?(k) }
18
18
  #puts "CLIENT OPTS #{client_options.inspect}"
19
19
  @connection = Rubydora.connect client_options
20
+
21
+ Rubydora::Transaction.after_rollback do |options|
22
+ begin
23
+ case options[:method]
24
+ when :ingest
25
+ solr = ActiveFedora::SolrService.instance.conn
26
+ solr.delete_by_id(options[:pid])
27
+ solr.commit
28
+ else
29
+ ActiveFedora::Base.find(options[:pid], :cast=>true).update_index
30
+ end
31
+ rescue
32
+ # no-op
33
+ end
34
+
35
+ end
20
36
  end
21
37
  end
22
38
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveFedora
2
- VERSION = "4.4.1"
2
+ VERSION = "4.5.0"
3
3
  end
@@ -76,9 +76,10 @@ describe ActiveFedora::Base do
76
76
  mock_file = stub("File", :path=>'foo')
77
77
  mock_ds = stub_everything("Datastream")
78
78
  mock_ds.expects(:dsLabel=).with('My Label')
79
+ mock_ds.expects(:versionable=).with(false)
79
80
  ActiveFedora::Datastream.expects(:new).with(@base.inner_object, '__DSID__').returns(mock_ds)
80
81
  @base.expects(:add_datastream).with(mock_ds)
81
- @base.add_file_datastream(mock_file, :label => "My Label", :dsid => "__DSID__")
82
+ @base.add_file_datastream(mock_file, :label => "My Label", :dsid => "__DSID__", :versionable => false)
82
83
  end
83
84
 
84
85
  end
@@ -57,7 +57,9 @@ describe ActiveFedora::Datastreams do
57
57
  end
58
58
  it "should be able to set versionable to false" do
59
59
  FooHistory.has_metadata :type=>ActiveFedora::Datastream, :name=>'new_ds', :versionable=>false
60
+ FooHistory.has_file_datastream :type=>ActiveFedora::Datastream, :name=>'newer_ds', :versionable=>false
60
61
  FooHistory.ds_specs['new_ds'][:versionable].should be_false
62
+ FooHistory.ds_specs['newer_ds'][:versionable].should be_false
61
63
  end
62
64
  it "should be able to set versionable to true" do
63
65
  FooHistory.has_metadata :type=>ActiveFedora::Datastream, :name=>'new_ds', :versionable=>true
@@ -71,7 +73,7 @@ describe ActiveFedora::Datastreams do
71
73
  end
72
74
 
73
75
  describe "creates datastreams" do
74
- before do
76
+ before(:each) do
75
77
  class FooHistory < ActiveFedora::Base
76
78
  has_metadata :type=>ActiveFedora::SimpleDatastream, :name=>"someData" do |m|
77
79
  m.field "fubar", :string
@@ -80,22 +82,36 @@ describe ActiveFedora::Datastreams do
80
82
  has_metadata :type=>ActiveFedora::SimpleDatastream, :name=>"withText2", :label=>"withLabel" do |m|
81
83
  m.field "fubar", :text
82
84
  end
85
+
86
+ has_metadata :type=>ActiveFedora::SimpleDatastream, :name=>"no_autocreate", :autocreate => false, :label=>"withLabel" do |m|
87
+ m.field "fubar", :text
88
+ end
83
89
  end
84
90
  stub_ingest(@this_pid)
85
- stub_add_ds(@this_pid, ['RELS-EXT', 'someData', 'withText', 'withText2'])
91
+ stub_add_ds(@this_pid, ['RELS-EXT', 'someData', 'withText', 'withText2','no_autocreate'])
86
92
 
87
93
  @n = FooHistory.new()
88
94
  FooHistory.stubs(:assign_pid).returns(@this_pid)
89
95
  @n.datastreams['RELS-EXT'].expects(:changed?).returns(true).at_least_once
90
96
  @n.expects(:update_index)
91
- @n.save
92
97
  end
93
98
 
94
99
  after do
95
100
  Object.send(:remove_const, :FooHistory)
96
101
  end
97
102
 
103
+ it "should respect autocreate => false" do
104
+ @n.datastreams['no_autocreate'].expects(:save).never
105
+ @n.save
106
+ end
107
+
108
+ it "should default to autocreating datastreams" do
109
+ @n.datastreams['someData'].expects(:save).once
110
+ @n.save
111
+ end
112
+
98
113
  it "should create specified datastreams with specified fields" do
114
+ @n.save
99
115
  @n.datastreams["someData"].should_not be_nil
100
116
  @n.datastreams["someData"].fubar='bar'
101
117
  @n.datastreams["someData"].fubar.should == ['bar']
@@ -176,8 +176,8 @@ describe ActiveFedora::NokogiriDatastream do
176
176
  end
177
177
  it "should persist the product of .to_xml in fedora" do
178
178
  @test_ds.expects(:new?).returns(true).twice
179
- @mock_repo.expects(:datastream).with(:pid => nil, :dsid => 'descMetadata').returns('')
180
- @mock_repo.expects(:add_datastream).with(:pid => nil, :dsid => 'descMetadata', :versionable => true, :content => 'fake xml', :controlGroup => 'M', :dsState => 'A', :mimeType=>'text/xml')
179
+ @mock_repo.expects(:datastream).with(:pid => nil, :dsid => 'descMetadata').returns('').twice
180
+ @mock_repo.expects(:add_datastream).with(:pid => nil, :dsid => 'descMetadata', :versionable => true, :content => 'fake xml', :controlGroup => 'X', :dsState => 'A', :mimeType=>'text/xml')
181
181
  @test_ds.expects(:to_xml).returns("fake xml")
182
182
  @test_ds.serialize!
183
183
  @test_ds.save
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: 4.4.1
4
+ version: 4.5.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-07-20 00:00:00.000000000 Z
14
+ date: 2012-07-30 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rsolr
18
- requirement: &77306850 !ruby/object:Gem::Requirement
18
+ requirement: &70314100 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: '0'
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *77306850
26
+ version_requirements: *70314100
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: om
29
- requirement: &77306370 !ruby/object:Gem::Requirement
29
+ requirement: &70313470 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ~>
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: 1.6.0
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *77306370
37
+ version_requirements: *70313470
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: solrizer
40
- requirement: &77305870 !ruby/object:Gem::Requirement
40
+ requirement: &70312920 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ~>
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: 1.2.0
46
46
  type: :runtime
47
47
  prerelease: false
48
- version_requirements: *77305870
48
+ version_requirements: *70312920
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: activeresource
51
- requirement: &77305030 !ruby/object:Gem::Requirement
51
+ requirement: &70312340 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ! '>='
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: 3.0.0
57
57
  type: :runtime
58
58
  prerelease: false
59
- version_requirements: *77305030
59
+ version_requirements: *70312340
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: activesupport
62
- requirement: &77304400 !ruby/object:Gem::Requirement
62
+ requirement: &70311800 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ! '>='
@@ -67,10 +67,10 @@ dependencies:
67
67
  version: 3.0.0
68
68
  type: :runtime
69
69
  prerelease: false
70
- version_requirements: *77304400
70
+ version_requirements: *70311800
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: mediashelf-loggable
73
- requirement: &77303790 !ruby/object:Gem::Requirement
73
+ requirement: &70311340 !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
76
  - - ! '>='
@@ -78,10 +78,10 @@ dependencies:
78
78
  version: '0'
79
79
  type: :runtime
80
80
  prerelease: false
81
- version_requirements: *77303790
81
+ version_requirements: *70311340
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: equivalent-xml
84
- requirement: &77758110 !ruby/object:Gem::Requirement
84
+ requirement: &70310980 !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
87
87
  - - ! '>='
@@ -89,21 +89,21 @@ dependencies:
89
89
  version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
- version_requirements: *77758110
92
+ version_requirements: *70310980
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: rubydora
95
- requirement: &77757570 !ruby/object:Gem::Requirement
95
+ requirement: &70326080 !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
98
98
  - - ~>
99
99
  - !ruby/object:Gem::Version
100
- version: 0.5.11
100
+ version: 0.5.13
101
101
  type: :runtime
102
102
  prerelease: false
103
- version_requirements: *77757570
103
+ version_requirements: *70326080
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: rdf
106
- requirement: &77757000 !ruby/object:Gem::Requirement
106
+ requirement: &70324750 !ruby/object:Gem::Requirement
107
107
  none: false
108
108
  requirements:
109
109
  - - ! '>='
@@ -111,10 +111,10 @@ dependencies:
111
111
  version: '0'
112
112
  type: :runtime
113
113
  prerelease: false
114
- version_requirements: *77757000
114
+ version_requirements: *70324750
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: rdf-rdfxml
117
- requirement: &77755670 !ruby/object:Gem::Requirement
117
+ requirement: &70324180 !ruby/object:Gem::Requirement
118
118
  none: false
119
119
  requirements:
120
120
  - - ~>
@@ -122,10 +122,10 @@ dependencies:
122
122
  version: 0.3.8
123
123
  type: :runtime
124
124
  prerelease: false
125
- version_requirements: *77755670
125
+ version_requirements: *70324180
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: deprecation
128
- requirement: &77755040 !ruby/object:Gem::Requirement
128
+ requirement: &70323690 !ruby/object:Gem::Requirement
129
129
  none: false
130
130
  requirements:
131
131
  - - ! '>='
@@ -133,10 +133,10 @@ dependencies:
133
133
  version: '0'
134
134
  type: :runtime
135
135
  prerelease: false
136
- version_requirements: *77755040
136
+ version_requirements: *70323690
137
137
  - !ruby/object:Gem::Dependency
138
138
  name: yard
139
- requirement: &77754090 !ruby/object:Gem::Requirement
139
+ requirement: &70323230 !ruby/object:Gem::Requirement
140
140
  none: false
141
141
  requirements:
142
142
  - - ! '>='
@@ -144,10 +144,10 @@ dependencies:
144
144
  version: '0'
145
145
  type: :development
146
146
  prerelease: false
147
- version_requirements: *77754090
147
+ version_requirements: *70323230
148
148
  - !ruby/object:Gem::Dependency
149
149
  name: RedCloth
150
- requirement: &77753270 !ruby/object:Gem::Requirement
150
+ requirement: &70322820 !ruby/object:Gem::Requirement
151
151
  none: false
152
152
  requirements:
153
153
  - - ! '>='
@@ -155,10 +155,10 @@ dependencies:
155
155
  version: '0'
156
156
  type: :development
157
157
  prerelease: false
158
- version_requirements: *77753270
158
+ version_requirements: *70322820
159
159
  - !ruby/object:Gem::Dependency
160
160
  name: rake
161
- requirement: &77752250 !ruby/object:Gem::Requirement
161
+ requirement: &70322440 !ruby/object:Gem::Requirement
162
162
  none: false
163
163
  requirements:
164
164
  - - ! '>='
@@ -166,10 +166,10 @@ dependencies:
166
166
  version: '0'
167
167
  type: :development
168
168
  prerelease: false
169
- version_requirements: *77752250
169
+ version_requirements: *70322440
170
170
  - !ruby/object:Gem::Dependency
171
171
  name: jettywrapper
172
- requirement: &77751360 !ruby/object:Gem::Requirement
172
+ requirement: &70321930 !ruby/object:Gem::Requirement
173
173
  none: false
174
174
  requirements:
175
175
  - - ! '>='
@@ -177,10 +177,10 @@ dependencies:
177
177
  version: 1.2.0
178
178
  type: :development
179
179
  prerelease: false
180
- version_requirements: *77751360
180
+ version_requirements: *70321930
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: rspec
183
- requirement: &77750230 !ruby/object:Gem::Requirement
183
+ requirement: &70321440 !ruby/object:Gem::Requirement
184
184
  none: false
185
185
  requirements:
186
186
  - - ! '>='
@@ -188,10 +188,10 @@ dependencies:
188
188
  version: 2.9.0
189
189
  type: :development
190
190
  prerelease: false
191
- version_requirements: *77750230
191
+ version_requirements: *70321440
192
192
  - !ruby/object:Gem::Dependency
193
193
  name: mocha
194
- requirement: &77766090 !ruby/object:Gem::Requirement
194
+ requirement: &70320850 !ruby/object:Gem::Requirement
195
195
  none: false
196
196
  requirements:
197
197
  - - =
@@ -199,7 +199,7 @@ dependencies:
199
199
  version: 0.10.5
200
200
  type: :development
201
201
  prerelease: false
202
- version_requirements: *77766090
202
+ version_requirements: *70320850
203
203
  description: ActiveFedora provides for creating and managing objects in the Fedora
204
204
  Repository Architecture.
205
205
  email:
@@ -438,7 +438,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
438
438
  version: '0'
439
439
  segments:
440
440
  - 0
441
- hash: -434881585
441
+ hash: -1062092177
442
442
  required_rubygems_version: !ruby/object:Gem::Requirement
443
443
  none: false
444
444
  requirements:
@@ -447,7 +447,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
447
447
  version: '0'
448
448
  segments:
449
449
  - 0
450
- hash: -434881585
450
+ hash: -1062092177
451
451
  requirements: []
452
452
  rubyforge_project: rubyfedora
453
453
  rubygems_version: 1.8.15