alchemy_cms 5.0.0.rc1 → 5.0.0.rc2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb305961a97845dc249d123acf15ed281e69e13a4be8879eedcb5a858723a5fd
|
4
|
+
data.tar.gz: 6b3d61f36b20ccb41fd0d1f21a26bff8a6fe14f6cf18a2661c63b6044fd5ac2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31c91f9169a7a21982f769fe85ed77d4d6d4609eb6de6b37b6d2006a9aeaa5d63bc775280ca37dbdbf37edff969ea28384cc3c92451c36b932f3bfde0025e665
|
7
|
+
data.tar.gz: bc74c7d3bbefe12c90506e8e874c230001deed4dffc2acd5504e3c304d375ef41b818a85ce645e5c95ff064aae3a042fdd27d2c8f4dd01aadc61f764469118a1
|
data/Gemfile
CHANGED
@@ -22,7 +22,7 @@ group :development, :test do
|
|
22
22
|
gem "yard"
|
23
23
|
gem "redcarpet"
|
24
24
|
gem "pry-byebug"
|
25
|
-
gem "rubocop", "~> 0.
|
25
|
+
gem "rubocop", "~> 0.85.0", require: false
|
26
26
|
gem "listen"
|
27
27
|
gem "localeapp", "~> 3.0", require: false
|
28
28
|
gem "dotenv", "~> 2.2"
|
@@ -1,5 +1,5 @@
|
|
1
|
-
<%= alchemy_form_for site, url:
|
2
|
-
<%= f.input :host, hint: resource_handler.help_text_for(name: :host)
|
1
|
+
<%= alchemy_form_for site, url: resource_path(site, search_filter_params) do |f| %>
|
2
|
+
<%= f.input :host, hint: resource_handler.help_text_for(name: :host)&.html_safe %>
|
3
3
|
<%= f.input :name %>
|
4
4
|
<%= f.input :public %>
|
5
5
|
<%= f.input :aliases, hint: resource_handler.help_text_for(name: :aliases), input_html: {rows: 4} %>
|
data/lib/alchemy/resource.rb
CHANGED
@@ -210,7 +210,7 @@ module Alchemy
|
|
210
210
|
@module_definition && @module_definition["engine_name"]
|
211
211
|
end
|
212
212
|
|
213
|
-
# Returns a help text for resource's form
|
213
|
+
# Returns a help text for resource's form or nil if no help text is available
|
214
214
|
#
|
215
215
|
# === Example:
|
216
216
|
#
|
@@ -223,7 +223,7 @@ module Alchemy
|
|
223
223
|
def help_text_for(attribute)
|
224
224
|
::I18n.translate!(attribute[:name], scope: [:alchemy, :resource_help_texts, resource_name])
|
225
225
|
rescue ::I18n::MissingTranslationData
|
226
|
-
|
226
|
+
nil
|
227
227
|
end
|
228
228
|
|
229
229
|
# Return attributes that should be viewable but not editable.
|
data/lib/alchemy/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alchemy_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.0.
|
4
|
+
version: 5.0.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas von Deyen
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
- Hendrik Mans
|
11
11
|
- Carsten Fregin
|
12
12
|
- Martin Meyerhoff
|
13
|
-
autorequire:
|
13
|
+
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
date: 2020-07-14 00:00:00.000000000 Z
|
@@ -1269,7 +1269,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1269
1269
|
requirements:
|
1270
1270
|
- ImageMagick (libmagick), v6.6 or greater.
|
1271
1271
|
rubygems_version: 3.0.3
|
1272
|
-
signing_key:
|
1272
|
+
signing_key:
|
1273
1273
|
specification_version: 4
|
1274
1274
|
summary: A powerful, userfriendly and flexible CMS for Rails
|
1275
1275
|
test_files: []
|