alchemy_cms 3.6.5 → 3.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +6 -4
- data/CHANGELOG.md +12 -0
- data/Gemfile +2 -7
- data/alchemy_cms.gemspec +1 -1
- data/app/controllers/alchemy/admin/elements_controller.rb +4 -1
- data/app/models/alchemy/site.rb +1 -1
- data/app/views/alchemy/admin/elements/new.html.erb +2 -1
- data/lib/alchemy/version.rb +1 -1
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2d08ddeba7c6d9ee72222fdbd1076a7e15bf0cd7
|
4
|
+
data.tar.gz: f1b8bf8976c1072862a962bbff039a9700aeea3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20578df18e78b1f0d54bcaff824f6679b3f929d347d1c2316f85d5cbb956789c15804325cf3fdd7e3993bb9cb2ad8915ec95df157360ce6f4a675778afde1c51
|
7
|
+
data.tar.gz: 656afe41082692275283b7fb664490637f4a536c024bda2c0272525b032a0434c72808e954f6769e1e34cefe7cac9a3c6bcf603f53266aa6a73f55ed33a913e6
|
data/.travis.yml
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
language: ruby
|
2
2
|
sudo: false
|
3
|
+
services:
|
4
|
+
- mysql
|
5
|
+
- postgresql
|
3
6
|
cache:
|
4
7
|
bundler: true
|
5
8
|
directories:
|
6
9
|
- "travis_phantomjs"
|
7
10
|
rvm:
|
8
|
-
- 2.
|
9
|
-
- 2.
|
10
|
-
- 2.3.0
|
11
|
+
- 2.3
|
12
|
+
- 2.4
|
11
13
|
branches:
|
12
14
|
only:
|
13
15
|
- 3.6-stable
|
@@ -20,7 +22,7 @@ before_install:
|
|
20
22
|
- "if [ $(phantomjs --version) != '2.1.1' ]; then wget https://assets.membergetmember.co/software/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2; fi"
|
21
23
|
- "if [ $(phantomjs --version) != '2.1.1' ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
|
22
24
|
- "phantomjs --version"
|
23
|
-
- gem install bundler
|
25
|
+
- gem install bundler -v "< 2"
|
24
26
|
before_script: bundle exec rake alchemy:spec:prepare
|
25
27
|
script: bundle exec rspec
|
26
28
|
after_success: bundle exec codeclimate-test-reporter
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 3.6.6 (2020-10-08)
|
4
|
+
|
5
|
+
- Allow AwesomeNestedSet >= 3.0 [#1619](https://github.com/AlchemyCMS/alchemy_cms/pull/1619) by [tvdeyen](https://github.com/tvdeyen)
|
6
|
+
|
7
|
+
## 3.6.5 (2018-05-08)
|
8
|
+
|
9
|
+
- Fix for drag'n'drop trashed elements into pages with cells [#1430](https://github.com/AlchemyCMS/alchemy_cms/pull/1430) by [tvdeyen](https://github.com/tvdeyen)
|
10
|
+
|
11
|
+
## 3.6.4 (2018-04-23)
|
12
|
+
|
13
|
+
- Allows `Symbol`, `Regexp` and `Date` in all YAML config files [#1333](https://github.com/AlchemyCMS/alchemy_cms/pull/1333) by [robinboening](https://github.com/robinboening)
|
14
|
+
|
3
15
|
## 3.6.3 (2017-10-24)
|
4
16
|
|
5
17
|
* Remove `:display` cancan alias [#1318](https://github.com/AlchemyCMS/alchemy_cms/pull/1318) by [tvdeyen](https://github.com/tvdeyen)
|
data/Gemfile
CHANGED
@@ -5,7 +5,7 @@ gemspec
|
|
5
5
|
# Profiling
|
6
6
|
gem 'rack-mini-profiler', group: :development, require: false
|
7
7
|
|
8
|
-
gem 'sqlite3' if ENV['DB'].nil? || ENV['DB'] == 'sqlite'
|
8
|
+
gem 'sqlite3', '~> 1.3.6' if ENV['DB'].nil? || ENV['DB'] == 'sqlite'
|
9
9
|
gem 'mysql2', '~> 0.3.18' if ENV['DB'] == 'mysql'
|
10
10
|
gem 'pg', '~> 0.21' if ENV['DB'] == 'postgresql'
|
11
11
|
gem 'sassc-rails'
|
@@ -14,6 +14,7 @@ group :development, :test do
|
|
14
14
|
gem 'jasmine-rails', github: 'searls/jasmine-rails'
|
15
15
|
gem 'jasmine-jquery-rails', github: 'travisjeffery/jasmine-jquery-rails'
|
16
16
|
gem 'simplecov', require: false
|
17
|
+
gem 'sassc', '~> 2.1.0'
|
17
18
|
if ENV['TRAVIS']
|
18
19
|
gem 'codeclimate-test-reporter', '~> 1.0', require: false
|
19
20
|
end
|
@@ -41,9 +42,3 @@ end
|
|
41
42
|
group :development, :production do
|
42
43
|
gem 'quiet_assets'
|
43
44
|
end
|
44
|
-
|
45
|
-
# We need this if we want to start the dummy app in production, ie on Teatro.io
|
46
|
-
group :production do
|
47
|
-
gem 'uglifier', '>= 1.0.3'
|
48
|
-
gem 'therubyracer'
|
49
|
-
end
|
data/alchemy_cms.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |gem|
|
|
21
21
|
gem.add_runtime_dependency 'active_model_serializers', ['~> 0.9.0']
|
22
22
|
gem.add_runtime_dependency 'acts_as_list', ['~> 0.3']
|
23
23
|
gem.add_runtime_dependency 'acts-as-taggable-on', ['~> 4.0']
|
24
|
-
gem.add_runtime_dependency 'awesome_nested_set', ['~> 3.
|
24
|
+
gem.add_runtime_dependency 'awesome_nested_set', ['~> 3.0']
|
25
25
|
gem.add_runtime_dependency 'bourbon', ['~> 4.2']
|
26
26
|
gem.add_runtime_dependency 'cancancan', ['~> 1.9']
|
27
27
|
gem.add_runtime_dependency 'coffee-rails', ['~> 4.0']
|
@@ -145,7 +145,10 @@ module Alchemy
|
|
145
145
|
|
146
146
|
def paste_element_from_clipboard
|
147
147
|
@source_element = Element.find(element_from_clipboard['id'])
|
148
|
-
new_attributes = {
|
148
|
+
new_attributes = {
|
149
|
+
parent_element_id: params[:element][:parent_element_id],
|
150
|
+
page_id: @page.id
|
151
|
+
}
|
149
152
|
if @page.can_have_cells?
|
150
153
|
new_attributes = new_attributes.merge({cell_id: find_or_create_cell.try(:id)})
|
151
154
|
end
|
data/app/models/alchemy/site.rb
CHANGED
@@ -11,7 +11,8 @@
|
|
11
11
|
</div>
|
12
12
|
<div id="paste_element_tab">
|
13
13
|
<%= alchemy_form_for([:admin, @element]) do |f| %>
|
14
|
-
<%= f.hidden_field
|
14
|
+
<%= f.hidden_field :page_id %>
|
15
|
+
<%= f.hidden_field :parent_element_id, value: @parent_element.try(:id) %>
|
15
16
|
<div class="input select">
|
16
17
|
<label for="paste_from_clipboard" class="control-label"><%= Alchemy.t("Element") %></label>
|
17
18
|
<%= select_tag 'paste_from_clipboard',
|
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: 3.6.
|
4
|
+
version: 3.6.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas von Deyen
|
@@ -10,10 +10,10 @@ 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
|
-
date:
|
16
|
+
date: 2020-10-08 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: active_model_serializers
|
@@ -63,14 +63,14 @@ dependencies:
|
|
63
63
|
requirements:
|
64
64
|
- - "~>"
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: '3.
|
66
|
+
version: '3.0'
|
67
67
|
type: :runtime
|
68
68
|
prerelease: false
|
69
69
|
version_requirements: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
71
|
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '3.
|
73
|
+
version: '3.0'
|
74
74
|
- !ruby/object:Gem::Dependency
|
75
75
|
name: bourbon
|
76
76
|
requirement: !ruby/object:Gem::Requirement
|
@@ -994,9 +994,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
994
994
|
version: '0'
|
995
995
|
requirements:
|
996
996
|
- ImageMagick (libmagick), v6.6 or greater.
|
997
|
-
rubyforge_project:
|
998
|
-
rubygems_version: 2.
|
999
|
-
signing_key:
|
997
|
+
rubyforge_project:
|
998
|
+
rubygems_version: 2.6.14.4
|
999
|
+
signing_key:
|
1000
1000
|
specification_version: 4
|
1001
1001
|
summary: A powerful, userfriendly and flexible CMS for Rails 4
|
1002
1002
|
test_files: []
|
1003
|
+
...
|