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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17f9070a5cfe7b2ad2e2a35f011a2b29e2f71742
4
- data.tar.gz: 15ad78cdde39a9e14f7978aaeed18364914e7659
3
+ metadata.gz: 7f510ab2062fb7c7c1f8be6e4d5b577c7fba75d4
4
+ data.tar.gz: 045a4acf52b6437c69f1916bf9fa502fb92c6ed2
5
5
  SHA512:
6
- metadata.gz: 1ccd2da7e19fe4adab853fd6f8155c25f0566b9fc84f86ead6a799b0cc2b33150e8d9bd51b94618b02febd1a9c75bf31bb2e7569e6c534ccbc4c19eece400c01
7
- data.tar.gz: 50b5702b3c0fe84ab715779f9113eb5e0db0333f5916f176d4c0af51b6137046ea11b0a2285a3bba297b81ccacda7cdfa38856a464a808c9dbc408274d0cf777
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,5 +1,5 @@
1
1
  module Boxxspring
2
- class FacebookDistribution < Distribution
2
+ class FacebookPageDistribution < Distribution
3
3
 
4
4
  field :post_type
5
5
 
@@ -1,6 +1,6 @@
1
1
  module Boxxspring
2
2
 
3
- class FacebookDistributionTask < Task
3
+ class FacebookPageDistributionTask < Task
4
4
 
5
5
  field :distribution_id
6
6
  field :post_name
@@ -0,0 +1,7 @@
1
+ module Boxxspring
2
+
3
+ class FacebookPageService < SocialService
4
+
5
+ end
6
+
7
+ end
@@ -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 :created_at
6
- field :updated_at
5
+ field :created_at
6
+ field :updated_at
7
7
 
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
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
- has_many :video_sources
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
 
@@ -1,3 +1,3 @@
1
1
  module Boxxspring
2
- VERSION = '2.1.7'
2
+ VERSION = '2.1.8'
3
3
  end
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/facebook_distribution'
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/facebook_distribution_task'
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.7
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-03 00:00:00.000000000 Z
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/facebook_distribution.rb
94
- - lib/boxxspring/resources/facebook_distribution_task.rb
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