fugue_icons_rails 3.0.3 → 3.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/README.rdoc CHANGED
@@ -12,12 +12,19 @@ purchase a royalty-free license.
12
12
  The icons are packaged under an +icons/+ folder. So to use
13
13
  the icons in your HTML use the following
14
14
 
15
- <%= image_tag("icons/anchor.png") %>
15
+ <%= image_tag("icons/anchor.png") %>
16
16
 
17
17
  if you need to use them in your CSS then you should use an
18
18
  ERB interpreted CSS or SCSS template such as
19
19
 
20
- .anchor {
21
- background-image: url(<%= asset_path("icons/anchor.png") %>);
22
- }
20
+ .anchor {
21
+ background-image: url(<%= asset_path("icons/anchor.png") %>);
22
+ }
23
23
 
24
+ == Attribution
25
+ To provide a link back to the authors website a helper method is added
26
+ to be used in your view templates. To use it simply add
27
+
28
+ <%= fugue_icons_attribution_link %>
29
+
30
+ to your application layout.
@@ -0,0 +1,5 @@
1
+ module FugueIconsHelper
2
+ def fugue_icons_attribution_link
3
+ link_to "Fugue Icons", "http://p.yusukekamiyamane.com/"
4
+ end
5
+ end
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "fugue_icons_rails"
6
- s.version = "3.0.3"
6
+ s.version = "3.0.3.1"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Geoff Garside (Icons by Yusuke Kamiyamane)"]
9
9
  s.email = ["geoff@geoffgarside.co.uk"]
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fugue_icons_rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 113
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
9
  - 3
10
- version: 3.0.3
10
+ - 1
11
+ version: 3.0.3.1
11
12
  platform: ruby
12
13
  authors:
13
14
  - Geoff Garside (Icons by Yusuke Kamiyamane)
@@ -49,6 +50,7 @@ files:
49
50
  - Gemfile
50
51
  - README.rdoc
51
52
  - Rakefile
53
+ - app/helpers/fugue_icons_helper.rb
52
54
  - fugue_icons_rails.gemspec
53
55
  - lib/assets/images/icons/address-book--arrow.png
54
56
  - lib/assets/images/icons/address-book--exclamation.png
@@ -3082,7 +3084,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
3082
3084
  requirements: []
3083
3085
 
3084
3086
  rubyforge_project:
3085
- rubygems_version: 1.8.4
3087
+ rubygems_version: 1.7.2
3086
3088
  signing_key:
3087
3089
  specification_version: 3
3088
3090
  summary: Fugue icon set