boxxspring 2.0.2 → 2.0.3

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: 824f7672377a8e351103eb35311e884e4572473d
4
- data.tar.gz: 8e8f0fa2222d51c447990245cebf46f0cbaecc72
3
+ metadata.gz: c3bda46388aec2e118b9457c34612d524e1122f6
4
+ data.tar.gz: 7143fa88120d3b42f789d80c05507caa94bd05e2
5
5
  SHA512:
6
- metadata.gz: 548442947f798e18e5c9430d989694935399265253302bc8c94c39942fecb9e67e82cbfc3240eecbef9974d691588a1ef711d4b178dc8e89311710718e1330ad
7
- data.tar.gz: 28da5010ffb9d9469f96ea31acdec15624420851ff41dff9b7f48b50b77e0c9b4107961607f6083beb75adb8df8623c4377d6207dd88798ddb6777774e0161e7
6
+ metadata.gz: afd5f2eb665a1740cb5e6e774f582557e0b46985ef7945f90207364ff3619b8cd055f8ab7b72302d3943fd88ff9f5d7089b0b930490b26bf2de3babe44d5f758
7
+ data.tar.gz: b7869533d1c3275dd6984e868618c7d9bdbeb72c8884af4915b47e23f28123da0fa8a46d80624fb69bb06c612b2ad174f208c33500aca2a1b7dfefbc8ce3a07d
@@ -0,0 +1,3 @@
1
+ module Boxxspring
2
+ class Group < Artifact; end
3
+ end
@@ -0,0 +1,3 @@
1
+ module Boxxspring
2
+ class Playlist < Artifact; end
3
+ end
@@ -2,24 +2,32 @@ module Boxxspring
2
2
 
3
3
  class Property < Base
4
4
 
5
- field :created_at
6
- field :updated_at
7
- field :destroyed_at
5
+ field :type_name
6
+ field :id
8
7
 
9
- field :name
10
- field :code_name
11
- field :domain_name
8
+ field :created_at
9
+ field :updated_at
10
+ field :destroyed_at
12
11
 
13
- field :meta_description
14
- field :meta_title
12
+ field :name
13
+ field :code_name
14
+ field :domain_name
15
15
 
16
- field :authentication_enabled, default: false
17
- field :authentication_username
18
- field :authentication_password
16
+ field :meta_description
17
+ field :meta_title
19
18
 
19
+ field :authentication_enabled, default: false
20
+ field :authentication_username
21
+ field :authentication_password
22
+
23
+ has_many :groups
20
24
  has_many :pictures
21
25
  has_one :theme
22
26
 
27
+ def operation( path )
28
+ Boxxspring::Operation.new( File.join( '/properties', self.id.to_s, path ) )
29
+ end
30
+
23
31
  end
24
32
 
25
33
  end
@@ -0,0 +1,3 @@
1
+ module Boxxspring
2
+ class Story < Artifact; end
3
+ end
@@ -1,3 +1,3 @@
1
1
  module Boxxspring
2
- VERSION = '2.0.2'
2
+ VERSION = '2.0.3'
3
3
  end
data/lib/boxxspring.rb CHANGED
@@ -18,4 +18,7 @@ require 'boxxspring/resources/card'
18
18
  require 'boxxspring/resources/video_card'
19
19
  require 'boxxspring/resources/atomic_video_card'
20
20
  require 'boxxspring/resources/artifact'
21
+ require 'boxxspring/resources/story'
22
+ require 'boxxspring/resources/playlist'
23
+ require 'boxxspring/resources/group'
21
24
  require 'boxxspring/resources/property'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxxspring
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kristoph Cichocki-Romanov
@@ -84,10 +84,13 @@ files:
84
84
  - lib/boxxspring/resources/base.rb
85
85
  - lib/boxxspring/resources/card.rb
86
86
  - lib/boxxspring/resources/error.rb
87
+ - lib/boxxspring/resources/group.rb
87
88
  - lib/boxxspring/resources/picture.rb
89
+ - lib/boxxspring/resources/playlist.rb
88
90
  - lib/boxxspring/resources/property.rb
89
91
  - lib/boxxspring/resources/service.rb
90
92
  - lib/boxxspring/resources/sponsor.rb
93
+ - lib/boxxspring/resources/story.rb
91
94
  - lib/boxxspring/resources/theme.rb
92
95
  - lib/boxxspring/resources/theme_environment.rb
93
96
  - lib/boxxspring/resources/user_agent.rb