brighter_planet_layout 0.1.12 → 0.1.13

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/.document CHANGED
@@ -1,5 +1,5 @@
1
- README.rdoc
2
- lib/**/*.rb
3
- bin/*
4
- features/**/*.feature
5
- LICENSE
1
+ README.rdoc
2
+ lib/**/*.rb
3
+ bin/*
4
+ features/**/*.feature
5
+ LICENSE
data/.gitignore CHANGED
@@ -1,21 +1,21 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC
1
+ ## MAC OS
2
+ .DS_Store
3
+
4
+ ## TEXTMATE
5
+ *.tmproj
6
+ tmtags
7
+
8
+ ## EMACS
9
+ *~
10
+ \#*
11
+ .\#*
12
+
13
+ ## VIM
14
+ *.swp
15
+
16
+ ## PROJECT::GENERAL
17
+ coverage
18
+ rdoc
19
+ pkg
20
+
21
+ ## PROJECT::SPECIFIC
data/LICENSE CHANGED
@@ -1,20 +1,20 @@
1
- Copyright (c) 2009 Andy Rossmeissl
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ Copyright (c) 2009 Andy Rossmeissl
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc CHANGED
@@ -1,17 +1,17 @@
1
- = brighter_planet_layout
2
-
3
- Description goes here.
4
-
5
- == Note on Patches/Pull Requests
6
-
7
- * Fork the project.
8
- * Make your feature addition or bug fix.
9
- * Add tests for it. This is important so I don't break it in a
10
- future version unintentionally.
11
- * Commit, do not mess with rakefile, version, or history.
12
- (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
13
- * Send me a pull request. Bonus points for topic branches.
14
-
15
- == Copyright
16
-
17
- Copyright (c) 2010 Andy Rossmeissl. See LICENSE for details.
1
+ = brighter_planet_layout
2
+
3
+ Description goes here.
4
+
5
+ == Note on Patches/Pull Requests
6
+
7
+ * Fork the project.
8
+ * Make your feature addition or bug fix.
9
+ * Add tests for it. This is important so I don't break it in a
10
+ future version unintentionally.
11
+ * Commit, do not mess with rakefile, version, or history.
12
+ (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
13
+ * Send me a pull request. Bonus points for topic branches.
14
+
15
+ == Copyright
16
+
17
+ Copyright (c) 2010 Andy Rossmeissl. See LICENSE for details.
data/Rakefile CHANGED
@@ -1,53 +1,53 @@
1
- require 'rubygems'
2
- require 'rake'
3
-
4
- begin
5
- require 'jeweler'
6
- Jeweler::Tasks.new do |gem|
7
- gem.name = "brighter_planet_layout"
8
- gem.summary = %Q{Layout assets for Brighter Planet sites}
9
- gem.description = %Q{Layouts, partials, stylesheets, and images}
10
- gem.email = "andy@rossmeissl.net"
11
- gem.homepage = "http://github.com/brighterplanet/brighter_planet_layout"
12
- gem.authors = ["Andy Rossmeissl"]
13
- gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
14
- gem.files.reject! { |fn| fn.downcase =~ /\.ai$/ }
15
- end
16
- Jeweler::GemcutterTasks.new
17
- rescue LoadError
18
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
19
- end
20
-
21
- require 'rake/testtask'
22
- Rake::TestTask.new(:test) do |test|
23
- test.libs << 'lib' << 'test'
24
- test.pattern = 'test/**/test_*.rb'
25
- test.verbose = true
26
- end
27
-
28
- begin
29
- require 'rcov/rcovtask'
30
- Rcov::RcovTask.new do |test|
31
- test.libs << 'test'
32
- test.pattern = 'test/**/test_*.rb'
33
- test.verbose = true
34
- end
35
- rescue LoadError
36
- task :rcov do
37
- abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
38
- end
39
- end
40
-
41
- task :test => :check_dependencies
42
-
43
- task :default => :test
44
-
45
- require 'rake/rdoctask'
46
- Rake::RDocTask.new do |rdoc|
47
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
48
-
49
- rdoc.rdoc_dir = 'rdoc'
50
- rdoc.title = "brighter_planet_layout #{version}"
51
- rdoc.rdoc_files.include('README*')
52
- rdoc.rdoc_files.include('lib/**/*.rb')
53
- end
1
+ require 'rubygems'
2
+ require 'rake'
3
+
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gem|
7
+ gem.name = "brighter_planet_layout"
8
+ gem.summary = %Q{Layout assets for Brighter Planet sites}
9
+ gem.description = %Q{Layouts, partials, stylesheets, and images}
10
+ gem.email = "andy@rossmeissl.net"
11
+ gem.homepage = "http://github.com/brighterplanet/brighter_planet_layout"
12
+ gem.authors = ["Andy Rossmeissl"]
13
+ gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
14
+ gem.files.reject! { |fn| fn.downcase =~ /\.ai$/ }
15
+ end
16
+ Jeweler::GemcutterTasks.new
17
+ rescue LoadError
18
+ puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
19
+ end
20
+
21
+ require 'rake/testtask'
22
+ Rake::TestTask.new(:test) do |test|
23
+ test.libs << 'lib' << 'test'
24
+ test.pattern = 'test/**/test_*.rb'
25
+ test.verbose = true
26
+ end
27
+
28
+ begin
29
+ require 'rcov/rcovtask'
30
+ Rcov::RcovTask.new do |test|
31
+ test.libs << 'test'
32
+ test.pattern = 'test/**/test_*.rb'
33
+ test.verbose = true
34
+ end
35
+ rescue LoadError
36
+ task :rcov do
37
+ abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
38
+ end
39
+ end
40
+
41
+ task :test => :check_dependencies
42
+
43
+ task :default => :test
44
+
45
+ require 'rake/rdoctask'
46
+ Rake::RDocTask.new do |rdoc|
47
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
48
+
49
+ rdoc.rdoc_dir = 'rdoc'
50
+ rdoc.title = "brighter_planet_layout #{version}"
51
+ rdoc.rdoc_files.include('README*')
52
+ rdoc.rdoc_files.include('lib/**/*.rb')
53
+ end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.12
1
+ 0.1.13
@@ -1,89 +1,99 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{brighter_planet_layout}
8
- s.version = "0.1.12"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Andy Rossmeissl"]
12
- s.date = %q{2010-07-07}
13
- s.description = %q{Layouts, partials, stylesheets, and images}
14
- s.email = %q{andy@rossmeissl.net}
15
- s.extra_rdoc_files = [
16
- "LICENSE",
17
- "README.rdoc"
18
- ]
19
- s.files = [
20
- ".document",
21
- ".gitignore",
22
- "LICENSE",
23
- "README.rdoc",
24
- "Rakefile",
25
- "VERSION",
26
- "app/helpers/brighter_planet_helper.rb",
27
- "app/views/layouts/_footer.html.erb",
28
- "app/views/layouts/_google_analytics.html.erb",
29
- "app/views/layouts/_head.html.erb",
30
- "app/views/layouts/_header.html.erb",
31
- "app/views/layouts/brighter_planet.html.erb",
32
- "brighter_planet_layout.gemspec",
33
- "lib/brighter_planet_layout.rb",
34
- "lib/brighter_planet_layout/railtie.rb",
35
- "public/404.html",
36
- "public/422.html",
37
- "public/500.html",
38
- "public/favicon.ico",
39
- "public/javascripts/controls.js",
40
- "public/javascripts/dragdrop.js",
41
- "public/javascripts/effects.js",
42
- "public/javascripts/prototype.js",
43
- "public/javascripts/rails.js",
44
- "public/stylesheets/brighter_planet.css",
45
- "public/stylesheets/fonts/KievitOT-Bold.otf",
46
- "public/stylesheets/fonts/KievitOT-BoldItalic.otf",
47
- "public/stylesheets/fonts/KievitOT-Italic.otf",
48
- "public/stylesheets/fonts/KievitOT-Regular.otf",
49
- "public/stylesheets/fonts/KievitWebPro-Bold.eot",
50
- "public/stylesheets/fonts/KievitWebPro-Bold.woff",
51
- "public/stylesheets/fonts/KievitWebPro-BoldIta.eot",
52
- "public/stylesheets/fonts/KievitWebPro-BoldIta.woff",
53
- "public/stylesheets/fonts/KievitWebPro-Ita.eot",
54
- "public/stylesheets/fonts/KievitWebPro-Ita.woff",
55
- "public/stylesheets/fonts/KievitWebPro.eot",
56
- "public/stylesheets/fonts/KievitWebPro.woff",
57
- "public/stylesheets/images/bg.png",
58
- "public/stylesheets/images/cards.png",
59
- "public/stylesheets/images/emitters.png",
60
- "public/stylesheets/images/gears.png",
61
- "public/stylesheets/images/logo.png",
62
- "public/stylesheets/images/prism.png",
63
- "test/helper.rb",
64
- "test/test_brighter_planet_layout.rb"
65
- ]
66
- s.homepage = %q{http://github.com/brighterplanet/brighter_planet_layout}
67
- s.rdoc_options = ["--charset=UTF-8"]
68
- s.require_paths = ["lib"]
69
- s.rubygems_version = %q{1.3.7}
70
- s.summary = %q{Layout assets for Brighter Planet sites}
71
- s.test_files = [
72
- "test/helper.rb",
73
- "test/test_brighter_planet_layout.rb"
74
- ]
75
-
76
- if s.respond_to? :specification_version then
77
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
78
- s.specification_version = 3
79
-
80
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
81
- s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
82
- else
83
- s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
84
- end
85
- else
86
- s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
87
- end
88
- end
89
-
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{brighter_planet_layout}
8
+ s.version = "0.1.13"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Andy Rossmeissl"]
12
+ s.date = %q{2010-07-07}
13
+ s.description = %q{Layouts, partials, stylesheets, and images}
14
+ s.email = %q{andy@rossmeissl.net}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".gitignore",
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "app/helpers/brighter_planet_helper.rb",
27
+ "app/views/layouts/_footer.html.erb",
28
+ "app/views/layouts/_google_analytics.html.erb",
29
+ "app/views/layouts/_head.html.erb",
30
+ "app/views/layouts/_header.html.erb",
31
+ "app/views/layouts/brighter_planet.html.erb",
32
+ "brighter_planet_layout.gemspec",
33
+ "lib/brighter_planet_layout.rb",
34
+ "lib/brighter_planet_layout/railtie.rb",
35
+ "public/401.html",
36
+ "public/403.html",
37
+ "public/403.xml",
38
+ "public/404.html",
39
+ "public/404.json",
40
+ "public/404.xml",
41
+ "public/409.html",
42
+ "public/422.html",
43
+ "public/500.html",
44
+ "public/favicon.ico",
45
+ "public/javascripts/controls.js",
46
+ "public/javascripts/dragdrop.js",
47
+ "public/javascripts/effects.js",
48
+ "public/javascripts/prototype.js",
49
+ "public/javascripts/rails.js",
50
+ "public/stylesheets/brighter_planet.css",
51
+ "public/stylesheets/fonts/DejaVuSansMono-Oblique.eot",
52
+ "public/stylesheets/fonts/DejaVuSansMono-Oblique.ttf",
53
+ "public/stylesheets/fonts/DejaVuSansMono.eot",
54
+ "public/stylesheets/fonts/DejaVuSansMono.ttf",
55
+ "public/stylesheets/fonts/KievitOT-Bold.otf",
56
+ "public/stylesheets/fonts/KievitOT-BoldItalic.otf",
57
+ "public/stylesheets/fonts/KievitOT-Italic.otf",
58
+ "public/stylesheets/fonts/KievitOT-Regular.otf",
59
+ "public/stylesheets/fonts/KievitWebPro-Bold.eot",
60
+ "public/stylesheets/fonts/KievitWebPro-Bold.woff",
61
+ "public/stylesheets/fonts/KievitWebPro-BoldIta.eot",
62
+ "public/stylesheets/fonts/KievitWebPro-BoldIta.woff",
63
+ "public/stylesheets/fonts/KievitWebPro-Ita.eot",
64
+ "public/stylesheets/fonts/KievitWebPro-Ita.woff",
65
+ "public/stylesheets/fonts/KievitWebPro.eot",
66
+ "public/stylesheets/fonts/KievitWebPro.woff",
67
+ "public/stylesheets/images/bg.png",
68
+ "public/stylesheets/images/cards.png",
69
+ "public/stylesheets/images/emitters.png",
70
+ "public/stylesheets/images/gears.png",
71
+ "public/stylesheets/images/logo.png",
72
+ "public/stylesheets/images/prism.png",
73
+ "test/helper.rb",
74
+ "test/test_brighter_planet_layout.rb"
75
+ ]
76
+ s.homepage = %q{http://github.com/brighterplanet/brighter_planet_layout}
77
+ s.rdoc_options = ["--charset=UTF-8"]
78
+ s.require_paths = ["lib"]
79
+ s.rubygems_version = %q{1.3.6}
80
+ s.summary = %q{Layout assets for Brighter Planet sites}
81
+ s.test_files = [
82
+ "test/helper.rb",
83
+ "test/test_brighter_planet_layout.rb"
84
+ ]
85
+
86
+ if s.respond_to? :specification_version then
87
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
88
+ s.specification_version = 3
89
+
90
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
91
+ s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
92
+ else
93
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
94
+ end
95
+ else
96
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
97
+ end
98
+ end
99
+
data/public/401.html ADDED
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
6
+ <title>Not authenticated &middot; Brighter Planet</title>
7
+ </head>
8
+
9
+ <body>
10
+ <h1>You're not authenticated</h1>
11
+ <p>That just means you need to <a href="/log-in">log in</a> to view this page.</p>
12
+ <p><a href="javascript:history.go(-1)">Go back one page</a> or go to the <a href="/">homepage</a>.</p>
13
+ </body>
14
+
15
+ </html>
data/public/403.html ADDED
@@ -0,0 +1,29 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+
6
+ <head>
7
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
8
+ <title>403 Forbidden</title>
9
+ <style type="text/css">
10
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
11
+ div.dialog {
12
+ width: 25em;
13
+ padding: 0 4em;
14
+ margin: 4em auto 0 auto;
15
+ border: 1px solid #ccc;
16
+ border-right-color: #999;
17
+ border-bottom-color: #999;
18
+ }
19
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
20
+ </style>
21
+ </head>
22
+
23
+ <body>
24
+ <div class="dialog">
25
+ <h1>403 Forbidden</h1>
26
+ <p>The server understood the request, but is refusing to fulfill it.</p>
27
+ </div>
28
+ </body>
29
+ </html>
data/public/403.xml ADDED
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <error>Access forbidden</error>
data/public/404.html CHANGED
@@ -1,26 +1,29 @@
1
- <!DOCTYPE html>
2
- <html>
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+
3
6
  <head>
4
- <title>The page you were looking for doesn't exist (404)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
- </style>
7
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
8
+ <title>404 Not Found</title>
9
+ <style type="text/css">
10
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
11
+ div.dialog {
12
+ width: 25em;
13
+ padding: 0 4em;
14
+ margin: 4em auto 0 auto;
15
+ border: 1px solid #ccc;
16
+ border-right-color: #999;
17
+ border-bottom-color: #999;
18
+ }
19
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
20
+ </style>
17
21
  </head>
18
22
 
19
23
  <body>
20
- <!-- This file lives in public/404.html -->
21
24
  <div class="dialog">
22
- <h1>The page you were looking for doesn't exist.</h1>
23
- <p>You may have mistyped the address or the page may have moved.</p>
25
+ <h1>404 Not Found</h1>
26
+ <p>The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.</p>
24
27
  </div>
25
28
  </body>
26
- </html>
29
+ </html>
data/public/404.json ADDED
@@ -0,0 +1 @@
1
+ {name: "HTTPError", message: "404 Not found"}
data/public/404.xml ADDED
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <error>Not found</error>
data/public/409.html ADDED
@@ -0,0 +1,29 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+
6
+ <head>
7
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
8
+ <title>409 Conflict</title>
9
+ <style type="text/css">
10
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
11
+ div.dialog {
12
+ width: 25em;
13
+ padding: 0 4em;
14
+ margin: 4em auto 0 auto;
15
+ border: 1px solid #ccc;
16
+ border-right-color: #999;
17
+ border-bottom-color: #999;
18
+ }
19
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
20
+ </style>
21
+ </head>
22
+
23
+ <body>
24
+ <div class="dialog">
25
+ <h1>409 Conflict</h1>
26
+ <p>The request could not be completed due to a conflict with the current state of the resource.</p>
27
+ </div>
28
+ </body>
29
+ </html>
data/public/422.html CHANGED
@@ -1,26 +1,29 @@
1
- <!DOCTYPE html>
2
- <html>
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+
3
6
  <head>
4
- <title>The change you wanted was rejected (422)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
- </style>
7
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
8
+ <title>422 Unprocessable Entity</title>
9
+ <style type="text/css">
10
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
11
+ div.dialog {
12
+ width: 25em;
13
+ padding: 0 4em;
14
+ margin: 4em auto 0 auto;
15
+ border: 1px solid #ccc;
16
+ border-right-color: #999;
17
+ border-bottom-color: #999;
18
+ }
19
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
20
+ </style>
17
21
  </head>
18
22
 
19
23
  <body>
20
- <!-- This file lives in public/422.html -->
21
24
  <div class="dialog">
22
- <h1>The change you wanted was rejected.</h1>
23
- <p>Maybe you tried to change something you didn't have access to.</p>
25
+ <h1>422 Unprocessable Entity</h1>
26
+ <p>The request was well-formed but was unable to be followed due to semantic errors.</p>
24
27
  </div>
25
28
  </body>
26
- </html>
29
+ </html>
data/public/500.html CHANGED
@@ -1,26 +1,30 @@
1
- <!DOCTYPE html>
2
- <html>
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+
3
6
  <head>
4
- <title>We're sorry, but something went wrong (500)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
- </style>
7
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
8
+ <title>500 Internal Server Error</title>
9
+ <style type="text/css">
10
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
11
+ div.dialog {
12
+ width: 25em;
13
+ padding: 0 4em;
14
+ margin: 4em auto 0 auto;
15
+ border: 1px solid #ccc;
16
+ border-right-color: #999;
17
+ border-bottom-color: #999;
18
+ }
19
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
20
+ </style>
17
21
  </head>
18
22
 
19
23
  <body>
20
24
  <!-- This file lives in public/500.html -->
21
25
  <div class="dialog">
22
- <h1>We're sorry, but something went wrong.</h1>
23
- <p>We've been notified about this issue and we'll take a look at it shortly.</p>
26
+ <h1>500 Internal Server Error</h1>
27
+ <p>The server encountered an unexpected condition which prevented it from fulfilling the request.</p>
24
28
  </div>
25
29
  </body>
26
30
  </html>
@@ -32,6 +32,22 @@
32
32
  font-style: italic;
33
33
  }
34
34
 
35
+ @font-face {
36
+ font-family: 'DejaVu Mono';
37
+ src: url('fonts/DejaVuSansMono.eot');
38
+ src: local('☺'), url("fonts/DejaVuSansMono.ttf") format("opentype");
39
+ font-weight: normal;
40
+ font-style: normal;
41
+ }
42
+
43
+ @font-face {
44
+ font-family: 'DejaVu Mono';
45
+ src: url('fonts/DejaVuSansMono-Oblique.eot');
46
+ src: local('☺'), url("fonts/DejaVuSansMono-Oblique.ttf") format("opentype");
47
+ font-weight: normal;
48
+ font-style: italic;
49
+ }
50
+
35
51
  /* ---------- */
36
52
 
37
53
  body {
@@ -49,6 +65,10 @@ h1, h2, h3, h4, h5, h6, p, ol, ul, li, dl, dt, dd {
49
65
  padding: 0;
50
66
  }
51
67
 
68
+ pre {
69
+ font-family: "DejaVu Mono", monospace;
70
+ }
71
+
52
72
  #header {
53
73
  background-image:
54
74
  -webkit-gradient(
data/test/helper.rb CHANGED
@@ -1,10 +1,10 @@
1
- require 'rubygems'
2
- require 'test/unit'
3
- require 'shoulda'
4
-
5
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
6
- $LOAD_PATH.unshift(File.dirname(__FILE__))
7
- require 'brighter_planet_layout'
8
-
9
- class Test::Unit::TestCase
10
- end
1
+ require 'rubygems'
2
+ require 'test/unit'
3
+ require 'shoulda'
4
+
5
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
6
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
7
+ require 'brighter_planet_layout'
8
+
9
+ class Test::Unit::TestCase
10
+ end
@@ -1,7 +1,7 @@
1
- require 'helper'
2
-
3
- class TestBrighterPlanetLayout < Test::Unit::TestCase
4
- should "probably rename this file and start testing for real" do
5
- flunk "hey buddy, you should probably rename this file and start testing for real"
6
- end
7
- end
1
+ require 'helper'
2
+
3
+ class TestBrighterPlanetLayout < Test::Unit::TestCase
4
+ should "probably rename this file and start testing for real" do
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brighter_planet_layout
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 1
9
- - 12
10
- version: 0.1.12
8
+ - 13
9
+ version: 0.1.13
11
10
  platform: ruby
12
11
  authors:
13
12
  - Andy Rossmeissl
@@ -22,11 +21,9 @@ dependencies:
22
21
  name: thoughtbot-shoulda
23
22
  prerelease: false
24
23
  requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
24
  requirements:
27
25
  - - ">="
28
26
  - !ruby/object:Gem::Version
29
- hash: 3
30
27
  segments:
31
28
  - 0
32
29
  version: "0"
@@ -57,7 +54,13 @@ files:
57
54
  - brighter_planet_layout.gemspec
58
55
  - lib/brighter_planet_layout.rb
59
56
  - lib/brighter_planet_layout/railtie.rb
57
+ - public/401.html
58
+ - public/403.html
59
+ - public/403.xml
60
60
  - public/404.html
61
+ - public/404.json
62
+ - public/404.xml
63
+ - public/409.html
61
64
  - public/422.html
62
65
  - public/500.html
63
66
  - public/favicon.ico
@@ -67,6 +70,10 @@ files:
67
70
  - public/javascripts/prototype.js
68
71
  - public/javascripts/rails.js
69
72
  - public/stylesheets/brighter_planet.css
73
+ - public/stylesheets/fonts/DejaVuSansMono-Oblique.eot
74
+ - public/stylesheets/fonts/DejaVuSansMono-Oblique.ttf
75
+ - public/stylesheets/fonts/DejaVuSansMono.eot
76
+ - public/stylesheets/fonts/DejaVuSansMono.ttf
70
77
  - public/stylesheets/fonts/KievitOT-Bold.otf
71
78
  - public/stylesheets/fonts/KievitOT-BoldItalic.otf
72
79
  - public/stylesheets/fonts/KievitOT-Italic.otf
@@ -97,27 +104,23 @@ rdoc_options:
97
104
  require_paths:
98
105
  - lib
99
106
  required_ruby_version: !ruby/object:Gem::Requirement
100
- none: false
101
107
  requirements:
102
108
  - - ">="
103
109
  - !ruby/object:Gem::Version
104
- hash: 3
105
110
  segments:
106
111
  - 0
107
112
  version: "0"
108
113
  required_rubygems_version: !ruby/object:Gem::Requirement
109
- none: false
110
114
  requirements:
111
115
  - - ">="
112
116
  - !ruby/object:Gem::Version
113
- hash: 3
114
117
  segments:
115
118
  - 0
116
119
  version: "0"
117
120
  requirements: []
118
121
 
119
122
  rubyforge_project:
120
- rubygems_version: 1.3.7
123
+ rubygems_version: 1.3.6
121
124
  signing_key:
122
125
  specification_version: 3
123
126
  summary: Layout assets for Brighter Planet sites