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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e237e3c395bafa9b407240566bbdd43148b54a9fc2f7e0fbe285d8a80d839ed
4
- data.tar.gz: 18c04c9fa9b0ac8f7b82f33fb5aad83d96d1a0ac54b1d1e32734290e1eb3e5c1
3
+ metadata.gz: 44143d7369d68e00a7bd6d500516134cd843a1db98aa7d847951ff79eb5448f6
4
+ data.tar.gz: 871232063e27b7b212d0f750ee8f114918e675c3c6a839b16a1788197a7e2425
5
5
  SHA512:
6
- metadata.gz: 81b3ab9faa2059cc990de500197deaba30fb0bee3b8688af26050684a236ccebc8b86ce997fed06daeb2fe217c3bc6018cc84c4f1e0b1bed86982a33aeb9abe4
7
- data.tar.gz: 150194efb591b54ffe3a32b6688a3d153d1d7c4e999046776b5fd4b8aaeaf82e1f4247f1deb8c3a76c389a32b98049a36ba8d3b580d459998b00d31872d52bea
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
@@ -16,10 +16,13 @@ module Pageflow
16
16
  end
17
17
  end
18
18
 
19
- it 'renderer page template without error' do
20
- expect {
21
- render_page(page_type)
22
- }.not_to raise_error
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: 13.6.0
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-07 00:00:00.000000000 Z
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: 13.6.0
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: 13.6.0
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: '0'
214
+ version: 1.3.1
215
215
  requirements: []
216
216
  rubyforge_project:
217
217
  rubygems_version: 2.7.5