cms-lite 0.5.0 → 0.5.1
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/VERSION +1 -1
- data/cms-lite.gemspec +4 -4
- data/test/rails_root/features/view_cms_pages.feature +2 -2
- data/test/rails_root/themes/blue/content/pages/en/default/{blue_root.html.erb → blue_root.html} +0 -0
- data/test/rails_root/themes/blue/content/pages/en/open/{blue.html.erb → blue.htm} +0 -0
- metadata +4 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.1
|
data/cms-lite.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{cms-lite}
|
|
5
|
-
s.version = "0.5.
|
|
5
|
+
s.version = "0.5.1"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Justin Ball"]
|
|
9
|
-
s.date = %q{2009-07-
|
|
9
|
+
s.date = %q{2009-07-24}
|
|
10
10
|
s.description = %q{CMS gem that makes it simple to interact with your content developers by serving pages from '/content'.}
|
|
11
11
|
s.email = %q{justinball@gmail.com}
|
|
12
12
|
s.extra_rdoc_files = [
|
|
@@ -266,8 +266,8 @@ Gem::Specification.new do |s|
|
|
|
266
266
|
"test/rails_root/test/unit/.keep",
|
|
267
267
|
"test/rails_root/test/unit/cms_lite_test.rb",
|
|
268
268
|
"test/rails_root/themes/blue/content/pages/en/blue/blue.html.erb",
|
|
269
|
-
"test/rails_root/themes/blue/content/pages/en/default/blue_root.html
|
|
270
|
-
"test/rails_root/themes/blue/content/pages/en/open/blue.
|
|
269
|
+
"test/rails_root/themes/blue/content/pages/en/default/blue_root.html",
|
|
270
|
+
"test/rails_root/themes/blue/content/pages/en/open/blue.htm",
|
|
271
271
|
"test/rails_root/themes/blue/description.txt",
|
|
272
272
|
"test/rails_root/themes/blue/locales/en.yml",
|
|
273
273
|
"test/rails_root/themes/blue/views/layouts/default.html.erb",
|
|
@@ -16,13 +16,13 @@ Scenario: Anonymous user visits root public page
|
|
|
16
16
|
Then I should see "hello from the root"
|
|
17
17
|
|
|
18
18
|
Scenario: Anonymous user visits public cms lite page in blue theme
|
|
19
|
-
Given cms lite file "themes/blue/content/pages/en/open/blue.
|
|
19
|
+
Given cms lite file "themes/blue/content/pages/en/open/blue.htm" contains "blue world"
|
|
20
20
|
And I am not logged in
|
|
21
21
|
When I go to "/open/blue"
|
|
22
22
|
Then I should see "blue world"
|
|
23
23
|
|
|
24
24
|
Scenario: Anonymous user visits public root page in blue theme
|
|
25
|
-
Given cms lite file "themes/blue/content/pages/en/default/blue_root.html
|
|
25
|
+
Given cms lite file "themes/blue/content/pages/en/default/blue_root.html" contains "blue root"
|
|
26
26
|
And I am not logged in
|
|
27
27
|
When I go to "/blue_root"
|
|
28
28
|
Then I should see "blue root"
|
data/test/rails_root/themes/blue/content/pages/en/default/{blue_root.html.erb → blue_root.html}
RENAMED
|
File without changes
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cms-lite
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Ball
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-07-
|
|
12
|
+
date: 2009-07-24 00:00:00 -06:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -279,8 +279,8 @@ files:
|
|
|
279
279
|
- test/rails_root/test/unit/.keep
|
|
280
280
|
- test/rails_root/test/unit/cms_lite_test.rb
|
|
281
281
|
- test/rails_root/themes/blue/content/pages/en/blue/blue.html.erb
|
|
282
|
-
- test/rails_root/themes/blue/content/pages/en/default/blue_root.html
|
|
283
|
-
- test/rails_root/themes/blue/content/pages/en/open/blue.
|
|
282
|
+
- test/rails_root/themes/blue/content/pages/en/default/blue_root.html
|
|
283
|
+
- test/rails_root/themes/blue/content/pages/en/open/blue.htm
|
|
284
284
|
- test/rails_root/themes/blue/description.txt
|
|
285
285
|
- test/rails_root/themes/blue/locales/en.yml
|
|
286
286
|
- test/rails_root/themes/blue/views/layouts/default.html.erb
|