cul-fedora-arm 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.1
1
+ 0.5.2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cul-fedora-arm}
8
- s.version = "0.5.1"
8
+ s.version = "0.5.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["James Stuart"]
12
- s.date = %q{2009-10-21}
12
+ s.date = %q{2009-10-24}
13
13
  s.description = %q{Tools for dealing with Cul ARM specification}
14
14
  s.email = %q{tastyhat@jamesstuart.org}
15
15
  s.extra_rdoc_files = [
@@ -88,7 +88,7 @@ module Cul
88
88
  end
89
89
 
90
90
  def purge(pid)
91
- if(@apim)
91
+ if(@connector)
92
92
  purge = Tasks::PurgeTask.new(pid)
93
93
  purge.post(@connector)
94
94
  end
@@ -229,13 +229,10 @@ class CulFedoraArmBuilderTest < Test::Unit::TestCase
229
229
 
230
230
  # get objects, verify properties
231
231
  if (@assigned)
232
- host, port = @connector.config_for(:rest,:host),@connector.config_for(:rest, :port)
233
- http = Net::HTTP.start(host, port)
234
-
235
232
  @connector.rest_interface do |http|
236
233
  @assigned.each { |pid|
237
234
  resp = http.head("/fedora/get/#{pid}/DC")
238
- assert_equal "200", resp.code, "#{pid} not loaded correctly to repo at #{host}:#{port}... #{resp.code} #{resp.message} "
235
+ assert_equal "200", resp.code, "#{pid} not loaded correctly to repo at #{@connector.rest_location}... #{resp.code} #{resp.message} "
239
236
  }
240
237
  end
241
238
  end
@@ -327,7 +324,7 @@ class CulFedoraArmBuilderTest < Test::Unit::TestCase
327
324
  }
328
325
  end
329
326
  response = @builder.process_parts()
330
-
327
+
331
328
  # get objects, verify properties
332
329
  if (@assigned)
333
330
  @connector.rest_interface do |http|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cul-fedora-arm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Stuart
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-21 00:00:00 -04:00
12
+ date: 2009-10-24 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency