comfortable_mexican_sofa 1.6.8 → 1.6.9
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +3 -0
- data/README.md +11 -11
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/app/controllers/cms_content_controller.rb +8 -2
- data/app/models/cms/layout.rb +1 -1
- data/app/models/cms/page.rb +1 -1
- data/app/models/cms/snippet.rb +1 -1
- data/app/views/cms_content/render_sitemap.xml.builder +14 -0
- data/comfortable_mexican_sofa.gemspec +4 -3
- data/config/routes.rb +4 -0
- data/lib/comfortable_mexican_sofa.rb +8 -0
- data/lib/comfortable_mexican_sofa/fixtures.rb +12 -12
- data/lib/tasks/comfortable_mexican_sofa.rake +16 -0
- data/test/fixtures/cms/layouts.yml +2 -1
- data/test/fixtures/cms/sites.yml +1 -1
- data/test/functional/cms_content_controller_test.rb +26 -0
- data/test/gemfiles/Gemfile.rails.3.2 +1 -1
- data/test/test_helper.rb +0 -7
- metadata +11 -10
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ComfortableMexicanSofa (Rails 3 CMS Engine) [![Build Status](https://secure.travis-ci.org/
|
1
|
+
# ComfortableMexicanSofa (Rails 3 CMS Engine) [![Build Status](https://secure.travis-ci.org/comfy/comfortable-mexican-sofa.png)](http://travis-ci.org/comfy/comfortable-mexican-sofa) [![Dependency Status](https://gemnasium.com/comfy/comfortable-mexican-sofa.png)](https://gemnasium.com/comfy/comfortable-mexican-sofa)
|
2
2
|
|
3
3
|
ComfortableMexicanSofa is a powerful CMS Engine for your Rails 3 applications.
|
4
4
|
|
@@ -6,12 +6,12 @@ Features
|
|
6
6
|
--------
|
7
7
|
* Simple integration with Rails 3.0 and 3.1 apps
|
8
8
|
* Build your application in Rails, not in CMS
|
9
|
-
* Powerful page templating capability using [Tags](https://github.com/
|
10
|
-
* [Multiple Sites](https://github.com/
|
9
|
+
* Powerful page templating capability using [Tags](https://github.com/comfy/comfortable-mexican-sofa/wiki/Tags)
|
10
|
+
* [Multiple Sites](https://github.com/comfy/comfortable-mexican-sofa/wiki/Sites) from a single installation
|
11
11
|
* Multilingual
|
12
|
-
* [Fixtures](https://github.com/
|
13
|
-
* [Revision History](https://github.com/
|
14
|
-
* [Great reusable admin interface](https://github.com/
|
12
|
+
* [Fixtures](https://github.com/comfy/comfortable-mexican-sofa/wiki/Working-with-CMS-fixtures) for initial content population
|
13
|
+
* [Revision History](https://github.com/comfy/comfortable-mexican-sofa/wiki/Revisions)
|
14
|
+
* [Great reusable admin interface](https://github.com/comfy/comfortable-mexican-sofa/wiki/Reusing-sofa%27s-admin-area)
|
15
15
|
* Almost no 3rd party library dependencies
|
16
16
|
|
17
17
|
Installation
|
@@ -26,13 +26,13 @@ Then from the Rails project's root run:
|
|
26
26
|
rails generate cms
|
27
27
|
rake db:migrate
|
28
28
|
|
29
|
-
When upgrading from the older version please take a look at [Upgrading ComfortableMexicanSofa](https://github.com/
|
29
|
+
When upgrading from the older version please take a look at [Upgrading ComfortableMexicanSofa](https://github.com/comfy/comfortable-mexican-sofa/wiki/Upgrading-ComfortableMexicanSofa)
|
30
30
|
|
31
31
|
Quick Start Guide
|
32
32
|
-----------------
|
33
33
|
After finishing installation you should be able to navigate to http://yoursite/cms-admin
|
34
34
|
|
35
|
-
Default username and password is 'username' and 'password'. You probably want to change it right away. Admin credentials (among other things) can be found and changed in the cms initializer: [/config/initializers/comfortable\_mexican\_sofa.rb](https://github.com/
|
35
|
+
Default username and password is 'username' and 'password'. You probably want to change it right away. Admin credentials (among other things) can be found and changed in the cms initializer: [/config/initializers/comfortable\_mexican\_sofa.rb](https://github.com/comfy/comfortable-mexican-sofa/blob/master/config/initializers/comfortable_mexican_sofa.rb)
|
36
36
|
|
37
37
|
Before creating pages and populating them with content we need to create a Site. Site defines a hostname, content path and it's language.
|
38
38
|
|
@@ -47,10 +47,10 @@ After creating a Site, you need to make a Layout. Layout is the template of your
|
|
47
47
|
|
48
48
|
Once you have a layout, you may start creating pages and populating content. It's that easy.
|
49
49
|
|
50
|
-
For more information please [see Wiki pages](https://github.com/
|
50
|
+
For more information please [see Wiki pages](https://github.com/comfy/comfortable-mexican-sofa/wiki).
|
51
51
|
|
52
|
-
![Sofa's Page Edit View](https://github.com/
|
52
|
+
![Sofa's Page Edit View](https://github.com/comfy/comfortable-mexican-sofa/raw/master/doc/preview.png)
|
53
53
|
|
54
|
-
ComfortableMexicanSofa is released under the [MIT license](https://github.com/
|
54
|
+
ComfortableMexicanSofa is released under the [MIT license](https://github.com/comfy/comfortable-mexican-sofa/raw/master/LICENSE)
|
55
55
|
|
56
56
|
Copyright 2009-2011 Oleg Khabarov, [The Working Group Inc](http://www.twg.ca)
|
data/Rakefile
CHANGED
@@ -14,7 +14,7 @@ begin
|
|
14
14
|
gem.summary = 'ComfortableMexicanSofa is a powerful CMS Engine for Ruby on Rails 3 applications'
|
15
15
|
gem.description = ''
|
16
16
|
gem.email = 'oleg@theworkinggroup.ca'
|
17
|
-
gem.homepage = 'http://github.com/
|
17
|
+
gem.homepage = 'http://github.com/comfy/comfortable-mexican-sofa'
|
18
18
|
gem.authors = ['Oleg Khabarov', 'The Working Group Inc']
|
19
19
|
end
|
20
20
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.6.
|
1
|
+
1.6.9
|
@@ -5,7 +5,8 @@ class CmsContentController < ApplicationController
|
|
5
5
|
|
6
6
|
before_filter :load_cms_site,
|
7
7
|
:load_fixtures
|
8
|
-
before_filter :load_cms_page,
|
8
|
+
before_filter :load_cms_page,
|
9
|
+
:authenticate,
|
9
10
|
:only => :render_html
|
10
11
|
before_filter :load_cms_layout,
|
11
12
|
:only => [:render_css, :render_js]
|
@@ -19,6 +20,10 @@ class CmsContentController < ApplicationController
|
|
19
20
|
end
|
20
21
|
end
|
21
22
|
|
23
|
+
def render_sitemap
|
24
|
+
render
|
25
|
+
end
|
26
|
+
|
22
27
|
def render_css
|
23
28
|
render :text => @cms_layout.css, :content_type => 'text/css'
|
24
29
|
end
|
@@ -43,7 +48,8 @@ protected
|
|
43
48
|
|
44
49
|
if @cms_site
|
45
50
|
if params[:cms_path].present?
|
46
|
-
params[:cms_path].gsub!(/^#{@cms_site.path}/, '')
|
51
|
+
params[:cms_path].gsub!(/^#{@cms_site.path}/, '')
|
52
|
+
params[:cms_path].to_s.gsub!(/^\//, '')
|
47
53
|
end
|
48
54
|
I18n.locale = @cms_site.locale
|
49
55
|
else
|
data/app/models/cms/layout.rb
CHANGED
@@ -29,7 +29,7 @@ class Cms::Layout < ActiveRecord::Base
|
|
29
29
|
:format => { :with => /^\w[a-z0-9_-]*$/i }
|
30
30
|
|
31
31
|
# -- Scopes ---------------------------------------------------------------
|
32
|
-
default_scope order(
|
32
|
+
default_scope order('cms_layouts.position')
|
33
33
|
|
34
34
|
# -- Class Methods --------------------------------------------------------
|
35
35
|
# Tree-like structure for layouts
|
data/app/models/cms/page.rb
CHANGED
@@ -44,7 +44,7 @@ class Cms::Page < ActiveRecord::Base
|
|
44
44
|
validate :validate_target_page
|
45
45
|
|
46
46
|
# -- Scopes ---------------------------------------------------------------
|
47
|
-
default_scope order(
|
47
|
+
default_scope order('cms_pages.position')
|
48
48
|
scope :published, where(:is_published => true)
|
49
49
|
|
50
50
|
# -- Class Methods --------------------------------------------------------
|
data/app/models/cms/snippet.rb
CHANGED
@@ -28,7 +28,7 @@ class Cms::Snippet < ActiveRecord::Base
|
|
28
28
|
:format => { :with => /^\w[a-z0-9_-]*$/i }
|
29
29
|
|
30
30
|
# -- Scopes ---------------------------------------------------------------
|
31
|
-
default_scope order(
|
31
|
+
default_scope order('cms_snippets.position')
|
32
32
|
|
33
33
|
protected
|
34
34
|
|
@@ -0,0 +1,14 @@
|
|
1
|
+
xml.instruct! :xml, :version => '1.0', :encoding => 'UTF-8'
|
2
|
+
|
3
|
+
xml.urlset :xmlns => 'http://www.sitemaps.org/schemas/sitemap/0.9' do
|
4
|
+
@cms_site.pages.published.each do |page|
|
5
|
+
xml.url do
|
6
|
+
xml.loc "http://#{@cms_site.hostname}#{"/" + @cms_site.path unless @cms_site.path.blank? }#{page.full_path}"
|
7
|
+
# just take some guesses the closer to the root means higher priority
|
8
|
+
# start subtracting 0.1 for every additional child page, max out at 0.1
|
9
|
+
# "/" splits to 0, "/child_page" splits to 2, hence weird max -1
|
10
|
+
xml.priority [1 - (0.1 * ( ( [page.full_path.split("/").count, 1].max - 1 ) ) ), 0.1].max
|
11
|
+
xml.lastmod page.updated_at.strftime('%Y-%m-%d')
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "comfortable_mexican_sofa"
|
8
|
-
s.version = "1.6.
|
8
|
+
s.version = "1.6.9"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Oleg Khabarov", "The Working Group Inc"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-02-02"
|
13
13
|
s.description = ""
|
14
14
|
s.email = "oleg@theworkinggroup.ca"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -154,6 +154,7 @@ Gem::Specification.new do |s|
|
|
154
154
|
"app/views/cms_admin/snippets/edit.html.erb",
|
155
155
|
"app/views/cms_admin/snippets/index.html.erb",
|
156
156
|
"app/views/cms_admin/snippets/new.html.erb",
|
157
|
+
"app/views/cms_content/render_sitemap.xml.builder",
|
157
158
|
"app/views/layouts/cms_admin.html.erb",
|
158
159
|
"app/views/layouts/cms_admin/_body.html.erb",
|
159
160
|
"app/views/layouts/cms_admin/_center.html.erb",
|
@@ -312,7 +313,7 @@ Gem::Specification.new do |s|
|
|
312
313
|
"test/unit/tags/snippet_test.rb",
|
313
314
|
"test/unit/view_methods_test.rb"
|
314
315
|
]
|
315
|
-
s.homepage = "http://github.com/
|
316
|
+
s.homepage = "http://github.com/comfy/comfortable-mexican-sofa"
|
316
317
|
s.require_paths = ["lib"]
|
317
318
|
s.rubygems_version = "1.8.10"
|
318
319
|
s.summary = "ComfortableMexicanSofa is a powerful CMS Engine for Ruby on Rails 3 applications"
|
data/config/routes.rb
CHANGED
@@ -34,6 +34,10 @@ Rails.application.routes.draw do
|
|
34
34
|
scope :controller => :cms_content do
|
35
35
|
get 'cms-css/:site_id/:identifier' => :render_css, :as => 'cms_css'
|
36
36
|
get 'cms-js/:site_id/:identifier' => :render_js, :as => 'cms_js'
|
37
|
+
get '(:cms_path)/sitemap' => :render_sitemap,
|
38
|
+
:as => 'cms_sitemap',
|
39
|
+
:constraints => {:format => /xml/},
|
40
|
+
:format => :xml
|
37
41
|
get '/' => :render_html, :as => 'cms_html', :path => "(*cms_path)"
|
38
42
|
end
|
39
43
|
|
@@ -56,6 +56,14 @@ module ComfortableMexicanSofa
|
|
56
56
|
klass.establish_connection "#{ComfortableMexicanSofa.config.database_config}_#{Rails.env}"
|
57
57
|
end
|
58
58
|
end
|
59
|
+
|
60
|
+
def logger=(new_logger)
|
61
|
+
@logger = new_logger
|
62
|
+
end
|
63
|
+
|
64
|
+
def logger
|
65
|
+
@logger ||= Rails.logger
|
66
|
+
end
|
59
67
|
|
60
68
|
end
|
61
69
|
end
|
@@ -15,7 +15,7 @@ module ComfortableMexicanSofa::Fixtures
|
|
15
15
|
def self.import_layouts(to_hostname, from_hostname = nil, path = nil, root = true, parent = nil, layout_ids = [])
|
16
16
|
site = Cms::Site.find_or_create_by_hostname(to_hostname)
|
17
17
|
unless path ||= find_fixtures_path((from_hostname || to_hostname), 'layouts')
|
18
|
-
|
18
|
+
ComfortableMexicanSofa.logger.warn('Cannot find Layout fixtures')
|
19
19
|
return
|
20
20
|
end
|
21
21
|
|
@@ -56,9 +56,9 @@ module ComfortableMexicanSofa::Fixtures
|
|
56
56
|
layout.parent = parent
|
57
57
|
if layout.changed?
|
58
58
|
if layout.save
|
59
|
-
|
59
|
+
ComfortableMexicanSofa.logger.warn("[Fixtures] Saved Layout {#{layout.identifier}}")
|
60
60
|
else
|
61
|
-
|
61
|
+
ComfortableMexicanSofa.logger.error("[Fixtures] Failed to save Layout {#{layout.errors.inspect}}")
|
62
62
|
return
|
63
63
|
end
|
64
64
|
end
|
@@ -71,7 +71,7 @@ module ComfortableMexicanSofa::Fixtures
|
|
71
71
|
# removing all db entries that are not in fixtures
|
72
72
|
if root
|
73
73
|
site.layouts.where('id NOT IN (?)', layout_ids.uniq).each{ |l| l.destroy }
|
74
|
-
|
74
|
+
ComfortableMexicanSofa.logger.warn('Imported Layouts!')
|
75
75
|
end
|
76
76
|
|
77
77
|
# returning ids of layouts in fixtures
|
@@ -81,7 +81,7 @@ module ComfortableMexicanSofa::Fixtures
|
|
81
81
|
def self.import_pages(to_hostname, from_hostname = nil, path = nil, root = true, parent = nil, page_ids = [])
|
82
82
|
site = Cms::Site.find_or_create_by_hostname(to_hostname)
|
83
83
|
unless path ||= find_fixtures_path((from_hostname || to_hostname), 'pages')
|
84
|
-
|
84
|
+
ComfortableMexicanSofa.logger.warn('Cannot find Page fixtures')
|
85
85
|
return
|
86
86
|
end
|
87
87
|
|
@@ -123,9 +123,9 @@ module ComfortableMexicanSofa::Fixtures
|
|
123
123
|
page.blocks_attributes = blocks_attributes if blocks_attributes.present?
|
124
124
|
if page.changed? || blocks_attributes.present?
|
125
125
|
if page.save
|
126
|
-
|
126
|
+
ComfortableMexicanSofa.logger.warn("[Fixtures] Saved Page {#{page.full_path}}")
|
127
127
|
else
|
128
|
-
|
128
|
+
ComfortableMexicanSofa.logger.warn("[Fixtures] Failed to save Page {#{page.errors.inspect}}")
|
129
129
|
return
|
130
130
|
end
|
131
131
|
end
|
@@ -138,7 +138,7 @@ module ComfortableMexicanSofa::Fixtures
|
|
138
138
|
# removing all db entries that are not in fixtures
|
139
139
|
if root
|
140
140
|
site.pages.where('id NOT IN (?)', page_ids.uniq).each{ |p| p.destroy }
|
141
|
-
|
141
|
+
ComfortableMexicanSofa.logger.warn('Imported Pages!')
|
142
142
|
end
|
143
143
|
|
144
144
|
# returning ids of layouts in fixtures
|
@@ -148,7 +148,7 @@ module ComfortableMexicanSofa::Fixtures
|
|
148
148
|
def self.import_snippets(to_hostname, from_hostname = nil)
|
149
149
|
site = Cms::Site.find_or_create_by_hostname(to_hostname)
|
150
150
|
unless path = find_fixtures_path((from_hostname || to_hostname), 'snippets')
|
151
|
-
|
151
|
+
ComfortableMexicanSofa.logger.warn('Cannot find Snippet fixtures')
|
152
152
|
return
|
153
153
|
end
|
154
154
|
|
@@ -177,9 +177,9 @@ module ComfortableMexicanSofa::Fixtures
|
|
177
177
|
# saving
|
178
178
|
if snippet.changed?
|
179
179
|
if snippet.save
|
180
|
-
|
180
|
+
ComfortableMexicanSofa.logger.warn("[Fixtures] Saved Snippet {#{snippet.identifier}}")
|
181
181
|
else
|
182
|
-
|
182
|
+
ComfortableMexicanSofa.logger.warn("[Fixtures] Failed to save Snippet {#{snippet.errors.inspect}}")
|
183
183
|
return
|
184
184
|
end
|
185
185
|
end
|
@@ -188,7 +188,7 @@ module ComfortableMexicanSofa::Fixtures
|
|
188
188
|
|
189
189
|
# removing all db entries that are not in fixtures
|
190
190
|
site.snippets.where('id NOT IN (?)', snippet_ids).each{ |s| s.destroy }
|
191
|
-
|
191
|
+
ComfortableMexicanSofa.logger.warn('Imported Snippets!')
|
192
192
|
end
|
193
193
|
|
194
194
|
def self.export_layouts(from_hostname, to_hostname = nil)
|
@@ -7,12 +7,20 @@ namespace :comfortable_mexican_sofa do
|
|
7
7
|
namespace :fixtures do
|
8
8
|
|
9
9
|
desc 'Import Fixture data into database (options: FROM=example.local TO=example.com)'
|
10
|
+
|
10
11
|
task :import => :environment do
|
11
12
|
to = ENV['TO'] || ENV['FROM']
|
12
13
|
from = ENV['FROM']
|
13
14
|
|
14
15
|
puts "Importing CMS Fixtures from Folder [#{from}] to Site [#{to}] ..."
|
16
|
+
|
17
|
+
# changing so that logger is going straight to screen
|
18
|
+
logger_org = ComfortableMexicanSofa.logger
|
19
|
+
ComfortableMexicanSofa.logger = Logger.new(STDOUT)
|
20
|
+
|
15
21
|
ComfortableMexicanSofa::Fixtures.import_all(to, from)
|
22
|
+
|
23
|
+
ComfortableMexicanSofa.logger = logger_org
|
16
24
|
end
|
17
25
|
|
18
26
|
desc 'Export database data into Fixtures (options: FROM=example.com TO=example.local)'
|
@@ -21,7 +29,15 @@ namespace :comfortable_mexican_sofa do
|
|
21
29
|
from = ENV['FROM']
|
22
30
|
|
23
31
|
puts "Exporting CMS data from Site [#{from}] to Folder [#{to}] ..."
|
32
|
+
|
33
|
+
# changing so that logger is going straight to screen
|
34
|
+
logger_org = ComfortableMexicanSofa.logger
|
35
|
+
ComfortableMexicanSofa.logger = Logger.new(STDOUT)
|
36
|
+
|
24
37
|
ComfortableMexicanSofa::Fixtures.export_all(from, to)
|
38
|
+
|
39
|
+
ComfortableMexicanSofa.logger = logger_org
|
40
|
+
|
25
41
|
puts 'Done!'
|
26
42
|
end
|
27
43
|
end
|
data/test/fixtures/cms/sites.yml
CHANGED
@@ -155,5 +155,31 @@ class CmsContentControllerTest < ActionController::TestCase
|
|
155
155
|
get :render_js, :site_id => cms_sites(:default).id, :identifier => 'bogus'
|
156
156
|
assert_response 404
|
157
157
|
end
|
158
|
+
|
159
|
+
def test_render_sitemap
|
160
|
+
get :render_sitemap, :format => :xml
|
161
|
+
assert_response :success
|
162
|
+
assert_match '<loc>http://test.host/child-page</loc>', response.body
|
163
|
+
end
|
164
|
+
|
165
|
+
def test_render_sitemap_with_path
|
166
|
+
site = cms_sites(:default)
|
167
|
+
site.update_attribute(:path, 'en')
|
168
|
+
|
169
|
+
get :render_sitemap, :cms_path => site.path, :format => :xml
|
170
|
+
assert_response :success
|
171
|
+
assert_equal cms_sites(:default), assigns(:cms_site)
|
172
|
+
assert_match '<loc>http://test.host/en/child-page</loc>', response.body
|
173
|
+
end
|
158
174
|
|
175
|
+
def test_render_sitemap_with_path_invalid_with_single_site
|
176
|
+
site = cms_sites(:default)
|
177
|
+
site.update_attribute(:path, 'en')
|
178
|
+
|
179
|
+
get :render_sitemap, :cms_path => 'fr', :format => :xml
|
180
|
+
assert_response :success
|
181
|
+
assert_equal cms_sites(:default), assigns(:cms_site)
|
182
|
+
assert_match '<loc>http://test.host/en/child-page</loc>', response.body
|
183
|
+
end
|
184
|
+
|
159
185
|
end
|
data/test/test_helper.rb
CHANGED
@@ -8,13 +8,6 @@ require 'rails/test_help'
|
|
8
8
|
Paperclip::Attachment.default_options[:use_timestamp] = false
|
9
9
|
|
10
10
|
class ActiveSupport::TestCase
|
11
|
-
|
12
|
-
# Disabling the noise
|
13
|
-
$stdout_orig = $stdout
|
14
|
-
$stderr_orig = $stderr
|
15
|
-
$stdout = StringIO.new
|
16
|
-
$stderr = StringIO.new
|
17
|
-
|
18
11
|
fixtures :all
|
19
12
|
include ActionDispatch::TestProcess
|
20
13
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comfortable_mexican_sofa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-02-02 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
17
|
-
requirement: &
|
17
|
+
requirement: &70228805602580 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: 3.0.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70228805602580
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: active_link_to
|
28
|
-
requirement: &
|
28
|
+
requirement: &70228805602000 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: 1.0.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *70228805602000
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: paperclip
|
39
|
-
requirement: &
|
39
|
+
requirement: &70228805601460 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ! '>='
|
@@ -44,7 +44,7 @@ dependencies:
|
|
44
44
|
version: 2.3.0
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *70228805601460
|
48
48
|
description: ''
|
49
49
|
email: oleg@theworkinggroup.ca
|
50
50
|
executables: []
|
@@ -190,6 +190,7 @@ files:
|
|
190
190
|
- app/views/cms_admin/snippets/edit.html.erb
|
191
191
|
- app/views/cms_admin/snippets/index.html.erb
|
192
192
|
- app/views/cms_admin/snippets/new.html.erb
|
193
|
+
- app/views/cms_content/render_sitemap.xml.builder
|
193
194
|
- app/views/layouts/cms_admin.html.erb
|
194
195
|
- app/views/layouts/cms_admin/_body.html.erb
|
195
196
|
- app/views/layouts/cms_admin/_center.html.erb
|
@@ -347,7 +348,7 @@ files:
|
|
347
348
|
- test/unit/tags/partial_test.rb
|
348
349
|
- test/unit/tags/snippet_test.rb
|
349
350
|
- test/unit/view_methods_test.rb
|
350
|
-
homepage: http://github.com/
|
351
|
+
homepage: http://github.com/comfy/comfortable-mexican-sofa
|
351
352
|
licenses: []
|
352
353
|
post_install_message:
|
353
354
|
rdoc_options: []
|
@@ -361,7 +362,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
361
362
|
version: '0'
|
362
363
|
segments:
|
363
364
|
- 0
|
364
|
-
hash:
|
365
|
+
hash: -1140535759846498867
|
365
366
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
366
367
|
none: false
|
367
368
|
requirements:
|