brighter_planet_layout 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Rakefile +1 -1
- data/app/views/layouts/brighter_planet.html.erb +4 -0
- data/lib/brighter_planet_layout.rb +1 -1
- data/lib/brighter_planet_layout/version.rb +1 -1
- metadata +6 -6
data/.gitignore
CHANGED
data/Rakefile
CHANGED
@@ -29,7 +29,7 @@ task :update_s3 do
|
|
29
29
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib'))
|
30
30
|
require 'brighter_planet_layout'
|
31
31
|
ENV['S3SYNC_NATIVE_CHARSET'] = 'UTF-8'
|
32
|
-
cmd =
|
32
|
+
cmd = %{ruby #{ENV['S3SYNC_DIR']}/s3sync.rb #{'--dryrun ' unless ENV['REAL'] == 'true'}--exclude="\\.psd|\\.ai" -v -r --ssl --public-read #{BrighterPlanetLayout.public_path}/ #{BrighterPlanetLayout::S3_BUCKET}:#{BrighterPlanetLayout::VERSION}/}
|
33
33
|
if ENV['REAL'] == 'true'
|
34
34
|
$stderr.puts "Really updating"
|
35
35
|
else
|
@@ -8,6 +8,10 @@
|
|
8
8
|
<%= stylesheet_link_tag 'fonts' %>
|
9
9
|
<%= stylesheet_link_tag brighter_planet_layout_cdn_url("/stylesheets/brighter_planet.css") %>
|
10
10
|
<%= stylesheet_link_tag brighter_planet_layout_cdn_url("/stylesheets/idle.css") %>
|
11
|
+
<!--[if IE]>
|
12
|
+
<%= stylesheet_link_tag 'brighter_planet' %>
|
13
|
+
<%= stylesheet_link_tag 'idle.css' %>
|
14
|
+
<![endif]-->
|
11
15
|
<% if File.exist? File.join(::BrighterPlanetLayout.rails_root, 'public', 'stylesheets', 'application.css') %>
|
12
16
|
<%= stylesheet_link_tag "application" %>
|
13
17
|
<% end %>
|
@@ -8,7 +8,7 @@ module BrighterPlanetLayout
|
|
8
8
|
TWITTER_RSS = 'http://twitter.com/statuses/user_timeline/15042574.rss'
|
9
9
|
BLOG_ATOM = 'http://numbers.brighterplanet.com/latest.xml'
|
10
10
|
TIMEOUT = 5 # seconds
|
11
|
-
CDN = '
|
11
|
+
CDN = 'layout.brighterplanet.com'
|
12
12
|
S3_BUCKET = 'brighterplanetlayout'
|
13
13
|
|
14
14
|
def self.view_path
|
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:
|
5
|
-
prerelease:
|
4
|
+
hash: 25
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 5
|
10
|
+
version: 0.3.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andy Rossmeissl
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-03-
|
19
|
+
date: 2011-03-11 00:00:00 -06:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
183
|
requirements: []
|
184
184
|
|
185
185
|
rubyforge_project: brighter_planet_layout
|
186
|
-
rubygems_version: 1.
|
186
|
+
rubygems_version: 1.6.2
|
187
187
|
signing_key:
|
188
188
|
specification_version: 3
|
189
189
|
summary: Layout assets for Brighter Planet sites
|