fuji 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fuji (0.0.2)
4
+ fuji (0.0.3)
5
5
  compass
6
6
  sass
7
7
 
@@ -24,7 +24,7 @@ GEM
24
24
  rspec-expectations (2.11.3)
25
25
  diff-lcs (~> 1.1.3)
26
26
  rspec-mocks (2.11.2)
27
- sass (3.2.1)
27
+ sass (3.2.3)
28
28
 
29
29
  PLATFORMS
30
30
  ruby
data/README.md CHANGED
@@ -3,7 +3,7 @@ Fuji
3
3
 
4
4
  Fuji is a ruby gem for rendering and styling Heroku's global header and nav.
5
5
 
6
- The only dependencies are Sass and Compass, so you can use it with Rails or Sinatra.
6
+ Its only dependencies are Sass and Compass, so you can use it with Rails or Sinatra.
7
7
 
8
8
  Usage
9
9
  -----
@@ -34,20 +34,22 @@ The render method accepts the following options:
34
34
  }
35
35
  ```
36
36
 
37
- Here's how it looks in addons:
37
+ Here's how it's done in addons:
38
38
 
39
39
  ```haml
40
40
  = Fuji::Header.render(user: current_user, logo_subtext: "addons", login_path: login_path, logout_path: logout_path)
41
41
  ```
42
42
 
43
- Style it up by importing the fuji partial into your main sass/scss stylesheet
43
+ Style it up by importing the fuji partial into your sass/scss stylesheet:
44
44
 
45
45
  ```sass
46
- // Override defaults if you wish:
46
+ // Override the defaults if you wish:
47
47
  $fuji-foreground-color: #FFF
48
48
  $fuji-text-color: rgba(#FFF, 1)
49
- $fuji-highlight-color: #FFF
49
+ $fuji-highlight-color: #aed582
50
50
  $fuji-max-width: 960px
51
+ $fuji-logo-text-color: rgba($fuji-highlight_color, 0.4)
52
+ $fuji-logo-subtext-color: rgba($fuji-highlight_color, 0.7)
51
53
 
52
54
  @import "fuji"
53
55
  ```
@@ -30,7 +30,7 @@ module Fuji
30
30
  def self.render(options={})
31
31
 
32
32
  # Options
33
- options[:gravatar_fallback_url] ||= "http://assets.heroku.com.s3.amazonaws.com/addons.heroku.com/gravatar_default.png"
33
+ options[:gravatar_fallback_url] ||= "https://s3.amazonaws.com/assets.heroku.com/addons.heroku.com/gravatar_default.png"
34
34
  options[:logo_text] ||= "heroku"
35
35
  options[:logo_subtext] ||= nil
36
36
  options[:logo_url] ||= "https://www.heroku.com"
@@ -1,3 +1,3 @@
1
1
  module Fuji
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuji
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-11 00:00:00.000000000 Z
12
+ date: 2013-01-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -110,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  segments:
112
112
  - 0
113
- hash: 1591934698573842779
113
+ hash: -3723527647504247304
114
114
  required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  none: false
116
116
  requirements:
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  segments:
121
121
  - 0
122
- hash: 1591934698573842779
122
+ hash: -3723527647504247304
123
123
  requirements: []
124
124
  rubyforge_project:
125
125
  rubygems_version: 1.8.24