rails-brochure 0.0.8 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/config/routes.rb +1 -1
- data/lib/rails-brochure/version.rb +1 -1
- metadata +5 -7
data/config/routes.rb
CHANGED
@@ -2,6 +2,6 @@ Rails.application.routes.draw do
|
|
2
2
|
Rails::Brochure::HomeContent.templates.each do |pg|
|
3
3
|
match "/#{pg}" => "home##{pg}", :as => pg.gsub(/(\/|-)/,'_').to_sym
|
4
4
|
end
|
5
|
-
match '*a', :to => 'home#four_zero_four' unless defined?(NONBROCHURE404) &&
|
5
|
+
match '*a', :to => 'home#four_zero_four' unless defined?(NONBROCHURE404) && Rails.application.config.consider_all_requests_local
|
6
6
|
end
|
7
7
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-brochure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,12 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
13
|
-
default_executable:
|
12
|
+
date: 2012-02-01 00:00:00.000000000Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: rails
|
17
|
-
requirement: &
|
16
|
+
requirement: &70201258059080 !ruby/object:Gem::Requirement
|
18
17
|
none: false
|
19
18
|
requirements:
|
20
19
|
- - ! '>='
|
@@ -22,7 +21,7 @@ dependencies:
|
|
22
21
|
version: 3.0.0
|
23
22
|
type: :runtime
|
24
23
|
prerelease: false
|
25
|
-
version_requirements: *
|
24
|
+
version_requirements: *70201258059080
|
26
25
|
description: ! "Rails engine for brochure pages. Similar to High Voltage but with
|
27
26
|
named routes.\n Brochure pages are the semi-static pages like \"home\", \"about
|
28
27
|
us\", \"FAQ\", \"pricing\", \"contact us\", etc.\n Most of the designers I have
|
@@ -53,7 +52,6 @@ files:
|
|
53
52
|
- lib/rails-brochure/route_reloader.rb
|
54
53
|
- lib/rails-brochure/version.rb
|
55
54
|
- rails-brochure.gemspec
|
56
|
-
has_rdoc: true
|
57
55
|
homepage: http://github.com/danhixon/rails-brochure
|
58
56
|
licenses: []
|
59
57
|
post_install_message:
|
@@ -74,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
72
|
version: '0'
|
75
73
|
requirements: []
|
76
74
|
rubyforge_project: rails-brochure
|
77
|
-
rubygems_version: 1.
|
75
|
+
rubygems_version: 1.8.10
|
78
76
|
signing_key:
|
79
77
|
specification_version: 3
|
80
78
|
summary: Rails engine for brochure pages. Similar to High Voltage but with named routes.
|