comfortable_mexican_sofa 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/comfortable_mexican_sofa.gemspec +3 -6
- data/config/application.rb +4 -0
- data/lib/comfortable_mexican_sofa.rb +6 -8
- data/lib/comfortable_mexican_sofa/cms_engine.rb +12 -0
- metadata +5 -8
- data/config/initializers/backtrace_silencers.rb +0 -7
- data/config/initializers/inflections.rb +0 -10
- data/config/initializers/secret_token.rb +0 -7
- data/config/initializers/session_store.rb +0 -8
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{comfortable_mexican_sofa}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.1"
|
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 = %q{2010-10-
|
12
|
+
s.date = %q{2010-10-14}
|
13
13
|
s.description = %q{}
|
14
14
|
s.email = %q{oleg@theworkinggroup.ca}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -64,12 +64,8 @@ Gem::Specification.new do |s|
|
|
64
64
|
"config/environments/development.rb",
|
65
65
|
"config/environments/production.rb",
|
66
66
|
"config/environments/test.rb",
|
67
|
-
"config/initializers/backtrace_silencers.rb",
|
68
|
-
"config/initializers/inflections.rb",
|
69
67
|
"config/initializers/mime_types.rb",
|
70
68
|
"config/initializers/paperclip.rb",
|
71
|
-
"config/initializers/secret_token.rb",
|
72
|
-
"config/initializers/session_store.rb",
|
73
69
|
"config/locales/en.yml",
|
74
70
|
"config/routes.rb",
|
75
71
|
"db/migrate/01_create_cms.rb",
|
@@ -77,6 +73,7 @@ Gem::Specification.new do |s|
|
|
77
73
|
"doc/README_FOR_APP",
|
78
74
|
"lib/comfortable_mexican_sofa.rb",
|
79
75
|
"lib/comfortable_mexican_sofa/cms_acts_as_tree.rb",
|
76
|
+
"lib/comfortable_mexican_sofa/cms_engine.rb",
|
80
77
|
"lib/comfortable_mexican_sofa/cms_form_builder.rb",
|
81
78
|
"lib/comfortable_mexican_sofa/cms_rails_extensions.rb",
|
82
79
|
"lib/comfortable_mexican_sofa/cms_tag.rb",
|
data/config/application.rb
CHANGED
@@ -40,5 +40,9 @@ module ComfortableMexicanSofa
|
|
40
40
|
|
41
41
|
# Configure sensitive parameters which will be filtered from the log file.
|
42
42
|
config.filter_parameters += [:password]
|
43
|
+
|
44
|
+
config.session_store :cookie_store, :key => '_comfortable_mexican_sofa_session'
|
45
|
+
config.secret_token = 'e0fef4ab56c1cacd8845864fe2cb2a27f5caad72823419f87b2774785187090a654b83229bf9cef70ce475a83bfa561dbbaa2015788181ea837c456964c1e0f6'
|
46
|
+
|
43
47
|
end
|
44
48
|
end
|
@@ -1,3 +1,7 @@
|
|
1
|
+
if defined?(Rails) && Rails::VERSION::MAJOR == 3
|
2
|
+
require File.expand_path('comfortable_mexican_sofa/cms_engine', File.dirname(__FILE__))
|
3
|
+
end
|
4
|
+
|
1
5
|
[ 'comfortable_mexican_sofa/cms_rails_extensions',
|
2
6
|
'comfortable_mexican_sofa/cms_form_builder',
|
3
7
|
'comfortable_mexican_sofa/cms_acts_as_tree',
|
@@ -17,19 +21,13 @@ ActionView::Helpers::AssetTagHelper.register_javascript_expansion :cms => [
|
|
17
21
|
'comfortable_mexican_sofa/jquery-ui',
|
18
22
|
'comfortable_mexican_sofa/rails',
|
19
23
|
'comfortable_mexican_sofa/cms',
|
20
|
-
'comfortable_mexican_sofa/tiny_mce/jquery.tinymce',
|
21
|
-
'comfortable_mexican_sofa/tiny_mce/tiny_mce',
|
22
|
-
'comfortable_mexican_sofa/codemirror/codemirror',
|
23
24
|
'comfortable_mexican_sofa/plupload/plupload.full.min',
|
24
|
-
'comfortable_mexican_sofa/uploader'
|
25
|
-
'comfortable_mexican_sofa/rteditor',
|
26
|
-
'comfortable_mexican_sofa/syntax_highlighter'
|
25
|
+
'comfortable_mexican_sofa/uploader'
|
27
26
|
]
|
28
27
|
ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :cms => [
|
29
28
|
'comfortable_mexican_sofa/reset',
|
30
29
|
'comfortable_mexican_sofa/structure',
|
31
|
-
'comfortable_mexican_sofa/typography'
|
32
|
-
'comfortable_mexican_sofa/jquery-ui'
|
30
|
+
'comfortable_mexican_sofa/typography'
|
33
31
|
]
|
34
32
|
|
35
33
|
FILE_ICONS = Dir.glob(File.expand_path('public/images/cms/file_icons/*.png', Rails.root)).collect{|f| f.split('/').last.gsub('.png', '')}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comfortable_mexican_sofa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Oleg Khabarov
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-10-
|
19
|
+
date: 2010-10-14 00:00:00 -04:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -124,12 +124,8 @@ files:
|
|
124
124
|
- config/environments/development.rb
|
125
125
|
- config/environments/production.rb
|
126
126
|
- config/environments/test.rb
|
127
|
-
- config/initializers/backtrace_silencers.rb
|
128
|
-
- config/initializers/inflections.rb
|
129
127
|
- config/initializers/mime_types.rb
|
130
128
|
- config/initializers/paperclip.rb
|
131
|
-
- config/initializers/secret_token.rb
|
132
|
-
- config/initializers/session_store.rb
|
133
129
|
- config/locales/en.yml
|
134
130
|
- config/routes.rb
|
135
131
|
- db/migrate/01_create_cms.rb
|
@@ -137,6 +133,7 @@ files:
|
|
137
133
|
- doc/README_FOR_APP
|
138
134
|
- lib/comfortable_mexican_sofa.rb
|
139
135
|
- lib/comfortable_mexican_sofa/cms_acts_as_tree.rb
|
136
|
+
- lib/comfortable_mexican_sofa/cms_engine.rb
|
140
137
|
- lib/comfortable_mexican_sofa/cms_form_builder.rb
|
141
138
|
- lib/comfortable_mexican_sofa/cms_rails_extensions.rb
|
142
139
|
- lib/comfortable_mexican_sofa/cms_tag.rb
|
@@ -1,7 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
-
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
-
|
6
|
-
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
-
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -1,10 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Add new inflection rules using the following format
|
4
|
-
# (all these examples are active by default):
|
5
|
-
# ActiveSupport::Inflector.inflections do |inflect|
|
6
|
-
# inflect.plural /^(ox)$/i, '\1en'
|
7
|
-
# inflect.singular /^(ox)en/i, '\1'
|
8
|
-
# inflect.irregular 'person', 'people'
|
9
|
-
# inflect.uncountable %w( fish sheep )
|
10
|
-
# end
|
@@ -1,7 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Your secret key for verifying the integrity of signed cookies.
|
4
|
-
# If you change this key, all old signed cookies will become invalid!
|
5
|
-
# Make sure the secret is at least 30 characters and all random,
|
6
|
-
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
-
ComfortableMexicanSofa::Application.config.secret_token = 'e0fef4ab56c1cacd8845864fe2cb2a27f5caad72823419f87b2774785187090a654b83229bf9cef70ce475a83bfa561dbbaa2015788181ea837c456964c1e0f6'
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
ComfortableMexicanSofa::Application.config.session_store :cookie_store, :key => '_comfortable_mexican_sofa_session'
|
4
|
-
|
5
|
-
# Use the database for sessions instead of the cookie-based default,
|
6
|
-
# which shouldn't be used to store highly confidential information
|
7
|
-
# (create the session table with "rake db:sessions:create")
|
8
|
-
# ComfortableMexicanSofa::Application.config.session_store :active_record_store
|