boxxspring 2.1.4 → 2.1.5

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: f3676ea28388989c3684f768c7492f78529a01eb
4
- data.tar.gz: b5d290c0dfdb324dfb03e64cf2ee5d60cbd54f26
3
+ metadata.gz: b4368f0a79cdbcb7648d10a17909211c9e170dfc
4
+ data.tar.gz: 78fd91ddcb721119c089251c8eab25b63b1c46b2
5
5
  SHA512:
6
- metadata.gz: 8a19a6f952d0aec21e40fed5bf1f6a8f6d4307a1e6a5f2816097617ee57541403130cbd32e175952f722373d43f60bbed0d5c5143bff84ed8a6453fcd84d9dd6
7
- data.tar.gz: 399d14152b655433892a21e66c20cbcd9eaa286bed73684fcf864d2077f85088ceb068dcebc60bda72e8358885f6608ce2ddde26c6cb4f52ebcd0c967e68b2f9
6
+ metadata.gz: 4451a7ab773744bbddf8127ea1d0a31775cd26c61d93a2c72170d02cff935ebdcbe4189561fe71b8f19db46a8ed07c4ee2de246de789411028fa8e8a38960ae2
7
+ data.tar.gz: 426eb1e150a2c5803fd01c8dd8f307607c475151fafa1a14ae57ee3e6df67d2f4bb69ff2fd2652be6043fe622da7ddcf2c5a15a83c22f5fd6ad972d2989bf200
@@ -64,7 +64,7 @@ module Boxxspring
64
64
  resource_attributes = resource_attribute_index[ name ][ key ]
65
65
  if resource_attributes.present?
66
66
  type_name = resource_attributes[ 'type_name' ] || self.type_name
67
- klass = Boxxspring.const_get( type_name.classify ) rescue nil
67
+ klass = Boxxspring.const_get( type_name.camelize ) rescue nil
68
68
  if klass.present?
69
69
  result = klass.new(
70
70
  resource_attributes,
@@ -4,7 +4,5 @@ module Boxxspring
4
4
 
5
5
  field :name
6
6
  field :state
7
- field :iu
8
- field :sz
9
7
  end
10
8
  end
@@ -1,7 +1,9 @@
1
1
  module Boxxspring
2
2
  class AdvertisingLiveRailAdvertisement < Base
3
- field :tag_url
4
- field :lr_publisher_id
3
+ field :tags
4
+ field :publisher_id
5
+ field :verticals
6
+ field :include_artifact_artifacts
5
7
 
6
8
  field :name
7
9
  field :state
@@ -26,6 +26,10 @@ module Boxxspring
26
26
  field :meta_description
27
27
  field :meta_title
28
28
  field :slug
29
+
30
+ field :provider
31
+ field :provider_uid
32
+ field :provider_url
29
33
 
30
34
  field :sponsor_id
31
35
  field :template_id
@@ -0,0 +1,18 @@
1
+ module Boxxspring
2
+
3
+ class Feed < Base
4
+
5
+ field :created_at
6
+ field :updated_at
7
+
8
+ field :id
9
+ field :name
10
+ field :code_name
11
+ field :generated_at
12
+ field :filter_id
13
+
14
+ has_one :filter
15
+
16
+ end
17
+
18
+ end
@@ -0,0 +1,9 @@
1
+ module Boxxspring
2
+
3
+ class FeedGenerationTask < Task
4
+
5
+ field :feed_id
6
+
7
+ end
8
+
9
+ end
@@ -0,0 +1,14 @@
1
+ module Boxxspring
2
+
3
+ class Filter < Base
4
+
5
+ field :created_at
6
+ field :updated_at
7
+
8
+ field :id
9
+
10
+ has_many :filter_criteria
11
+
12
+ end
13
+
14
+ end
@@ -0,0 +1,16 @@
1
+ module Boxxspring
2
+
3
+ class FilterCriteria < Base
4
+
5
+ field :created_at
6
+ field :updated_at
7
+
8
+ field :id
9
+ field :filter_id
10
+ field :condition
11
+
12
+ has_many :artifacts
13
+
14
+ end
15
+
16
+ end
@@ -11,6 +11,8 @@ module Boxxspring
11
11
  field :filename
12
12
  field :content_type
13
13
  field :size
14
+ field :height
15
+ field :width
14
16
 
15
17
  end
16
18
 
@@ -0,0 +1,23 @@
1
+ module Boxxspring
2
+
3
+ class Source < Base
4
+
5
+ field :created_at
6
+ field :updated_at
7
+
8
+ field :id
9
+ field :type_name
10
+ field :name
11
+ field :provider
12
+ field :last_polled_at
13
+
14
+ field :original
15
+
16
+ field :auto_publish
17
+ field :source_url
18
+
19
+ has_many :artifacts
20
+
21
+ end
22
+
23
+ end
@@ -0,0 +1,9 @@
1
+ module Boxxspring
2
+
3
+ class SubscriptionIngestionTask < Task
4
+
5
+ field :provider
6
+
7
+ end
8
+
9
+ end
@@ -6,8 +6,10 @@ module Boxxspring
6
6
  field :updated_at
7
7
 
8
8
  field :id
9
+ field :property_id
9
10
 
10
11
  field :state
12
+ field :message
11
13
  field :started_at
12
14
  field :ended_at
13
15
 
@@ -12,6 +12,8 @@ module Boxxspring
12
12
  field :size
13
13
  field :duration
14
14
  field :picture_id
15
+ field :height
16
+ field :width
15
17
 
16
18
  has_many :video_sources
17
19
 
@@ -3,6 +3,7 @@ module Boxxspring
3
3
  class Response
4
4
 
5
5
  attr_reader :code
6
+ attr_reader :body
6
7
  attr_reader :resources
7
8
 
8
9
  def initialize( http_response )
@@ -24,6 +25,7 @@ module Boxxspring
24
25
  message: "An unknown error occured (#{@code})."
25
26
  )
26
27
  end
28
+ @body = content
27
29
 
28
30
  end
29
31
 
@@ -1,3 +1,3 @@
1
1
  module Boxxspring
2
- VERSION = '2.1.4'
2
+ VERSION = '2.1.5'
3
3
  end
data/lib/boxxspring.rb CHANGED
@@ -24,13 +24,16 @@ require 'boxxspring/resources/user_agent'
24
24
  require 'boxxspring/resources/theme_environment'
25
25
  require 'boxxspring/resources/theme_template'
26
26
  require 'boxxspring/resources/theme'
27
+ require 'boxxspring/resources/feed'
28
+ require 'boxxspring/resources/filter'
29
+ require 'boxxspring/resources/filter_criteria'
27
30
  require 'boxxspring/resources/card'
28
31
  require 'boxxspring/resources/video_card'
29
32
  require 'boxxspring/resources/picture_card'
30
33
  require 'boxxspring/resources/text_card'
31
34
  require 'boxxspring/resources/atomic_video_card'
32
- require 'boxxspring/resources/advertisingdoubleclickadvertisement'
33
- require 'boxxspring/resources/advertisingliverailadvertisement'
35
+ require 'boxxspring/resources/advertising_doubleclick_advertisement'
36
+ require 'boxxspring/resources/advertising_liverail_advertisement'
34
37
  require 'boxxspring/resources/video'
35
38
  require 'boxxspring/resources/video_source'
36
39
  require 'boxxspring/resources/artifact'
@@ -48,7 +51,9 @@ require 'boxxspring/resources/playlist'
48
51
  require 'boxxspring/resources/group'
49
52
  require 'boxxspring/resources/property'
50
53
  require 'boxxspring/resources/service'
54
+ require 'boxxspring/resources/source'
51
55
  require 'boxxspring/resources/task'
52
- require 'boxxspring/resources/univision_subscription_task'
53
56
  require 'boxxspring/resources/videos_ingestion_task'
54
57
  require 'boxxspring/resources/videos_picture_task'
58
+ require 'boxxspring/resources/feed_generation_task'
59
+ require 'boxxspring/resources/subscription_ingestion_task'
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
4
+ version: 2.1.5
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-09 00:00:00.000000000 Z
11
+ date: 2015-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -78,8 +78,8 @@ files:
78
78
  - lib/boxxspring/operation.rb
79
79
  - lib/boxxspring/parser.rb
80
80
  - lib/boxxspring/request.rb
81
- - lib/boxxspring/resources/advertisingdoubleclickadvertisement.rb
82
- - lib/boxxspring/resources/advertisingliverailadvertisement.rb
81
+ - lib/boxxspring/resources/advertising_doubleclick_advertisement.rb
82
+ - lib/boxxspring/resources/advertising_liverail_advertisement.rb
83
83
  - lib/boxxspring/resources/artifact.rb
84
84
  - lib/boxxspring/resources/atomic_video_card.rb
85
85
  - lib/boxxspring/resources/attribute_error.rb
@@ -88,6 +88,10 @@ files:
88
88
  - lib/boxxspring/resources/base.rb
89
89
  - lib/boxxspring/resources/card.rb
90
90
  - lib/boxxspring/resources/error.rb
91
+ - lib/boxxspring/resources/feed.rb
92
+ - lib/boxxspring/resources/feed_generation_task.rb
93
+ - lib/boxxspring/resources/filter.rb
94
+ - lib/boxxspring/resources/filter_criteria.rb
91
95
  - lib/boxxspring/resources/forbidden_error.rb
92
96
  - lib/boxxspring/resources/group.rb
93
97
  - lib/boxxspring/resources/malformed_parameter_error.rb
@@ -103,8 +107,10 @@ files:
103
107
  - lib/boxxspring/resources/reaction.rb
104
108
  - lib/boxxspring/resources/school.rb
105
109
  - lib/boxxspring/resources/service.rb
110
+ - lib/boxxspring/resources/source.rb
106
111
  - lib/boxxspring/resources/sponsor.rb
107
112
  - lib/boxxspring/resources/story.rb
113
+ - lib/boxxspring/resources/subscription_ingestion_task.rb
108
114
  - lib/boxxspring/resources/tag.rb
109
115
  - lib/boxxspring/resources/task.rb
110
116
  - lib/boxxspring/resources/team.rb
@@ -112,7 +118,6 @@ files:
112
118
  - lib/boxxspring/resources/theme.rb
113
119
  - lib/boxxspring/resources/theme_environment.rb
114
120
  - lib/boxxspring/resources/theme_template.rb
115
- - lib/boxxspring/resources/univision_subscription_task.rb
116
121
  - lib/boxxspring/resources/user_agent.rb
117
122
  - lib/boxxspring/resources/video.rb
118
123
  - lib/boxxspring/resources/video_card.rb
@@ -143,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
148
  version: '0'
144
149
  requirements: []
145
150
  rubyforge_project:
146
- rubygems_version: 2.2.2
151
+ rubygems_version: 2.4.5
147
152
  signing_key:
148
153
  specification_version: 4
149
154
  summary: Bedrocket Media Ventrures Boxxspring property API.
@@ -1,9 +0,0 @@
1
- module Boxxspring
2
-
3
- class UnivisionSubscriptionTask < Task
4
-
5
-
6
-
7
- end
8
-
9
- end