rich_cms 2.1.2 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +5 -0
- data/VERSION +1 -1
- data/assets/jzip/rich/cms/editor.js +1 -1
- data/lib/rich/cms/content/item.rb +1 -1
- data/rails_generators/rich_authlogic_user/templates/session.rb +0 -4
- data/rich_cms.gemspec +2 -2
- metadata +4 -4
data/CHANGELOG
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
= Rich-CMS CHANGELOG
|
|
2
2
|
|
|
3
|
+
== Version 2.1.3 (November 10, 2010)
|
|
4
|
+
|
|
5
|
+
* Fixed rendering bug of Rich-CMS content :as => :html
|
|
6
|
+
* Removed the to_key method from the Rails 2 rich authlogic user generator
|
|
7
|
+
|
|
3
8
|
== Version 2.1.2 (November 9, 2010)
|
|
4
9
|
|
|
5
10
|
* Defining the 'to_key' method in the correct file (which fixes Authlogic in Rails 3)
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.1.
|
|
1
|
+
2.1.3
|
|
@@ -100,7 +100,7 @@ Rich.Cms.Editor = (function() {
|
|
|
100
100
|
inputs.append("<textarea id='cleditor_input' name='" + name + "' style='width: 500px; height: 300px'>" + value + "</textarea>"); break;
|
|
101
101
|
}
|
|
102
102
|
} else {
|
|
103
|
-
|
|
103
|
+
inputs.append("<input name='" + name + "' type='hidden' value='" + value + "'/>");
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
});
|
|
@@ -64,7 +64,7 @@ module Rich
|
|
|
64
64
|
attrs << data .collect{|k, v| "data-#{k}=\"#{::ERB::Util.html_escape v}\""}.join(" ")
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
-
tag = options[:tag] || @group.tag || (%w(text html).include?(
|
|
67
|
+
tag = options[:tag] || @group.tag || (%w(text html).include?(options[:as].to_s.downcase) ? :div : :span)
|
|
68
68
|
|
|
69
69
|
"<#{tag} #{attrs.join(" ")}>#{value.blank? ? default : value}</#{tag}>".html_safe
|
|
70
70
|
end
|
data/rich_cms.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{rich_cms}
|
|
8
|
-
s.version = "2.1.
|
|
8
|
+
s.version = "2.1.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Paul Engel"]
|
|
12
|
-
s.date = %q{2010-11-
|
|
12
|
+
s.date = %q{2010-11-10}
|
|
13
13
|
s.description = %q{Rich-CMS is a module of E9s (http://github.com/archan937/e9s) which provides a frontend for your CMS content. You can use this gem to manage CMS content or translations (in an internationalized application). The installation and setup process is very easily done. You will have to register content at the Rich-CMS engine and also you will have to specify the authentication mechanism. Both are one-liners.}
|
|
14
14
|
s.email = %q{paul.engel@holder.nl}
|
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rich_cms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 13
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 2
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 2.1.
|
|
9
|
+
- 3
|
|
10
|
+
version: 2.1.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Paul Engel
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-11-
|
|
18
|
+
date: 2010-11-10 00:00:00 +01:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|