akamai_api 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 73cef131d80417eed0e7de2d302dfc742c3a858b
4
+ data.tar.gz: c13ca6c1ee5a6b24521a186f717ab4f0e6d60e7a
5
+ SHA512:
6
+ metadata.gz: f6d2774462ee3b49ec37f6ff919141614febc88fce1b52e76f0f24084d41d72467243ab286030585689c8d6058ab141f9ff4cd1c4221374fc8e3f799d70810e7
7
+ data.tar.gz: d9f1d79623c847db65875005a1ccd3061cb1cd64aaf03438e9e1103a93ac3c91019987624392ab7dd71fda2445abe192d1f13477db6436f973b5bd0494599309
data/.gitignore CHANGED
@@ -18,3 +18,4 @@ tmp
18
18
  spec/auth.rb
19
19
  Gemfile.lock
20
20
  bin/stubs/
21
+ .idea/**
data/README.md CHANGED
@@ -141,7 +141,7 @@ e.g.
141
141
  ```ruby
142
142
  ccu = AkamaiApi::Ccu
143
143
 
144
- ccu.invalidate_cpcodes cpcodes # => wrapper to call .purge :invalidate, :cpcode
144
+ ccu.invalidate_cpcode cpcodes # => wrapper to call .purge :invalidate, :cpcode
145
145
  ccu.invalidate_arl arls # => wrapper to call .purge :invalidate, :arl
146
146
  ccu.invalidate :arl, arls # => wrapper to call .purge :invalidate
147
147
 
@@ -190,4 +190,4 @@ You can specify the following optional arguments in args: file_name, notes, vers
190
190
  })
191
191
  ```
192
192
 
193
- - Run specs with `thor spec`
193
+ - Run specs with `thor spec`
@@ -1,3 +1,3 @@
1
1
  module AkamaiApi
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -5,7 +5,7 @@ module AkamaiApi
5
5
  include SavonTester
6
6
 
7
7
  before do
8
- savon.expects('wsdl:purgeRequest').returns(:success)
8
+ savon.expects('wsdl:purgeRequest').returns :body => Savon::Spec::Fixture['purge_request', 'success']
9
9
  stub_savon_model Ccu
10
10
  end
11
11
 
metadata CHANGED
@@ -1,22 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: akamai_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
5
- prerelease:
4
+ version: 0.0.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Nicola Racco
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-03-05 00:00:00.000000000 Z
11
+ date: 2013-04-29 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: activesupport
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 2.3.9
22
20
  - - <
@@ -25,9 +23,8 @@ dependencies:
25
23
  type: :runtime
26
24
  prerelease: false
27
25
  version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
26
  requirements:
30
- - - ! '>='
27
+ - - '>='
31
28
  - !ruby/object:Gem::Version
32
29
  version: 2.3.9
33
30
  - - <
@@ -36,9 +33,8 @@ dependencies:
36
33
  - !ruby/object:Gem::Dependency
37
34
  name: thor
38
35
  requirement: !ruby/object:Gem::Requirement
39
- none: false
40
36
  requirements:
41
- - - ! '>='
37
+ - - '>='
42
38
  - !ruby/object:Gem::Version
43
39
  version: 0.14.0
44
40
  - - <
@@ -47,9 +43,8 @@ dependencies:
47
43
  type: :runtime
48
44
  prerelease: false
49
45
  version_requirements: !ruby/object:Gem::Requirement
50
- none: false
51
46
  requirements:
52
- - - ! '>='
47
+ - - '>='
53
48
  - !ruby/object:Gem::Version
54
49
  version: 0.14.0
55
50
  - - <
@@ -58,7 +53,6 @@ dependencies:
58
53
  - !ruby/object:Gem::Dependency
59
54
  name: savon
60
55
  requirement: !ruby/object:Gem::Requirement
61
- none: false
62
56
  requirements:
63
57
  - - ~>
64
58
  - !ruby/object:Gem::Version
@@ -66,7 +60,6 @@ dependencies:
66
60
  type: :runtime
67
61
  prerelease: false
68
62
  version_requirements: !ruby/object:Gem::Requirement
69
- none: false
70
63
  requirements:
71
64
  - - ~>
72
65
  - !ruby/object:Gem::Version
@@ -74,7 +67,6 @@ dependencies:
74
67
  - !ruby/object:Gem::Dependency
75
68
  name: builder
76
69
  requirement: !ruby/object:Gem::Requirement
77
- none: false
78
70
  requirements:
79
71
  - - ~>
80
72
  - !ruby/object:Gem::Version
@@ -82,7 +74,6 @@ dependencies:
82
74
  type: :runtime
83
75
  prerelease: false
84
76
  version_requirements: !ruby/object:Gem::Requirement
85
- none: false
86
77
  requirements:
87
78
  - - ~>
88
79
  - !ruby/object:Gem::Version
@@ -90,7 +81,6 @@ dependencies:
90
81
  - !ruby/object:Gem::Dependency
91
82
  name: rspec
92
83
  requirement: !ruby/object:Gem::Requirement
93
- none: false
94
84
  requirements:
95
85
  - - ~>
96
86
  - !ruby/object:Gem::Version
@@ -98,7 +88,6 @@ dependencies:
98
88
  type: :development
99
89
  prerelease: false
100
90
  version_requirements: !ruby/object:Gem::Requirement
101
- none: false
102
91
  requirements:
103
92
  - - ~>
104
93
  - !ruby/object:Gem::Version
@@ -106,7 +95,6 @@ dependencies:
106
95
  - !ruby/object:Gem::Dependency
107
96
  name: savon_spec
108
97
  requirement: !ruby/object:Gem::Requirement
109
- none: false
110
98
  requirements:
111
99
  - - ~>
112
100
  - !ruby/object:Gem::Version
@@ -114,7 +102,6 @@ dependencies:
114
102
  type: :development
115
103
  prerelease: false
116
104
  version_requirements: !ruby/object:Gem::Requirement
117
- none: false
118
105
  requirements:
119
106
  - - ~>
120
107
  - !ruby/object:Gem::Version
@@ -156,11 +143,11 @@ files:
156
143
  - spec/fixtures/get_cp_codes/sample_one_item.xml
157
144
  - spec/fixtures/get_ids/success.xml
158
145
  - spec/fixtures/get_info/success.xml
146
+ - spec/fixtures/purge_request/success.xml
159
147
  - spec/fixtures/set_notes/success.xml
160
148
  - spec/fixtures/set_status_change_email/success.xml
161
149
  - spec/fixtures/upload/fault.xml
162
150
  - spec/fixtures/upload/success.xml
163
- - spec/fixtures/wsdl:purge_request/success.xml
164
151
  - spec/lib/akamai_api/ccu_spec.rb
165
152
  - spec/lib/akamai_api/cp_code_spec.rb
166
153
  - spec/lib/akamai_api/eccu_request_spec.rb
@@ -170,33 +157,26 @@ files:
170
157
  - wsdls/ccuapi.wsdl
171
158
  homepage: ''
172
159
  licenses: []
160
+ metadata: {}
173
161
  post_install_message:
174
162
  rdoc_options: []
175
163
  require_paths:
176
164
  - lib
177
165
  required_ruby_version: !ruby/object:Gem::Requirement
178
- none: false
179
166
  requirements:
180
- - - ! '>='
167
+ - - '>='
181
168
  - !ruby/object:Gem::Version
182
169
  version: '0'
183
- segments:
184
- - 0
185
- hash: -381323867441421978
186
170
  required_rubygems_version: !ruby/object:Gem::Requirement
187
- none: false
188
171
  requirements:
189
- - - ! '>='
172
+ - - '>='
190
173
  - !ruby/object:Gem::Version
191
174
  version: '0'
192
- segments:
193
- - 0
194
- hash: -381323867441421978
195
175
  requirements: []
196
176
  rubyforge_project:
197
- rubygems_version: 1.8.24
177
+ rubygems_version: 2.0.3
198
178
  signing_key:
199
- specification_version: 3
179
+ specification_version: 4
200
180
  summary: Ruby toolkit to work with Akamai Content Control Utility API
201
181
  test_files:
202
182
  - spec/fixtures/delete/success.xml
@@ -205,11 +185,11 @@ test_files:
205
185
  - spec/fixtures/get_cp_codes/sample_one_item.xml
206
186
  - spec/fixtures/get_ids/success.xml
207
187
  - spec/fixtures/get_info/success.xml
188
+ - spec/fixtures/purge_request/success.xml
208
189
  - spec/fixtures/set_notes/success.xml
209
190
  - spec/fixtures/set_status_change_email/success.xml
210
191
  - spec/fixtures/upload/fault.xml
211
192
  - spec/fixtures/upload/success.xml
212
- - spec/fixtures/wsdl:purge_request/success.xml
213
193
  - spec/lib/akamai_api/ccu_spec.rb
214
194
  - spec/lib/akamai_api/cp_code_spec.rb
215
195
  - spec/lib/akamai_api/eccu_request_spec.rb