beef-pages 0.3.22 → 0.3.23
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/app/views/admin/pages/show.html.erb +1 -1
- data/beef-pages.gemspec +4 -4
- data/generators/page_template/templates/default.html.erb +2 -2
- metadata +17 -5
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.23
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<% if @page.lock_level < Page::LOCK_LEVEL_PERMALINK %>
|
|
36
36
|
<p>
|
|
37
37
|
<%= f.label :permalink, "URL" %><br/>
|
|
38
|
-
<%=
|
|
38
|
+
<%= page_url('') %><%= f.text_field :permalink %>
|
|
39
39
|
</p>
|
|
40
40
|
<p>URLs are most efficient if they closely reflect the title or main subject of this content. Changing the permalink will make search engines think it is a different page resulting in a loss of page rank, only change if very necessary. Leave blank to use the title.</p>
|
|
41
41
|
|
data/beef-pages.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{beef-pages}
|
|
8
|
-
s.version = "0.3.
|
|
8
|
+
s.version = "0.3.23"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Steve England"]
|
|
12
|
-
s.date = %q{2010-
|
|
12
|
+
s.date = %q{2010-06-14}
|
|
13
13
|
s.email = %q{steve@wearebeef.co.uk}
|
|
14
14
|
s.extra_rdoc_files = [
|
|
15
15
|
"LICENSE",
|
|
@@ -45,7 +45,7 @@ Gem::Specification.new do |s|
|
|
|
45
45
|
s.homepage = %q{http://github.com/stengland/pages}
|
|
46
46
|
s.rdoc_options = ["--charset=UTF-8"]
|
|
47
47
|
s.require_paths = ["lib"]
|
|
48
|
-
s.rubygems_version = %q{1.3.
|
|
48
|
+
s.rubygems_version = %q{1.3.7}
|
|
49
49
|
s.summary = %q{Pages engine}
|
|
50
50
|
s.test_files = [
|
|
51
51
|
"test/pages_test.rb",
|
|
@@ -56,7 +56,7 @@ Gem::Specification.new do |s|
|
|
|
56
56
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
57
57
|
s.specification_version = 3
|
|
58
58
|
|
|
59
|
-
if Gem::Version.new(Gem::
|
|
59
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
60
60
|
else
|
|
61
61
|
end
|
|
62
62
|
else
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
|
|
8
8
|
<%= @page.body %>
|
|
9
9
|
|
|
10
|
-
<% unless @documents.empty? %>
|
|
10
|
+
<% unless @documents.nil? || @documents.empty? %>
|
|
11
11
|
<h3 class="hidden">Document Download</h3>
|
|
12
12
|
<%= documents @documents %>
|
|
13
13
|
<% end -%>
|
|
14
14
|
|
|
15
|
-
<% unless @images.empty? %>
|
|
15
|
+
<% unless @images.nil? || @images.empty? %>
|
|
16
16
|
<h3 class="hidden">Gallery</h3>
|
|
17
17
|
<div id="gallery">
|
|
18
18
|
<div class="image-gallery">
|
metadata
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: beef-pages
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
4
|
+
hash: 61
|
|
5
|
+
prerelease: false
|
|
6
|
+
segments:
|
|
7
|
+
- 0
|
|
8
|
+
- 3
|
|
9
|
+
- 23
|
|
10
|
+
version: 0.3.23
|
|
5
11
|
platform: ruby
|
|
6
12
|
authors:
|
|
7
13
|
- Steve England
|
|
@@ -9,7 +15,7 @@ autorequire:
|
|
|
9
15
|
bindir: bin
|
|
10
16
|
cert_chain: []
|
|
11
17
|
|
|
12
|
-
date: 2010-
|
|
18
|
+
date: 2010-06-14 00:00:00 +01:00
|
|
13
19
|
default_executable:
|
|
14
20
|
dependencies: []
|
|
15
21
|
|
|
@@ -58,21 +64,27 @@ rdoc_options:
|
|
|
58
64
|
require_paths:
|
|
59
65
|
- lib
|
|
60
66
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
67
|
+
none: false
|
|
61
68
|
requirements:
|
|
62
69
|
- - ">="
|
|
63
70
|
- !ruby/object:Gem::Version
|
|
71
|
+
hash: 3
|
|
72
|
+
segments:
|
|
73
|
+
- 0
|
|
64
74
|
version: "0"
|
|
65
|
-
version:
|
|
66
75
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
|
+
none: false
|
|
67
77
|
requirements:
|
|
68
78
|
- - ">="
|
|
69
79
|
- !ruby/object:Gem::Version
|
|
80
|
+
hash: 3
|
|
81
|
+
segments:
|
|
82
|
+
- 0
|
|
70
83
|
version: "0"
|
|
71
|
-
version:
|
|
72
84
|
requirements: []
|
|
73
85
|
|
|
74
86
|
rubyforge_project:
|
|
75
|
-
rubygems_version: 1.3.
|
|
87
|
+
rubygems_version: 1.3.7
|
|
76
88
|
signing_key:
|
|
77
89
|
specification_version: 3
|
|
78
90
|
summary: Pages engine
|