alchemy_cms 4.1.0 → 4.1.1
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.
Potentially problematic release.
This version of alchemy_cms might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/Gemfile +1 -0
- data/README.md +10 -8
- data/Rakefile +20 -0
- data/alchemy_cms.gemspec +1 -1
- data/app/assets/stylesheets/alchemy/elements.scss +1 -1
- data/lib/alchemy/routing_constraints.rb +1 -11
- data/lib/alchemy/version.rb +1 -1
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fed96d1786844619209e87b7122670b11aba378f6cc926bdd513193a7e0f292
|
4
|
+
data.tar.gz: fc7ee1384688e1357adb6c5203b437dcae1a9ef6bafef4e904f9b9fcb5b9b2e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e25e2530f4fc1e666e8f9f1ff6b708e195902a9e3a5b22ac2f2382299c0a25a985e97ea61521a5519689677e1de86e8deeb57be7bf1c5e1f77733cefa1be8c6
|
7
|
+
data.tar.gz: 4f3fcf94e5bee4e746559eb79e24f8db950759cf4ffdb0358e4431f4c8c5f0f1ef8f22146cfbeef8c3491eb02f83b36d83ae4fcafc09d4b2a4e129b8715441b2
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## 4.1.1 (2019-08-09)
|
2
|
+
|
3
|
+
- Fix image gallery individual image CSS height [#1586](https://github.com/AlchemyCMS/alchemy_cms/pull/1586) ([mamhoff](https://github.com/mamhoff))
|
4
|
+
- Remove invalid bytecode handler [#1581](https://github.com/AlchemyCMS/alchemy_cms/pull/1581) ([tvdeyen](https://github.com/tvdeyen))
|
5
|
+
- Allow Ransack 1.x [#1579](https://github.com/AlchemyCMS/alchemy_cms/pull/1579) ([tvdeyen](https://github.com/tvdeyen))
|
6
|
+
|
1
7
|
## 4.1.0 (2018-09-22)
|
2
8
|
|
3
9
|
- Use console.warn for Alchemy.debug [#1476](https://github.com/AlchemyCMS/alchemy_cms/pull/1476) ([tvdeyen](https://github.com/tvdeyen))
|
@@ -94,6 +100,11 @@
|
|
94
100
|
- Check if file exists on disk before calling identify [#1327](https://github.com/AlchemyCMS/alchemy_cms/pull/1327) ([chalmagean](https://github.com/chalmagean))
|
95
101
|
- Skip folded deeper levels when rendering page tree [#1324](https://github.com/AlchemyCMS/alchemy_cms/pull/1324) ([pascalj](https://github.com/pascalj))
|
96
102
|
|
103
|
+
## 4.0.5 (2018-09-17)
|
104
|
+
|
105
|
+
- Do not cache sitemap in Turbolinks [#1463](https://github.com/AlchemyCMS/alchemy_cms/pull/1463) ([tvdeyen](https://github.com/tvdeyen))
|
106
|
+
- Skip folded deeper levels when rendering page tree [#1324](https://github.com/AlchemyCMS/alchemy_cms/pull/1324) ([pascalj](https://github.com/pascalj))
|
107
|
+
|
97
108
|
## 4.0.4 (2018-09-05)
|
98
109
|
|
99
110
|
- Allow Kaminari 1.x [#1467](https://github.com/AlchemyCMS/alchemy_cms/pull/1467) ([tvdeyen](https://github.com/tvdeyen))
|
@@ -444,3 +455,4 @@ No changes
|
|
444
455
|
## 3.0.0 (2014-07-03)
|
445
456
|
|
446
457
|
[Release Notes](https://github.com/AlchemyCMS/alchemy_cms/releases/tag/v3.0.0)
|
458
|
+
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -4,30 +4,32 @@
|
|
4
4
|
[](https://codeclimate.com/github/AlchemyCMS/alchemy_cms/test_coverage)
|
5
5
|
[](http://slackin.alchemy-cms.com)
|
6
6
|
|
7
|
-
**CAUTION: This master branch is a development branch that *can* contain bugs. For productive environments you should use the [current Ruby gem version](https://rubygems.org/gems/alchemy_cms), or the [latest stable branch (4.
|
7
|
+
**CAUTION: This master branch is a development branch that *can* contain bugs. For productive environments you should use the [current Ruby gem version](https://rubygems.org/gems/alchemy_cms), or the [latest stable branch (4.1-stable)](https://github.com/AlchemyCMS/alchemy_cms/tree/4.1-stable).**
|
8
8
|
|
9
9
|
|
10
10
|
## About
|
11
11
|
|
12
12
|

|
13
13
|
|
14
|
-
Alchemy is a
|
14
|
+
Alchemy is a headless Rails CMS.
|
15
15
|
|
16
|
-
Read more about Alchemy on the [website](https://alchemy-cms.com) and in the [guidelines](
|
16
|
+
Read more about Alchemy on the [website](https://alchemy-cms.com) and in the [guidelines](https://guides.alchemy-cms.com/stable/).
|
17
17
|
|
18
18
|
|
19
19
|
## Features
|
20
20
|
|
21
|
-
-
|
22
|
-
-
|
21
|
+
- Flexible templating that separates content from markup
|
22
|
+
- A rich RESTful API
|
23
|
+
- Intuitive admin interface with live preview
|
23
24
|
- Multi language and multi domain
|
24
25
|
- SEO friendly urls
|
25
26
|
- User Access Control
|
26
27
|
- Build in contact form mailer
|
27
28
|
- Attachments and downloads
|
28
|
-
- On-the-fly image
|
29
|
+
- On-the-fly image cropping and resizing
|
29
30
|
- Extendable via Rails engines
|
30
31
|
- Integrates into existing Rails Apps
|
32
|
+
- Resourceful Rails admin
|
31
33
|
- Flexible caching
|
32
34
|
- Hostable on any Server that supports Ruby on Rails, a SQL Database and ImageMagick
|
33
35
|
|
@@ -77,7 +79,7 @@ Put this into your `Gemfile`:
|
|
77
79
|
gem 'alchemy_cms', github: 'AlchemyCMS/alchemy_cms', branch: 'master'
|
78
80
|
```
|
79
81
|
|
80
|
-
**NOTE:** You normally want to use a stable branch, like `4.
|
82
|
+
**NOTE:** You normally want to use a stable branch, like `4.1-stable`.
|
81
83
|
|
82
84
|
#### 2. Update your bundle:
|
83
85
|
|
@@ -98,7 +100,7 @@ If you don't have your own user class, you can use the Alchemy user model. Just
|
|
98
100
|
gem 'alchemy-devise', github: 'AlchemyCMS/alchemy-devise', branch: 'master'
|
99
101
|
```
|
100
102
|
|
101
|
-
**NOTE:** You normally want to use a stable branch, like `4.
|
103
|
+
**NOTE:** You normally want to use a stable branch, like `4.1-stable`.
|
102
104
|
|
103
105
|
Then run:
|
104
106
|
|
data/Rakefile
CHANGED
@@ -48,4 +48,24 @@ cd -
|
|
48
48
|
BASH
|
49
49
|
end
|
50
50
|
end
|
51
|
+
|
52
|
+
namespace :changelog do
|
53
|
+
desc "Update CHANGELOG from GitHub (Set GITHUB_ACCESS_TOKEN and PREVIOUS_VERSION to a version you want to write changelog changes for)"
|
54
|
+
task :update do
|
55
|
+
original_file = './CHANGELOG.md'
|
56
|
+
new_file = original_file + '.new'
|
57
|
+
backup = original_file + '.old'
|
58
|
+
changes = `git rev-list v#{ENV['PREVIOUS_VERSION']}..HEAD | bundle exec github_fast_changelog AlchemyCMS/alchemy_cms`
|
59
|
+
File.open(new_file, 'w') do |fo|
|
60
|
+
fo.puts changes
|
61
|
+
File.foreach(original_file) do |li|
|
62
|
+
fo.puts li
|
63
|
+
end
|
64
|
+
fo.puts ""
|
65
|
+
end
|
66
|
+
File.rename(original_file, backup)
|
67
|
+
File.rename(new_file, original_file)
|
68
|
+
File.delete(backup)
|
69
|
+
end
|
70
|
+
end
|
51
71
|
end
|
data/alchemy_cms.gemspec
CHANGED
@@ -33,7 +33,7 @@ Gem::Specification.new do |gem|
|
|
33
33
|
gem.add_runtime_dependency 'originator', ['~> 3.1']
|
34
34
|
gem.add_runtime_dependency 'non-stupid-digest-assets', ['~> 1.0.8']
|
35
35
|
gem.add_runtime_dependency 'rails', ['~> 5.0', '< 6.0']
|
36
|
-
gem.add_runtime_dependency 'ransack', ['
|
36
|
+
gem.add_runtime_dependency 'ransack', ['>= 1.8', '< 3.0']
|
37
37
|
gem.add_runtime_dependency 'request_store', ['~> 1.2']
|
38
38
|
gem.add_runtime_dependency 'responders', ['~> 2.0']
|
39
39
|
gem.add_runtime_dependency 'select2-rails', ['>= 3.5.9.1', '< 4.0']
|
@@ -17,8 +17,6 @@ module Alchemy
|
|
17
17
|
@params = @request.params
|
18
18
|
|
19
19
|
handable_format? && no_rails_route?
|
20
|
-
rescue ArgumentError => e
|
21
|
-
handle_invalid_byte_sequence(e)
|
22
20
|
end
|
23
21
|
|
24
22
|
private
|
@@ -35,16 +33,8 @@ module Alchemy
|
|
35
33
|
# We don't want to handle the Rails info routes.
|
36
34
|
def no_rails_route?
|
37
35
|
return true if !%w(development test).include?(Rails.env)
|
38
|
-
(@params['urlname'] =~ /\Arails\//).nil?
|
39
|
-
end
|
40
36
|
|
41
|
-
|
42
|
-
def handle_invalid_byte_sequence(error)
|
43
|
-
if error.message =~ /invalid byte sequence/
|
44
|
-
raise ActionController::BadRequest
|
45
|
-
else
|
46
|
-
raise
|
47
|
-
end
|
37
|
+
(@params['urlname'] =~ /\Arails\//).nil?
|
48
38
|
end
|
49
39
|
end
|
50
40
|
end
|
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: 4.1.
|
4
|
+
version: 4.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas von Deyen
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date:
|
16
|
+
date: 2019-08-09 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: active_model_serializers
|
@@ -253,16 +253,22 @@ dependencies:
|
|
253
253
|
name: ransack
|
254
254
|
requirement: !ruby/object:Gem::Requirement
|
255
255
|
requirements:
|
256
|
-
- - "
|
256
|
+
- - ">="
|
257
257
|
- !ruby/object:Gem::Version
|
258
|
-
version: '
|
258
|
+
version: '1.8'
|
259
|
+
- - "<"
|
260
|
+
- !ruby/object:Gem::Version
|
261
|
+
version: '3.0'
|
259
262
|
type: :runtime
|
260
263
|
prerelease: false
|
261
264
|
version_requirements: !ruby/object:Gem::Requirement
|
262
265
|
requirements:
|
263
|
-
- - "
|
266
|
+
- - ">="
|
264
267
|
- !ruby/object:Gem::Version
|
265
|
-
version: '
|
268
|
+
version: '1.8'
|
269
|
+
- - "<"
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '3.0'
|
266
272
|
- !ruby/object:Gem::Dependency
|
267
273
|
name: request_store
|
268
274
|
requirement: !ruby/object:Gem::Requirement
|
@@ -988,8 +994,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
988
994
|
version: '0'
|
989
995
|
requirements:
|
990
996
|
- ImageMagick (libmagick), v6.6 or greater.
|
991
|
-
|
992
|
-
rubygems_version: 2.7.7
|
997
|
+
rubygems_version: 3.0.3
|
993
998
|
signing_key:
|
994
999
|
specification_version: 4
|
995
1000
|
summary: A powerful, userfriendly and flexible CMS for Rails 4
|