scrivito_sdk 0.71.2 → 0.90.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,6 +48,10 @@ class Workspace
48
48
  end
49
49
  end
50
50
 
51
+ # @api public
52
+ # Returns the published workspace.
53
+ #
54
+ # @return [Scrivito::Workspace]
51
55
  def self.published
52
56
  find("published")
53
57
  end
@@ -252,6 +256,10 @@ class Workspace
252
256
  end
253
257
  end
254
258
 
259
+ # @api public
260
+ # This method indicates whether the workspace is the published one.
261
+ #
262
+ # @return +true+ if the workspace is the published one
255
263
  def published?
256
264
  self.id == 'published'
257
265
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.71.2
4
+ version: 0.90.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Infopark AG
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-02 00:00:00.000000000 Z
11
+ date: 2015-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.3.2
19
+ version: '2.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.3.2
26
+ version: '2.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: diff-lcs
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.2.5
33
+ version: '1.2'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.2.5
40
+ version: '1.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: hyp_diff
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -100,28 +100,28 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 2.0.0
103
+ version: '2.0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 2.0.0
110
+ version: '2.0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: nokogiri
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 1.6.5
117
+ version: '1.6'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 1.6.5
124
+ version: '1.6'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rails
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -160,6 +160,7 @@ files:
160
160
  - README.md
161
161
  - app/controllers/scrivito/binary_redirect_controller.rb
162
162
  - app/controllers/scrivito/blobs_controller.rb
163
+ - app/controllers/scrivito/completion_controller.rb
163
164
  - app/controllers/scrivito/default_cms_controller.rb
164
165
  - app/controllers/scrivito/objs_controller.rb
165
166
  - app/controllers/scrivito/tasks_controller.rb
@@ -174,15 +175,17 @@ files:
174
175
  - app/views/scrivito/_editing_auth_warning.html.erb
175
176
  - app/views/scrivito/blobs/activate_upload.json.jbuilder
176
177
  - app/views/scrivito/blobs/upload_permission.json.jbuilder
178
+ - app/views/scrivito/completion/suggest.json.jbuilder
177
179
  - app/views/scrivito/content_widget/show.html.erb
178
180
  - app/views/scrivito/fallback_thumbnail.html.erb
179
181
  - app/views/scrivito/objs/destroy.json.jbuilder
180
- - app/views/scrivito/objs/format_missing_error.json.jbuilder
181
182
  - app/views/scrivito/objs/is_outdated.json.jbuilder
182
183
  - app/views/scrivito/objs/obj.json.jbuilder
183
184
  - app/views/scrivito/objs/page_class_selection.json.jbuilder
184
185
  - app/views/scrivito/objs/search.json.jbuilder
185
- - app/views/scrivito/objs/search_only_size.json.jbuilder
186
+ - app/views/scrivito/objs/search/facet.json.jbuilder
187
+ - app/views/scrivito/objs/search/missing_formatter.jbuilder
188
+ - app/views/scrivito/objs/search/size.json.jbuilder
186
189
  - app/views/scrivito/objs/show.json.jbuilder
187
190
  - app/views/scrivito/objs/transfer_modifications.json.jbuilder
188
191
  - app/views/scrivito/objs/update.json.jbuilder
@@ -348,6 +351,7 @@ files:
348
351
  - lib/scrivito/obj_data.rb
349
352
  - lib/scrivito/obj_data_from_hash.rb
350
353
  - lib/scrivito/obj_data_from_service.rb
354
+ - lib/scrivito/obj_facet_value.rb
351
355
  - lib/scrivito/obj_params_parser.rb
352
356
  - lib/scrivito/obj_search_builder.rb
353
357
  - lib/scrivito/obj_search_enumerator.rb
@@ -397,9 +401,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
397
401
  version: 2.1.0
398
402
  required_rubygems_version: !ruby/object:Gem::Requirement
399
403
  requirements:
400
- - - ">="
404
+ - - ">"
401
405
  - !ruby/object:Gem::Version
402
- version: '0'
406
+ version: 1.3.1
403
407
  requirements: []
404
408
  rubyforge_project:
405
409
  rubygems_version: 2.4.5