alchemy_cms 5.0.0.rc1 → 5.0.0.rc2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b719983afdc90cf645552079d8de65a7632372c37b3c3acc98e81c726fe3ddd
4
- data.tar.gz: 45f07d11d8cce7598ba56a9e6801eb93e3ef31873d24a5e894d8e5208628f99c
3
+ metadata.gz: cb305961a97845dc249d123acf15ed281e69e13a4be8879eedcb5a858723a5fd
4
+ data.tar.gz: 6b3d61f36b20ccb41fd0d1f21a26bff8a6fe14f6cf18a2661c63b6044fd5ac2c
5
5
  SHA512:
6
- metadata.gz: de9831e1555fa6ecff7dfe9e28d762ae6bfb9507566aae096ca6ade3087e976a0ec840b1e5a87167fe198154d34cca498fed9d693775f4ba0960d8a062847e24
7
- data.tar.gz: 179690bed4cb7feadeb9bff852a8de948c397c8c65d06643bc8dc8863538f951499307a42c883a188454c916d945abe3788ee0eba3f97839e70a881eba2ae21b
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.87.1", require: false
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"
@@ -286,5 +286,6 @@
286
286
  color: $muted-text-color;
287
287
  margin-right: $default-margin;
288
288
  font-size: $small-font-size;
289
+ line-height: 31px;
289
290
  }
290
291
  }
@@ -3,14 +3,14 @@
3
3
  padding-bottom: 138px;
4
4
 
5
5
  &.filtered {
6
- padding-bottom: 164px;
6
+ padding-bottom: 178px;
7
7
  }
8
8
 
9
9
  &.with_filter_bar {
10
10
  padding-bottom: 218px;
11
11
 
12
12
  &.filtered {
13
- padding-bottom: 244px;
13
+ padding-bottom: 256px;
14
14
  }
15
15
  }
16
16
 
@@ -1,5 +1,5 @@
1
- <%= alchemy_form_for site, url: alchemy.admin_sites_path(site, search_filter_params) do |f| %>
2
- <%= f.input :host, hint: resource_handler.help_text_for(name: :host).html_safe %>
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} %>
@@ -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
- false
226
+ nil
227
227
  end
228
228
 
229
229
  # Return attributes that should be viewable but not editable.
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alchemy
4
- VERSION = "5.0.0.rc1"
4
+ VERSION = "5.0.0.rc2"
5
5
 
6
6
  def self.version
7
7
  VERSION
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.rc1
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: []