effective_pages 3.0.10 → 3.1.0

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: ce5bc87bbf145bfcf88dfcf9b5efb9ab778876b4d103cc0a2b2cabfbae9f0f05
4
- data.tar.gz: 613c1b974148fd8f0b31bcd204ce5cbd979545baf09d08468f9bb44f21ee4ab5
3
+ metadata.gz: 467fd5c58dcaf5d29652dc3c1f7cad7c0a71c1afd5553bbab3faf9836402c10c
4
+ data.tar.gz: 5d5c90f2417ddf8260854a6d51d3ffac7f9a1c027ff41f7c591b90877d5619af
5
5
  SHA512:
6
- metadata.gz: 51e0ba41ee3f97be0fe574b4cd017ba47fe3421e0d7827c0d1fad8522f4d1194ff8dc4e7c721c06d4d0b84b8414ba31a201ccea0ced2ae5dbc43148f1512b216
7
- data.tar.gz: 7ff18a08e8d591bc473609244604b73bd8f24a42cccf579492db53d24fb536b7e6c460f36718ea35fa59693ba9aa437fab6806c02e6729565a4330d1cbaf4e42
6
+ metadata.gz: b0849e1a758445044928464b6af3b5cd3bd88474e0954eaa542c21d844bf460ddced9582595ccddc07b7843a60db859333537a9ccb960385dd6dd4ee2636a8ec
7
+ data.tar.gz: 0ab96c14d49e30c1e74beb75704f2e0078d1868a2e3d48a825ecb794fa8f9bac6af48f75b1e2080433da1ce69e64266e71d0ef4f5e4dd83c1c0047fdc40ea6ca
@@ -1,2 +1,6 @@
1
- = f.rich_text_area :rich_text_body, label: 'Body', hint: 'The main body of your page'
2
- = f.rich_text_area :rich_text_sidebar, label: 'Sidebar', hint: 'The sidebar content of your page'
1
+ - if defined?(EffectiveArticleEditor)
2
+ = f.article_editor :rich_text_body, label: 'Body', hint: 'The main body of your page'
3
+ = f.article_editor :rich_text_sidebar, label: 'Sidebar', hint: 'The sidebar content of your page'
4
+ - else
5
+ = f.rich_text_area :rich_text_body, label: 'Body', hint: 'The main body of your page'
6
+ = f.rich_text_area :rich_text_sidebar, label: 'Sidebar', hint: 'The sidebar content of your page'
@@ -1,3 +1,3 @@
1
1
  module EffectivePages
2
- VERSION = '3.0.10'.freeze
2
+ VERSION = '3.1.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.10
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-23 00:00:00.000000000 Z
11
+ date: 2022-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails