apdm 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- M2QzMjJlZGYzYTJkYzZjYTkyZmM2N2IwNGE4NzI3MGYwMGM4YWU1ZQ==
4
+ YzFmZjA2OTY4ZTNmMDhkOWIyNDc5YzQ3MDRhZGQ0NGUwMWVhMjM0Yw==
5
5
  data.tar.gz: !binary |-
6
- ZDYxMmJkOGE4MGNlMzg1ZTI5MWNmMWIyYjMxYmQ3MWQyMDUyMWU3ZA==
6
+ N2Y0ZmM0NDNiMjZmMTY5OTMyZWQ5OGY5NWE4MjYzYWE1ZmEzNzczMQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MGQ5MDA4YjY4ODUwY2ZmMjZiYmJiM2EzYzVkN2M1MmI4N2U3NzRjNWZmNDM1
10
- YzBlODk4MTVmNGZiODg2ZjMwNmZlMzQwYjQxMDBjYzRhMTNkMTQ4NzRmODk5
11
- NDVlNTU2MDg2NmNkY2JjM2U2NjUwZGNiZDE4ZmRiOWI4NzQ4OTI=
9
+ MjcyYzhmMWU0MDM5MTBjZWM0MzE4MWFiNWQ5MTUyNjVkOGYyYzJmOGYwZmE4
10
+ MzhjNzc4YTZiNWJhMWU0ODhmZmZlZTZlMjMwODE2ZjNlYWU0YWYxY2VhMWVi
11
+ NjM0NmI1NzhkNDMwMTkyYzQyZmZhYTMzZDJiYWIyZmU0NTcyNzY=
12
12
  data.tar.gz: !binary |-
13
- NzQzNDA1MTFmZWUwOTM3NGNlZTEyZGRlMzNhMGUyMGQ0NDVmOGI1MGQ0MDAw
14
- N2EwMmQ5N2MxMTQyMDMwZjBlYTkzMWJjMmEyZWEwMzAxNjVmMDdkMjlmZGU3
15
- ODMwZThkOWZhNjUwNzgzOWJiNTRiOGEyNzQxZjM3YjI3NWFjM2I=
13
+ MzhhZmY0YzhmMGVhMGRkY2VjNDc2NjhkYjM3YmQxNDFhMmExNzI3MTdlZGJk
14
+ MDc1M2M3YzVhODI4YmYyZGJiZDNmOGI5NTQyYTBhMDkyMjQ1MDFhNGU4MWZh
15
+ NWE3YmEwZWFlZWE1OWJiMTExZjA4YjY2N2FmNDcyNjBiYzIxMzA=
@@ -9,6 +9,7 @@ module APDM
9
9
  :name => "Avisnavn",
10
10
  :label => "avisnavn",
11
11
  :origo_sandbox_id => 1372580,
12
+ :tld => "no",
12
13
  :abbreviation => 'avis',
13
14
  :ad_tech_id => 1112306,
14
15
  :locale => :"nb-no",
@@ -19,6 +20,7 @@ module APDM
19
20
  :name => "PolkaPosten",
20
21
  :label => "polkaposten",
21
22
  :origo_sandbox_id => 1112275,
23
+ :tld => "no",
22
24
  :abbreviation => 'polka',
23
25
  :ad_tech_id => 555,
24
26
  :locale => :"nb-no",
@@ -29,6 +31,7 @@ module APDM
29
31
  :name => "Bladet Vesterålen",
30
32
  :label => "blv",
31
33
  :origo_sandbox_id => 46514,
34
+ :tld => "no",
32
35
  :abbreviation => nil,
33
36
  :ad_tech_id => 1112304,
34
37
  :locale => :"nb-no",
@@ -39,6 +42,7 @@ module APDM
39
42
  :name => "Tidens Krav",
40
43
  :label => "tk",
41
44
  :origo_sandbox_id => 8277,
45
+ :tld => "no",
42
46
  :abbreviation => 'tikr',
43
47
  :ad_tech_id => 1112263,
44
48
  :locale => :"nb-no",
@@ -49,6 +53,7 @@ module APDM
49
53
  :name => "Opdalingen",
50
54
  :label => "opdalingen",
51
55
  :origo_sandbox_id => 46212,
56
+ :tld => "no",
52
57
  :abbreviation => 'opda',
53
58
  :ad_tech_id => 1112300,
54
59
  :locale => :"nb-no",
@@ -59,6 +64,7 @@ module APDM
59
64
  :name => "Avisa Nordland",
60
65
  :label => "an",
61
66
  :origo_sandbox_id => 5862,
67
+ :tld => "no",
62
68
  :abbreviation => 'avno',
63
69
  :ad_tech_id => 1112326,
64
70
  :locale => :"nb-no",
@@ -69,6 +75,7 @@ module APDM
69
75
  :name => "Aura Avis",
70
76
  :label => "auraavis",
71
77
  :origo_sandbox_id => 46215,
78
+ :tld => "no",
72
79
  :abbreviation => nil,
73
80
  :ad_tech_id => 1112285,
74
81
  :locale => :"nb-no",
@@ -79,6 +86,7 @@ module APDM
79
86
  :name => "Porsgrunns Dagblad",
80
87
  :label => "pd",
81
88
  :origo_sandbox_id => 46187,
89
+ :tld => "no",
82
90
  :abbreviation => nil,
83
91
  :ad_tech_id => 1112335,
84
92
  :locale => :"nb-no",
@@ -89,6 +97,7 @@ module APDM
89
97
  :name => "Enebakk Avis",
90
98
  :label => "enebakkavis",
91
99
  :origo_sandbox_id => 46128,
100
+ :tld => "no",
92
101
  :abbreviation => nil,
93
102
  :ad_tech_id => 1112305,
94
103
  :locale => :"nb-no",
@@ -99,6 +108,7 @@ module APDM
99
108
  :name => "Jarlsberg Avis",
100
109
  :label => "jarlsbergavis",
101
110
  :origo_sandbox_id => 25343,
111
+ :tld => "no",
102
112
  :abbreviation => nil,
103
113
  :ad_tech_id => 1112308,
104
114
  :locale => :"nb-no",
@@ -108,8 +118,8 @@ module APDM
108
118
  CHANNELS << Channel.new({
109
119
  :name => "Hadeland",
110
120
  :label => "hadeland",
111
- :tld => "net",
112
121
  :origo_sandbox_id => 40314,
122
+ :tld => "net",
113
123
  :abbreviation => 'hade',
114
124
  :ad_tech_id => 1112342,
115
125
  :locale => :"nb-no",
@@ -120,6 +130,7 @@ module APDM
120
130
  :name => "Avisa Hordaland",
121
131
  :label => "avisa-hordaland",
122
132
  :origo_sandbox_id => 68388,
133
+ :tld => "no",
123
134
  :abbreviation => nil,
124
135
  :ad_tech_id => 1112287,
125
136
  :locale => :"nb-no",
@@ -130,6 +141,7 @@ module APDM
130
141
  :name => "Indre Akershus Blad",
131
142
  :label => "indre",
132
143
  :origo_sandbox_id => 46222,
144
+ :tld => "no",
133
145
  :abbreviation => nil,
134
146
  :ad_tech_id => 1112320,
135
147
  :locale => :"nb-no",
@@ -140,6 +152,7 @@ module APDM
140
152
  :name => "Lofot-Tidende",
141
153
  :label => "lofot-tidende",
142
154
  :origo_sandbox_id => 46442,
155
+ :tld => "no",
143
156
  :abbreviation => nil,
144
157
  :ad_tech_id => 1112322,
145
158
  :locale => :"nb-no",
@@ -150,6 +163,7 @@ module APDM
150
163
  :name => "Nordlys",
151
164
  :label => "nordlys",
152
165
  :origo_sandbox_id => 4214,
166
+ :tld => "no",
153
167
  :abbreviation => 'nord',
154
168
  :ad_tech_id => 1112290,
155
169
  :locale => :"nb-no",
@@ -160,6 +174,7 @@ module APDM
160
174
  :name => "Demokraten",
161
175
  :label => "demokraten",
162
176
  :origo_sandbox_id => 14786,
177
+ :tld => "no",
163
178
  :abbreviation => "demo",
164
179
  :ad_tech_id => 1112278,
165
180
  :locale => :"nb-no",
@@ -170,6 +185,7 @@ module APDM
170
185
  :name => "Ringerikes Blad",
171
186
  :label => "ringblad",
172
187
  :origo_sandbox_id => 18724,
188
+ :tld => "no",
173
189
  :abbreviation => 'ring',
174
190
  :ad_tech_id => 1112289,
175
191
  :locale => :"nb-no",
@@ -180,6 +196,7 @@ module APDM
180
196
  :name => "Bygdeposten",
181
197
  :label => "bygdeposten",
182
198
  :origo_sandbox_id => 46139,
199
+ :tld => "no",
183
200
  :abbreviation => 'bygd',
184
201
  :ad_tech_id => 1112296,
185
202
  :locale => :"nb-no",
@@ -190,6 +207,7 @@ module APDM
190
207
  :name => "Tvedestrandsposten",
191
208
  :label => "tvedestrandsposten",
192
209
  :origo_sandbox_id => 25337,
210
+ :tld => "no",
193
211
  :abbreviation => nil,
194
212
  :ad_tech_id => 1112276,
195
213
  :locale => :"nb-no",
@@ -200,6 +218,7 @@ module APDM
200
218
  :name => "Fremover",
201
219
  :label => "fremover",
202
220
  :origo_sandbox_id => 13938,
221
+ :tld => "no",
203
222
  :abbreviation => 'frem',
204
223
  :ad_tech_id => 1112284,
205
224
  :locale => :"nb-no",
@@ -210,6 +229,7 @@ module APDM
210
229
  :name => "Hardanger Folkeblad",
211
230
  :label => "hardanger-folkeblad",
212
231
  :origo_sandbox_id => 22478,
232
+ :tld => "no",
213
233
  :abbreviation => 'hafo',
214
234
  :ad_tech_id => 1112274,
215
235
  :locale => :"nn-no",
@@ -220,6 +240,7 @@ module APDM
220
240
  :name => "Stjørdalens Blad",
221
241
  :label => "bladet",
222
242
  :origo_sandbox_id => 21177,
243
+ :tld => "no",
223
244
  :abbreviation => 'stbl',
224
245
  :ad_tech_id => 1112302,
225
246
  :locale => :"nb-no",
@@ -230,6 +251,7 @@ module APDM
230
251
  :name => "Ås Avis",
231
252
  :label => "aasavis",
232
253
  :origo_sandbox_id => 46137,
254
+ :tld => "no",
233
255
  :abbreviation => nil,
234
256
  :ad_tech_id => 1112297,
235
257
  :locale => :"nb-no",
@@ -240,6 +262,7 @@ module APDM
240
262
  :name => "Firdaposten",
241
263
  :label => "firdaposten",
242
264
  :origo_sandbox_id => 13493,
265
+ :tld => "no",
243
266
  :abbreviation => 'fipo',
244
267
  :ad_tech_id => 1112345,
245
268
  :locale => :"nn-no",
@@ -250,6 +273,7 @@ module APDM
250
273
  :name => "Firda Papir",
251
274
  :label => "firda",
252
275
  :origo_sandbox_id => 4152,
276
+ :tld => "no",
253
277
  :abbreviation => 'fird',
254
278
  :ad_tech_id => 1112328,
255
279
  :locale => :"nn-no",
@@ -260,6 +284,7 @@ module APDM
260
284
  :name => "Malvik Bladet",
261
285
  :label => "mb",
262
286
  :origo_sandbox_id => 46220,
287
+ :tld => "no",
263
288
  :abbreviation => 'mabl',
264
289
  :ad_tech_id => 1112267,
265
290
  :locale => :"nb-no",
@@ -270,6 +295,7 @@ module APDM
270
295
  :name => "Siste.no",
271
296
  :label => "siste",
272
297
  :origo_sandbox_id => 33495,
298
+ :tld => "no",
273
299
  :abbreviation => nil,
274
300
  :ad_tech_id => 1112294,
275
301
  :locale => :"nb-no",
@@ -280,6 +306,7 @@ module APDM
280
306
  :name => "Arbeidets Rett",
281
307
  :label => "retten",
282
308
  :origo_sandbox_id => 46218,
309
+ :tld => "no",
283
310
  :abbreviation => 'arbe',
284
311
  :ad_tech_id => 1112295,
285
312
  :locale => :"nb-no",
@@ -290,6 +317,7 @@ module APDM
290
317
  :name => "Aust Agder Blad",
291
318
  :label => "austagderblad",
292
319
  :origo_sandbox_id => 25339,
320
+ :tld => "no",
293
321
  :abbreviation => nil,
294
322
  :ad_tech_id => 1112344,
295
323
  :locale => :"nb-no",
@@ -300,6 +328,7 @@ module APDM
300
328
  :name => "Eidsvoll Ullensaker Blad",
301
329
  :label => "eub",
302
330
  :origo_sandbox_id => 46524,
331
+ :tld => "no",
303
332
  :abbreviation => "eubl",
304
333
  :ad_tech_id => 1112323,
305
334
  :locale => :"nb-no",
@@ -310,6 +339,7 @@ module APDM
310
339
  :name => "Fri Fagbevegelse",
311
340
  :label => "frifagbevegelse",
312
341
  :origo_sandbox_id => 30075,
342
+ :tld => "no",
313
343
  :abbreviation => nil,
314
344
  :ad_tech_id => nil,
315
345
  :locale => :"nb-no",
@@ -320,6 +350,7 @@ module APDM
320
350
  :name => "Lokalavisen Øyene",
321
351
  :label => "oyene",
322
352
  :origo_sandbox_id => 25341,
353
+ :tld => "no",
323
354
  :abbreviation => nil,
324
355
  :ad_tech_id => 1112315,
325
356
  :locale => :"nb-no",
@@ -330,6 +361,7 @@ module APDM
330
361
  :name => "Bergensavisen",
331
362
  :label => "ba",
332
363
  :origo_sandbox_id => 5860,
364
+ :tld => "no",
333
365
  :abbreviation => "beav",
334
366
  :ad_tech_id => 1112280,
335
367
  :locale => :"nb-no",
@@ -340,6 +372,7 @@ module APDM
340
372
  :name => "Smaalenenes Avis",
341
373
  :label => "smaalenene",
342
374
  :origo_sandbox_id => 16118,
375
+ :tld => "no",
343
376
  :abbreviation => 'smaa',
344
377
  :ad_tech_id => 1112309,
345
378
  :locale => :"nb-no",
@@ -350,6 +383,7 @@ module APDM
350
383
  :name => "Rogalands Avis",
351
384
  :label => "rogalandsavis",
352
385
  :origo_sandbox_id => 11122,
386
+ :tld => "no",
353
387
  :abbreviation => 'roga',
354
388
  :ad_tech_id => 1112303,
355
389
  :locale => :"nb-no",
@@ -360,6 +394,7 @@ module APDM
360
394
  :name => "Rakkestad Avis",
361
395
  :label => "r-a",
362
396
  :origo_sandbox_id => 21442,
397
+ :tld => "no",
363
398
  :abbreviation => nil,
364
399
  :ad_tech_id => 1112268,
365
400
  :locale => :"nb-no",
@@ -370,6 +405,7 @@ module APDM
370
405
  :name => "Østlands-Posten",
371
406
  :label => "op",
372
407
  :origo_sandbox_id => 7,
408
+ :tld => "no",
373
409
  :abbreviation => 'ospo',
374
410
  :ad_tech_id => 1112330,
375
411
  :locale => :"nb-no",
@@ -380,6 +416,7 @@ module APDM
380
416
  :name => "Namdalsavisa",
381
417
  :label => "namdalsavisa",
382
418
  :origo_sandbox_id => 46225,
419
+ :tld => "no",
383
420
  :abbreviation => 'namd',
384
421
  :ad_tech_id => 1112307,
385
422
  :locale => :"nb-no",
@@ -390,6 +427,7 @@ module APDM
390
427
  :name => "Telemarksavisa",
391
428
  :label => "ta",
392
429
  :origo_sandbox_id => 15260,
430
+ :tld => "no",
393
431
  :abbreviation => 'tele',
394
432
  :ad_tech_id => 1112348,
395
433
  :locale => :"nb-no",
@@ -400,6 +438,7 @@ module APDM
400
438
  :name => "Sarpsborg Arbeiderblad",
401
439
  :label => "sa",
402
440
  :origo_sandbox_id => 14784,
441
+ :tld => "no",
403
442
  :abbreviation => 'sarp',
404
443
  :ad_tech_id => 1112291,
405
444
  :locale => :"nb-no",
@@ -410,6 +449,7 @@ module APDM
410
449
  :name => "Glåmdalen",
411
450
  :label => "glomdalen",
412
451
  :origo_sandbox_id => 9385,
452
+ :tld => "no",
413
453
  :abbreviation => 'glom',
414
454
  :ad_tech_id => 1112339,
415
455
  :locale => :"nb-no",
@@ -420,6 +460,7 @@ module APDM
420
460
  :name => "Sogn Avis",
421
461
  :label => "sognavis",
422
462
  :origo_sandbox_id => 46106,
463
+ :tld => "no",
423
464
  :abbreviation => nil,
424
465
  :ad_tech_id => 1112310,
425
466
  :locale => :"nn-no",
@@ -430,6 +471,7 @@ module APDM
430
471
  :name => "Vestby Avis",
431
472
  :label => "vestbyavis",
432
473
  :origo_sandbox_id => 31641,
474
+ :tld => "no",
433
475
  :abbreviation => nil,
434
476
  :ad_tech_id => 1112293,
435
477
  :locale => :"nb-no",
@@ -440,6 +482,7 @@ module APDM
440
482
  :name => "Rana Blad",
441
483
  :label => "ranablad",
442
484
  :origo_sandbox_id => 16244,
485
+ :tld => "no",
443
486
  :abbreviation => 'rana',
444
487
  :ad_tech_id => 1112264,
445
488
  :locale => :"nb-no",
@@ -450,6 +493,7 @@ module APDM
450
493
  :name => "Romerikes Blad",
451
494
  :label => "rb",
452
495
  :origo_sandbox_id => 4242,
496
+ :tld => "no",
453
497
  :abbreviation => 'rome',
454
498
  :ad_tech_id => 1112313,
455
499
  :locale => :"nb-no",
@@ -460,6 +504,7 @@ module APDM
460
504
  :name => "Nordhordland",
461
505
  :label => "nordhordland",
462
506
  :origo_sandbox_id => 46205,
507
+ :tld => "no",
463
508
  :abbreviation => 'noho',
464
509
  :ad_tech_id => 1112282,
465
510
  :locale => :"nn-no",
@@ -470,6 +515,7 @@ module APDM
470
515
  :name => "Gudbrandsdølen Dagningen",
471
516
  :label => "gd",
472
517
  :origo_sandbox_id => 18726,
518
+ :tld => "no",
473
519
  :abbreviation => 'guda',
474
520
  :ad_tech_id => 1112341,
475
521
  :locale => :"nn-no",
@@ -480,6 +526,7 @@ module APDM
480
526
  :name => "Helgeland Arbeiderblad",
481
527
  :label => "helgeland-arbeiderblad",
482
528
  :origo_sandbox_id => 16784,
529
+ :tld => "no",
483
530
  :abbreviation => 'helg',
484
531
  :ad_tech_id => 1112331,
485
532
  :locale => :"nb-no",
@@ -490,6 +537,7 @@ module APDM
490
537
  :name => "Lofotposten",
491
538
  :label => "lofotposten",
492
539
  :origo_sandbox_id => 15071,
540
+ :tld => "no",
493
541
  :abbreviation => 'lopo',
494
542
  :ad_tech_id => 1112346,
495
543
  :locale => :"nb-no",
@@ -500,6 +548,7 @@ module APDM
500
548
  :name => "Dagbladet Finnmarken",
501
549
  :label => "finnmarken",
502
550
  :origo_sandbox_id => 31427,
551
+ :tld => "no",
503
552
  :abbreviation => "finn",
504
553
  :ad_tech_id => 1112334,
505
554
  :locale => :"nb-no",
@@ -510,6 +559,7 @@ module APDM
510
559
  :name => "Halden Arbeiderblad",
511
560
  :label => "hahalden",
512
561
  :origo_sandbox_id => 14790,
562
+ :tld => "no",
513
563
  :abbreviation => 'hald',
514
564
  :ad_tech_id => 1112332,
515
565
  :locale => :"nb-no",
@@ -520,6 +570,7 @@ module APDM
520
570
  :name => "Finnmark Dagblad",
521
571
  :label => "fd",
522
572
  :origo_sandbox_id => 21669,
573
+ :tld => "no",
523
574
  :abbreviation => "fida",
524
575
  :ad_tech_id => 1112265,
525
576
  :locale => :"nb-no",
@@ -530,6 +581,7 @@ module APDM
530
581
  :name => "Kvinnheringen",
531
582
  :label => "kvinnheringen",
532
583
  :origo_sandbox_id => 23334,
584
+ :tld => "no",
533
585
  :abbreviation => 'kvin',
534
586
  :ad_tech_id => 1112311,
535
587
  :locale => :"nn-no",
@@ -540,6 +592,7 @@ module APDM
540
592
  :name => "Akershus Amtstidende",
541
593
  :label => "amta",
542
594
  :origo_sandbox_id => 21439,
595
+ :tld => "no",
543
596
  :abbreviation => 'amta',
544
597
  :ad_tech_id => 1112314,
545
598
  :locale => :"nb-no",
@@ -550,6 +603,7 @@ module APDM
550
603
  :name => "Oppland Arbeiderblad",
551
604
  :label => "oa",
552
605
  :origo_sandbox_id => 16557,
606
+ :tld => "no",
553
607
  :abbreviation => 'oppl',
554
608
  :ad_tech_id => 1112271,
555
609
  :locale => :"nb-no",
@@ -560,10 +614,33 @@ module APDM
560
614
  :name => "Avisa Valdres",
561
615
  :label => "avisa-valdres",
562
616
  :origo_sandbox_id => 223255,
617
+ :tld => "no",
563
618
  :abbreviation => 'avva',
564
619
  :ad_tech_id => 1113080,
565
620
  :locale => :"nb-no",
566
621
  :payment_account => "2594924"
567
622
  })
568
623
 
569
- end
624
+ CHANNELS << Channel.new({
625
+ :name => "Helgelands Blad",
626
+ :label => "hblad",
627
+ :origo_sandbox_id => 1019568,
628
+ :tld => "no",
629
+ :abbreviation => nil,
630
+ :ad_tech_id => 1112281,
631
+ :locale => :"nb-no",
632
+ :payment_account => nil
633
+ })
634
+
635
+ CHANNELS << Channel.new({
636
+ :name => "Kampanje",
637
+ :label => "kampanje",
638
+ :origo_sandbox_id => nil,
639
+ :tld => "com",
640
+ :abbreviation => nil,
641
+ :ad_tech_id => nil,
642
+ :locale => :"nb-no",
643
+ :payment_account => nil
644
+ })
645
+
646
+ end
@@ -54,7 +54,6 @@ module APDM
54
54
  end
55
55
 
56
56
  def save(label, issues)
57
- puts "#{label}: #{issues.count} issues"
58
57
  File.open(path(label), 'w') do |f|
59
58
  f.write "APDM::ISSUES['#{label}'] = [\n"
60
59
  f.write issues.map {|date| " Date.parse('#{date}')" }.join(",\n")
@@ -1,3 +1,3 @@
1
1
  module APDM
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apdm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katrina Owen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-26 00:00:00.000000000 Z
11
+ date: 2013-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -425,3 +425,4 @@ test_files:
425
425
  - spec/vcr_helper.rb
426
426
  - test/fixtures/config-example.yml
427
427
  - test/saxo/acceptance_spec.rb
428
+ has_rdoc: