brighter_planet_layout 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -751,9 +751,3 @@ ul.pages li a:hover {
751
751
  -webkit-border-radius: 3px;
752
752
  border-radius: 3px;
753
753
  }
754
-
755
- .tronprint-footprint {
756
- margin-top: 15px !important;
757
- font-size: 12px !important;
758
- color: #555 !important;
759
- }
@@ -1,4 +1,3 @@
1
1
  class ApplicationController < ActionController::Base
2
- helper TronprintHelper
3
2
  protect_from_forgery
4
3
  end
@@ -19,16 +19,8 @@ module Rails
19
19
  end
20
20
  end
21
21
 
22
- class TestBrighterPlanet.layout < Test::Unit::TestCase
22
+ class TestBrighterPlanetLayout < Test::Unit::TestCase
23
23
  def test_application_name
24
24
  assert_equal 'Foobar', BrighterPlanet.layout.application_name
25
25
  end
26
-
27
- def test_latest_blog_post
28
- assert !BrighterPlanet.layout.latest_blog_post.empty?
29
- end
30
-
31
- def test_latest_tweet
32
- assert !BrighterPlanet.layout.latest_tweet.empty?
33
- end
34
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brighter_planet_layout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,22 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-03-08 00:00:00.000000000Z
13
+ date: 2012-03-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: simple-rss
17
- requirement: &2158455380 !ruby/object:Gem::Requirement
18
- none: false
19
- requirements:
20
- - - ! '>='
21
- - !ruby/object:Gem::Version
22
- version: 1.2.3
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: *2158455380
26
- - !ruby/object:Gem::Dependency
27
- name: eat
28
- requirement: &2158454960 !ruby/object:Gem::Requirement
16
+ name: brighter_planet_metadata
17
+ requirement: &2153995000 !ruby/object:Gem::Requirement
29
18
  none: false
30
19
  requirements:
31
20
  - - ! '>='
@@ -33,21 +22,10 @@ dependencies:
33
22
  version: '0'
34
23
  type: :runtime
35
24
  prerelease: false
36
- version_requirements: *2158454960
37
- - !ruby/object:Gem::Dependency
38
- name: tronprint
39
- requirement: &2158454420 !ruby/object:Gem::Requirement
40
- none: false
41
- requirements:
42
- - - ! '>='
43
- - !ruby/object:Gem::Version
44
- version: 1.2.0
45
- type: :runtime
46
- prerelease: false
47
- version_requirements: *2158454420
25
+ version_requirements: *2153995000
48
26
  - !ruby/object:Gem::Dependency
49
27
  name: test-unit
50
- requirement: &2158454000 !ruby/object:Gem::Requirement
28
+ requirement: &2153994580 !ruby/object:Gem::Requirement
51
29
  none: false
52
30
  requirements:
53
31
  - - ! '>='
@@ -55,7 +33,7 @@ dependencies:
55
33
  version: '0'
56
34
  type: :development
57
35
  prerelease: false
58
- version_requirements: *2158454000
36
+ version_requirements: *2153994580
59
37
  description: Layouts, partials, stylesheets, and images
60
38
  email:
61
39
  - andy@rossmeissl.net
@@ -70,7 +48,6 @@ files:
70
48
  - README.rdoc
71
49
  - Rakefile
72
50
  - app/helpers/brighter_planet_helper.rb
73
- - app/views/layouts/_elsewhere.html.erb
74
51
  - app/views/layouts/_footer.html.erb
75
52
  - app/views/layouts/_google_analytics.html.erb
76
53
  - app/views/layouts/_header.html.erb
@@ -98,6 +75,7 @@ files:
98
75
  - public/javascripts/effects.js
99
76
  - public/javascripts/prototype.rails-2.3.10.js
100
77
  - public/javascripts/prototype.rails-2.3.11.js
78
+ - public/javascripts/prototype.rails-2.3.14.js
101
79
  - public/javascripts/prototype.rails-3.0.10.js
102
80
  - public/javascripts/prototype.rails-3.0.9.js
103
81
  - public/javascripts/rails.rails-3.0.10.js
@@ -204,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
204
182
  version: '0'
205
183
  requirements: []
206
184
  rubyforge_project: brighter_planet_layout
207
- rubygems_version: 1.8.11
185
+ rubygems_version: 1.8.15
208
186
  signing_key:
209
187
  specification_version: 3
210
188
  summary: Layout assets for Brighter Planet sites
@@ -249,3 +227,4 @@ test_files:
249
227
  - test/dummy/vendor/plugins/.gitkeep
250
228
  - test/helper.rb
251
229
  - test/test_brighter_planet_layout.rb
230
+ has_rdoc:
@@ -1,41 +0,0 @@
1
- <div id="elsewhere">
2
- <% cache "brighter_planet_layout/latest_tweet", :expires_in => 43.minutes do %>
3
- <!-- Cached at <%= Time.now %> -->
4
- <% tweet = ::BrighterPlanet.layout.latest_tweet -%>
5
- <% if tweet %>
6
- <div id="twitter">
7
- <p>
8
- <%= auto_link tweet.description.sub('brighterplanet: ', '') %>
9
- <span>via <%= link_to '@brighterplanet', 'http://twitter.com/brighterplanet' %></span>
10
- </p>
11
- </div>
12
- <% else %>
13
- <div id="twitter">
14
- <p>
15
- Check out our <a href="http://twitter.com/brighterplanet">Twitter feed</a>
16
- <span>via <a href="http://twitter.com/brighterplanet">@brighterplanet</a></span>
17
- </p>
18
- </div>
19
- <% end %>
20
- <% end %>
21
- <% cache "brighter_planet_layout/latest_blog_post", :expires_in => 47.minutes do %>
22
- <!-- Cached at <%= Time.now %> -->
23
- <% blog_post = ::BrighterPlanet.layout.latest_blog_post -%>
24
- <% if blog_post %>
25
- <div id="blog" class="<%= blog_post.author.downcase.dasherize %>">
26
- <p>
27
- <span><%= blog_post.author %> posted</span>
28
- <%= link_to blog_post.title, blog_post.link %>
29
- <span><%= time_ago_in_words blog_post.updated %> ago on <%= link_to 'Safety in Numbers', 'http://numbers.brighterplanet.com' %>, our blog</span>
30
- </p>
31
- </div>
32
- <% else %>
33
- <div id="blog" class="andy">
34
- <p>
35
- See <a href="http://numbers.brighterplanet.com">the latest posts</a>
36
- <span>by Andy on <a href="http://numbers.brighterplanet.com">Safety in Numbers</a>, our blog</span>
37
- </p>
38
- </div>
39
- <% end %>
40
- <% end %>
41
- </div>