poms 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4333611e09f4d9d9e64bc14b1df3bbce76593022
4
- data.tar.gz: 95ca2bb08c7d0ea5268b19d043e3d09079f251c9
3
+ metadata.gz: 703bf8edfde98b8273f149be198272b961de2401
4
+ data.tar.gz: 2f609cc7938ad8213370262412116bc3db626db0
5
5
  SHA512:
6
- metadata.gz: 0a3ad89078d35c87c4859a495558598a16ed81b8d3f178d4f0548f20db8d86cb957c746e9d23f5464dd3b1f643d8611b19e4c511531210649de0462151f7e8bd
7
- data.tar.gz: 5d1b7e1e13d6dc8d0aeb1d411fa540049cc4958887f3683a153c6b05dab3f60b1b2698d8af6eb2982c3aa418deedeaf9fff805f5cd2a1e1510e3488dd5e88cf0
6
+ metadata.gz: fdcdd246a1337a91c97d02ee8d83cd28602f7481ecd668561991771f8184364382b550a5dc4f702c648ed5140b4d23a1fb882873d41b41b50029b11b15004446
7
+ data.tar.gz: fb732f79d70461ae2ccd395c054b2cda42f517e7cc3217cb10a123d7c2fd51a641c2847ea2d70e5359d7ac6a405b02231ec3651d69cd6d013039f37a03e80d5a
@@ -0,0 +1,12 @@
1
+ # Poms Release notes
2
+
3
+ ## 1.0.1
4
+
5
+ * [#20](https://github.com/brightin/poms/pull/20) Return schedule event `starts_at` as DateTime.
6
+
7
+ ## 1.0.0
8
+
9
+ Since we've been running live for a while, it made sense to do a big version bump.
10
+
11
+ * Add Rubocop for linting.
12
+ * [#18](https://github.com/brightin/poms/pull/18) Support for the series merging functionality.
@@ -13,7 +13,7 @@ GEM
13
13
  minitest (~> 5.1)
14
14
  thread_safe (~> 0.3, >= 0.3.4)
15
15
  tzinfo (~> 1.1)
16
- ast (2.1.0)
16
+ ast (2.2.0)
17
17
  astrolabe (1.3.1)
18
18
  parser (~> 2.2)
19
19
  celluloid (0.16.0)
@@ -52,8 +52,8 @@ GEM
52
52
  notiffany (0.0.6)
53
53
  nenv (~> 0.1)
54
54
  shellany (~> 0.0)
55
- parser (2.2.3.0)
56
- ast (>= 1.1, < 3.0)
55
+ parser (2.3.0.1)
56
+ ast (~> 2.2)
57
57
  powerpack (0.1.1)
58
58
  pry (0.10.1)
59
59
  coderay (~> 1.1.0)
@@ -107,6 +107,6 @@ DEPENDENCIES
107
107
  poms!
108
108
  rake
109
109
  rspec
110
- rubocop
110
+ rubocop (~> 0.34.1)
111
111
  timecop
112
112
  vcr
@@ -10,6 +10,7 @@ require 'poms/season'
10
10
  require 'poms/series'
11
11
  require 'poms/views'
12
12
  require 'poms/fields'
13
+ require 'poms/timestamp'
13
14
  require 'poms/builderless/broadcast'
14
15
  require 'poms/builderless/clip'
15
16
  require 'poms/merged_series'
@@ -30,7 +30,7 @@ module Poms
30
30
  end
31
31
 
32
32
  def starts_at
33
- @hash['start']
33
+ Timestamp.convert(@hash['start'])
34
34
  end
35
35
  end
36
36
  end
@@ -0,0 +1,10 @@
1
+ module Poms
2
+ # Functionality for manipulating Poms timestamps
3
+ module Timestamp
4
+ module_function
5
+
6
+ def convert(poms_timestamp)
7
+ Time.at(poms_timestamp / 1000).to_datetime
8
+ end
9
+ end
10
+ end
@@ -1,4 +1,4 @@
1
1
  # The version
2
2
  module Poms
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.add_development_dependency 'guard-rspec'
27
27
  spec.add_development_dependency 'fakeweb'
28
28
  spec.add_development_dependency 'fabrication'
29
- spec.add_development_dependency 'rubocop'
29
+ spec.add_development_dependency 'rubocop', '~> 0.34.1'
30
30
  spec.add_development_dependency 'timecop'
31
31
  spec.add_development_dependency 'vcr'
32
32
  spec.add_dependency 'activesupport'
@@ -0,0 +1,43 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://docs.poms.omroep.nl/media/WO_NPO_1950962
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ accept-encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ accept:
13
+ - "*/*"
14
+ user-agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ date:
22
+ - Tue, 19 Jan 2016 13:04:50 GMT
23
+ server:
24
+ - CouchDB/1.6.1 (Erlang OTP/R15B01)
25
+ etag:
26
+ - '"6-a026d5befe017ec7fcef8050ee6e4bcf"'
27
+ content-type:
28
+ - text/plain; charset=utf-8
29
+ content-length:
30
+ - '1545'
31
+ cache-control:
32
+ - must-revalidate
33
+ x-proxyinstancename:
34
+ - poms1b
35
+ set-cookie:
36
+ - balancer://poms3cluster=balancer.poms1s2db; path=/;
37
+ body:
38
+ encoding: UTF-8
39
+ string: |
40
+ {"_id":"WO_NPO_1950962","_rev":"6-a026d5befe017ec7fcef8050ee6e4bcf","objectType":"program","mid":"WO_NPO_1950962","creationDate":1442490263679,"lastModified":1447947725305,"sortDate":1442490263679,"urn":"urn:vpro:media:program:62589080","embeddable":true,"broadcasters":["NPO"],"titles":[{"value":"De wielen van de bus","owner":"BROADCASTER","type":"MAIN"},{"value":"De wielen van de bus","owner":"BROADCASTER","type":"SUB"}],"descriptions":[{"value":"De wielen van de bus","owner":"BROADCASTER","type":"MAIN"}],"genres":["Jeugd"],"countries":[],"languages":[],"duration":60000,"descendantOf":[{"midRef":"POMS_S_NPO_2015412","urnRef":"urn:vpro:media:group:62589310","type":"PLAYLIST"}],"memberOf":[{"midRef":"POMS_S_NPO_2015412","urnRef":"urn:vpro:media:group:62589310","type":"PLAYLIST","index":2,"highlighted":false,"added":1442490529409}],"locations":[{"programUrl":"http://download.omroep.nl/npo/zappelin/DWVZ_AFL_86_De_wielen_van_de_bus.mp4","avAttributes":{"bitrate":1000000,"avFileFormat":"MP4"},"owner":"BROADCASTER","creationDate":1442490345785,"lastModified":1442490345864,"workflow":"PUBLISHED","urn":"urn:vpro:media:location:62589229"}],"images":[{"title":"Wielen van de bus","description":"wielen van de bus","imageUri":"urn:vpro:image:653515","height":259,"width":559,"owner":"BROADCASTER","type":"PORTRAIT","highlighted":true,"creationDate":1442491591052,"lastModified":1442491591141,"workflow":"PUBLISHED","urn":"urn:vpro:media:image:62590127"}],"publishDate":1447947869447,"workflow":"PUBLISHED","type":"CLIP","avType":"VIDEO"}
41
+ http_version: '1.1'
42
+ recorded_at: Tue, 06 Oct 2015 12:00:00 GMT
43
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,43 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://docs.poms.omroep.nl/media/WO_NPO_1950962
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ accept-encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ accept:
13
+ - "*/*"
14
+ user-agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ date:
22
+ - Tue, 19 Jan 2016 13:04:50 GMT
23
+ server:
24
+ - CouchDB/1.6.1 (Erlang OTP/R15B01)
25
+ etag:
26
+ - '"6-a026d5befe017ec7fcef8050ee6e4bcf"'
27
+ content-type:
28
+ - text/plain; charset=utf-8
29
+ content-length:
30
+ - '1545'
31
+ cache-control:
32
+ - must-revalidate
33
+ x-proxyinstancename:
34
+ - poms1b
35
+ set-cookie:
36
+ - balancer://poms3cluster=balancer.poms1s1db; path=/;
37
+ body:
38
+ encoding: UTF-8
39
+ string: |
40
+ {"_id":"WO_NPO_1950962","_rev":"6-a026d5befe017ec7fcef8050ee6e4bcf","objectType":"program","mid":"WO_NPO_1950962","creationDate":1442490263679,"lastModified":1447947725305,"sortDate":1442490263679,"urn":"urn:vpro:media:program:62589080","embeddable":true,"broadcasters":["NPO"],"titles":[{"value":"De wielen van de bus","owner":"BROADCASTER","type":"MAIN"},{"value":"De wielen van de bus","owner":"BROADCASTER","type":"SUB"}],"descriptions":[{"value":"De wielen van de bus","owner":"BROADCASTER","type":"MAIN"}],"genres":["Jeugd"],"countries":[],"languages":[],"duration":60000,"descendantOf":[{"midRef":"POMS_S_NPO_2015412","urnRef":"urn:vpro:media:group:62589310","type":"PLAYLIST"}],"memberOf":[{"midRef":"POMS_S_NPO_2015412","urnRef":"urn:vpro:media:group:62589310","type":"PLAYLIST","index":2,"highlighted":false,"added":1442490529409}],"locations":[{"programUrl":"http://download.omroep.nl/npo/zappelin/DWVZ_AFL_86_De_wielen_van_de_bus.mp4","avAttributes":{"bitrate":1000000,"avFileFormat":"MP4"},"owner":"BROADCASTER","creationDate":1442490345785,"lastModified":1442490345864,"workflow":"PUBLISHED","urn":"urn:vpro:media:location:62589229"}],"images":[{"title":"Wielen van de bus","description":"wielen van de bus","imageUri":"urn:vpro:image:653515","height":259,"width":559,"owner":"BROADCASTER","type":"PORTRAIT","highlighted":true,"creationDate":1442491591052,"lastModified":1442491591141,"workflow":"PUBLISHED","urn":"urn:vpro:media:image:62590127"}],"publishDate":1447947869447,"workflow":"PUBLISHED","type":"CLIP","avType":"VIDEO"}
41
+ http_version: '1.1'
42
+ recorded_at: Tue, 06 Oct 2015 12:00:00 GMT
43
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,43 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://docs.poms.omroep.nl/media/WO_NPO_1950962
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ accept-encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ accept:
13
+ - "*/*"
14
+ user-agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ date:
22
+ - Tue, 19 Jan 2016 13:04:50 GMT
23
+ server:
24
+ - CouchDB/1.6.1 (Erlang OTP/R15B01)
25
+ etag:
26
+ - '"6-a026d5befe017ec7fcef8050ee6e4bcf"'
27
+ content-type:
28
+ - text/plain; charset=utf-8
29
+ content-length:
30
+ - '1545'
31
+ cache-control:
32
+ - must-revalidate
33
+ x-proxyinstancename:
34
+ - poms1b
35
+ set-cookie:
36
+ - balancer://poms3cluster=balancer.poms1s2db; path=/;
37
+ body:
38
+ encoding: UTF-8
39
+ string: |
40
+ {"_id":"WO_NPO_1950962","_rev":"6-a026d5befe017ec7fcef8050ee6e4bcf","objectType":"program","mid":"WO_NPO_1950962","creationDate":1442490263679,"lastModified":1447947725305,"sortDate":1442490263679,"urn":"urn:vpro:media:program:62589080","embeddable":true,"broadcasters":["NPO"],"titles":[{"value":"De wielen van de bus","owner":"BROADCASTER","type":"MAIN"},{"value":"De wielen van de bus","owner":"BROADCASTER","type":"SUB"}],"descriptions":[{"value":"De wielen van de bus","owner":"BROADCASTER","type":"MAIN"}],"genres":["Jeugd"],"countries":[],"languages":[],"duration":60000,"descendantOf":[{"midRef":"POMS_S_NPO_2015412","urnRef":"urn:vpro:media:group:62589310","type":"PLAYLIST"}],"memberOf":[{"midRef":"POMS_S_NPO_2015412","urnRef":"urn:vpro:media:group:62589310","type":"PLAYLIST","index":2,"highlighted":false,"added":1442490529409}],"locations":[{"programUrl":"http://download.omroep.nl/npo/zappelin/DWVZ_AFL_86_De_wielen_van_de_bus.mp4","avAttributes":{"bitrate":1000000,"avFileFormat":"MP4"},"owner":"BROADCASTER","creationDate":1442490345785,"lastModified":1442490345864,"workflow":"PUBLISHED","urn":"urn:vpro:media:location:62589229"}],"images":[{"title":"Wielen van de bus","description":"wielen van de bus","imageUri":"urn:vpro:image:653515","height":259,"width":559,"owner":"BROADCASTER","type":"PORTRAIT","highlighted":true,"creationDate":1442491591052,"lastModified":1442491591141,"workflow":"PUBLISHED","urn":"urn:vpro:media:image:62590127"}],"publishDate":1447947869447,"workflow":"PUBLISHED","type":"CLIP","avType":"VIDEO"}
41
+ http_version: '1.1'
42
+ recorded_at: Tue, 06 Oct 2015 12:00:00 GMT
43
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,43 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://docs.poms.omroep.nl/media/WO_NPO_1950962
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ accept-encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ accept:
13
+ - "*/*"
14
+ user-agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ date:
22
+ - Tue, 19 Jan 2016 13:04:50 GMT
23
+ server:
24
+ - CouchDB/1.6.1 (Erlang OTP/R15B01)
25
+ etag:
26
+ - '"6-a026d5befe017ec7fcef8050ee6e4bcf"'
27
+ content-type:
28
+ - text/plain; charset=utf-8
29
+ content-length:
30
+ - '1545'
31
+ cache-control:
32
+ - must-revalidate
33
+ x-proxyinstancename:
34
+ - poms1b
35
+ set-cookie:
36
+ - balancer://poms3cluster=balancer.poms1s1db; path=/;
37
+ body:
38
+ encoding: UTF-8
39
+ string: |
40
+ {"_id":"WO_NPO_1950962","_rev":"6-a026d5befe017ec7fcef8050ee6e4bcf","objectType":"program","mid":"WO_NPO_1950962","creationDate":1442490263679,"lastModified":1447947725305,"sortDate":1442490263679,"urn":"urn:vpro:media:program:62589080","embeddable":true,"broadcasters":["NPO"],"titles":[{"value":"De wielen van de bus","owner":"BROADCASTER","type":"MAIN"},{"value":"De wielen van de bus","owner":"BROADCASTER","type":"SUB"}],"descriptions":[{"value":"De wielen van de bus","owner":"BROADCASTER","type":"MAIN"}],"genres":["Jeugd"],"countries":[],"languages":[],"duration":60000,"descendantOf":[{"midRef":"POMS_S_NPO_2015412","urnRef":"urn:vpro:media:group:62589310","type":"PLAYLIST"}],"memberOf":[{"midRef":"POMS_S_NPO_2015412","urnRef":"urn:vpro:media:group:62589310","type":"PLAYLIST","index":2,"highlighted":false,"added":1442490529409}],"locations":[{"programUrl":"http://download.omroep.nl/npo/zappelin/DWVZ_AFL_86_De_wielen_van_de_bus.mp4","avAttributes":{"bitrate":1000000,"avFileFormat":"MP4"},"owner":"BROADCASTER","creationDate":1442490345785,"lastModified":1442490345864,"workflow":"PUBLISHED","urn":"urn:vpro:media:location:62589229"}],"images":[{"title":"Wielen van de bus","description":"wielen van de bus","imageUri":"urn:vpro:image:653515","height":259,"width":559,"owner":"BROADCASTER","type":"PORTRAIT","highlighted":true,"creationDate":1442491591052,"lastModified":1442491591141,"workflow":"PUBLISHED","urn":"urn:vpro:media:image:62590127"}],"publishDate":1447947869447,"workflow":"PUBLISHED","type":"CLIP","avType":"VIDEO"}
41
+ http_version: '1.1'
42
+ recorded_at: Tue, 06 Oct 2015 12:00:00 GMT
43
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,53 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://docs.poms.omroep.nl/media/_design/media/_view/broadcasts-by-channel-and-start?descending=true&endkey=%5B%22OPVO%22%2C+1444046400000%5D&include_docs=true&limit=1&reduce=false&startkey=%5B%22OPVO%22%2C+1444132800000%5D
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ accept-encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ accept:
13
+ - "*/*"
14
+ user-agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ date:
22
+ - Tue, 19 Jan 2016 13:05:32 GMT
23
+ server:
24
+ - CouchDB/1.6.1 (Erlang OTP/R15B01)
25
+ etag:
26
+ - '"Y2MYXBT5GJJ0TD6483E1R9EI"'
27
+ content-type:
28
+ - text/plain; charset=utf-8
29
+ cache-control:
30
+ - must-revalidate
31
+ x-proxyinstancename:
32
+ - poms1b
33
+ set-cookie:
34
+ - balancer://poms3cluster=balancer.poms1s2db; path=/;
35
+ transfer-encoding:
36
+ - chunked
37
+ body:
38
+ encoding: UTF-8
39
+ string: "{\"total_rows\":923957,\"offset\":237582,\"rows\":[\r\n{\"id\":\"T_POW_02983987\",\"key\":[\"OPVO\",1444128900000],\"value\":null,\"doc\":{\"_id\":\"T_POW_02983987\",\"_rev\":\"20-2580d71f807a2182a6e5298231166a69\",\"objectType\":\"program\",\"mid\":\"T_POW_02983987\",\"creationDate\":1442487246008,\"lastModified\":1452873713621,\"sortDate\":1444128900000,\"urn\":\"urn:vpro:media:program:62586944\",\"embeddable\":true,\"broadcasters\":[\"KRO-NCRV\"],\"titles\":[{\"value\":\"Peperbollen\",\"owner\":\"MIS\",\"type\":\"MAIN\"},{\"value\":\"Alle
40
+ begin is moeilijk\",\"owner\":\"MIS\",\"type\":\"SUB\"}],\"descriptions\":[{\"value\":\"Een
41
+ groepje kinderen dat zich de Peperbollen noemt bestrijdt misdaad en onrecht.
42
+ Ze hebben hun hoofdkwartier in een magazijnencomplex in het havendistrict
43
+ van Hamburg.\",\"owner\":\"MIS\",\"type\":\"MAIN\"},{\"value\":\"Een groepje
44
+ kinderen dat zich de Peperbollen noemt bestrijdt misdaad en onrecht. Ze hebben
45
+ hun hoofdkwartier in een magazijnencomplex in het havendistrict van Hamburg.\",\"owner\":\"MIS\",\"type\":\"SHORT\"},{\"value\":\"Een
46
+ groepje kinderen dat zich de Peperbollen noemt bestrijdt misdaad en onrecht
47
+ in Hamburg.\",\"owner\":\"MIS\",\"type\":\"KICKER\"}],\"genres\":[\"Jeugd\",\"Serie/soap\"],\"countries\":[\"DE\"],\"languages\":[\"DE\"],\"releaseYear\":2011,\"duration\":1500000,\"credits\":[{\"givenName\":\"Katherina\",\"familyName\":\"Unger\",\"role\":\"ACTOR\"},{\"givenName\":\"Coco\",\"familyName\":\"Nima\",\"role\":\"ACTOR\"},{\"givenName\":\"Aurelia\",\"familyName\":\"Stern\",\"role\":\"ACTOR\"}],\"scheduleEvents\":[{\"guideDay\":1444082400000,\"start\":1444128900000,\"duration\":1500000,\"poProgID\":\"T_POW_02983987\",\"channel\":\"OPVO\",\"urnRef\":\"urn:vpro:media:program:62586944\",\"midRef\":\"T_POW_02983987\"},{\"guideDay\":1444082400000,\"start\":1444153800000,\"duration\":1500000,\"poProgID\":\"T_POW_02983987\",\"channel\":\"OPVO\",\"urnRef\":\"urn:vpro:media:program:62586944\",\"midRef\":\"T_POW_02983987\"},{\"textSubtitles\":\"Teletekst
48
+ ondertitels\",\"guideDay\":1452812400000,\"start\":1452837300000,\"duration\":1658000,\"poProgID\":\"T_POW_02983987\",\"channel\":\"OPVO\",\"urnRef\":\"urn:vpro:media:program:62586944\",\"midRef\":\"T_POW_02983987\"},{\"textSubtitles\":\"Teletekst
49
+ ondertitels\",\"guideDay\":1452812400000,\"start\":1452849900000,\"duration\":1658000,\"poProgID\":\"T_POW_02983987\",\"channel\":\"OPVO\",\"urnRef\":\"urn:vpro:media:program:62586944\",\"midRef\":\"T_POW_02983987\"},{\"textSubtitles\":\"Teletekst
50
+ ondertitels\",\"guideDay\":1453071600000,\"start\":1453148100000,\"duration\":1658000,\"poProgID\":\"T_POW_02983987\",\"channel\":\"OPVO\",\"urnRef\":\"urn:vpro:media:program:62586944\",\"midRef\":\"T_POW_02983987\"}],\"publishDate\":1452873995581,\"workflow\":\"PUBLISHED\",\"type\":\"BROADCAST\",\"avType\":\"VIDEO\"}}\r\n]}\n"
51
+ http_version: '1.1'
52
+ recorded_at: Tue, 06 Oct 2015 12:00:00 GMT
53
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe Poms::Builderless::Broadcast do
4
+ let(:subject) { Poms.fetch_current_broadcast('OPVO') }
5
+
6
+ describe '#starts_at' do
7
+ it 'returns a datetime' do
8
+ expect(subject.schedule_events.first.starts_at).to be_a DateTime
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,8 @@
1
+ require 'spec_helper'
2
+
3
+ describe Poms::Timestamp do
4
+ it 'converts Poms timestamps to DateTime' do
5
+ expect(Poms::Timestamp.convert(1_453_217_700_000))
6
+ .to eq(Time.parse '2016-01-19 16:35:00 +0100')
7
+ end
8
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Kruijsen
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-01-11 00:00:00.000000000 Z
13
+ date: 2016-01-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -114,16 +114,16 @@ dependencies:
114
114
  name: rubocop
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
- - - ">="
117
+ - - "~>"
118
118
  - !ruby/object:Gem::Version
119
- version: '0'
119
+ version: 0.34.1
120
120
  type: :development
121
121
  prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  requirements:
124
- - - ">="
124
+ - - "~>"
125
125
  - !ruby/object:Gem::Version
126
- version: '0'
126
+ version: 0.34.1
127
127
  - !ruby/object:Gem::Dependency
128
128
  name: timecop
129
129
  requirement: !ruby/object:Gem::Requirement
@@ -175,6 +175,7 @@ executables: []
175
175
  extensions: []
176
176
  extra_rdoc_files: []
177
177
  files:
178
+ - CHANGELOG.md
178
179
  - Gemfile
179
180
  - Gemfile.lock
180
181
  - Guardfile
@@ -196,6 +197,7 @@ files:
196
197
  - lib/poms/schedule_event.rb
197
198
  - lib/poms/season.rb
198
199
  - lib/poms/series.rb
200
+ - lib/poms/timestamp.rb
199
201
  - lib/poms/version.rb
200
202
  - lib/poms/views.rb
201
203
  - poms.gemspec
@@ -207,6 +209,11 @@ files:
207
209
  - spec/fixtures/poms_series.json
208
210
  - spec/fixtures/poms_single_broadcast_by_channel.json
209
211
  - spec/fixtures/poms_zapp.json
212
+ - spec/fixtures/vcr_cassettes/poms/builderless/broadcast/has_a_position.yml
213
+ - spec/fixtures/vcr_cassettes/poms/builderless/broadcast/has_a_title.yml
214
+ - spec/fixtures/vcr_cassettes/poms/builderless/broadcast/has_a_video_url.yml
215
+ - spec/fixtures/vcr_cassettes/poms/builderless/broadcast/has_an_image_id.yml
216
+ - spec/fixtures/vcr_cassettes/poms/builderless/broadcast_starts_at/returns_a_datetime.yml
210
217
  - spec/fixtures/vcr_cassettes/poms/builderless/clip/has_a_position.yml
211
218
  - spec/fixtures/vcr_cassettes/poms/builderless/clip/has_a_title.yml
212
219
  - spec/fixtures/vcr_cassettes/poms/builderless/clip/has_a_video_url.yml
@@ -228,9 +235,11 @@ files:
228
235
  - spec/integration/poms_spec.rb
229
236
  - spec/lib/poms/broadcast_spec.rb
230
237
  - spec/lib/poms/builder_spec.rb
238
+ - spec/lib/poms/builderless/broadcast_spec.rb
231
239
  - spec/lib/poms/builderless/clip_spec.rb
232
240
  - spec/lib/poms/merged_series_spec.rb
233
241
  - spec/lib/poms/schedule_event_spec.rb
242
+ - spec/lib/poms/timestamp_spec.rb
234
243
  - spec/lib/poms/views_spec.rb
235
244
  - spec/lib/poms_spec.rb
236
245
  - spec/spec_helper.rb
@@ -267,6 +276,11 @@ test_files:
267
276
  - spec/fixtures/poms_series.json
268
277
  - spec/fixtures/poms_single_broadcast_by_channel.json
269
278
  - spec/fixtures/poms_zapp.json
279
+ - spec/fixtures/vcr_cassettes/poms/builderless/broadcast/has_a_position.yml
280
+ - spec/fixtures/vcr_cassettes/poms/builderless/broadcast/has_a_title.yml
281
+ - spec/fixtures/vcr_cassettes/poms/builderless/broadcast/has_a_video_url.yml
282
+ - spec/fixtures/vcr_cassettes/poms/builderless/broadcast/has_an_image_id.yml
283
+ - spec/fixtures/vcr_cassettes/poms/builderless/broadcast_starts_at/returns_a_datetime.yml
270
284
  - spec/fixtures/vcr_cassettes/poms/builderless/clip/has_a_position.yml
271
285
  - spec/fixtures/vcr_cassettes/poms/builderless/clip/has_a_title.yml
272
286
  - spec/fixtures/vcr_cassettes/poms/builderless/clip/has_a_video_url.yml
@@ -288,9 +302,11 @@ test_files:
288
302
  - spec/integration/poms_spec.rb
289
303
  - spec/lib/poms/broadcast_spec.rb
290
304
  - spec/lib/poms/builder_spec.rb
305
+ - spec/lib/poms/builderless/broadcast_spec.rb
291
306
  - spec/lib/poms/builderless/clip_spec.rb
292
307
  - spec/lib/poms/merged_series_spec.rb
293
308
  - spec/lib/poms/schedule_event_spec.rb
309
+ - spec/lib/poms/timestamp_spec.rb
294
310
  - spec/lib/poms/views_spec.rb
295
311
  - spec/lib/poms_spec.rb
296
312
  - spec/spec_helper.rb