boxxspring 2.1.5 → 2.1.6

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: b4368f0a79cdbcb7648d10a17909211c9e170dfc
4
- data.tar.gz: 78fd91ddcb721119c089251c8eab25b63b1c46b2
3
+ metadata.gz: f259dbc1017c877f03b9371a7558235cb07f8825
4
+ data.tar.gz: ee735e84f69174a2525cd41b1bedf8fc6b18f5aa
5
5
  SHA512:
6
- metadata.gz: 4451a7ab773744bbddf8127ea1d0a31775cd26c61d93a2c72170d02cff935ebdcbe4189561fe71b8f19db46a8ed07c4ee2de246de789411028fa8e8a38960ae2
7
- data.tar.gz: 426eb1e150a2c5803fd01c8dd8f307607c475151fafa1a14ae57ee3e6df67d2f4bb69ff2fd2652be6043fe622da7ddcf2c5a15a83c22f5fd6ad972d2989bf200
6
+ metadata.gz: 9b29a8935ddb9872b58eb183f3e9b071882a4f9b7d034a9b88559cb507b00e5e4b568f165160f806f46d7b1c879cd3ef45c2cfc7ee6a55900a8198f11a24d98b
7
+ data.tar.gz: ab405923fe97bb733137b39f871fa2105a00c3fc036540c53c07dc4d7e0d62e919a735e5f64afe9c30f2e2e488c63ecd6308cc98dcd576887a4f831b31c7ecce
@@ -41,6 +41,7 @@ module Boxxspring
41
41
  has_many :cards
42
42
  has_many :sponsors
43
43
  has_many :advertisements
44
+ has_many :artifact_locations
44
45
 
45
46
  end
46
47
 
@@ -0,0 +1,16 @@
1
+ module Boxxspring
2
+ class ArtifactLocation < Base
3
+
4
+ field :type_name
5
+ field :id
6
+ field :created_at
7
+ field :uploaded_at
8
+ field :artifact_id
9
+ field :provider
10
+ field :provider_url
11
+ field :provider_uid
12
+
13
+ has_one :artifact
14
+
15
+ end
16
+ end
@@ -0,0 +1,15 @@
1
+ module Boxxspring
2
+ class Distribution < Base
3
+
4
+ field :type_name
5
+ field :id
6
+ field :property_id
7
+ field :created_at
8
+ field :uploaded_at
9
+ field :name
10
+ field :service_id
11
+
12
+ has_one :service
13
+
14
+ end
15
+ end
@@ -0,0 +1,7 @@
1
+ module Boxxspring
2
+ class FacebookDistribution < Distribution
3
+
4
+ field :post_type
5
+
6
+ end
7
+ end
@@ -0,0 +1,14 @@
1
+ module Boxxspring
2
+
3
+ class FacebookDistributionTask < Task
4
+
5
+ field :distribution_id
6
+ field :post_name
7
+ field :post_link
8
+ field :post_message
9
+ field :post_link_description
10
+ field :post_link_caption
11
+
12
+ end
13
+
14
+ end
@@ -0,0 +1,6 @@
1
+ module Boxxspring
2
+
3
+ class LegacyService < Service
4
+ end
5
+
6
+ end
@@ -0,0 +1,17 @@
1
+ module Boxxspring
2
+ class Metric < Base
3
+
4
+ field :id
5
+
6
+ field :created_at
7
+ field :updated_at
8
+
9
+ field :type_name
10
+ field :name
11
+ field :period
12
+ field :segment
13
+
14
+ has_many :samples
15
+
16
+ end
17
+ end
@@ -0,0 +1,23 @@
1
+ module Boxxspring
2
+ class Sample < Base
3
+
4
+ field :id
5
+
6
+ field :created_at
7
+ field :updated_at
8
+
9
+ field :type_name
10
+ field :at
11
+ field :sum
12
+ field :average
13
+ field :count
14
+ field :median
15
+
16
+ field :metric_id
17
+ field :artifact_id
18
+
19
+ has_one :metric
20
+ has_one :artifact
21
+
22
+ end
23
+ end
@@ -0,0 +1,15 @@
1
+ module Boxxspring
2
+
3
+ class SocialService < Base
4
+ field :type_name
5
+ field :id
6
+ field :created_at
7
+ field :updated_at
8
+ field :provider_uid
9
+ field :name
10
+ field :display_name
11
+ field :thumbnail_url
12
+ field :access_token
13
+ end
14
+
15
+ end
@@ -18,6 +18,8 @@ module Boxxspring
18
18
 
19
19
  has_many :artifacts
20
20
 
21
+ has_many :errors
22
+
21
23
  end
22
24
 
23
25
  end
@@ -8,6 +8,8 @@ module Boxxspring
8
8
  field :id
9
9
  field :property_id
10
10
 
11
+ field :subject_id
12
+ field :subject_type_name
11
13
  field :state
12
14
  field :message
13
15
  field :started_at
@@ -0,0 +1,5 @@
1
+ module Boxxspring
2
+ class TwitterDistribution < Distribution
3
+
4
+ end
5
+ end
@@ -0,0 +1,10 @@
1
+ module Boxxspring
2
+
3
+ class TwitterDistributionTask < Task
4
+
5
+ field :distribution_id
6
+ field :tweet_status
7
+
8
+ end
9
+
10
+ end
@@ -0,0 +1,8 @@
1
+ module Boxxspring
2
+
3
+ class YoutubeChannelService < SocialService
4
+ field :refresh_token
5
+ field :description
6
+ end
7
+
8
+ end
@@ -0,0 +1,7 @@
1
+ module Boxxspring
2
+ class YoutubeDistribution < Distribution
3
+
4
+ field :playlist_ids
5
+
6
+ end
7
+ end
@@ -0,0 +1,13 @@
1
+ module Boxxspring
2
+
3
+ class YoutubeDistributionTask < Task
4
+
5
+ field :distribution_id
6
+ field :video_title
7
+ field :video_description
8
+ field :video_tags
9
+ field :video_visibility
10
+ field :video_category_id
11
+ end
12
+
13
+ end
@@ -1,3 +1,3 @@
1
1
  module Boxxspring
2
- VERSION = '2.1.5'
2
+ VERSION = '2.1.6'
3
3
  end
data/lib/boxxspring.rb CHANGED
@@ -51,9 +51,23 @@ require 'boxxspring/resources/playlist'
51
51
  require 'boxxspring/resources/group'
52
52
  require 'boxxspring/resources/property'
53
53
  require 'boxxspring/resources/service'
54
+ require 'boxxspring/resources/legacy_service'
55
+ require 'boxxspring/resources/social_service'
54
56
  require 'boxxspring/resources/source'
55
57
  require 'boxxspring/resources/task'
56
58
  require 'boxxspring/resources/videos_ingestion_task'
57
59
  require 'boxxspring/resources/videos_picture_task'
58
60
  require 'boxxspring/resources/feed_generation_task'
59
61
  require 'boxxspring/resources/subscription_ingestion_task'
62
+ require 'boxxspring/resources/sample'
63
+ require 'boxxspring/resources/metric'
64
+ require 'boxxspring/resources/distribution'
65
+ require 'boxxspring/resources/facebook_distribution'
66
+ require 'boxxspring/resources/twitter_distribution'
67
+ require 'boxxspring/resources/youtube_distribution'
68
+ require 'boxxspring/resources/facebook_distribution_task'
69
+ require 'boxxspring/resources/twitter_distribution_task'
70
+ require 'boxxspring/resources/youtube_distribution_task'
71
+ require 'boxxspring/resources/artifact_location'
72
+
73
+ require 'boxxspring/resources/youtube_channel_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.5
4
+ version: 2.1.6
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-01-31 00:00:00.000000000 Z
11
+ date: 2015-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -81,20 +81,26 @@ files:
81
81
  - lib/boxxspring/resources/advertising_doubleclick_advertisement.rb
82
82
  - lib/boxxspring/resources/advertising_liverail_advertisement.rb
83
83
  - lib/boxxspring/resources/artifact.rb
84
+ - lib/boxxspring/resources/artifact_location.rb
84
85
  - lib/boxxspring/resources/atomic_video_card.rb
85
86
  - lib/boxxspring/resources/attribute_error.rb
86
87
  - lib/boxxspring/resources/attribution.rb
87
88
  - lib/boxxspring/resources/author.rb
88
89
  - lib/boxxspring/resources/base.rb
89
90
  - lib/boxxspring/resources/card.rb
91
+ - lib/boxxspring/resources/distribution.rb
90
92
  - lib/boxxspring/resources/error.rb
93
+ - lib/boxxspring/resources/facebook_distribution.rb
94
+ - lib/boxxspring/resources/facebook_distribution_task.rb
91
95
  - lib/boxxspring/resources/feed.rb
92
96
  - lib/boxxspring/resources/feed_generation_task.rb
93
97
  - lib/boxxspring/resources/filter.rb
94
98
  - lib/boxxspring/resources/filter_criteria.rb
95
99
  - lib/boxxspring/resources/forbidden_error.rb
96
100
  - lib/boxxspring/resources/group.rb
101
+ - lib/boxxspring/resources/legacy_service.rb
97
102
  - lib/boxxspring/resources/malformed_parameter_error.rb
103
+ - lib/boxxspring/resources/metric.rb
98
104
  - lib/boxxspring/resources/missing_parameter_error.rb
99
105
  - lib/boxxspring/resources/not_found_error.rb
100
106
  - lib/boxxspring/resources/organization.rb
@@ -105,8 +111,10 @@ files:
105
111
  - lib/boxxspring/resources/playlist.rb
106
112
  - lib/boxxspring/resources/property.rb
107
113
  - lib/boxxspring/resources/reaction.rb
114
+ - lib/boxxspring/resources/sample.rb
108
115
  - lib/boxxspring/resources/school.rb
109
116
  - lib/boxxspring/resources/service.rb
117
+ - lib/boxxspring/resources/social_service.rb
110
118
  - lib/boxxspring/resources/source.rb
111
119
  - lib/boxxspring/resources/sponsor.rb
112
120
  - lib/boxxspring/resources/story.rb
@@ -118,6 +126,8 @@ files:
118
126
  - lib/boxxspring/resources/theme.rb
119
127
  - lib/boxxspring/resources/theme_environment.rb
120
128
  - lib/boxxspring/resources/theme_template.rb
129
+ - lib/boxxspring/resources/twitter_distribution.rb
130
+ - lib/boxxspring/resources/twitter_distribution_task.rb
121
131
  - lib/boxxspring/resources/user_agent.rb
122
132
  - lib/boxxspring/resources/video.rb
123
133
  - lib/boxxspring/resources/video_card.rb
@@ -125,6 +135,9 @@ files:
125
135
  - lib/boxxspring/resources/video_source_segment.rb
126
136
  - lib/boxxspring/resources/videos_ingestion_task.rb
127
137
  - lib/boxxspring/resources/videos_picture_task.rb
138
+ - lib/boxxspring/resources/youtube_channel_service.rb
139
+ - lib/boxxspring/resources/youtube_distribution.rb
140
+ - lib/boxxspring/resources/youtube_distribution_task.rb
128
141
  - lib/boxxspring/response.rb
129
142
  - lib/boxxspring/serializer.rb
130
143
  - lib/boxxspring/version.rb
@@ -148,8 +161,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
161
  version: '0'
149
162
  requirements: []
150
163
  rubyforge_project:
151
- rubygems_version: 2.4.5
164
+ rubygems_version: 2.2.2
152
165
  signing_key:
153
166
  specification_version: 4
154
167
  summary: Bedrocket Media Ventrures Boxxspring property API.
155
168
  test_files: []
169
+ has_rdoc: