boxxspring 2.1.7 → 2.1.8
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 +4 -4
- data/lib/boxxspring/resources/base.rb +2 -1
- data/lib/boxxspring/resources/{facebook_distribution.rb → facebook_page_distribution.rb} +1 -1
- data/lib/boxxspring/resources/{facebook_distribution_task.rb → facebook_page_distribution_task.rb} +1 -1
- data/lib/boxxspring/resources/facebook_page_service.rb +7 -0
- data/lib/boxxspring/resources/social_service.rb +3 -0
- data/lib/boxxspring/resources/video.rb +28 -12
- data/lib/boxxspring/version.rb +1 -1
- data/lib/boxxspring.rb +3 -2
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f510ab2062fb7c7c1f8be6e4d5b577c7fba75d4
|
4
|
+
data.tar.gz: 045a4acf52b6437c69f1916bf9fa502fb92c6ed2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 463a2310f7737e3a755d71acc003e88dca7bd7874d727cd263daca34e0a0f79b878ad1f8d0c3cc071e21c3698f00dd1bb038e9920f955956ca82614b408617e0
|
7
|
+
data.tar.gz: 78b9fd9e774732f3e49e58a79af3e39da93979dd67bb366d219aa1112f605a688dcd32917e1ee13089b650a777e20f2ed31b5e7f8ca2465aa12b0eeebff1085c
|
@@ -14,12 +14,13 @@ module Boxxspring
|
|
14
14
|
|
15
15
|
class_eval(
|
16
16
|
"def #{name}(); " +
|
17
|
+
"@#{name}.is_a?( FalseClass ) ? @#{name} : (" +
|
17
18
|
"@#{name} || " +
|
18
19
|
( options[ :default ].nil? ?
|
19
20
|
"nil" :
|
20
21
|
( options[ :default ].is_a?( String ) ?
|
21
22
|
"'#{options[ :default ]}'" :
|
22
|
-
"#{options[ :default ]}" ) ) + ";" +
|
23
|
+
"#{options[ :default ]}" ) ) + ");" +
|
23
24
|
"end;" +
|
24
25
|
" " +
|
25
26
|
"attr_writer :#{name};",
|
@@ -1,6 +1,7 @@
|
|
1
1
|
module Boxxspring
|
2
2
|
|
3
3
|
class SocialService < Base
|
4
|
+
|
4
5
|
field :type_name
|
5
6
|
field :id
|
6
7
|
field :created_at
|
@@ -11,6 +12,8 @@ module Boxxspring
|
|
11
12
|
field :thumbnail_url
|
12
13
|
field :access_token
|
13
14
|
field :expires_at
|
15
|
+
field :authorized
|
16
|
+
|
14
17
|
end
|
15
18
|
|
16
19
|
end
|
@@ -2,20 +2,36 @@ module Boxxspring
|
|
2
2
|
|
3
3
|
class Video < Base
|
4
4
|
|
5
|
-
field
|
6
|
-
field
|
5
|
+
field :created_at
|
6
|
+
field :updated_at
|
7
7
|
|
8
|
-
field
|
9
|
-
field
|
10
|
-
field
|
11
|
-
field
|
12
|
-
field
|
13
|
-
field
|
14
|
-
field
|
15
|
-
field
|
16
|
-
field
|
8
|
+
field :id
|
9
|
+
field :storage_key
|
10
|
+
field :filename
|
11
|
+
field :content_type
|
12
|
+
field :size
|
13
|
+
field :duration
|
14
|
+
field :picture_id
|
15
|
+
field :height
|
16
|
+
field :width
|
17
17
|
|
18
|
-
|
18
|
+
field :codec
|
19
|
+
field :codec_long
|
20
|
+
field :color_and_chroma
|
21
|
+
field :profile
|
22
|
+
field :level
|
23
|
+
field :bit_rate
|
24
|
+
field :frame_rate
|
25
|
+
field :display_aspect_ratio
|
26
|
+
field :sample_aspect_ratio
|
27
|
+
field :audio_codec
|
28
|
+
field :audio_codec_long
|
29
|
+
field :audio_channels
|
30
|
+
field :audio_bit_rate
|
31
|
+
field :audio_sample_rate
|
32
|
+
field :audio_channel_layout
|
33
|
+
|
34
|
+
has_many :video_sources
|
19
35
|
|
20
36
|
end
|
21
37
|
|
data/lib/boxxspring/version.rb
CHANGED
data/lib/boxxspring.rb
CHANGED
@@ -62,12 +62,13 @@ require 'boxxspring/resources/subscription_ingestion_task'
|
|
62
62
|
require 'boxxspring/resources/sample'
|
63
63
|
require 'boxxspring/resources/metric'
|
64
64
|
require 'boxxspring/resources/distribution'
|
65
|
-
require 'boxxspring/resources/
|
65
|
+
require 'boxxspring/resources/facebook_page_distribution'
|
66
66
|
require 'boxxspring/resources/twitter_distribution'
|
67
67
|
require 'boxxspring/resources/youtube_distribution'
|
68
|
-
require 'boxxspring/resources/
|
68
|
+
require 'boxxspring/resources/facebook_page_distribution_task'
|
69
69
|
require 'boxxspring/resources/twitter_distribution_task'
|
70
70
|
require 'boxxspring/resources/youtube_distribution_task'
|
71
71
|
require 'boxxspring/resources/artifact_location'
|
72
72
|
|
73
73
|
require 'boxxspring/resources/youtube_channel_service'
|
74
|
+
require 'boxxspring/resources/facebook_page_service'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boxxspring
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kristoph Cichocki-Romanov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -90,8 +90,9 @@ files:
|
|
90
90
|
- lib/boxxspring/resources/card.rb
|
91
91
|
- lib/boxxspring/resources/distribution.rb
|
92
92
|
- lib/boxxspring/resources/error.rb
|
93
|
-
- lib/boxxspring/resources/
|
94
|
-
- lib/boxxspring/resources/
|
93
|
+
- lib/boxxspring/resources/facebook_page_distribution.rb
|
94
|
+
- lib/boxxspring/resources/facebook_page_distribution_task.rb
|
95
|
+
- lib/boxxspring/resources/facebook_page_service.rb
|
95
96
|
- lib/boxxspring/resources/feed.rb
|
96
97
|
- lib/boxxspring/resources/feed_generation_task.rb
|
97
98
|
- lib/boxxspring/resources/filter.rb
|