boxxspring 2.6.2 → 2.7.1
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.rb +12 -9
- data/lib/boxxspring/operation.rb +2 -2
- data/lib/boxxspring/resources/{distribution_operation.rb → activity.rb} +4 -3
- data/lib/boxxspring/resources/advertising_vast_advertisement.rb +5 -0
- data/lib/boxxspring/resources/artifact.rb +10 -16
- data/lib/boxxspring/resources/base.rb +1 -1
- data/lib/boxxspring/resources/boxxspring_distribution_activity.rb +20 -0
- data/lib/boxxspring/resources/boxxspring_distribution_task.rb +8 -0
- data/lib/boxxspring/resources/boxxspring_update_activity.rb +20 -0
- data/lib/boxxspring/resources/boxxspring_update_task.rb +20 -0
- data/lib/boxxspring/resources/{dailymotion_distribution_operation.rb → dailymotion_distribution_activity.rb} +3 -1
- data/lib/boxxspring/resources/{facebook_page_distribution_operation.rb → facebook_page_distribution_activity.rb} +3 -1
- data/lib/boxxspring/resources/property.rb +1 -0
- data/lib/boxxspring/resources/twitter_distribution_activity.rb +7 -0
- data/lib/boxxspring/resources/{verizon_distribution_operation.rb → verizon_distribution_activity.rb} +3 -1
- data/lib/boxxspring/resources/video.rb +1 -1
- data/lib/boxxspring/resources/video_picture.rb +10 -0
- data/lib/boxxspring/resources/{youtube_distribution_operation.rb → youtube_distribution_activity.rb} +1 -1
- data/lib/boxxspring/version.rb +1 -1
- metadata +14 -10
- data/lib/boxxspring/resources/boxxspring_distribution_operation.rb +0 -10
- data/lib/boxxspring/resources/twitter_distribution_operation.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 08e10b88a970585c251cb814c1bfd5dbd9a3add1
|
4
|
+
data.tar.gz: bd6ce8d3f22f3e1437b04023236a6f2dd0f60ba4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86518856e9ae67760a70f102b92073b646faba14ea0c499aa5b38d354643cadb36ce7c8409765b569c6b6bbd9c220afc1c70ed49eded6632eaad27046ce84e42
|
7
|
+
data.tar.gz: ec9af84da085e3c93fa6017c65d093dd5e5904373ae6ef4f288bcc2646092e93cbed7fbf6584b9c6eb0d79fdd9d47e1e645d319c449e0eec24153117c202dfd5
|
data/lib/boxxspring.rb
CHANGED
@@ -41,10 +41,11 @@ require 'boxxspring/resources/advertising_campaign'
|
|
41
41
|
require 'boxxspring/resources/advertising_freewheel_advertisement'
|
42
42
|
require 'boxxspring/resources/advertising_doubleclick_advertisement'
|
43
43
|
require 'boxxspring/resources/advertising_liverail_advertisement'
|
44
|
-
|
44
|
+
require 'boxxspring/resources/advertising_vast_advertisement'
|
45
45
|
|
46
46
|
# Binaries
|
47
47
|
require 'boxxspring/resources/picture'
|
48
|
+
require 'boxxspring/resources/video_picture'
|
48
49
|
require 'boxxspring/resources/video'
|
49
50
|
require 'boxxspring/resources/video_source'
|
50
51
|
require 'boxxspring/resources/video_source_segment'
|
@@ -72,15 +73,16 @@ require 'boxxspring/resources/dailymotion_distribution'
|
|
72
73
|
require 'boxxspring/resources/boxxspring_distribution'
|
73
74
|
require 'boxxspring/resources/branding_rule'
|
74
75
|
|
75
|
-
##
|
76
|
+
## Activities
|
76
77
|
|
77
|
-
require 'boxxspring/resources/
|
78
|
-
require 'boxxspring/resources/
|
79
|
-
require 'boxxspring/resources/
|
80
|
-
require 'boxxspring/resources/
|
81
|
-
require 'boxxspring/resources/
|
82
|
-
require 'boxxspring/resources/
|
83
|
-
require 'boxxspring/resources/
|
78
|
+
require 'boxxspring/resources/activity'
|
79
|
+
require 'boxxspring/resources/dailymotion_distribution_activity'
|
80
|
+
require 'boxxspring/resources/verizon_distribution_activity'
|
81
|
+
require 'boxxspring/resources/boxxspring_distribution_activity'
|
82
|
+
require 'boxxspring/resources/youtube_distribution_activity'
|
83
|
+
require 'boxxspring/resources/facebook_page_distribution_activity'
|
84
|
+
require 'boxxspring/resources/twitter_distribution_activity'
|
85
|
+
require 'boxxspring/resources/boxxspring_update_activity'
|
84
86
|
|
85
87
|
## Tasks
|
86
88
|
require 'boxxspring/resources/task'
|
@@ -96,6 +98,7 @@ require 'boxxspring/resources/youtube_distribution_task'
|
|
96
98
|
require 'boxxspring/resources/dailymotion_distribution_task'
|
97
99
|
require 'boxxspring/resources/verizon_distribution_task'
|
98
100
|
require 'boxxspring/resources/boxxspring_distribution_task'
|
101
|
+
require 'boxxspring/resources/boxxspring_update_task'
|
99
102
|
require 'boxxspring/resources/youtube_subscription_task'
|
100
103
|
require 'boxxspring/resources/twitter_subscription_task'
|
101
104
|
require 'boxxspring/resources/vimeo_subscription_task'
|
data/lib/boxxspring/operation.rb
CHANGED
@@ -91,7 +91,7 @@ module Boxxspring
|
|
91
91
|
result
|
92
92
|
end
|
93
93
|
|
94
|
-
def write( node, objects, &block )
|
94
|
+
def write( node, objects, &block )
|
95
95
|
result = nil
|
96
96
|
Boxxspring::Request.new.tap do | request |
|
97
97
|
serializer = Boxxspring::Serializer.new( objects )
|
@@ -119,7 +119,7 @@ module Boxxspring
|
|
119
119
|
|
120
120
|
protected; def normalize_include( *arguments )
|
121
121
|
|
122
|
-
includes = {}
|
122
|
+
includes = {}
|
123
123
|
arguments.each do | argument |
|
124
124
|
case argument
|
125
125
|
when Array
|
@@ -1,17 +1,18 @@
|
|
1
1
|
module Boxxspring
|
2
2
|
|
3
|
-
class
|
3
|
+
class Activity < Base
|
4
4
|
field :id
|
5
5
|
field :property_id
|
6
6
|
field :artifact_id
|
7
|
-
field :
|
7
|
+
field :subject_id
|
8
|
+
field :subject_type_name
|
8
9
|
field :artifact_locator_id
|
9
10
|
field :completed_at
|
10
11
|
field :state
|
11
12
|
field :message
|
12
13
|
field :execute_at
|
13
14
|
|
14
|
-
has_one :
|
15
|
+
has_one :artifact_locator
|
15
16
|
end
|
16
17
|
|
17
18
|
end
|
@@ -12,36 +12,31 @@ module Boxxspring
|
|
12
12
|
|
13
13
|
field :state
|
14
14
|
field :original
|
15
|
+
field :uid
|
16
|
+
field :property_id
|
15
17
|
|
18
|
+
field :short_name
|
16
19
|
field :name
|
17
20
|
field :short_description
|
18
21
|
field :description
|
19
22
|
field :note
|
20
|
-
|
21
|
-
field :artifact_ids
|
22
|
-
field :card_ids
|
23
|
-
|
24
|
-
field :picture_id
|
25
|
-
|
26
23
|
field :meta_description
|
27
24
|
field :meta_title
|
28
25
|
field :slug
|
26
|
+
field :template
|
29
27
|
|
30
28
|
field :provider
|
31
29
|
field :provider_uid
|
32
30
|
field :provider_url
|
33
|
-
|
34
|
-
field :template
|
35
|
-
field :template_id
|
36
|
-
field :sponsor_id
|
37
|
-
field :attribution_id
|
38
|
-
|
39
31
|
field :attribution_name
|
40
32
|
field :attribution_url
|
41
33
|
|
42
|
-
field :
|
43
|
-
|
44
|
-
field :
|
34
|
+
field :attribution_id
|
35
|
+
field :artifact_ids
|
36
|
+
field :picture_id
|
37
|
+
field :sponsor_id
|
38
|
+
field :template_id
|
39
|
+
field :sponsor_id
|
45
40
|
|
46
41
|
has_one :attribution
|
47
42
|
|
@@ -51,7 +46,6 @@ module Boxxspring
|
|
51
46
|
has_many :advertisements
|
52
47
|
has_many :artifact_locators
|
53
48
|
|
54
|
-
|
55
49
|
end
|
56
50
|
|
57
51
|
end
|
@@ -51,7 +51,7 @@ module Boxxspring
|
|
51
51
|
field :type_name
|
52
52
|
has_many :errors
|
53
53
|
|
54
|
-
|
54
|
+
def initialize( attributes = {}, associations = {} )
|
55
55
|
self.type_name = self.class.name.gsub( /Boxxspring::/, '' ).underscore
|
56
56
|
attributes.each do | key, value |
|
57
57
|
send( "#{key}=", value ) if respond_to?( "#{key}=" )
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Boxxspring
|
2
|
+
|
3
|
+
class BoxxspringDistributionActivity < Activity
|
4
|
+
|
5
|
+
field :name
|
6
|
+
field :description
|
7
|
+
field :published
|
8
|
+
field :artifact_ids
|
9
|
+
field :short_description
|
10
|
+
field :slug
|
11
|
+
field :meta_description
|
12
|
+
field :meta_title
|
13
|
+
field :note
|
14
|
+
field :short_name
|
15
|
+
field :attribution_id
|
16
|
+
field :picture_id
|
17
|
+
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
@@ -7,6 +7,14 @@ module Boxxspring
|
|
7
7
|
field :description
|
8
8
|
field :published
|
9
9
|
field :artifact_ids
|
10
|
+
field :short_description
|
11
|
+
field :slug
|
12
|
+
field :meta_description
|
13
|
+
field :meta_title
|
14
|
+
field :note
|
15
|
+
field :short_name
|
16
|
+
field :attribution_id
|
17
|
+
field :picture_id
|
10
18
|
|
11
19
|
end
|
12
20
|
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Boxxspring
|
2
|
+
|
3
|
+
class BoxxspringUpdateActivity < Activity
|
4
|
+
|
5
|
+
field :artifact_state
|
6
|
+
field :name
|
7
|
+
field :description
|
8
|
+
field :category_uids
|
9
|
+
field :short_description
|
10
|
+
field :slug
|
11
|
+
field :meta_description
|
12
|
+
field :meta_title
|
13
|
+
field :note
|
14
|
+
field :short_name
|
15
|
+
field :attribution_id
|
16
|
+
field :picture_id
|
17
|
+
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Boxxspring
|
2
|
+
|
3
|
+
class BoxxspringUpdateTask < Task
|
4
|
+
|
5
|
+
field :artifact_state
|
6
|
+
field :distribution_id
|
7
|
+
field :name
|
8
|
+
field :description
|
9
|
+
field :category_uids
|
10
|
+
field :short_description
|
11
|
+
field :slug
|
12
|
+
field :meta_description
|
13
|
+
field :meta_title
|
14
|
+
field :note
|
15
|
+
field :short_name
|
16
|
+
field :attribution_id
|
17
|
+
field :picture_id
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
@@ -1,12 +1,14 @@
|
|
1
1
|
module Boxxspring
|
2
2
|
|
3
|
-
class
|
3
|
+
class DailymotionDistributionActivity < Activity
|
4
|
+
|
4
5
|
field :video_title
|
5
6
|
field :video_description
|
6
7
|
field :video_public
|
7
8
|
field :video_category_id
|
8
9
|
field :video_featured
|
9
10
|
field :video_tags
|
11
|
+
|
10
12
|
end
|
11
13
|
|
12
14
|
end
|
@@ -1,11 +1,13 @@
|
|
1
1
|
module Boxxspring
|
2
2
|
|
3
|
-
class
|
3
|
+
class FacebookPageDistributionActivity < Activity
|
4
|
+
|
4
5
|
field :post_name
|
5
6
|
field :post_link
|
6
7
|
field :post_message
|
7
8
|
field :post_link_description
|
8
9
|
field :post_link_caption
|
10
|
+
|
9
11
|
end
|
10
12
|
|
11
13
|
end
|
data/lib/boxxspring/version.rb
CHANGED
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.
|
4
|
+
version: 2.7.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-
|
11
|
+
date: 2016-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -78,11 +78,13 @@ files:
|
|
78
78
|
- lib/boxxspring/operation.rb
|
79
79
|
- lib/boxxspring/parser.rb
|
80
80
|
- lib/boxxspring/request.rb
|
81
|
+
- lib/boxxspring/resources/activity.rb
|
81
82
|
- lib/boxxspring/resources/advertising_advertisement.rb
|
82
83
|
- lib/boxxspring/resources/advertising_campaign.rb
|
83
84
|
- lib/boxxspring/resources/advertising_doubleclick_advertisement.rb
|
84
85
|
- lib/boxxspring/resources/advertising_freewheel_advertisement.rb
|
85
86
|
- lib/boxxspring/resources/advertising_liverail_advertisement.rb
|
87
|
+
- lib/boxxspring/resources/advertising_vast_advertisement.rb
|
86
88
|
- lib/boxxspring/resources/analytics_media_sample.rb
|
87
89
|
- lib/boxxspring/resources/artifact.rb
|
88
90
|
- lib/boxxspring/resources/artifact_curation_task.rb
|
@@ -91,20 +93,21 @@ files:
|
|
91
93
|
- lib/boxxspring/resources/attribute_error.rb
|
92
94
|
- lib/boxxspring/resources/base.rb
|
93
95
|
- lib/boxxspring/resources/boxxspring_distribution.rb
|
94
|
-
- lib/boxxspring/resources/
|
96
|
+
- lib/boxxspring/resources/boxxspring_distribution_activity.rb
|
95
97
|
- lib/boxxspring/resources/boxxspring_distribution_task.rb
|
98
|
+
- lib/boxxspring/resources/boxxspring_update_activity.rb
|
99
|
+
- lib/boxxspring/resources/boxxspring_update_task.rb
|
96
100
|
- lib/boxxspring/resources/branding_rule.rb
|
97
101
|
- lib/boxxspring/resources/clip_creation_task.rb
|
98
102
|
- lib/boxxspring/resources/dailymotion_channel_service.rb
|
99
103
|
- lib/boxxspring/resources/dailymotion_distribution.rb
|
100
|
-
- lib/boxxspring/resources/
|
104
|
+
- lib/boxxspring/resources/dailymotion_distribution_activity.rb
|
101
105
|
- lib/boxxspring/resources/dailymotion_distribution_task.rb
|
102
106
|
- lib/boxxspring/resources/dailymotion_subscription_metadata_task.rb
|
103
107
|
- lib/boxxspring/resources/distribution.rb
|
104
|
-
- lib/boxxspring/resources/distribution_operation.rb
|
105
108
|
- lib/boxxspring/resources/error.rb
|
106
109
|
- lib/boxxspring/resources/facebook_page_distribution.rb
|
107
|
-
- lib/boxxspring/resources/
|
110
|
+
- lib/boxxspring/resources/facebook_page_distribution_activity.rb
|
108
111
|
- lib/boxxspring/resources/facebook_page_distribution_task.rb
|
109
112
|
- lib/boxxspring/resources/facebook_page_service.rb
|
110
113
|
- lib/boxxspring/resources/feed.rb
|
@@ -135,19 +138,20 @@ files:
|
|
135
138
|
- lib/boxxspring/resources/theme_template.rb
|
136
139
|
- lib/boxxspring/resources/token.rb
|
137
140
|
- lib/boxxspring/resources/twitter_distribution.rb
|
138
|
-
- lib/boxxspring/resources/
|
141
|
+
- lib/boxxspring/resources/twitter_distribution_activity.rb
|
139
142
|
- lib/boxxspring/resources/twitter_distribution_task.rb
|
140
143
|
- lib/boxxspring/resources/twitter_service.rb
|
141
144
|
- lib/boxxspring/resources/twitter_subscription_metadata_task.rb
|
142
145
|
- lib/boxxspring/resources/twitter_subscription_task.rb
|
143
146
|
- lib/boxxspring/resources/user_agent.rb
|
144
147
|
- lib/boxxspring/resources/verizon_distribution.rb
|
145
|
-
- lib/boxxspring/resources/
|
148
|
+
- lib/boxxspring/resources/verizon_distribution_activity.rb
|
146
149
|
- lib/boxxspring/resources/verizon_distribution_task.rb
|
147
150
|
- lib/boxxspring/resources/video.rb
|
148
151
|
- lib/boxxspring/resources/video_article_curation_task.rb
|
149
152
|
- lib/boxxspring/resources/video_branding_task.rb
|
150
153
|
- lib/boxxspring/resources/video_interrogation_task.rb
|
154
|
+
- lib/boxxspring/resources/video_picture.rb
|
151
155
|
- lib/boxxspring/resources/video_source.rb
|
152
156
|
- lib/boxxspring/resources/video_source_segment.rb
|
153
157
|
- lib/boxxspring/resources/video_text.rb
|
@@ -159,7 +163,7 @@ files:
|
|
159
163
|
- lib/boxxspring/resources/vimeo_subscription_task.rb
|
160
164
|
- lib/boxxspring/resources/youtube_channel_service.rb
|
161
165
|
- lib/boxxspring/resources/youtube_distribution.rb
|
162
|
-
- lib/boxxspring/resources/
|
166
|
+
- lib/boxxspring/resources/youtube_distribution_activity.rb
|
163
167
|
- lib/boxxspring/resources/youtube_distribution_task.rb
|
164
168
|
- lib/boxxspring/resources/youtube_subscription_metadata_task.rb
|
165
169
|
- lib/boxxspring/resources/youtube_subscription_task.rb
|
@@ -186,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
190
|
version: '0'
|
187
191
|
requirements: []
|
188
192
|
rubyforge_project:
|
189
|
-
rubygems_version: 2.
|
193
|
+
rubygems_version: 2.4.3
|
190
194
|
signing_key:
|
191
195
|
specification_version: 4
|
192
196
|
summary: Bedrocket Media Ventrures Boxxspring property API.
|