pageflow-support 13.6.0 → 14.0.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/pageflow/dummy/config/pageflow.rb +7 -0
- data/pageflow/lint/page_type.rb +7 -4
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44143d7369d68e00a7bd6d500516134cd843a1db98aa7d847951ff79eb5448f6
|
4
|
+
data.tar.gz: 871232063e27b7b212d0f750ee8f114918e675c3c6a839b16a1788197a7e2425
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c0da26d7ed796052fd5cb6ea496ae9a2d5d97753c18f6536a613b5c3e0a98bccddf4ccf42f020f44388e6d74e1aa3cce2026eae4fc9c66a708a15223fc322d6
|
7
|
+
data.tar.gz: baf17a748216e365dc01273eac633fc0fa10aeb2b80412c2acd1904b38b352914832f106331c7b082c5aa911f75c7dbb897227a497511fb57f85a40dcb928a9a
|
@@ -7,6 +7,13 @@ Pageflow.configure do |config|
|
|
7
7
|
url: '/system/s3/:class/:attachment/:id_partition/:style/:filename',
|
8
8
|
path: ':rails_root/public:url'
|
9
9
|
)
|
10
|
+
|
11
|
+
config.paperclip_direct_upload_options = lambda do |_|
|
12
|
+
{
|
13
|
+
url: '#',
|
14
|
+
fields: []
|
15
|
+
}
|
16
|
+
end
|
10
17
|
end
|
11
18
|
|
12
19
|
# Reconstruct current config to ensure config block above is used
|
data/pageflow/lint/page_type.rb
CHANGED
@@ -16,10 +16,13 @@ module Pageflow
|
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
|
-
it '
|
20
|
-
|
21
|
-
|
22
|
-
|
19
|
+
it 'rendered page has valid DOM structure' do
|
20
|
+
html = render_page(page_type)
|
21
|
+
|
22
|
+
expect(html).to have_selector('div.content_and_background')
|
23
|
+
expect(html).to have_selector('div.content_and_background > div.page_background')
|
24
|
+
expect(html).to have_selector('div.content_and_background > div.content')
|
25
|
+
expect(html).to have_selector('div.scroller > div > div.content_wrapper')
|
23
26
|
end
|
24
27
|
|
25
28
|
it 'renders json seed template without error' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pageflow-support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 14.0.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Codevise Solutions Ltd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pageflow
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 14.0.0.beta1
|
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:
|
26
|
+
version: 14.0.0.beta1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mysql2
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -209,9 +209,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
209
209
|
version: '0'
|
210
210
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
211
211
|
requirements:
|
212
|
-
- - "
|
212
|
+
- - ">"
|
213
213
|
- !ruby/object:Gem::Version
|
214
|
-
version:
|
214
|
+
version: 1.3.1
|
215
215
|
requirements: []
|
216
216
|
rubyforge_project:
|
217
217
|
rubygems_version: 2.7.5
|