pageflow-support 13.0.0.beta4 → 13.0.0.beta5

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: 4ca54c4bf81a1d886f4ede4e6e42689b74001151c8490e6fc6cadbee57a455ce
4
- data.tar.gz: 64ed7263c4538dcb44badf3881fa7419a2cc9a3a93cdd48647c7f53697b77b9d
3
+ metadata.gz: 743ea7d684a105931f3d25e0f6f9e009f3c0b9da077cc86890d5d91b125da2ab
4
+ data.tar.gz: 9db4456c2eb851e506ecb211111422627fe2baed02779efa28dde1c7c1e05679
5
5
  SHA512:
6
- metadata.gz: 88a09bfa81b1b8b4c92d70fb5265f9233b7071b1ad725169bca5917161c6eca26225cd2ed2bda726de65fe8918b411e35d105022fd86ddcfb7ffae05429a17e0
7
- data.tar.gz: 2274fd54627a2ce13a770aa8a1304ebbb7e9a287fc1d57ad9e1cfd230a52fee4e27935d47c3f81ba47d88071de66e0c0c29e97cad6c36a34995ed8f9ef059f66
6
+ metadata.gz: e30e6317f15c39fc0c16d25756228f704660ae083e95eb013393694906f8af1b69a7345add48a613652eb624c0c36887b9310bb2b620060957eae66b089b2b0e
7
+ data.tar.gz: 906d05229a1b7b8e4862692cf718d958014fb8792914106223688b8f5683a989ababdf1a20e30f260c445906646848ec0bb2ebcba52b4cae20439090a05f9a57
@@ -14,6 +14,7 @@ module Pageflow
14
14
  end
15
15
 
16
16
  require(File.join(ENV['RAILS_ROOT'], 'config', 'environment'))
17
+ require('pageflow/dummy/config/pageflow')
17
18
  end
18
19
 
19
20
  def directory
@@ -0,0 +1,13 @@
1
+ Pageflow.configure do |config|
2
+ config.paperclip_filesystem_root = Rails.root.join('tmp/attachments/test/filesystem')
3
+ config.paperclip_s3_root = 'test-host'
4
+
5
+ config.paperclip_s3_default_options.merge!(
6
+ storage: :filesystem,
7
+ url: '/system/s3/:class/:attachment/:id_partition/:style/:filename',
8
+ path: ':rails_root/public:url'
9
+ )
10
+ end
11
+
12
+ # Reconstruct current config to ensure config block above is used
13
+ Pageflow.configure!
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.0.0.beta4
4
+ version: 13.0.0.beta5
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: 2018-08-08 00:00:00.000000000 Z
11
+ date: 2018-08-09 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.0.0.beta4
19
+ version: 13.0.0.beta5
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.0.0.beta4
26
+ version: 13.0.0.beta5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mysql2
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -165,6 +165,7 @@ files:
165
165
  - pageflow/dom/admin/sign_in_form.rb
166
166
  - pageflow/dummy.rb
167
167
  - pageflow/dummy/app.rb
168
+ - pageflow/dummy/config/pageflow.rb
168
169
  - pageflow/dummy/rails_template.rb
169
170
  - pageflow/dummy/templates/add_custom_fields.rb
170
171
  - pageflow/dummy/templates/create_test_hosted_file.rb