pageflow 14.0.0.beta3 → 14.0.0.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -1
- data/db/migrate/20190404075934_copy_filenames_of_processing_failed_images.rb +23 -0
- data/lib/pageflow/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ff45338caf6a5708ab5d2138e1ca57c89e7d7900048ccc737b39045743b46774
|
|
4
|
+
data.tar.gz: ffe8f706be6f0b572ef03405d9ca7763ed3eed12506dcbfebca0d7d6d11bbd30
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0e68221be71988bccb1cdeff5ed04c27c296cad91476d87a1d35171f668bbad11af805daae4c05cca8cbf6f9cda1d5ca9be8330ecebccefe8134f1958c7f424d
|
|
7
|
+
data.tar.gz: ef710373d40d43842b4dc70d8f3d0f7907508d5e222738608d87450dcf04148236ac0866e01caa5f83c36c61871bc655f83c3f8dc6b2f067bda04cd6c19d29e3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
-
### Version 14.0.0.
|
|
3
|
+
### Version 14.0.0.rc1
|
|
4
|
+
|
|
5
|
+
2019-04-04
|
|
6
|
+
|
|
7
|
+
[Compare changes](https://github.com/codevise/pageflow/compare/v14.0.0.beta3...v14.0.0.rc1)
|
|
8
|
+
|
|
9
|
+
- Add migration to fix "processing_failed"-image files
|
|
10
|
+
([#1147](https://github.com/codevise/pageflow/pull/1147))
|
|
11
|
+
- Do not require content_wrapper in page type lint specs
|
|
12
|
+
([#1148](https://github.com/codevise/pageflow/pull/1148))
|
|
13
|
+
|
|
14
|
+
### Version 14.0.0.beta3
|
|
4
15
|
|
|
5
16
|
2019-04-04
|
|
6
17
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
class CopyFilenamesOfProcessingFailedImages < ActiveRecord::Migration[5.2]
|
|
2
|
+
def up
|
|
3
|
+
execute(<<-SQL)
|
|
4
|
+
UPDATE pageflow_image_files
|
|
5
|
+
SET attachment_on_s3_file_name = unprocessed_attachment_file_name,
|
|
6
|
+
attachment_on_s3_content_type = unprocessed_attachment_content_type,
|
|
7
|
+
attachment_on_s3_file_size = unprocessed_attachment_file_size,
|
|
8
|
+
attachment_on_s3_updated_at = unprocessed_attachment_updated_at
|
|
9
|
+
WHERE state = 'processing_failed';
|
|
10
|
+
SQL
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
def down
|
|
14
|
+
execute(<<-SQL)
|
|
15
|
+
UPDATE pageflow_image_files
|
|
16
|
+
SET attachment_on_s3_file_name = NULL,
|
|
17
|
+
attachment_on_s3_content_type = NULL,
|
|
18
|
+
attachment_on_s3_file_size = NULL,
|
|
19
|
+
attachment_on_s3_updated_at = NULL
|
|
20
|
+
WHERE state = 'processing_failed';
|
|
21
|
+
SQL
|
|
22
|
+
end
|
|
23
|
+
end
|
data/lib/pageflow/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pageflow
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 14.0.0.
|
|
4
|
+
version: 14.0.0.rc1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Codevise Solutions Ltd
|
|
@@ -1921,6 +1921,7 @@ files:
|
|
|
1921
1921
|
- db/migrate/20181115165746_change_processed_attachment_to_attachment_on_s3_for_images.rb
|
|
1922
1922
|
- db/migrate/20190109085744_add_default_locale_to_themings.rb
|
|
1923
1923
|
- db/migrate/20190306161431_copy_file_attributes_of_failed_uploads.rb
|
|
1924
|
+
- db/migrate/20190404075934_copy_filenames_of_processing_failed_images.rb
|
|
1924
1925
|
- lib/generators/pageflow/active_admin_initializer/active_admin_initializer_generator.rb
|
|
1925
1926
|
- lib/generators/pageflow/assets/assets_generator.rb
|
|
1926
1927
|
- lib/generators/pageflow/assets/templates/application.js
|