neuron-client 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +34 -8
- data/lib/neuron-client.rb +61 -12
- data/lib/neuron-client/{connection.rb → admin_connection.rb} +7 -7
- data/lib/neuron-client/api.rb +48 -31
- data/lib/neuron-client/membase_connection.rb +18 -0
- data/lib/neuron-client/model/admin/ad.rb +22 -0
- data/lib/neuron-client/model/admin/ad_zone.rb +15 -0
- data/lib/neuron-client/model/admin/base.rb +91 -0
- data/lib/neuron-client/model/admin/blocked_referer.rb +12 -0
- data/lib/neuron-client/model/admin/blocked_user_agent.rb +12 -0
- data/lib/neuron-client/model/admin/geo_target.rb +16 -0
- data/lib/neuron-client/model/admin/report.rb +15 -0
- data/lib/neuron-client/model/admin/s3_file.rb +12 -0
- data/lib/neuron-client/model/admin/zone.rb +15 -0
- data/lib/neuron-client/model/base.rb +38 -0
- data/lib/neuron-client/model/common/ad.rb +40 -0
- data/lib/neuron-client/model/common/ad_calculations.rb +329 -0
- data/lib/neuron-client/model/common/ad_zone.rb +17 -0
- data/lib/neuron-client/model/common/base.rb +67 -0
- data/lib/neuron-client/model/common/blocked_referer.rb +16 -0
- data/lib/neuron-client/model/common/blocked_user_agent.rb +16 -0
- data/lib/neuron-client/model/common/geo_target.rb +16 -0
- data/lib/neuron-client/model/common/report.rb +21 -0
- data/lib/neuron-client/model/common/s3_file.rb +16 -0
- data/lib/neuron-client/model/common/zone.rb +22 -0
- data/lib/neuron-client/model/common/zone_calculations.rb +41 -0
- data/lib/neuron-client/model/membase/ad.rb +31 -0
- data/lib/neuron-client/model/membase/ad_zone.rb +11 -0
- data/lib/neuron-client/model/membase/blocked_referer.rb +18 -0
- data/lib/neuron-client/model/membase/blocked_user_agent.rb +18 -0
- data/lib/neuron-client/model/membase/geo_target.rb +11 -0
- data/lib/neuron-client/model/membase/report.rb +11 -0
- data/lib/neuron-client/model/membase/s3_file.rb +11 -0
- data/lib/neuron-client/model/membase/zone.rb +19 -0
- data/lib/neuron-client/model/models.rb +14 -0
- data/lib/neuron-client/version.rb +1 -1
- data/neuron-client.gemspec +18 -11
- data/spec/fixtures/vcr_cassettes/s3_file.yml +186 -4
- data/spec/lib/admin_connection_spec.rb +82 -0
- data/spec/lib/api_spec.rb +80 -0
- data/spec/lib/membase_connection_spec.rb +27 -0
- data/spec/lib/model/admin/ad_spec.rb +34 -0
- data/spec/lib/model/admin/ad_zone_spec.rb +19 -0
- data/spec/lib/model/admin/base_spec.rb +11 -0
- data/spec/lib/model/admin/blocked_referer_spec.rb +11 -0
- data/spec/lib/model/admin/blocked_user_agent_spec.rb +11 -0
- data/spec/lib/model/admin/geo_target_spec.rb +30 -0
- data/spec/lib/model/admin/report_spec.rb +21 -0
- data/spec/lib/model/admin/s3_spec.rb +11 -0
- data/spec/lib/model/admin/zone_spec.rb +21 -0
- data/spec/lib/model/base_spec.rb +89 -0
- data/spec/lib/model/common/ad_calculations_spec.rb +1148 -0
- data/spec/lib/model/common/ad_spec.rb +11 -0
- data/spec/lib/model/common/ad_zone_spec.rb +11 -0
- data/spec/lib/model/common/base_spec.rb +11 -0
- data/spec/lib/model/common/blocked_referer_spec.rb +11 -0
- data/spec/lib/model/common/blocked_user_agent_spec.rb +11 -0
- data/spec/lib/model/common/geo_target_spec.rb +11 -0
- data/spec/lib/model/common/report_spec.rb +11 -0
- data/spec/lib/model/common/s3_spec.rb +11 -0
- data/spec/lib/model/common/zone_calculations_spec.rb +54 -0
- data/spec/lib/model/common/zone_spec.rb +11 -0
- data/spec/lib/model/membase/ad_spec.rb +50 -0
- data/spec/lib/model/membase/ad_zone_spec.rb +11 -0
- data/spec/lib/model/membase/base_spec.rb +11 -0
- data/spec/lib/model/membase/blocked_referer_spec.rb +30 -0
- data/spec/lib/model/membase/blocked_user_agent_spec.rb +30 -0
- data/spec/lib/model/membase/geo_target_spec.rb +11 -0
- data/spec/lib/model/membase/report_spec.rb +11 -0
- data/spec/lib/model/membase/s3_spec.rb +11 -0
- data/spec/lib/model/membase/zone_spec.rb +28 -0
- data/spec/lib/old_spec.rb +192 -149
- data/spec/lib/s3_file_spec.rb +45 -42
- data/spec/spec_helper.rb +2 -1
- metadata +296 -57
- data/lib/neuron-client/ad.rb +0 -39
- data/lib/neuron-client/ad_zone.rb +0 -16
- data/lib/neuron-client/blocked_referer.rb +0 -12
- data/lib/neuron-client/blocked_user_agent.rb +0 -12
- data/lib/neuron-client/connected.rb +0 -138
- data/lib/neuron-client/geo_target.rb +0 -16
- data/lib/neuron-client/real_time_stats.rb +0 -0
- data/lib/neuron-client/report.rb +0 -20
- data/lib/neuron-client/s3_file.rb +0 -10
- data/lib/neuron-client/zone.rb +0 -16
data/spec/lib/s3_file_spec.rb
CHANGED
@@ -3,57 +3,60 @@ require 'yajl'
|
|
3
3
|
|
4
4
|
module Neuron
|
5
5
|
module Client
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
6
|
+
module Model
|
7
|
+
describe S3File do
|
8
|
+
before(:all) do
|
9
|
+
API.default_api.configure do |config|
|
10
|
+
config.connection_type = :admin
|
11
|
+
config.admin_url = "http://127.0.0.1:3000"
|
12
|
+
config.admin_key = "secret"
|
13
|
+
end
|
12
14
|
|
13
|
-
|
14
|
-
|
15
|
+
VCR.insert_cassette('s3_file', :record => :new_episodes)
|
16
|
+
end
|
15
17
|
|
16
|
-
|
17
|
-
|
18
|
-
|
18
|
+
after(:all) do
|
19
|
+
VCR.eject_cassette
|
20
|
+
end
|
19
21
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
22
|
+
describe "create" do
|
23
|
+
it "returns the created S3File" do
|
24
|
+
attrs = {:bucket => 'test',
|
25
|
+
:filename => "filename",
|
26
|
+
:purpose => 'RAW_EVENT_LOG'}
|
27
|
+
s3file = S3File.create(attrs)
|
28
|
+
s3file.id.should_not be_nil
|
29
|
+
@@created_id = s3file.id
|
30
|
+
s3file.bucket.should == attrs[:bucket]
|
31
|
+
s3file.filename.should == attrs[:filename]
|
32
|
+
s3file.purpose.should == attrs[:purpose]
|
33
|
+
end
|
31
34
|
end
|
32
|
-
end
|
33
35
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
36
|
+
describe "all" do
|
37
|
+
it "returns a list of S3Files" do
|
38
|
+
s3files = S3File.all
|
39
|
+
s3files.should be_a(Array)
|
40
|
+
s3files.length.should be > 0
|
41
|
+
s3files.first.should be_a(Admin::S3File)
|
42
|
+
end
|
40
43
|
end
|
41
|
-
end
|
42
44
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
45
|
+
describe "find" do
|
46
|
+
it "returns a S3File" do
|
47
|
+
s3file = S3File.find(@@created_id)
|
48
|
+
s3file.should be_a(Admin::S3File)
|
49
|
+
end
|
47
50
|
end
|
48
|
-
end
|
49
51
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
52
|
+
describe "update_attributes" do
|
53
|
+
it "updates the S3File on the server" do
|
54
|
+
s3file = S3File.find(@@created_id)
|
55
|
+
filename = s3file.filename
|
56
|
+
s3file.update_attributes(:filename => "#{filename}_2")
|
57
|
+
s3file = S3File.find(@@created_id)
|
58
|
+
s3file.filename.should_not == filename
|
59
|
+
end
|
57
60
|
end
|
58
61
|
end
|
59
62
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -10,7 +10,8 @@ require 'bundler'
|
|
10
10
|
Bundler.require(:default, :test, :development)
|
11
11
|
|
12
12
|
|
13
|
-
Neuron::Client::API.configure do |c|
|
13
|
+
Neuron::Client::API.default_api.configure do |c|
|
14
|
+
c.connection_type = :admin
|
14
15
|
c.admin_url = "http://127.0.0.1:3000"
|
15
16
|
c.admin_key = "secret"
|
16
17
|
end
|
metadata
CHANGED
@@ -1,128 +1,279 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neuron-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 23
|
4
5
|
prerelease:
|
5
|
-
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 2
|
9
|
+
- 0
|
10
|
+
version: 0.2.0
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
|
-
-
|
9
|
-
- Chris Johnson
|
13
|
+
- RMM Online
|
10
14
|
autorequire:
|
11
15
|
bindir: bin
|
12
16
|
cert_chain: []
|
13
17
|
|
14
|
-
date: 2011-
|
18
|
+
date: 2011-09-01 00:00:00 -05:00
|
19
|
+
default_executable:
|
15
20
|
dependencies:
|
16
21
|
- !ruby/object:Gem::Dependency
|
17
22
|
name: rest-client
|
23
|
+
prerelease: false
|
18
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
19
25
|
none: false
|
20
26
|
requirements:
|
21
|
-
- -
|
27
|
+
- - ~>
|
22
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 9
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 6
|
33
|
+
- 3
|
23
34
|
version: 1.6.3
|
24
35
|
type: :runtime
|
25
|
-
prerelease: false
|
26
36
|
version_requirements: *id001
|
27
37
|
- !ruby/object:Gem::Dependency
|
28
38
|
name: yajl-ruby
|
39
|
+
prerelease: false
|
29
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
30
41
|
none: false
|
31
42
|
requirements:
|
32
|
-
- -
|
43
|
+
- - ~>
|
33
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 59
|
46
|
+
segments:
|
47
|
+
- 0
|
48
|
+
- 8
|
49
|
+
- 2
|
34
50
|
version: 0.8.2
|
35
51
|
type: :runtime
|
36
|
-
prerelease: false
|
37
52
|
version_requirements: *id002
|
38
53
|
- !ruby/object:Gem::Dependency
|
39
|
-
name:
|
54
|
+
name: activesupport
|
55
|
+
prerelease: false
|
40
56
|
requirement: &id003 !ruby/object:Gem::Requirement
|
41
57
|
none: false
|
42
58
|
requirements:
|
43
|
-
- -
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 19
|
62
|
+
segments:
|
63
|
+
- 3
|
64
|
+
- 0
|
65
|
+
- 10
|
66
|
+
version: 3.0.10
|
67
|
+
type: :runtime
|
68
|
+
version_requirements: *id003
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: tzinfo
|
71
|
+
prerelease: false
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
hash: 41
|
78
|
+
segments:
|
79
|
+
- 0
|
80
|
+
- 3
|
81
|
+
- 29
|
82
|
+
version: 0.3.29
|
83
|
+
type: :runtime
|
84
|
+
version_requirements: *id004
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: i18n
|
87
|
+
prerelease: false
|
88
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
44
92
|
- !ruby/object:Gem::Version
|
93
|
+
hash: 7
|
94
|
+
segments:
|
95
|
+
- 0
|
96
|
+
- 6
|
97
|
+
- 0
|
98
|
+
version: 0.6.0
|
99
|
+
type: :runtime
|
100
|
+
version_requirements: *id005
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: dalli
|
103
|
+
prerelease: false
|
104
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
hash: 29
|
110
|
+
segments:
|
111
|
+
- 1
|
112
|
+
- 0
|
113
|
+
- 5
|
114
|
+
version: 1.0.5
|
115
|
+
type: :runtime
|
116
|
+
version_requirements: *id006
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: rspec
|
119
|
+
prerelease: false
|
120
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ~>
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
hash: 23
|
126
|
+
segments:
|
127
|
+
- 2
|
128
|
+
- 6
|
129
|
+
- 0
|
45
130
|
version: 2.6.0
|
46
131
|
type: :development
|
47
|
-
|
48
|
-
version_requirements: *id003
|
132
|
+
version_requirements: *id007
|
49
133
|
- !ruby/object:Gem::Dependency
|
50
134
|
name: simplecov
|
51
|
-
|
135
|
+
prerelease: false
|
136
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
52
137
|
none: false
|
53
138
|
requirements:
|
54
|
-
- -
|
139
|
+
- - ~>
|
55
140
|
- !ruby/object:Gem::Version
|
141
|
+
hash: 11
|
142
|
+
segments:
|
143
|
+
- 0
|
144
|
+
- 4
|
145
|
+
- 2
|
56
146
|
version: 0.4.2
|
57
147
|
type: :development
|
58
|
-
|
59
|
-
version_requirements: *id004
|
148
|
+
version_requirements: *id008
|
60
149
|
- !ruby/object:Gem::Dependency
|
61
150
|
name: rb-fsevent
|
62
|
-
|
151
|
+
prerelease: false
|
152
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
63
153
|
none: false
|
64
154
|
requirements:
|
65
|
-
- -
|
155
|
+
- - ~>
|
66
156
|
- !ruby/object:Gem::Version
|
67
|
-
|
157
|
+
hash: 9
|
158
|
+
segments:
|
159
|
+
- 0
|
160
|
+
- 4
|
161
|
+
- 3
|
162
|
+
version: 0.4.3
|
68
163
|
type: :development
|
69
|
-
|
70
|
-
version_requirements: *id005
|
164
|
+
version_requirements: *id009
|
71
165
|
- !ruby/object:Gem::Dependency
|
72
166
|
name: guard
|
73
|
-
|
167
|
+
prerelease: false
|
168
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
74
169
|
none: false
|
75
170
|
requirements:
|
76
|
-
- -
|
171
|
+
- - ~>
|
77
172
|
- !ruby/object:Gem::Version
|
78
|
-
|
173
|
+
hash: 3
|
174
|
+
segments:
|
175
|
+
- 0
|
176
|
+
- 6
|
177
|
+
- 2
|
178
|
+
version: 0.6.2
|
79
179
|
type: :development
|
80
|
-
|
81
|
-
version_requirements: *id006
|
180
|
+
version_requirements: *id010
|
82
181
|
- !ruby/object:Gem::Dependency
|
83
182
|
name: guard-bundler
|
84
|
-
|
183
|
+
prerelease: false
|
184
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
85
185
|
none: false
|
86
186
|
requirements:
|
87
|
-
- -
|
187
|
+
- - ~>
|
88
188
|
- !ruby/object:Gem::Version
|
189
|
+
hash: 29
|
190
|
+
segments:
|
191
|
+
- 0
|
192
|
+
- 1
|
193
|
+
- 3
|
89
194
|
version: 0.1.3
|
90
195
|
type: :development
|
91
|
-
|
92
|
-
version_requirements: *id007
|
196
|
+
version_requirements: *id011
|
93
197
|
- !ruby/object:Gem::Dependency
|
94
198
|
name: guard-rspec
|
95
|
-
|
199
|
+
prerelease: false
|
200
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
96
201
|
none: false
|
97
202
|
requirements:
|
98
|
-
- -
|
203
|
+
- - ~>
|
99
204
|
- !ruby/object:Gem::Version
|
100
|
-
|
205
|
+
hash: 11
|
206
|
+
segments:
|
207
|
+
- 0
|
208
|
+
- 4
|
209
|
+
- 2
|
210
|
+
version: 0.4.2
|
101
211
|
type: :development
|
102
|
-
|
103
|
-
version_requirements: *id008
|
212
|
+
version_requirements: *id012
|
104
213
|
- !ruby/object:Gem::Dependency
|
105
214
|
name: fakeweb
|
106
|
-
|
215
|
+
prerelease: false
|
216
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
107
217
|
none: false
|
108
218
|
requirements:
|
109
|
-
- -
|
219
|
+
- - ~>
|
110
220
|
- !ruby/object:Gem::Version
|
221
|
+
hash: 27
|
222
|
+
segments:
|
223
|
+
- 1
|
224
|
+
- 3
|
225
|
+
- 0
|
111
226
|
version: 1.3.0
|
112
227
|
type: :development
|
113
|
-
|
114
|
-
version_requirements: *id009
|
228
|
+
version_requirements: *id013
|
115
229
|
- !ruby/object:Gem::Dependency
|
116
230
|
name: vcr
|
117
|
-
|
231
|
+
prerelease: false
|
232
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
118
233
|
none: false
|
119
234
|
requirements:
|
120
|
-
- -
|
235
|
+
- - ~>
|
121
236
|
- !ruby/object:Gem::Version
|
122
|
-
|
237
|
+
hash: 57
|
238
|
+
segments:
|
239
|
+
- 1
|
240
|
+
- 11
|
241
|
+
- 1
|
242
|
+
version: 1.11.1
|
123
243
|
type: :development
|
244
|
+
version_requirements: *id014
|
245
|
+
- !ruby/object:Gem::Dependency
|
246
|
+
name: timecop
|
124
247
|
prerelease: false
|
125
|
-
|
248
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
249
|
+
none: false
|
250
|
+
requirements:
|
251
|
+
- - ~>
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
hash: 25
|
254
|
+
segments:
|
255
|
+
- 0
|
256
|
+
- 3
|
257
|
+
- 5
|
258
|
+
version: 0.3.5
|
259
|
+
type: :development
|
260
|
+
version_requirements: *id015
|
261
|
+
- !ruby/object:Gem::Dependency
|
262
|
+
name: chronic
|
263
|
+
prerelease: false
|
264
|
+
requirement: &id016 !ruby/object:Gem::Requirement
|
265
|
+
none: false
|
266
|
+
requirements:
|
267
|
+
- - ~>
|
268
|
+
- !ruby/object:Gem::Version
|
269
|
+
hash: 3
|
270
|
+
segments:
|
271
|
+
- 0
|
272
|
+
- 6
|
273
|
+
- 2
|
274
|
+
version: 0.6.2
|
275
|
+
type: :development
|
276
|
+
version_requirements: *id016
|
126
277
|
description: Neuron Admin Client Gem
|
127
278
|
email:
|
128
279
|
- devteam@rmmonline.com
|
@@ -140,24 +291,79 @@ files:
|
|
140
291
|
- README.md
|
141
292
|
- Rakefile
|
142
293
|
- lib/neuron-client.rb
|
143
|
-
- lib/neuron-client/
|
144
|
-
- lib/neuron-client/ad_zone.rb
|
294
|
+
- lib/neuron-client/admin_connection.rb
|
145
295
|
- lib/neuron-client/api.rb
|
146
|
-
- lib/neuron-client/
|
147
|
-
- lib/neuron-client/
|
148
|
-
- lib/neuron-client/
|
149
|
-
- lib/neuron-client/
|
150
|
-
- lib/neuron-client/
|
151
|
-
- lib/neuron-client/
|
152
|
-
- lib/neuron-client/
|
153
|
-
- lib/neuron-client/
|
296
|
+
- lib/neuron-client/membase_connection.rb
|
297
|
+
- lib/neuron-client/model/admin/ad.rb
|
298
|
+
- lib/neuron-client/model/admin/ad_zone.rb
|
299
|
+
- lib/neuron-client/model/admin/base.rb
|
300
|
+
- lib/neuron-client/model/admin/blocked_referer.rb
|
301
|
+
- lib/neuron-client/model/admin/blocked_user_agent.rb
|
302
|
+
- lib/neuron-client/model/admin/geo_target.rb
|
303
|
+
- lib/neuron-client/model/admin/report.rb
|
304
|
+
- lib/neuron-client/model/admin/s3_file.rb
|
305
|
+
- lib/neuron-client/model/admin/zone.rb
|
306
|
+
- lib/neuron-client/model/base.rb
|
307
|
+
- lib/neuron-client/model/common/ad.rb
|
308
|
+
- lib/neuron-client/model/common/ad_calculations.rb
|
309
|
+
- lib/neuron-client/model/common/ad_zone.rb
|
310
|
+
- lib/neuron-client/model/common/base.rb
|
311
|
+
- lib/neuron-client/model/common/blocked_referer.rb
|
312
|
+
- lib/neuron-client/model/common/blocked_user_agent.rb
|
313
|
+
- lib/neuron-client/model/common/geo_target.rb
|
314
|
+
- lib/neuron-client/model/common/report.rb
|
315
|
+
- lib/neuron-client/model/common/s3_file.rb
|
316
|
+
- lib/neuron-client/model/common/zone.rb
|
317
|
+
- lib/neuron-client/model/common/zone_calculations.rb
|
318
|
+
- lib/neuron-client/model/membase/ad.rb
|
319
|
+
- lib/neuron-client/model/membase/ad_zone.rb
|
320
|
+
- lib/neuron-client/model/membase/blocked_referer.rb
|
321
|
+
- lib/neuron-client/model/membase/blocked_user_agent.rb
|
322
|
+
- lib/neuron-client/model/membase/geo_target.rb
|
323
|
+
- lib/neuron-client/model/membase/report.rb
|
324
|
+
- lib/neuron-client/model/membase/s3_file.rb
|
325
|
+
- lib/neuron-client/model/membase/zone.rb
|
326
|
+
- lib/neuron-client/model/models.rb
|
154
327
|
- lib/neuron-client/version.rb
|
155
|
-
- lib/neuron-client/zone.rb
|
156
328
|
- neuron-client.gemspec
|
157
329
|
- spec/fixtures/vcr_cassettes/s3_file.yml
|
330
|
+
- spec/lib/admin_connection_spec.rb
|
331
|
+
- spec/lib/api_spec.rb
|
332
|
+
- spec/lib/membase_connection_spec.rb
|
333
|
+
- spec/lib/model/admin/ad_spec.rb
|
334
|
+
- spec/lib/model/admin/ad_zone_spec.rb
|
335
|
+
- spec/lib/model/admin/base_spec.rb
|
336
|
+
- spec/lib/model/admin/blocked_referer_spec.rb
|
337
|
+
- spec/lib/model/admin/blocked_user_agent_spec.rb
|
338
|
+
- spec/lib/model/admin/geo_target_spec.rb
|
339
|
+
- spec/lib/model/admin/report_spec.rb
|
340
|
+
- spec/lib/model/admin/s3_spec.rb
|
341
|
+
- spec/lib/model/admin/zone_spec.rb
|
342
|
+
- spec/lib/model/base_spec.rb
|
343
|
+
- spec/lib/model/common/ad_calculations_spec.rb
|
344
|
+
- spec/lib/model/common/ad_spec.rb
|
345
|
+
- spec/lib/model/common/ad_zone_spec.rb
|
346
|
+
- spec/lib/model/common/base_spec.rb
|
347
|
+
- spec/lib/model/common/blocked_referer_spec.rb
|
348
|
+
- spec/lib/model/common/blocked_user_agent_spec.rb
|
349
|
+
- spec/lib/model/common/geo_target_spec.rb
|
350
|
+
- spec/lib/model/common/report_spec.rb
|
351
|
+
- spec/lib/model/common/s3_spec.rb
|
352
|
+
- spec/lib/model/common/zone_calculations_spec.rb
|
353
|
+
- spec/lib/model/common/zone_spec.rb
|
354
|
+
- spec/lib/model/membase/ad_spec.rb
|
355
|
+
- spec/lib/model/membase/ad_zone_spec.rb
|
356
|
+
- spec/lib/model/membase/base_spec.rb
|
357
|
+
- spec/lib/model/membase/blocked_referer_spec.rb
|
358
|
+
- spec/lib/model/membase/blocked_user_agent_spec.rb
|
359
|
+
- spec/lib/model/membase/geo_target_spec.rb
|
360
|
+
- spec/lib/model/membase/report_spec.rb
|
361
|
+
- spec/lib/model/membase/s3_spec.rb
|
362
|
+
- spec/lib/model/membase/zone_spec.rb
|
158
363
|
- spec/lib/old_spec.rb
|
159
364
|
- spec/lib/s3_file_spec.rb
|
160
365
|
- spec/spec_helper.rb
|
366
|
+
has_rdoc: true
|
161
367
|
homepage: http://github.com/rmm/neuron-client
|
162
368
|
licenses: []
|
163
369
|
|
@@ -171,7 +377,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
171
377
|
requirements:
|
172
378
|
- - ">="
|
173
379
|
- !ruby/object:Gem::Version
|
174
|
-
hash:
|
380
|
+
hash: 3
|
175
381
|
segments:
|
176
382
|
- 0
|
177
383
|
version: "0"
|
@@ -180,19 +386,52 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
386
|
requirements:
|
181
387
|
- - ">="
|
182
388
|
- !ruby/object:Gem::Version
|
183
|
-
hash:
|
389
|
+
hash: 3
|
184
390
|
segments:
|
185
391
|
- 0
|
186
392
|
version: "0"
|
187
393
|
requirements: []
|
188
394
|
|
189
395
|
rubyforge_project: neuron-client
|
190
|
-
rubygems_version: 1.
|
396
|
+
rubygems_version: 1.6.2
|
191
397
|
signing_key:
|
192
398
|
specification_version: 3
|
193
399
|
summary: Neuron Admin Client Gem
|
194
400
|
test_files:
|
195
401
|
- spec/fixtures/vcr_cassettes/s3_file.yml
|
402
|
+
- spec/lib/admin_connection_spec.rb
|
403
|
+
- spec/lib/api_spec.rb
|
404
|
+
- spec/lib/membase_connection_spec.rb
|
405
|
+
- spec/lib/model/admin/ad_spec.rb
|
406
|
+
- spec/lib/model/admin/ad_zone_spec.rb
|
407
|
+
- spec/lib/model/admin/base_spec.rb
|
408
|
+
- spec/lib/model/admin/blocked_referer_spec.rb
|
409
|
+
- spec/lib/model/admin/blocked_user_agent_spec.rb
|
410
|
+
- spec/lib/model/admin/geo_target_spec.rb
|
411
|
+
- spec/lib/model/admin/report_spec.rb
|
412
|
+
- spec/lib/model/admin/s3_spec.rb
|
413
|
+
- spec/lib/model/admin/zone_spec.rb
|
414
|
+
- spec/lib/model/base_spec.rb
|
415
|
+
- spec/lib/model/common/ad_calculations_spec.rb
|
416
|
+
- spec/lib/model/common/ad_spec.rb
|
417
|
+
- spec/lib/model/common/ad_zone_spec.rb
|
418
|
+
- spec/lib/model/common/base_spec.rb
|
419
|
+
- spec/lib/model/common/blocked_referer_spec.rb
|
420
|
+
- spec/lib/model/common/blocked_user_agent_spec.rb
|
421
|
+
- spec/lib/model/common/geo_target_spec.rb
|
422
|
+
- spec/lib/model/common/report_spec.rb
|
423
|
+
- spec/lib/model/common/s3_spec.rb
|
424
|
+
- spec/lib/model/common/zone_calculations_spec.rb
|
425
|
+
- spec/lib/model/common/zone_spec.rb
|
426
|
+
- spec/lib/model/membase/ad_spec.rb
|
427
|
+
- spec/lib/model/membase/ad_zone_spec.rb
|
428
|
+
- spec/lib/model/membase/base_spec.rb
|
429
|
+
- spec/lib/model/membase/blocked_referer_spec.rb
|
430
|
+
- spec/lib/model/membase/blocked_user_agent_spec.rb
|
431
|
+
- spec/lib/model/membase/geo_target_spec.rb
|
432
|
+
- spec/lib/model/membase/report_spec.rb
|
433
|
+
- spec/lib/model/membase/s3_spec.rb
|
434
|
+
- spec/lib/model/membase/zone_spec.rb
|
196
435
|
- spec/lib/old_spec.rb
|
197
436
|
- spec/lib/s3_file_spec.rb
|
198
437
|
- spec/spec_helper.rb
|