maglevcms 1.0.0.rc2 → 1.0.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: aff097dbba22c4a7f58636f72e07e82b174347a449ac48fa0830c9eeba65a72e
4
- data.tar.gz: c8f82ffd93705b1d737fb3055193d7cde2acd360c611f0526ed9df6e7b6d96ae
3
+ metadata.gz: 92d7c78e9b7e1b792535bb344e90c985b23de2dcae512712c95520b134a424e3
4
+ data.tar.gz: 0ef8f4b7a58faec5948b911b9bd158666915ac9eab81045d0d97e34a068da3de
5
5
  SHA512:
6
- metadata.gz: d438737078234ebe8761de8b06da2f80a5d1f4ad42fd3b8f24e25cdaec899ccc37e24bfc43254ffb2a9a926f86a50781791ebb31439bc211c7ddf23ff45c7422
7
- data.tar.gz: 6f378a9df5b7c2ff9489d61597ddf469b0e0641a8d4f8173b871b4e6324f560ec4fe140dae4e66ce10358b6fa888c9fce138555c7c9780d59161c42ce6ee626d
6
+ metadata.gz: 620be5a2d156c027ec2aa1b8ae041b41d0e62440ff3d267e16554b606d9b31cc949daec27b3c2f0bdf56e8c6b17f8afeb03a158d619874f8dd1c9bd0f50caedc
7
+ data.tar.gz: 5631013a254c1981c5c099112afc536c1bd90a99e84ed4188bce01c2e170607be8706ba3a4be6b91210ea4293452bc46bd39e0dc3ff90755d02c85a2b4b25773
@@ -10,7 +10,7 @@ module Maglev
10
10
  ## methods ##
11
11
 
12
12
  def to_param
13
- "#{id}-#{filename}"
13
+ "#{id}-#{filename.parameterize}"
14
14
  end
15
15
 
16
16
  ## class methods ##
data/lib/maglev/engine.rb CHANGED
@@ -55,7 +55,8 @@ module Maglev
55
55
 
56
56
  # Serves the engine's webpack when requested
57
57
  initializer 'maglev.webpacker.static' do |app|
58
- app.config.middleware.use(
58
+ app.config.middleware.insert_before(
59
+ 1,
59
60
  Rack::Static,
60
61
  urls: ['/maglev-packs'],
61
62
  root: File.expand_path(File.join(__dir__, '..', '..', 'public'))
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Maglev
4
- VERSION = '1.0.0.rc2'
4
+ VERSION = '1.0.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maglevcms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didier Lafforgue
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-30 00:00:00.000000000 Z
11
+ date: 2022-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jbuilder
@@ -61,7 +61,7 @@ dependencies:
61
61
  version: '7.1'
62
62
  - - ">="
63
63
  - !ruby/object:Gem::Version
64
- version: 6.1.6
64
+ version: '6'
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
@@ -71,7 +71,7 @@ dependencies:
71
71
  version: '7.1'
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
- version: 6.1.6
74
+ version: '6'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: webpacker
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -824,9 +824,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
824
824
  version: '2.6'
825
825
  required_rubygems_version: !ruby/object:Gem::Requirement
826
826
  requirements:
827
- - - ">"
827
+ - - ">="
828
828
  - !ruby/object:Gem::Version
829
- version: 1.3.1
829
+ version: '0'
830
830
  requirements: []
831
831
  rubygems_version: 3.2.32
832
832
  signing_key: