alchemy_cms 2.1.beta5 → 2.1.beta6
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/README.md +14 -0
- data/alchemy_cms.gemspec +1 -1
- data/app/assets/javascripts/alchemy/alchemy.base.js +8 -2
- data/app/assets/javascripts/alchemy/alchemy.dragndrop.js.erb +1 -1
- data/app/assets/javascripts/alchemy/alchemy.link_overlay.js +1 -10
- data/app/assets/javascripts/alchemy/alchemy.routes.js.erb +9 -9
- data/app/assets/stylesheets/alchemy/base.css.scss +68 -66
- data/app/assets/stylesheets/alchemy/elements.css.scss +3 -2
- data/app/assets/stylesheets/alchemy/jquery-ui.alchemy.css.scss +1 -1
- data/app/assets/stylesheets/alchemy/jquery.Jcrop.css.scss +1 -1
- data/app/assets/stylesheets/alchemy/jquery.sb.css.scss +1 -1
- data/app/assets/stylesheets/alchemy/tinymce_content.css.scss +1 -1
- data/app/assets/stylesheets/alchemy/tinymce_dialog.css.scss +1 -1
- data/app/controllers/alchemy/admin/base_controller.rb +1 -1
- data/app/controllers/alchemy/admin/contents_controller.rb +1 -1
- data/app/controllers/alchemy/admin/elements_controller.rb +2 -1
- data/app/controllers/alchemy/admin/pages_controller.rb +18 -8
- data/app/controllers/alchemy/admin/resources_controller.rb +1 -1
- data/app/controllers/alchemy/pages_controller.rb +14 -2
- data/app/helpers/alchemy/admin/base_helper.rb +2 -2
- data/app/helpers/alchemy/admin/elements_helper.rb +1 -1
- data/app/helpers/alchemy/admin/essences_helper.rb +1 -1
- data/app/helpers/alchemy/base_helper.rb +0 -8
- data/app/helpers/alchemy/essences_helper.rb +1 -2
- data/app/helpers/alchemy/pages_helper.rb +3 -3
- data/app/models/alchemy/content.rb +27 -3
- data/app/models/alchemy/element.rb +2 -2
- data/app/models/alchemy/page.rb +4 -4
- data/app/models/alchemy/user.rb +5 -1
- data/app/views/alchemy/admin/clipboard/insert.js.erb +9 -9
- data/app/views/alchemy/admin/dashboard/index.html.erb +1 -1
- data/app/views/alchemy/admin/elements/create.js.erb +26 -19
- data/app/views/alchemy/admin/essence_pictures/assign.js.erb +1 -1
- data/app/views/alchemy/admin/essence_pictures/edit.html.erb +4 -4
- data/app/views/alchemy/admin/essence_pictures/update.js.erb +1 -1
- data/app/views/alchemy/admin/layoutpages/index.html.erb +1 -14
- data/app/views/alchemy/admin/pages/_external_link.html.erb +3 -13
- data/app/views/alchemy/admin/pages/index.html.erb +1 -14
- data/app/views/alchemy/admin/partials/_language_tree_select.html.erb +22 -0
- data/app/views/alchemy/admin/partials/_pagination_links.html.erb +3 -1
- data/app/views/alchemy/admin/pictures/update.js.erb +2 -0
- data/app/views/alchemy/admin/trash/index.html.erb +1 -1
- data/app/views/alchemy/admin/users/_user.html.erb +1 -1
- data/config/locales/alchemy.de.yml +29 -17
- data/config/locales/alchemy.en.yml +5 -4
- data/lib/alchemy/capistrano.rb +5 -0
- data/lib/alchemy/i18n.rb +1 -1
- data/lib/alchemy/page_layout.rb +1 -1
- data/lib/alchemy/scoped_pagination_link_renderer.rb +27 -0
- data/lib/alchemy/version.rb +1 -1
- data/lib/alchemy_cms.rb +1 -1
- data/spec/controllers/admin/contents_controller_spec.rb +19 -0
- data/spec/controllers/admin/pages_controller_spec.rb +19 -0
- data/spec/controllers/base_controller_spec.rb +1 -1
- data/spec/controllers/pages_controller_spec.rb +62 -0
- data/spec/dummy/app/views/layouts/.gitkeep +0 -0
- data/spec/integration/admin/pages_controller_spec.rb +42 -13
- data/spec/integration/pages_controller_spec.rb +2 -2
- data/spec/models/content_spec.rb +40 -0
- data/spec/models/element_spec.rb +50 -0
- data/spec/models/page_spec.rb +45 -1
- data/spec/routing_spec.rb +27 -29
- data/spec/spec_helper.rb +2 -2
- metadata +40 -36
- data/spec/dummy/app/views/layouts/application.html.erb +0 -14
@@ -17,7 +17,7 @@ describe Alchemy::PagesController do
|
|
17
17
|
within('div#content div.article div.intro') { page.should have_content('Welcome to Peters Petshop') }
|
18
18
|
end
|
19
19
|
|
20
|
-
it "should
|
20
|
+
it "should show the navigation with all visible pages" do
|
21
21
|
pages = [
|
22
22
|
Factory(:public_page, :language => @default_language, :visible => true, :name => 'Page 1', :parent_id => @default_language_root.id),
|
23
23
|
Factory(:public_page, :language => @default_language, :visible => true, :name => 'Page 2', :parent_id => @default_language_root.id)
|
@@ -119,7 +119,7 @@ describe Alchemy::PagesController do
|
|
119
119
|
page.current_path.should == '/alchemy/a-public-page'
|
120
120
|
end
|
121
121
|
|
122
|
-
context "with no lang parameter"
|
122
|
+
context "with no lang parameter" do
|
123
123
|
|
124
124
|
it "should have defaults language language_id in the session" do
|
125
125
|
get show_page_path(:urlname => 'a-public-page')
|
data/spec/models/content_spec.rb
CHANGED
@@ -8,4 +8,44 @@ describe Alchemy::Content do
|
|
8
8
|
Alchemy::Content.first.ingredient.should == Alchemy::EssenceText.first.ingredient
|
9
9
|
end
|
10
10
|
|
11
|
+
describe '.normalize_essence_type' do
|
12
|
+
|
13
|
+
context "passing namespaced essence type" do
|
14
|
+
|
15
|
+
it "should not add alchemy namespace" do
|
16
|
+
Alchemy::Content.normalize_essence_type('Alchemy::EssenceText').should == "Alchemy::EssenceText"
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
|
21
|
+
context "passing not namespaced essence type" do
|
22
|
+
|
23
|
+
it "should add alchemy namespace" do
|
24
|
+
Alchemy::Content.normalize_essence_type('EssenceText').should == "Alchemy::EssenceText"
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
30
|
+
|
31
|
+
describe '#normalized_essence_type' do
|
32
|
+
|
33
|
+
context "without namespace in essence_type column" do
|
34
|
+
|
35
|
+
it "should return the namespaced essence type" do
|
36
|
+
Alchemy::Content.new(:essence_type => 'EssenceText').normalized_essence_type.should == 'Alchemy::EssenceText'
|
37
|
+
end
|
38
|
+
|
39
|
+
end
|
40
|
+
|
41
|
+
context "with namespace in essence_type column" do
|
42
|
+
|
43
|
+
it "should return the namespaced essence type" do
|
44
|
+
Alchemy::Content.new(:essence_type => 'Alchemy::EssenceText').normalized_essence_type.should == 'Alchemy::EssenceText'
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
48
|
+
|
49
|
+
end
|
50
|
+
|
11
51
|
end
|
data/spec/models/element_spec.rb
CHANGED
@@ -103,4 +103,54 @@ describe Alchemy::Element do
|
|
103
103
|
expect { Alchemy::Element.all_for_page(nil) }.should raise_error(TypeError)
|
104
104
|
end
|
105
105
|
|
106
|
+
describe "#content_by_type" do
|
107
|
+
|
108
|
+
before(:each) do
|
109
|
+
@element = Factory(:element, :name => 'headline')
|
110
|
+
@content = @element.contents.first
|
111
|
+
end
|
112
|
+
|
113
|
+
context "with namespaced essence type" do
|
114
|
+
|
115
|
+
it "should return content by passing a essence type" do
|
116
|
+
@element.content_by_type('Alchemy::EssenceText').should == @content
|
117
|
+
end
|
118
|
+
|
119
|
+
end
|
120
|
+
|
121
|
+
context "without namespaced essence type" do
|
122
|
+
|
123
|
+
it "should return content by passing a essence type" do
|
124
|
+
@element.content_by_type('EssenceText').should == @content
|
125
|
+
end
|
126
|
+
|
127
|
+
end
|
128
|
+
|
129
|
+
end
|
130
|
+
|
131
|
+
describe "#all_contents_by_type" do
|
132
|
+
|
133
|
+
before(:each) do
|
134
|
+
@element = Factory(:element)
|
135
|
+
@contents = @element.contents.select { |c| c.essence_type == 'Alchemy::EssenceText' }
|
136
|
+
end
|
137
|
+
|
138
|
+
context "with namespaced essence type" do
|
139
|
+
|
140
|
+
it "should return content by passing a essence type" do
|
141
|
+
@element.all_contents_by_type('Alchemy::EssenceText').should == @contents
|
142
|
+
end
|
143
|
+
|
144
|
+
end
|
145
|
+
|
146
|
+
context "without namespaced essence type" do
|
147
|
+
|
148
|
+
it "should return content by passing a essence type" do
|
149
|
+
@element.all_contents_by_type('EssenceText').should == @contents
|
150
|
+
end
|
151
|
+
|
152
|
+
end
|
153
|
+
|
154
|
+
end
|
155
|
+
|
106
156
|
end
|
data/spec/models/page_spec.rb
CHANGED
@@ -263,4 +263,48 @@ describe Alchemy::Page do
|
|
263
263
|
|
264
264
|
end
|
265
265
|
|
266
|
-
|
266
|
+
describe '.all_from_clipboard_for_select' do
|
267
|
+
|
268
|
+
context "with clipboard holding pages having non unique page layout" do
|
269
|
+
|
270
|
+
it "should return the pages" do
|
271
|
+
page_1 = Factory(:page, :language => @language)
|
272
|
+
page_2 = Factory(:page, :language => @language)
|
273
|
+
clipboard = [
|
274
|
+
{:id => page_1.id, :action => "copy"},
|
275
|
+
{:id => page_2.id, :action => "copy"}
|
276
|
+
]
|
277
|
+
Alchemy::Page.all_from_clipboard_for_select(clipboard, @language.id).should == [page_1, page_2]
|
278
|
+
end
|
279
|
+
|
280
|
+
end
|
281
|
+
|
282
|
+
context "with clipboard holding a page having unique page layout" do
|
283
|
+
|
284
|
+
it "should not return any pages" do
|
285
|
+
page_1 = Factory(:page, :language => @language, :page_layout => 'contact')
|
286
|
+
clipboard = [
|
287
|
+
{:id => page_1.id, :action => "copy"}
|
288
|
+
]
|
289
|
+
Alchemy::Page.all_from_clipboard_for_select(clipboard, @language.id).should == []
|
290
|
+
end
|
291
|
+
|
292
|
+
end
|
293
|
+
|
294
|
+
context "with clipboard holding two pages. One having a unique page layout." do
|
295
|
+
|
296
|
+
it "should return one page" do
|
297
|
+
page_1 = Factory(:page, :language => @language, :page_layout => 'standard')
|
298
|
+
page_2 = Factory(:page, :language => @language, :page_layout => 'contact')
|
299
|
+
clipboard = [
|
300
|
+
{:id => page_1.id, :action => "copy"},
|
301
|
+
{:id => page_2.id, :action => "copy"}
|
302
|
+
]
|
303
|
+
Alchemy::Page.all_from_clipboard_for_select(clipboard, @language.id).should == [page_1]
|
304
|
+
end
|
305
|
+
|
306
|
+
end
|
307
|
+
|
308
|
+
end
|
309
|
+
|
310
|
+
end
|
data/spec/routing_spec.rb
CHANGED
@@ -2,56 +2,54 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe "The Routing", :type => :routing do
|
4
4
|
|
5
|
+
before(:each) { @routes = Alchemy::Engine.routes }
|
6
|
+
|
5
7
|
context "for downloads" do
|
6
|
-
|
8
|
+
|
7
9
|
it "should have a named route" do
|
8
|
-
|
9
|
-
|
10
|
-
:get => "/alchemy/attachment/32/download/Presseveranstaltung.pdf"
|
10
|
+
{
|
11
|
+
:get => "/attachment/32/download/Presseveranstaltung.pdf"
|
11
12
|
}.should route_to(
|
12
|
-
|
13
|
-
|
14
|
-
|
13
|
+
:controller => "alchemy/attachments",
|
14
|
+
:action => "download",
|
15
|
+
:id => "32",
|
15
16
|
:name => "Presseveranstaltung",
|
16
17
|
:suffix => "pdf"
|
17
18
|
)
|
18
19
|
end
|
19
|
-
|
20
|
+
|
20
21
|
it "should have a route for legacy Alchemy 1.x downloads" do
|
21
|
-
|
22
|
-
|
23
|
-
:get => "/alchemy/attachment/32/download?name=Presseveranstaltung.pdf"
|
22
|
+
{
|
23
|
+
:get => "/attachment/32/download?name=Presseveranstaltung.pdf"
|
24
24
|
}.should route_to(
|
25
|
-
|
26
|
-
|
27
|
-
|
25
|
+
:controller => "alchemy/attachments",
|
26
|
+
:action => "download",
|
27
|
+
:id => "32"
|
28
28
|
)
|
29
29
|
end
|
30
|
-
|
31
|
-
|
32
|
-
pending "Because Rspec does not support namespaced engines yet!"
|
30
|
+
|
31
|
+
it "should have a route for legacy washAPP downloads" do
|
33
32
|
{
|
34
|
-
:get => "/
|
33
|
+
:get => "/wa_files/download/11"
|
35
34
|
}.should route_to(
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
35
|
+
:controller => "alchemy/attachments",
|
36
|
+
:action => "download",
|
37
|
+
:id => "11"
|
38
|
+
)
|
40
39
|
end
|
41
40
|
|
42
41
|
it "should have a route for legacy WebMate downloads" do
|
43
|
-
|
44
|
-
|
45
|
-
:get => "/alchemy/uploads/files/0000/0028/Pressetext.pdf"
|
42
|
+
{
|
43
|
+
:get => "/uploads/files/0000/0028/Pressetext.pdf"
|
46
44
|
}.should route_to(
|
47
|
-
|
48
|
-
|
49
|
-
|
45
|
+
:controller => "alchemy/attachments",
|
46
|
+
:action => "download",
|
47
|
+
:id => "0028",
|
50
48
|
:name => "Pressetext",
|
51
49
|
:suffix => "pdf"
|
52
50
|
)
|
53
51
|
end
|
54
|
-
|
52
|
+
|
55
53
|
end
|
56
54
|
|
57
55
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -26,10 +26,10 @@ Rails.backtrace_cleaner.remove_silencers!
|
|
26
26
|
|
27
27
|
# Configure capybara for integration testing
|
28
28
|
require "capybara/rails"
|
29
|
-
|
29
|
+
require 'capybara-webkit'
|
30
30
|
Capybara.default_driver = :rack_test
|
31
31
|
Capybara.default_selector = :css
|
32
|
-
|
32
|
+
Capybara.javascript_driver = :webkit
|
33
33
|
|
34
34
|
# Load support files
|
35
35
|
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
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: 2.1.
|
4
|
+
version: 2.1.beta6
|
5
5
|
prerelease: 4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,11 +11,11 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2011-12-
|
14
|
+
date: 2011-12-09 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
18
|
-
requirement: &
|
18
|
+
requirement: &70121821390860 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ~>
|
@@ -23,10 +23,10 @@ dependencies:
|
|
23
23
|
version: '3.1'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
26
|
+
version_requirements: *70121821390860
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: authlogic
|
29
|
-
requirement: &
|
29
|
+
requirement: &70121821401520 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
32
|
- - ! '>='
|
@@ -34,10 +34,10 @@ dependencies:
|
|
34
34
|
version: '0'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
|
-
version_requirements: *
|
37
|
+
version_requirements: *70121821401520
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: awesome_nested_set
|
40
|
-
requirement: &
|
40
|
+
requirement: &70121821409460 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
@@ -45,10 +45,10 @@ dependencies:
|
|
45
45
|
version: '2.0'
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
|
-
version_requirements: *
|
48
|
+
version_requirements: *70121821409460
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: declarative_authorization
|
51
|
-
requirement: &
|
51
|
+
requirement: &70121821407360 !ruby/object:Gem::Requirement
|
52
52
|
none: false
|
53
53
|
requirements:
|
54
54
|
- - ~>
|
@@ -56,10 +56,10 @@ dependencies:
|
|
56
56
|
version: 0.5.4
|
57
57
|
type: :runtime
|
58
58
|
prerelease: false
|
59
|
-
version_requirements: *
|
59
|
+
version_requirements: *70121821407360
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: tvdeyen-fleximage
|
62
|
-
requirement: &
|
62
|
+
requirement: &70121821414800 !ruby/object:Gem::Requirement
|
63
63
|
none: false
|
64
64
|
requirements:
|
65
65
|
- - ~>
|
@@ -67,10 +67,10 @@ dependencies:
|
|
67
67
|
version: 1.0.9
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
|
-
version_requirements: *
|
70
|
+
version_requirements: *70121821414800
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: will_paginate
|
73
|
-
requirement: &
|
73
|
+
requirement: &70121817605760 !ruby/object:Gem::Requirement
|
74
74
|
none: false
|
75
75
|
requirements:
|
76
76
|
- - ~>
|
@@ -78,10 +78,10 @@ dependencies:
|
|
78
78
|
version: '3.0'
|
79
79
|
type: :runtime
|
80
80
|
prerelease: false
|
81
|
-
version_requirements: *
|
81
|
+
version_requirements: *70121817605760
|
82
82
|
- !ruby/object:Gem::Dependency
|
83
83
|
name: acts_as_ferret
|
84
|
-
requirement: &
|
84
|
+
requirement: &70121817604900 !ruby/object:Gem::Requirement
|
85
85
|
none: false
|
86
86
|
requirements:
|
87
87
|
- - ~>
|
@@ -89,10 +89,10 @@ dependencies:
|
|
89
89
|
version: '0.5'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
|
-
version_requirements: *
|
92
|
+
version_requirements: *70121817604900
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: acts_as_list
|
95
|
-
requirement: &
|
95
|
+
requirement: &70121817603820 !ruby/object:Gem::Requirement
|
96
96
|
none: false
|
97
97
|
requirements:
|
98
98
|
- - ~>
|
@@ -100,10 +100,10 @@ dependencies:
|
|
100
100
|
version: '0.1'
|
101
101
|
type: :runtime
|
102
102
|
prerelease: false
|
103
|
-
version_requirements: *
|
103
|
+
version_requirements: *70121817603820
|
104
104
|
- !ruby/object:Gem::Dependency
|
105
105
|
name: magiclabs-userstamp
|
106
|
-
requirement: &
|
106
|
+
requirement: &70121817601740 !ruby/object:Gem::Requirement
|
107
107
|
none: false
|
108
108
|
requirements:
|
109
109
|
- - ~>
|
@@ -111,10 +111,10 @@ dependencies:
|
|
111
111
|
version: 2.0.2
|
112
112
|
type: :runtime
|
113
113
|
prerelease: false
|
114
|
-
version_requirements: *
|
114
|
+
version_requirements: *70121817601740
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
116
|
name: dynamic_form
|
117
|
-
requirement: &
|
117
|
+
requirement: &70121817600740 !ruby/object:Gem::Requirement
|
118
118
|
none: false
|
119
119
|
requirements:
|
120
120
|
- - ~>
|
@@ -122,10 +122,10 @@ dependencies:
|
|
122
122
|
version: '1.1'
|
123
123
|
type: :runtime
|
124
124
|
prerelease: false
|
125
|
-
version_requirements: *
|
125
|
+
version_requirements: *70121817600740
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: jquery-rails
|
128
|
-
requirement: &
|
128
|
+
requirement: &70121817599680 !ruby/object:Gem::Requirement
|
129
129
|
none: false
|
130
130
|
requirements:
|
131
131
|
- - ~>
|
@@ -133,21 +133,21 @@ dependencies:
|
|
133
133
|
version: 1.0.16
|
134
134
|
type: :runtime
|
135
135
|
prerelease: false
|
136
|
-
version_requirements: *
|
136
|
+
version_requirements: *70121817599680
|
137
137
|
- !ruby/object:Gem::Dependency
|
138
138
|
name: attachment_magic
|
139
|
-
requirement: &
|
139
|
+
requirement: &70121817897460 !ruby/object:Gem::Requirement
|
140
140
|
none: false
|
141
141
|
requirements:
|
142
142
|
- - ~>
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version:
|
144
|
+
version: 0.2.1
|
145
145
|
type: :runtime
|
146
146
|
prerelease: false
|
147
|
-
version_requirements: *
|
147
|
+
version_requirements: *70121817897460
|
148
148
|
- !ruby/object:Gem::Dependency
|
149
149
|
name: rspec-rails
|
150
|
-
requirement: &
|
150
|
+
requirement: &70121817896720 !ruby/object:Gem::Requirement
|
151
151
|
none: false
|
152
152
|
requirements:
|
153
153
|
- - ~>
|
@@ -155,10 +155,10 @@ dependencies:
|
|
155
155
|
version: '2.7'
|
156
156
|
type: :development
|
157
157
|
prerelease: false
|
158
|
-
version_requirements: *
|
158
|
+
version_requirements: *70121817896720
|
159
159
|
- !ruby/object:Gem::Dependency
|
160
160
|
name: sqlite3
|
161
|
-
requirement: &
|
161
|
+
requirement: &70121817895920 !ruby/object:Gem::Requirement
|
162
162
|
none: false
|
163
163
|
requirements:
|
164
164
|
- - ! '>='
|
@@ -166,10 +166,10 @@ dependencies:
|
|
166
166
|
version: '0'
|
167
167
|
type: :development
|
168
168
|
prerelease: false
|
169
|
-
version_requirements: *
|
169
|
+
version_requirements: *70121817895920
|
170
170
|
- !ruby/object:Gem::Dependency
|
171
171
|
name: ruby-debug19
|
172
|
-
requirement: &
|
172
|
+
requirement: &70121817894440 !ruby/object:Gem::Requirement
|
173
173
|
none: false
|
174
174
|
requirements:
|
175
175
|
- - ! '>='
|
@@ -177,7 +177,7 @@ dependencies:
|
|
177
177
|
version: '0'
|
178
178
|
type: :development
|
179
179
|
prerelease: false
|
180
|
-
version_requirements: *
|
180
|
+
version_requirements: *70121817894440
|
181
181
|
description: Alchemy is an awesome Rails CMS with an extremely flexible content storing
|
182
182
|
architecture.
|
183
183
|
email:
|
@@ -380,6 +380,7 @@ files:
|
|
380
380
|
- app/views/alchemy/admin/pages/update.js.erb
|
381
381
|
- app/views/alchemy/admin/partials/_flash.html.erb
|
382
382
|
- app/views/alchemy/admin/partials/_flash_notices.html.erb
|
383
|
+
- app/views/alchemy/admin/partials/_language_tree_select.html.erb
|
383
384
|
- app/views/alchemy/admin/partials/_main_navigation_entry.html.erb
|
384
385
|
- app/views/alchemy/admin/partials/_pagination_links.html.erb
|
385
386
|
- app/views/alchemy/admin/partials/_remote_pagination_links.html.erb
|
@@ -569,6 +570,7 @@ files:
|
|
569
570
|
- lib/alchemy/modules.rb
|
570
571
|
- lib/alchemy/page_layout.rb
|
571
572
|
- lib/alchemy/remote_pagination_link_renderer.rb
|
573
|
+
- lib/alchemy/scoped_pagination_link_renderer.rb
|
572
574
|
- lib/alchemy/seeder.rb
|
573
575
|
- lib/alchemy/tinymce.rb
|
574
576
|
- lib/alchemy/version.rb
|
@@ -605,6 +607,7 @@ files:
|
|
605
607
|
- spec/controllers/admin/clipboard_controller_spec.rb
|
606
608
|
- spec/controllers/admin/contents_controller_spec.rb
|
607
609
|
- spec/controllers/admin/elements_controller_spec.rb
|
610
|
+
- spec/controllers/admin/pages_controller_spec.rb
|
608
611
|
- spec/controllers/admin/trash_controller_spec.rb
|
609
612
|
- spec/controllers/base_controller_spec.rb
|
610
613
|
- spec/controllers/pages_controller_spec.rb
|
@@ -615,7 +618,7 @@ files:
|
|
615
618
|
- spec/dummy/app/helpers/application_helper.rb
|
616
619
|
- spec/dummy/app/mailers/.gitkeep
|
617
620
|
- spec/dummy/app/models/.gitkeep
|
618
|
-
- spec/dummy/app/views/layouts
|
621
|
+
- spec/dummy/app/views/layouts/.gitkeep
|
619
622
|
- spec/dummy/config.ru
|
620
623
|
- spec/dummy/config/application.rb
|
621
624
|
- spec/dummy/config/boot.rb
|
@@ -785,7 +788,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
785
788
|
version: '0'
|
786
789
|
segments:
|
787
790
|
- 0
|
788
|
-
hash:
|
791
|
+
hash: 1117988886947097574
|
789
792
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
790
793
|
none: false
|
791
794
|
requirements:
|
@@ -805,6 +808,7 @@ test_files:
|
|
805
808
|
- spec/controllers/admin/clipboard_controller_spec.rb
|
806
809
|
- spec/controllers/admin/contents_controller_spec.rb
|
807
810
|
- spec/controllers/admin/elements_controller_spec.rb
|
811
|
+
- spec/controllers/admin/pages_controller_spec.rb
|
808
812
|
- spec/controllers/admin/trash_controller_spec.rb
|
809
813
|
- spec/controllers/base_controller_spec.rb
|
810
814
|
- spec/controllers/pages_controller_spec.rb
|
@@ -815,7 +819,7 @@ test_files:
|
|
815
819
|
- spec/dummy/app/helpers/application_helper.rb
|
816
820
|
- spec/dummy/app/mailers/.gitkeep
|
817
821
|
- spec/dummy/app/models/.gitkeep
|
818
|
-
- spec/dummy/app/views/layouts
|
822
|
+
- spec/dummy/app/views/layouts/.gitkeep
|
819
823
|
- spec/dummy/config.ru
|
820
824
|
- spec/dummy/config/application.rb
|
821
825
|
- spec/dummy/config/boot.rb
|