boxxspring 2.1.3 → 2.1.4

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: f6c38b1ce5ea0b35d62d7b65851c1b1029022c1c
4
- data.tar.gz: a925c5c15957038f43306a26b65edca5ecf08ea7
3
+ metadata.gz: f3676ea28388989c3684f768c7492f78529a01eb
4
+ data.tar.gz: b5d290c0dfdb324dfb03e64cf2ee5d60cbd54f26
5
5
  SHA512:
6
- metadata.gz: 43933fec252076629aacbbbe09aaf26b385c374e04a2cbf68fa2903efe68c4b3c6f911fc34a2ae17aaf837492c5e443782de63b48a522fd882d0c076456a3d32
7
- data.tar.gz: ca0fe8fde94cde19d16a2b9e2e19510340445a4a7d8ee50f752703cd408144561dbc537ca54eab849563da7ff45d6f7860c683f7f9fb466ff75bb03b9fffc029
6
+ metadata.gz: 8a19a6f952d0aec21e40fed5bf1f6a8f6d4307a1e6a5f2816097617ee57541403130cbd32e175952f722373d43f60bbed0d5c5143bff84ed8a6453fcd84d9dd6
7
+ data.tar.gz: 399d14152b655433892a21e66c20cbcd9eaa286bed73684fcf864d2077f85088ceb068dcebc60bda72e8358885f6608ce2ddde26c6cb4f52ebcd0c967e68b2f9
@@ -0,0 +1,10 @@
1
+ module Boxxspring
2
+ class AdvertisingDoubleClickAdvertisement < Base
3
+ field :tag_url
4
+
5
+ field :name
6
+ field :state
7
+ field :iu
8
+ field :sz
9
+ end
10
+ end
@@ -0,0 +1,9 @@
1
+ module Boxxspring
2
+ class AdvertisingLiveRailAdvertisement < Base
3
+ field :tag_url
4
+ field :lr_publisher_id
5
+
6
+ field :name
7
+ field :state
8
+ end
9
+ end
@@ -8,6 +8,7 @@ module Boxxspring
8
8
  field :updated_at
9
9
  field :edited_at
10
10
  field :published_at
11
+ field :originated_at
11
12
 
12
13
  field :state
13
14
  field :original
@@ -35,9 +36,8 @@ module Boxxspring
35
36
  has_many :pictures
36
37
  has_many :cards
37
38
  has_many :sponsors
39
+ has_many :advertisements
38
40
 
39
- has_many :errors
40
-
41
- end
41
+ end
42
42
 
43
43
  end
@@ -48,6 +48,7 @@ module Boxxspring
48
48
  self.fields = {}
49
49
 
50
50
  field :type_name
51
+ has_many :errors
51
52
 
52
53
  def initialize( attributes = {}, associations = {} )
53
54
  self.type_name = self.class.name.gsub( /Boxxspring::/, '' ).underscore
@@ -17,6 +17,6 @@ module Boxxspring
17
17
 
18
18
  field :properties
19
19
 
20
- end
20
+ end
21
21
 
22
22
  end
@@ -24,6 +24,9 @@ module Boxxspring
24
24
  has_many :services
25
25
  has_many :pictures
26
26
  has_one :theme
27
+ has_one :default_advertisement
28
+
29
+ has_many :errors
27
30
 
28
31
  def operation( path )
29
32
  Boxxspring::Operation.new( File.join( '/properties', self.id.to_s, path ) )
@@ -4,6 +4,7 @@ module Boxxspring
4
4
  has_many :attributions
5
5
  has_one :authors
6
6
  has_one :theme_template
7
+ has_one :advertisement
7
8
 
8
9
  end
9
10
  end
@@ -1,7 +1,9 @@
1
1
  module Boxxspring
2
2
 
3
3
  class ThemeTemplate < Base
4
+
4
5
  field :code_name
6
+
5
7
  end
6
8
 
7
9
  end
@@ -0,0 +1,9 @@
1
+ module Boxxspring
2
+
3
+ class UnivisionSubscriptionTask < Task
4
+
5
+
6
+
7
+ end
8
+
9
+ end
@@ -7,6 +7,7 @@ module Boxxspring
7
7
  field :tags
8
8
  field :originated_at
9
9
  field :note
10
+ field :provider
10
11
  field :provider_uid
11
12
  field :provider_url
12
13
  field :video_file_url
@@ -1,3 +1,3 @@
1
1
  module Boxxspring
2
- VERSION = '2.1.3'
2
+ VERSION = '2.1.4'
3
3
  end
data/lib/boxxspring.rb CHANGED
@@ -29,6 +29,8 @@ require 'boxxspring/resources/video_card'
29
29
  require 'boxxspring/resources/picture_card'
30
30
  require 'boxxspring/resources/text_card'
31
31
  require 'boxxspring/resources/atomic_video_card'
32
+ require 'boxxspring/resources/advertisingdoubleclickadvertisement'
33
+ require 'boxxspring/resources/advertisingliverailadvertisement'
32
34
  require 'boxxspring/resources/video'
33
35
  require 'boxxspring/resources/video_source'
34
36
  require 'boxxspring/resources/artifact'
@@ -47,6 +49,6 @@ require 'boxxspring/resources/group'
47
49
  require 'boxxspring/resources/property'
48
50
  require 'boxxspring/resources/service'
49
51
  require 'boxxspring/resources/task'
50
- require 'boxxspring/resources/flama_subscription_task'
52
+ require 'boxxspring/resources/univision_subscription_task'
51
53
  require 'boxxspring/resources/videos_ingestion_task'
52
54
  require 'boxxspring/resources/videos_picture_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.3
4
+ version: 2.1.4
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-08 00:00:00.000000000 Z
11
+ date: 2015-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -78,6 +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
83
  - lib/boxxspring/resources/artifact.rb
82
84
  - lib/boxxspring/resources/atomic_video_card.rb
83
85
  - lib/boxxspring/resources/attribute_error.rb
@@ -86,7 +88,6 @@ files:
86
88
  - lib/boxxspring/resources/base.rb
87
89
  - lib/boxxspring/resources/card.rb
88
90
  - lib/boxxspring/resources/error.rb
89
- - lib/boxxspring/resources/flama_subscription_task.rb
90
91
  - lib/boxxspring/resources/forbidden_error.rb
91
92
  - lib/boxxspring/resources/group.rb
92
93
  - lib/boxxspring/resources/malformed_parameter_error.rb
@@ -111,6 +112,7 @@ files:
111
112
  - lib/boxxspring/resources/theme.rb
112
113
  - lib/boxxspring/resources/theme_environment.rb
113
114
  - lib/boxxspring/resources/theme_template.rb
115
+ - lib/boxxspring/resources/univision_subscription_task.rb
114
116
  - lib/boxxspring/resources/user_agent.rb
115
117
  - lib/boxxspring/resources/video.rb
116
118
  - lib/boxxspring/resources/video_card.rb
@@ -1,9 +0,0 @@
1
- module Boxxspring
2
-
3
- class FlamaSubscriptionTask < Task
4
-
5
-
6
-
7
- end
8
-
9
- end