brightcontent-pages 2.0.7 → 2.0.8
Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
brightcontent-pages (2.0.
|
4
|
+
brightcontent-pages (2.0.8)
|
5
5
|
awesome_nested_set
|
6
|
-
brightcontent-attachments (= 2.0.
|
7
|
-
brightcontent-core (= 2.0.
|
6
|
+
brightcontent-attachments (= 2.0.8)
|
7
|
+
brightcontent-core (= 2.0.8)
|
8
8
|
|
9
9
|
PATH
|
10
10
|
remote: ../attachments
|
11
11
|
specs:
|
12
|
-
brightcontent-attachments (2.0.
|
13
|
-
brightcontent-core (= 2.0.
|
12
|
+
brightcontent-attachments (2.0.8)
|
13
|
+
brightcontent-core (= 2.0.8)
|
14
14
|
jquery-fileupload-rails
|
15
15
|
paperclip
|
16
16
|
|
17
17
|
PATH
|
18
18
|
remote: ../core
|
19
19
|
specs:
|
20
|
-
brightcontent-core (2.0.
|
20
|
+
brightcontent-core (2.0.8)
|
21
21
|
bcrypt-ruby
|
22
22
|
bootstrap-wysihtml5-rails
|
23
23
|
has_scope
|
@@ -9,13 +9,17 @@ module Brightcontent
|
|
9
9
|
after_save :update_slug
|
10
10
|
|
11
11
|
def self.default_scope
|
12
|
-
order
|
12
|
+
order(:lft)
|
13
13
|
end
|
14
14
|
|
15
15
|
def homepage?
|
16
16
|
lft == 1
|
17
17
|
end
|
18
18
|
|
19
|
+
def attachment_styles
|
20
|
+
Brightcontent.page_attachment_styles
|
21
|
+
end
|
22
|
+
|
19
23
|
private
|
20
24
|
|
21
25
|
def update_slug
|
data/lib/brightcontent/pages.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brightcontent-pages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 2.0.
|
21
|
+
version: 2.0.8
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 2.0.
|
29
|
+
version: 2.0.8
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: brightcontent-attachments
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - '='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 2.0.
|
37
|
+
version: 2.0.8
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - '='
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 2.0.
|
45
|
+
version: 2.0.8
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: awesome_nested_set
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -204,7 +204,6 @@ files:
|
|
204
204
|
- spec/dummy/public/422.html
|
205
205
|
- spec/dummy/public/500.html
|
206
206
|
- spec/dummy/public/favicon.ico
|
207
|
-
- spec/dummy/public/system/brightcontent/attachments/assets/000/000/001/original/cosellers-browser.jpg
|
208
207
|
- spec/dummy/script/rails
|
209
208
|
- spec/factories.rb
|
210
209
|
- spec/features/menu_spec.rb
|
@@ -226,7 +225,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
226
225
|
version: '0'
|
227
226
|
segments:
|
228
227
|
- 0
|
229
|
-
hash:
|
228
|
+
hash: 472946396454552319
|
230
229
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
231
230
|
none: false
|
232
231
|
requirements:
|
@@ -235,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
235
234
|
version: '0'
|
236
235
|
segments:
|
237
236
|
- 0
|
238
|
-
hash:
|
237
|
+
hash: 472946396454552319
|
239
238
|
requirements: []
|
240
239
|
rubyforge_project:
|
241
240
|
rubygems_version: 1.8.24
|
@@ -283,7 +282,6 @@ test_files:
|
|
283
282
|
- spec/dummy/public/422.html
|
284
283
|
- spec/dummy/public/500.html
|
285
284
|
- spec/dummy/public/favicon.ico
|
286
|
-
- spec/dummy/public/system/brightcontent/attachments/assets/000/000/001/original/cosellers-browser.jpg
|
287
285
|
- spec/dummy/script/rails
|
288
286
|
- spec/factories.rb
|
289
287
|
- spec/features/menu_spec.rb
|