boxxspring 2.5.1 → 2.6.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: 75a9a613dd13caea56343a5f9049b80ce268d20c
4
- data.tar.gz: f76bccc422040937f51fc90a83587982ed953f88
3
+ metadata.gz: d3743388ed20e68e863a8859bf9c68f9f9afbdd7
4
+ data.tar.gz: d21d968f9d9df1c80beac0d4801e09db45a65bfd
5
5
  SHA512:
6
- metadata.gz: a7c3460324a412d2dde4e0c71abc40435b8612c1f0caefc1f31d0b5a0b24908a73d58af04e11da5521a0ecd7b93bb2133074ab3dae32735459016fef4b1e34c6
7
- data.tar.gz: bc59128ce33809bb428e42d591c01e766565debd8c843635f8c4e2ab7680ec6c2f16a45371cfe1f8dfe88fb35480fb885846ebdb73b614fef71a82eb37dc7196
6
+ metadata.gz: 1c7cf2cbbffeb1b71a7b1404a2ccf2483912cbd80bf82fe23004df831ec1fcda1fbe2bc9cdbce2ba03800de1e287495e62aa84cd35e021eac8ea3a49d8f87d8d
7
+ data.tar.gz: f1c77023c8ce0de642241c4978ccfdc355db5c7aaaa7d8892a919239261f191e7a06de040d4ee4ea8a859e75adfb9d5975222c1a84944ac40c8f80a5705c9a83
@@ -34,7 +34,8 @@ module Boxxspring
34
34
 
35
35
  # the api uri; DO NOT COMMIT A MODIFIED DEFAULT
36
36
  define_attribute :api_uri, default: 'https://api.boxxspring.com'
37
-
37
+ define_attribute :api_credentials
38
+
38
39
  def from_hash( configuration )
39
40
 
40
41
  configuration.each_pair do | name, value |
@@ -40,6 +40,8 @@ module Boxxspring
40
40
 
41
41
  field :property_id
42
42
 
43
+ field :uid
44
+
43
45
  has_one :attribution
44
46
 
45
47
  has_many :artifacts
@@ -0,0 +1,10 @@
1
+ module Boxxspring
2
+
3
+ class BoxxspringDistributionOperation < DistributionOperation
4
+ field :name
5
+ field :description
6
+ field :published
7
+ field :artifact_ids
8
+ end
9
+
10
+ end
@@ -0,0 +1,12 @@
1
+ module Boxxspring
2
+
3
+ class DailymotionDistributionOperation < DistributionOperation
4
+ field :video_title
5
+ field :video_description
6
+ field :video_public
7
+ field :video_category_id
8
+ field :video_featured
9
+ field :video_tags
10
+ end
11
+
12
+ end
@@ -1,6 +1,6 @@
1
1
  module Boxxspring
2
2
 
3
- class DistributionActivity < Base
3
+ class DistributionOperation < Base
4
4
  field :id
5
5
  field :property_id
6
6
  field :artifact_id
@@ -9,6 +9,7 @@ module Boxxspring
9
9
  field :completed_at
10
10
  field :state
11
11
  field :message
12
+ field :execute_at
12
13
 
13
14
  has_one :distribution
14
15
  end
@@ -0,0 +1,11 @@
1
+ module Boxxspring
2
+
3
+ class FacebookPageDistributionOperation < DistributionOperation
4
+ field :post_name
5
+ field :post_link
6
+ field :post_message
7
+ field :post_link_description
8
+ field :post_link_caption
9
+ end
10
+
11
+ end
@@ -14,6 +14,7 @@ module Boxxspring
14
14
  field :message
15
15
  field :started_at
16
16
  field :ended_at
17
+ field :execute_at
17
18
 
18
19
  has_one :property
19
20
 
@@ -0,0 +1,7 @@
1
+ module Boxxspring
2
+
3
+ class TwitterDistributionOperation < DistributionOperation
4
+ field :tweet_status
5
+ end
6
+
7
+ end
@@ -0,0 +1,9 @@
1
+ module Boxxspring
2
+
3
+ class VerizonDistributionOperation < DistributionOperation
4
+ field :video_title
5
+ field :video_description
6
+ field :episode_number
7
+ end
8
+
9
+ end
@@ -0,0 +1,11 @@
1
+ module Boxxspring
2
+
3
+ class YoutubeDistributionOperation < DistributionOperation
4
+ field :video_title
5
+ field :video_description
6
+ field :video_visibility
7
+ field :video_category_id
8
+ field :video_tags
9
+ end
10
+
11
+ end
@@ -1,3 +1,3 @@
1
1
  module Boxxspring
2
- VERSION = '2.5.1'
2
+ VERSION = '2.6.1'
3
3
  end
data/lib/boxxspring.rb CHANGED
@@ -70,9 +70,18 @@ require 'boxxspring/resources/twitter_distribution'
70
70
  require 'boxxspring/resources/youtube_distribution'
71
71
  require 'boxxspring/resources/dailymotion_distribution'
72
72
  require 'boxxspring/resources/boxxspring_distribution'
73
- require 'boxxspring/resources/distribution_activity'
74
73
  require 'boxxspring/resources/branding_rule'
75
74
 
75
+ ## DistributionOperations
76
+
77
+ require 'boxxspring/resources/distribution_operation'
78
+ require 'boxxspring/resources/dailymotion_distribution_operation'
79
+ require 'boxxspring/resources/verizon_distribution_operation'
80
+ require 'boxxspring/resources/boxxspring_distribution_operation'
81
+ require 'boxxspring/resources/youtube_distribution_operation'
82
+ require 'boxxspring/resources/facebook_page_distribution_operation'
83
+ require 'boxxspring/resources/twitter_distribution_operation'
84
+
76
85
  ## Tasks
77
86
  require 'boxxspring/resources/task'
78
87
  require 'boxxspring/resources/task_dependent'
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.5.1
4
+ version: 2.6.1
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: 2016-03-08 00:00:00.000000000 Z
11
+ date: 2016-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -91,17 +91,20 @@ files:
91
91
  - lib/boxxspring/resources/attribute_error.rb
92
92
  - lib/boxxspring/resources/base.rb
93
93
  - lib/boxxspring/resources/boxxspring_distribution.rb
94
+ - lib/boxxspring/resources/boxxspring_distribution_operation.rb
94
95
  - lib/boxxspring/resources/boxxspring_distribution_task.rb
95
96
  - lib/boxxspring/resources/branding_rule.rb
96
97
  - lib/boxxspring/resources/clip_creation_task.rb
97
98
  - lib/boxxspring/resources/dailymotion_channel_service.rb
98
99
  - lib/boxxspring/resources/dailymotion_distribution.rb
100
+ - lib/boxxspring/resources/dailymotion_distribution_operation.rb
99
101
  - lib/boxxspring/resources/dailymotion_distribution_task.rb
100
102
  - lib/boxxspring/resources/dailymotion_subscription_metadata_task.rb
101
103
  - lib/boxxspring/resources/distribution.rb
102
- - lib/boxxspring/resources/distribution_activity.rb
104
+ - lib/boxxspring/resources/distribution_operation.rb
103
105
  - lib/boxxspring/resources/error.rb
104
106
  - lib/boxxspring/resources/facebook_page_distribution.rb
107
+ - lib/boxxspring/resources/facebook_page_distribution_operation.rb
105
108
  - lib/boxxspring/resources/facebook_page_distribution_task.rb
106
109
  - lib/boxxspring/resources/facebook_page_service.rb
107
110
  - lib/boxxspring/resources/feed.rb
@@ -132,12 +135,14 @@ files:
132
135
  - lib/boxxspring/resources/theme_template.rb
133
136
  - lib/boxxspring/resources/token.rb
134
137
  - lib/boxxspring/resources/twitter_distribution.rb
138
+ - lib/boxxspring/resources/twitter_distribution_operation.rb
135
139
  - lib/boxxspring/resources/twitter_distribution_task.rb
136
140
  - lib/boxxspring/resources/twitter_service.rb
137
141
  - lib/boxxspring/resources/twitter_subscription_metadata_task.rb
138
142
  - lib/boxxspring/resources/twitter_subscription_task.rb
139
143
  - lib/boxxspring/resources/user_agent.rb
140
144
  - lib/boxxspring/resources/verizon_distribution.rb
145
+ - lib/boxxspring/resources/verizon_distribution_operation.rb
141
146
  - lib/boxxspring/resources/verizon_distribution_task.rb
142
147
  - lib/boxxspring/resources/video.rb
143
148
  - lib/boxxspring/resources/video_article_curation_task.rb
@@ -154,6 +159,7 @@ files:
154
159
  - lib/boxxspring/resources/vimeo_subscription_task.rb
155
160
  - lib/boxxspring/resources/youtube_channel_service.rb
156
161
  - lib/boxxspring/resources/youtube_distribution.rb
162
+ - lib/boxxspring/resources/youtube_distribution_operation.rb
157
163
  - lib/boxxspring/resources/youtube_distribution_task.rb
158
164
  - lib/boxxspring/resources/youtube_subscription_metadata_task.rb
159
165
  - lib/boxxspring/resources/youtube_subscription_task.rb
@@ -180,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
186
  version: '0'
181
187
  requirements: []
182
188
  rubyforge_project:
183
- rubygems_version: 2.4.8
189
+ rubygems_version: 2.2.2
184
190
  signing_key:
185
191
  specification_version: 4
186
192
  summary: Bedrocket Media Ventrures Boxxspring property API.