alchemy_cms 4.1.0 → 4.1.1

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: bbe62e8c54256149001175961c97976329047d9d74c51f1651075b4dd103ce7e
4
- data.tar.gz: 34ce79ac45dd9e2d5f245ef86438a26a9c3a0d6a76863d6ccb4aebb30fcf23a4
3
+ metadata.gz: 8fed96d1786844619209e87b7122670b11aba378f6cc926bdd513193a7e0f292
4
+ data.tar.gz: fc7ee1384688e1357adb6c5203b437dcae1a9ef6bafef4e904f9b9fcb5b9b2e1
5
5
  SHA512:
6
- metadata.gz: a02c9a806ad4b85e11874b5a203637ef6329a0003df928f374efb73f4ebbbd8b0bda6c207df7899459eb181e92c51b76c79d334385985d16e1fbe91a849a68c3
7
- data.tar.gz: 2c42c60dcca6d7cf212478c8b445c644a5deffdbadb38c7abb3888cb1e7eaefe35e48e698e38329a4a3c5ea68e5d090b8ad3a63ee67545054cb8e401e6025674
6
+ metadata.gz: 7e25e2530f4fc1e666e8f9f1ff6b708e195902a9e3a5b22ac2f2382299c0a25a985e97ea61521a5519689677e1de86e8deeb57be7bf1c5e1f77733cefa1be8c6
7
+ data.tar.gz: 4f3fcf94e5bee4e746559eb79e24f8db950759cf4ffdb0358e4431f4c8c5f0f1ef8f22146cfbeef8c3491eb02f83b36d83ae4fcafc09d4b2a4e129b8715441b2
@@ -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
@@ -30,6 +30,7 @@ group :development, :test do
30
30
  gem 'listen'
31
31
  gem 'localeapp', '~> 3.0', require: false
32
32
  gem 'dotenv', '~> 2.2'
33
+ gem 'github_fast_changelog', require: false
33
34
  end
34
35
  gem 'capybara', '~> 3.0'
35
36
  gem 'capybara-screenshot', '~> 1.0'
data/README.md CHANGED
@@ -4,30 +4,32 @@
4
4
  [![Test Coverage](https://api.codeclimate.com/v1/badges/196c56c56568ed24a697/test_coverage)](https://codeclimate.com/github/AlchemyCMS/alchemy_cms/test_coverage)
5
5
  [![Slack Status](http://slackin.alchemy-cms.com/badge.svg)](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.0-stable)](https://github.com/AlchemyCMS/alchemy_cms/tree/4.0-stable).**
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
  ![Alchemy CMS](app/assets/images/alchemy/alchemy-logo.png)
13
13
 
14
- Alchemy is a powerful, flexible and user centric Rails CMS.
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](http://guides.alchemy-cms.com/stable/).
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
- - Highly flexible templating that completely separates content from markup
22
- - End-User centric graphical user interface
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 rendering
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.0-stable`.
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.0-stable`.
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
@@ -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', ['~> 2.0']
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']
@@ -308,7 +308,7 @@
308
308
  .essence_picture {
309
309
  margin: 1px;
310
310
  float: left;
311
- height: 126px;
311
+ height: 148px;
312
312
 
313
313
  .picture_thumbnail { margin: 0 }
314
314
  }
@@ -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
- # Handle invalid byte sequence in UTF-8 errors with 400 status.
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
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alchemy
4
- VERSION = "4.1.0"
4
+ VERSION = "4.1.1"
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: 4.1.0
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: 2018-09-22 00:00:00.000000000 Z
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: '2.0'
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: '2.0'
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
- rubyforge_project:
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