akamai 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/akamai.rb +2 -2
  3. metadata +2 -3
  4. data/akamai.gemspec +0 -54
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -30,9 +30,9 @@ module Akamai
30
30
  end
31
31
 
32
32
  def self.purge(*urls)
33
- driver = SOAP::WSDLDriverFactory.new(WSDL_URL).create_rpc_driver
33
+ driver = SOAP::WSDLDriverFactory.new(self.configuration.wsdl_url).create_rpc_driver
34
34
  driver.options['protocol.http.ssl_config.verify_mode'] = OpenSSL::SSL::VERIFY_NONE
35
- driver.options["protocol.http.basic_auth"] << [WSDL_URL, self.configuration.cachecontrol_username, self.configuration.cachecontrol_password]
35
+ driver.options["protocol.http.basic_auth"] << [self.configuration.wsdl_url, self.configuration.cachecontrol_username, self.configuration.cachecontrol_password]
36
36
  result = driver.purgeRequest(self.configuration.cachecontrol_username, self.configuration.cachecontrol_password, '', [], urls)
37
37
  return result.resultCode == '100'
38
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: akamai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jay Zeschin
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-05 00:00:00 -07:00
12
+ date: 2010-02-10 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -38,7 +38,6 @@ files:
38
38
  - README.rdoc
39
39
  - Rakefile
40
40
  - VERSION
41
- - akamai.gemspec
42
41
  - lib/akamai.rb
43
42
  - test/helper.rb
44
43
  - test/test_akamai.rb
@@ -1,54 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{akamai}
8
- s.version = "0.0.2"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Jay Zeschin"]
12
- s.date = %q{2010-02-05}
13
- s.description = %q{Simple library for interacting with Akamai NetStorage and EdgeSuite caches}
14
- s.email = %q{jay.zeschin@factorylabs.com}
15
- s.extra_rdoc_files = [
16
- "LICENSE",
17
- "README.rdoc"
18
- ]
19
- s.files = [
20
- ".document",
21
- ".gitignore",
22
- "LICENSE",
23
- "README.rdoc",
24
- "Rakefile",
25
- "VERSION",
26
- "akamai.gemspec",
27
- "lib/akamai.rb",
28
- "test/helper.rb",
29
- "test/test_akamai.rb"
30
- ]
31
- s.homepage = %q{http://github.com/jayzes/akamai}
32
- s.rdoc_options = ["--charset=UTF-8"]
33
- s.require_paths = ["lib"]
34
- s.rubygems_version = %q{1.3.5}
35
- s.summary = %q{Simple library for interacting with Akamai NetStorage and EdgeSuite caches}
36
- s.test_files = [
37
- "test/helper.rb",
38
- "test/test_akamai.rb"
39
- ]
40
-
41
- if s.respond_to? :specification_version then
42
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
43
- s.specification_version = 3
44
-
45
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
46
- s.add_runtime_dependency(%q<soap4r>, [">= 0"])
47
- else
48
- s.add_dependency(%q<soap4r>, [">= 0"])
49
- end
50
- else
51
- s.add_dependency(%q<soap4r>, [">= 0"])
52
- end
53
- end
54
-