brighter_planet_layout 0.3.0 → 0.3.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/Rakefile +3 -1
- data/VERSION +1 -1
- data/app/views/layouts/_footer.html.erb +1 -1
- data/app/views/layouts/_header.html.erb +2 -1
- data/app/views/layouts/brighter_planet.html.erb +1 -1
- data/brighter_planet_layout.gemspec +2 -5
- data/lib/brighter_planet_layout.rb +3 -3
- data/public/stylesheets/brighter_planet.css +12 -16
- metadata +6 -22
data/Rakefile
CHANGED
@@ -10,7 +10,9 @@ begin
|
|
10
10
|
gem.email = "andy@rossmeissl.net"
|
11
11
|
gem.homepage = "http://github.com/brighterplanet/brighter_planet_layout"
|
12
12
|
gem.authors = ["Andy Rossmeissl", "Seamus Abshere"]
|
13
|
-
|
13
|
+
# doesn't work in ruby 1.9; use spox-ultraviolet
|
14
|
+
# each app is going to have to require this separately
|
15
|
+
# gem.add_dependency 'ultraviolet', '>=0.10.2'
|
14
16
|
gem.add_dependency 'simple-rss', '>=1.2.3'
|
15
17
|
gem.files.reject! { |fn| fn.downcase =~ /\.ai$/ }
|
16
18
|
gem.files.reject! { |fn| fn.downcase =~ /\.psd$/ }
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
@@ -19,7 +19,7 @@
|
|
19
19
|
<p class="slogan">Bringing carbon to life</p>
|
20
20
|
<p class="description">Easy, flexible on-demand carbon calculations in the cloud.</p>
|
21
21
|
<p class="description"><%= link_to_homesite 'About us', 'about' %> · <%= link_to_homesite 'Terms', 'terms' %></p>
|
22
|
-
<p class="description">©
|
22
|
+
<p class="description">©2011 Brighter Planet</p>
|
23
23
|
</div>
|
24
24
|
<div id="applications">
|
25
25
|
<h3>Live applications</h3>
|
@@ -1,10 +1,11 @@
|
|
1
1
|
<div id="header">
|
2
2
|
<h1><span>Brighter Planet</span></h1>
|
3
3
|
<ul>
|
4
|
-
<li><%= link_to_homesite 'Home' %></li>
|
4
|
+
<li class="home"><%= link_to_homesite 'Home' %></li>
|
5
5
|
<li><%= link_to_homesite 'About', 'about' %></li>
|
6
6
|
<li><%= link_to_homesite 'Services', 'services' %></li>
|
7
7
|
<li><%= link_to_homesite 'Research', 'research' %></li>
|
8
|
+
<li><%= link_to_homesite 'Demos', 'demos' %></li>
|
8
9
|
</ul>
|
9
10
|
<p><%= link_to 'Developer site', 'http://brighterplanet.github.com' %> · <%= link_to 'Blog', 'http://numbers.brighterplanet.com/' %></p>
|
10
11
|
</div>
|
@@ -29,7 +29,7 @@
|
|
29
29
|
<%= render_or_nothing :partial => 'layouts/head' %>
|
30
30
|
<%= yield :head %>
|
31
31
|
</head>
|
32
|
-
<body<%= " class=\"#{ @bodyclass }\"".html_safe if @bodyclass %>>
|
32
|
+
<body<%= " class=\"#{ @bodyclass }\"".html_safe if @bodyclass %><%= " id=\"#{ @bodyid }\"".html_safe if @bodyid %>>
|
33
33
|
|
34
34
|
<%= render :partial => 'layouts/google_analytics' %>
|
35
35
|
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{brighter_planet_layout}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Andy Rossmeissl", "Seamus Abshere"]
|
12
|
-
s.date = %q{2011-01-
|
12
|
+
s.date = %q{2011-01-10}
|
13
13
|
s.description = %q{Layouts, partials, stylesheets, and images}
|
14
14
|
s.email = %q{andy@rossmeissl.net}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -105,14 +105,11 @@ Gem::Specification.new do |s|
|
|
105
105
|
s.specification_version = 3
|
106
106
|
|
107
107
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
108
|
-
s.add_runtime_dependency(%q<ultraviolet>, [">= 0.10.2"])
|
109
108
|
s.add_runtime_dependency(%q<simple-rss>, [">= 1.2.3"])
|
110
109
|
else
|
111
|
-
s.add_dependency(%q<ultraviolet>, [">= 0.10.2"])
|
112
110
|
s.add_dependency(%q<simple-rss>, [">= 1.2.3"])
|
113
111
|
end
|
114
112
|
else
|
115
|
-
s.add_dependency(%q<ultraviolet>, [">= 0.10.2"])
|
116
113
|
s.add_dependency(%q<simple-rss>, [">= 1.2.3"])
|
117
114
|
end
|
118
115
|
end
|
@@ -109,10 +109,10 @@ module BrighterPlanetLayout
|
|
109
109
|
def self.update_s3
|
110
110
|
# ENV['AWS_ACCESS_KEY_ID'] =
|
111
111
|
# ENV['AWS_SECRET_ACCESS_KEY'] =
|
112
|
-
# ENV['
|
113
|
-
# ENV['
|
112
|
+
# ENV['SSL_CERT_DIR'] =
|
113
|
+
# ENV['S3SYNC_DIR'] =
|
114
114
|
::ENV['S3SYNC_NATIVE_CHARSET'] = 'UTF-8'
|
115
|
-
cmd = "ruby #{ENV['S3SYNC_DIR']}/s3sync.rb --exclude=\"\\.ai\" -v -r --ssl --public-read #{public_path}/ #{S3_BUCKET}:#{VERSION}/"
|
115
|
+
cmd = "ruby #{ENV['S3SYNC_DIR']}/s3sync.rb --exclude=\"\\.ai\" --exclude=\"\\.psd\" -v -r --ssl --public-read #{public_path}/ #{S3_BUCKET}:#{VERSION}/"
|
116
116
|
`#{cmd}`
|
117
117
|
end
|
118
118
|
|
@@ -73,14 +73,6 @@ a img {
|
|
73
73
|
}
|
74
74
|
|
75
75
|
#header h1 {
|
76
|
-
height: 34px;
|
77
|
-
float: left;
|
78
|
-
width: 129px;
|
79
|
-
margin: 13px;
|
80
|
-
background: url(images/logo.png) no-repeat;
|
81
|
-
}
|
82
|
-
|
83
|
-
#header h1 span {
|
84
76
|
display: none;
|
85
77
|
}
|
86
78
|
|
@@ -96,6 +88,10 @@ a img {
|
|
96
88
|
width: 120px;
|
97
89
|
}
|
98
90
|
|
91
|
+
#header ul li.home {
|
92
|
+
width: 164px;
|
93
|
+
}
|
94
|
+
|
99
95
|
#header ul li a {
|
100
96
|
border-left: 1px solid #555;
|
101
97
|
display: block;
|
@@ -109,6 +105,12 @@ a img {
|
|
109
105
|
padding: 23.5px 0;
|
110
106
|
}
|
111
107
|
|
108
|
+
#header ul li.home a {
|
109
|
+
background: url(images/logo.png) no-repeat 13px 50%;
|
110
|
+
text-indent: -150px;
|
111
|
+
text-align: left;
|
112
|
+
}
|
113
|
+
|
112
114
|
#header li:last-child {
|
113
115
|
border-right: 1px solid #555;
|
114
116
|
}
|
@@ -118,7 +120,7 @@ a img {
|
|
118
120
|
}
|
119
121
|
|
120
122
|
#header ul li a:hover {
|
121
|
-
background: rgba(0,0,0,0.1);
|
123
|
+
background-color: rgba(0,0,0,0.1);
|
122
124
|
}
|
123
125
|
|
124
126
|
#header p {
|
@@ -148,15 +150,9 @@ a img {
|
|
148
150
|
max-width: none;
|
149
151
|
}
|
150
152
|
|
151
|
-
#header h1 {
|
152
|
-
display: none;
|
153
|
-
}
|
154
|
-
|
155
153
|
#header ul {
|
156
|
-
background: url(images/logo.png) no-repeat 10px 50%;
|
157
154
|
margin: 0 auto;
|
158
|
-
width:
|
159
|
-
padding: 0 0 0 165px;
|
155
|
+
width: 994px;
|
160
156
|
}
|
161
157
|
|
162
158
|
#header ul li {
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brighter_planet_layout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 1
|
10
|
+
version: 0.3.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andy Rossmeissl
|
@@ -16,29 +16,13 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-01-
|
19
|
+
date: 2011-01-10 00:00:00 -06:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
|
-
- !ruby/object:Gem::Dependency
|
23
|
-
name: ultraviolet
|
24
|
-
prerelease: false
|
25
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
|
-
requirements:
|
28
|
-
- - ">="
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
hash: 51
|
31
|
-
segments:
|
32
|
-
- 0
|
33
|
-
- 10
|
34
|
-
- 2
|
35
|
-
version: 0.10.2
|
36
|
-
type: :runtime
|
37
|
-
version_requirements: *id001
|
38
22
|
- !ruby/object:Gem::Dependency
|
39
23
|
name: simple-rss
|
40
24
|
prerelease: false
|
41
|
-
requirement: &
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
42
26
|
none: false
|
43
27
|
requirements:
|
44
28
|
- - ">="
|
@@ -50,7 +34,7 @@ dependencies:
|
|
50
34
|
- 3
|
51
35
|
version: 1.2.3
|
52
36
|
type: :runtime
|
53
|
-
version_requirements: *
|
37
|
+
version_requirements: *id001
|
54
38
|
description: Layouts, partials, stylesheets, and images
|
55
39
|
email: andy@rossmeissl.net
|
56
40
|
executables: []
|