netdnarws 0.3.3 → 0.3.4
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 +8 -8
- data/Gemfile +1 -1
- data/VERSION +1 -1
- data/lib/netdnarws.rb +0 -15
- data/lib/netdnarws/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZmJhNDc3NjIyMjZkYzc4MzFlZGQxZjY0ZWMwZDQ4YjlmODlkMTBkZg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZGY4YTE2MGE4YzFkOWRhYTc4NDQ1N2YzYWZkOTllMmQ3ZGEzMDk2ZQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
YzNkYTZhM2E4NDk5ZGEwM2NiM2I1YjNmMmY4MGNmYzMyMmYwNTgwYjgxZDhm
|
|
10
|
+
NzkxMDM4MDliODMyM2ZiYTlkMWQ3MmVhMzBlYmIwMjZhZjgzNGY0ZTYzNmJj
|
|
11
|
+
MmRhZjgxMmE0YzM0MDZhM2QzNmMyNTE2Mzg3NTIxZmY4ZjA1ZWY=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
M2U4NWFmMzViODE4OTgzNjg0ODc2OWM5ZWY4Yjg4MGJjNTcyNjUzZjU0NDEx
|
|
14
|
+
MWFiNzE5MmYwZTAzNTRkZjgyOGMzNmVkMTczZGVlOTlhNTcyNjdiZTM0MjZl
|
|
15
|
+
ZmZlMzQ0ODMzM2I4M2QwZWYwZTYxMzZhNDA5MWZlY2VkNzZiODc=
|
data/Gemfile
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.4
|
data/lib/netdnarws.rb
CHANGED
|
@@ -121,21 +121,6 @@ module NetDNARWS
|
|
|
121
121
|
end
|
|
122
122
|
|
|
123
123
|
def purge zone_id, file_or_files=nil, options={}
|
|
124
|
-
if file_or_files.respond_to? :each
|
|
125
|
-
options[:debug_json] = true if options[:debug_json].nil?
|
|
126
|
-
responses = Hash.new
|
|
127
|
-
|
|
128
|
-
file_or_files.each { |e|
|
|
129
|
-
responses[e] = self.delete(
|
|
130
|
-
"/zones/pull.json/#{zone_id}/cache",
|
|
131
|
-
{'file' => e},
|
|
132
|
-
options
|
|
133
|
-
)
|
|
134
|
-
}
|
|
135
|
-
return responses
|
|
136
|
-
end
|
|
137
|
-
|
|
138
|
-
|
|
139
124
|
unless file_or_files.nil?
|
|
140
125
|
return self.delete(
|
|
141
126
|
"/zones/pull.json/#{zone_id}/cache",
|
data/lib/netdnarws/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: netdnarws
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- NetDNA Developer Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2014-01-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: signet
|