fastly 0.99 → 1.00
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.
- checksums.yaml +7 -0
- data/Changes +4 -0
- data/lib/fastly.rb +1 -1
- data/lib/fastly/version.rb +8 -1
- metadata +10 -45
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA512:
|
|
3
|
+
data.tar.gz: 173bc2e9d43fbf193a73830700cbd0909e8999a204605330cfbfb9b8d773aacde089c9902f98ddedaad8166d8d412e2475c44bc784e7d0884a61b6c8599d7fd2
|
|
4
|
+
metadata.gz: 68c1f14d18fd3894e3c15864509db3984f57a4dde8a9b804ffe20b24df981d3512eb4f7446042971d677d138017ec1a092fe022bc2036c89ee8a90c24af84bc9
|
|
5
|
+
SHA1:
|
|
6
|
+
data.tar.gz: 3090d1395750ed869ebd3cc8947d38c688f99217
|
|
7
|
+
metadata.gz: 43141d3014baaca138f007d90e1de1411e80bf2a
|
data/Changes
CHANGED
data/lib/fastly.rb
CHANGED
data/lib/fastly/version.rb
CHANGED
|
@@ -128,6 +128,13 @@ class Fastly
|
|
|
128
128
|
fetcher.get_vcl(service_id, number, name, opts)
|
|
129
129
|
end
|
|
130
130
|
|
|
131
|
+
# Delete a VCL file for this Version
|
|
132
|
+
def delete_vcl(name)
|
|
133
|
+
hash = fetcher.client.delete(Fastly::Version.put_path(self)+"/vcl/" + name )
|
|
134
|
+
return nil if hash.nil?
|
|
135
|
+
return hash
|
|
136
|
+
end
|
|
137
|
+
|
|
131
138
|
# Validate this Version
|
|
132
139
|
def validate
|
|
133
140
|
hash = fetcher.client.get(Fastly::Version.put_path(self)+"/validate")
|
|
@@ -152,4 +159,4 @@ class Fastly
|
|
|
152
159
|
put_path(obj)
|
|
153
160
|
end
|
|
154
161
|
end
|
|
155
|
-
end
|
|
162
|
+
end
|
metadata
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastly
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
prerelease:
|
|
6
|
-
segments:
|
|
7
|
-
- 0
|
|
8
|
-
- 99
|
|
9
|
-
version: "0.99"
|
|
4
|
+
version: "1.00"
|
|
10
5
|
platform: ruby
|
|
11
6
|
authors:
|
|
12
7
|
- Fastly Inc
|
|
@@ -14,19 +9,16 @@ autorequire:
|
|
|
14
9
|
bindir: bin
|
|
15
10
|
cert_chain: []
|
|
16
11
|
|
|
17
|
-
date:
|
|
12
|
+
date: 2013-07-16 00:00:00 Z
|
|
18
13
|
dependencies:
|
|
19
14
|
- !ruby/object:Gem::Dependency
|
|
20
15
|
name: json
|
|
21
16
|
prerelease: false
|
|
22
17
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
23
|
-
none: false
|
|
24
18
|
requirements:
|
|
25
|
-
-
|
|
19
|
+
- &id005
|
|
20
|
+
- ">="
|
|
26
21
|
- !ruby/object:Gem::Version
|
|
27
|
-
hash: 3
|
|
28
|
-
segments:
|
|
29
|
-
- 0
|
|
30
22
|
version: "0"
|
|
31
23
|
type: :runtime
|
|
32
24
|
version_requirements: *id001
|
|
@@ -34,15 +26,9 @@ dependencies:
|
|
|
34
26
|
name: curb
|
|
35
27
|
prerelease: false
|
|
36
28
|
requirement: &id002 !ruby/object:Gem::Requirement
|
|
37
|
-
none: false
|
|
38
29
|
requirements:
|
|
39
30
|
- - ">="
|
|
40
31
|
- !ruby/object:Gem::Version
|
|
41
|
-
hash: 29
|
|
42
|
-
segments:
|
|
43
|
-
- 0
|
|
44
|
-
- 7
|
|
45
|
-
- 15
|
|
46
32
|
version: 0.7.15
|
|
47
33
|
type: :runtime
|
|
48
34
|
version_requirements: *id002
|
|
@@ -50,15 +36,9 @@ dependencies:
|
|
|
50
36
|
name: curb-fu
|
|
51
37
|
prerelease: false
|
|
52
38
|
requirement: &id003 !ruby/object:Gem::Requirement
|
|
53
|
-
none: false
|
|
54
39
|
requirements:
|
|
55
40
|
- - ">="
|
|
56
41
|
- !ruby/object:Gem::Version
|
|
57
|
-
hash: 5
|
|
58
|
-
segments:
|
|
59
|
-
- 0
|
|
60
|
-
- 6
|
|
61
|
-
- 1
|
|
62
42
|
version: 0.6.1
|
|
63
43
|
type: :runtime
|
|
64
44
|
version_requirements: *id003
|
|
@@ -66,14 +46,9 @@ dependencies:
|
|
|
66
46
|
name: rdoc
|
|
67
47
|
prerelease: false
|
|
68
48
|
requirement: &id004 !ruby/object:Gem::Requirement
|
|
69
|
-
none: false
|
|
70
49
|
requirements:
|
|
71
50
|
- - ">="
|
|
72
51
|
- !ruby/object:Gem::Version
|
|
73
|
-
hash: 17
|
|
74
|
-
segments:
|
|
75
|
-
- 3
|
|
76
|
-
- 11
|
|
77
52
|
version: "3.11"
|
|
78
53
|
type: :runtime
|
|
79
54
|
version_requirements: *id004
|
|
@@ -121,35 +96,25 @@ files:
|
|
|
121
96
|
homepage: http://github.com/fastly/fastly-ruby
|
|
122
97
|
licenses: []
|
|
123
98
|
|
|
99
|
+
metadata: {}
|
|
100
|
+
|
|
124
101
|
post_install_message:
|
|
125
102
|
rdoc_options: []
|
|
126
103
|
|
|
127
104
|
require_paths:
|
|
128
105
|
- lib
|
|
129
106
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
130
|
-
none: false
|
|
131
107
|
requirements:
|
|
132
|
-
-
|
|
133
|
-
- !ruby/object:Gem::Version
|
|
134
|
-
hash: 3
|
|
135
|
-
segments:
|
|
136
|
-
- 0
|
|
137
|
-
version: "0"
|
|
108
|
+
- *id005
|
|
138
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
|
-
none: false
|
|
140
110
|
requirements:
|
|
141
|
-
-
|
|
142
|
-
- !ruby/object:Gem::Version
|
|
143
|
-
hash: 3
|
|
144
|
-
segments:
|
|
145
|
-
- 0
|
|
146
|
-
version: "0"
|
|
111
|
+
- *id005
|
|
147
112
|
requirements: []
|
|
148
113
|
|
|
149
114
|
rubyforge_project:
|
|
150
|
-
rubygems_version:
|
|
115
|
+
rubygems_version: 2.0.5
|
|
151
116
|
signing_key:
|
|
152
|
-
specification_version:
|
|
117
|
+
specification_version: 4
|
|
153
118
|
summary: Client library for the Fastly acceleration system
|
|
154
119
|
test_files:
|
|
155
120
|
- test/admin_test.rb
|