brighter_planet_layout 0.2.29 → 0.2.30

Sign up to get free protection for your applications and to get access to all the features.
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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.29
1
+ 0.2.30
@@ -13,8 +13,11 @@ module BrighterPlanetHelper
13
13
  end
14
14
 
15
15
  def link_to_homesite(text, path = '')
16
- path.insert 0, 'http://brighterplanet.com/' unless ::BrighterPlanetLayout.application_name == 'Brighter Planet'
17
- path << '/' if path.empty?
16
+ if ::BrighterPlanetLayout.application_name == 'Brighter Planet'
17
+ path.insert 0, '/'
18
+ else
19
+ path.insert 0, 'http://brighterplanet.com/'
20
+ end
18
21
  link_to text, path
19
22
  end
20
23
  end
@@ -1,111 +1,111 @@
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.2.29"
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-08-02}
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
- ".gitattributes",
22
- ".gitignore",
23
- "LICENSE",
24
- "README.rdoc",
25
- "Rakefile",
26
- "VERSION",
27
- "app/helpers/brighter_planet_helper.rb",
28
- "app/views/layouts/_elsewhere.html.erb",
29
- "app/views/layouts/_footer.html.erb",
30
- "app/views/layouts/_google_analytics.html.erb",
31
- "app/views/layouts/_header.html.erb",
32
- "app/views/layouts/brighter_planet.html.erb",
33
- "brighter_planet_layout.gemspec",
34
- "lib/brighter_planet_layout.rb",
35
- "lib/brighter_planet_layout/rails.rb",
36
- "lib/brighter_planet_layout/railtie.rb",
37
- "lib/brighter_planet_layout/rake_tasks.rb",
38
- "public/401.html",
39
- "public/403.html",
40
- "public/403.xml",
41
- "public/404.html",
42
- "public/404.json",
43
- "public/404.xml",
44
- "public/409.html",
45
- "public/422.html",
46
- "public/500.html",
47
- "public/favicon.ico",
48
- "public/javascripts/controls.js",
49
- "public/javascripts/dragdrop.js",
50
- "public/javascripts/effects.js",
51
- "public/javascripts/prototype.js",
52
- "public/javascripts/rails.js",
53
- "public/stylesheets/brighter_planet.css",
54
- "public/stylesheets/fonts/DejaVuSansMono-Oblique.eot",
55
- "public/stylesheets/fonts/DejaVuSansMono-Oblique.ttf",
56
- "public/stylesheets/fonts/DejaVuSansMono.eot",
57
- "public/stylesheets/fonts/DejaVuSansMono.ttf",
58
- "public/stylesheets/fonts/KievitOT-Bold.otf",
59
- "public/stylesheets/fonts/KievitOT-BoldItalic.otf",
60
- "public/stylesheets/fonts/KievitOT-Italic.otf",
61
- "public/stylesheets/fonts/KievitOT-Regular.otf",
62
- "public/stylesheets/fonts/KievitWebPro-Bold.eot",
63
- "public/stylesheets/fonts/KievitWebPro-Bold.woff",
64
- "public/stylesheets/fonts/KievitWebPro-BoldIta.eot",
65
- "public/stylesheets/fonts/KievitWebPro-BoldIta.woff",
66
- "public/stylesheets/fonts/KievitWebPro-Ita.eot",
67
- "public/stylesheets/fonts/KievitWebPro-Ita.woff",
68
- "public/stylesheets/fonts/KievitWebPro.eot",
69
- "public/stylesheets/fonts/KievitWebPro.woff",
70
- "public/stylesheets/idle.css",
71
- "public/stylesheets/images/bg.png",
72
- "public/stylesheets/images/cards.png",
73
- "public/stylesheets/images/gears.png",
74
- "public/stylesheets/images/logo.png",
75
- "public/stylesheets/images/meter.png",
76
- "public/stylesheets/images/prism.png",
77
- "public/stylesheets/images/radiant_earth-small.png",
78
- "rails/init.rb",
79
- "test/helper.rb",
80
- "test/test_brighter_planet_layout.rb"
81
- ]
82
- s.homepage = %q{http://github.com/brighterplanet/brighter_planet_layout}
83
- s.rdoc_options = ["--charset=UTF-8"]
84
- s.require_paths = ["lib"]
85
- s.rubygems_version = %q{1.3.7}
86
- s.summary = %q{Layout assets for Brighter Planet sites}
87
- s.test_files = [
88
- "test/helper.rb",
89
- "test/test_brighter_planet_layout.rb"
90
- ]
91
-
92
- if s.respond_to? :specification_version then
93
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
94
- s.specification_version = 3
95
-
96
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
97
- s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
98
- s.add_runtime_dependency(%q<ultraviolet>, ["= 0.10.2"])
99
- s.add_runtime_dependency(%q<simple-rss>, ["= 1.2.3"])
100
- else
101
- s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
102
- s.add_dependency(%q<ultraviolet>, ["= 0.10.2"])
103
- s.add_dependency(%q<simple-rss>, ["= 1.2.3"])
104
- end
105
- else
106
- s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
107
- s.add_dependency(%q<ultraviolet>, ["= 0.10.2"])
108
- s.add_dependency(%q<simple-rss>, ["= 1.2.3"])
109
- end
110
- end
111
-
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.2.30"
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-08-10}
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
+ ".gitattributes",
22
+ ".gitignore",
23
+ "LICENSE",
24
+ "README.rdoc",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "app/helpers/brighter_planet_helper.rb",
28
+ "app/views/layouts/_elsewhere.html.erb",
29
+ "app/views/layouts/_footer.html.erb",
30
+ "app/views/layouts/_google_analytics.html.erb",
31
+ "app/views/layouts/_header.html.erb",
32
+ "app/views/layouts/brighter_planet.html.erb",
33
+ "brighter_planet_layout.gemspec",
34
+ "lib/brighter_planet_layout.rb",
35
+ "lib/brighter_planet_layout/rails.rb",
36
+ "lib/brighter_planet_layout/railtie.rb",
37
+ "lib/brighter_planet_layout/rake_tasks.rb",
38
+ "public/401.html",
39
+ "public/403.html",
40
+ "public/403.xml",
41
+ "public/404.html",
42
+ "public/404.json",
43
+ "public/404.xml",
44
+ "public/409.html",
45
+ "public/422.html",
46
+ "public/500.html",
47
+ "public/favicon.ico",
48
+ "public/javascripts/controls.js",
49
+ "public/javascripts/dragdrop.js",
50
+ "public/javascripts/effects.js",
51
+ "public/javascripts/prototype.js",
52
+ "public/javascripts/rails.js",
53
+ "public/stylesheets/brighter_planet.css",
54
+ "public/stylesheets/fonts/DejaVuSansMono-Oblique.eot",
55
+ "public/stylesheets/fonts/DejaVuSansMono-Oblique.ttf",
56
+ "public/stylesheets/fonts/DejaVuSansMono.eot",
57
+ "public/stylesheets/fonts/DejaVuSansMono.ttf",
58
+ "public/stylesheets/fonts/KievitOT-Bold.otf",
59
+ "public/stylesheets/fonts/KievitOT-BoldItalic.otf",
60
+ "public/stylesheets/fonts/KievitOT-Italic.otf",
61
+ "public/stylesheets/fonts/KievitOT-Regular.otf",
62
+ "public/stylesheets/fonts/KievitWebPro-Bold.eot",
63
+ "public/stylesheets/fonts/KievitWebPro-Bold.woff",
64
+ "public/stylesheets/fonts/KievitWebPro-BoldIta.eot",
65
+ "public/stylesheets/fonts/KievitWebPro-BoldIta.woff",
66
+ "public/stylesheets/fonts/KievitWebPro-Ita.eot",
67
+ "public/stylesheets/fonts/KievitWebPro-Ita.woff",
68
+ "public/stylesheets/fonts/KievitWebPro.eot",
69
+ "public/stylesheets/fonts/KievitWebPro.woff",
70
+ "public/stylesheets/idle.css",
71
+ "public/stylesheets/images/bg.png",
72
+ "public/stylesheets/images/cards.png",
73
+ "public/stylesheets/images/gears.png",
74
+ "public/stylesheets/images/logo.png",
75
+ "public/stylesheets/images/meter.png",
76
+ "public/stylesheets/images/prism.png",
77
+ "public/stylesheets/images/radiant_earth-small.png",
78
+ "rails/init.rb",
79
+ "test/helper.rb",
80
+ "test/test_brighter_planet_layout.rb"
81
+ ]
82
+ s.homepage = %q{http://github.com/brighterplanet/brighter_planet_layout}
83
+ s.rdoc_options = ["--charset=UTF-8"]
84
+ s.require_paths = ["lib"]
85
+ s.rubygems_version = %q{1.3.6}
86
+ s.summary = %q{Layout assets for Brighter Planet sites}
87
+ s.test_files = [
88
+ "test/helper.rb",
89
+ "test/test_brighter_planet_layout.rb"
90
+ ]
91
+
92
+ if s.respond_to? :specification_version then
93
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
94
+ s.specification_version = 3
95
+
96
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
97
+ s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
98
+ s.add_runtime_dependency(%q<ultraviolet>, ["= 0.10.2"])
99
+ s.add_runtime_dependency(%q<simple-rss>, ["= 1.2.3"])
100
+ else
101
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
102
+ s.add_dependency(%q<ultraviolet>, ["= 0.10.2"])
103
+ s.add_dependency(%q<simple-rss>, ["= 1.2.3"])
104
+ end
105
+ else
106
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
107
+ s.add_dependency(%q<ultraviolet>, ["= 0.10.2"])
108
+ s.add_dependency(%q<simple-rss>, ["= 1.2.3"])
109
+ end
110
+ end
111
+
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: 45
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 2
9
- - 29
10
- version: 0.2.29
8
+ - 30
9
+ version: 0.2.30
11
10
  platform: ruby
12
11
  authors:
13
12
  - Andy Rossmeissl
@@ -15,18 +14,16 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2010-08-02 00:00:00 -04:00
17
+ date: 2010-08-10 00:00:00 -05:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
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"
@@ -36,11 +33,9 @@ dependencies:
36
33
  name: ultraviolet
37
34
  prerelease: false
38
35
  requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
36
  requirements:
41
37
  - - "="
42
38
  - !ruby/object:Gem::Version
43
- hash: 51
44
39
  segments:
45
40
  - 0
46
41
  - 10
@@ -52,11 +47,9 @@ dependencies:
52
47
  name: simple-rss
53
48
  prerelease: false
54
49
  requirement: &id003 !ruby/object:Gem::Requirement
55
- none: false
56
50
  requirements:
57
51
  - - "="
58
52
  - !ruby/object:Gem::Version
59
- hash: 25
60
53
  segments:
61
54
  - 1
62
55
  - 2
@@ -145,27 +138,23 @@ rdoc_options:
145
138
  require_paths:
146
139
  - lib
147
140
  required_ruby_version: !ruby/object:Gem::Requirement
148
- none: false
149
141
  requirements:
150
142
  - - ">="
151
143
  - !ruby/object:Gem::Version
152
- hash: 3
153
144
  segments:
154
145
  - 0
155
146
  version: "0"
156
147
  required_rubygems_version: !ruby/object:Gem::Requirement
157
- none: false
158
148
  requirements:
159
149
  - - ">="
160
150
  - !ruby/object:Gem::Version
161
- hash: 3
162
151
  segments:
163
152
  - 0
164
153
  version: "0"
165
154
  requirements: []
166
155
 
167
156
  rubyforge_project:
168
- rubygems_version: 1.3.7
157
+ rubygems_version: 1.3.6
169
158
  signing_key:
170
159
  specification_version: 3
171
160
  summary: Layout assets for Brighter Planet sites