iconoclast 0.1.0 → 0.1.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
@@ -1,25 +1,39 @@
1
1
  = iconoclast
2
2
 
3
- Description goes here.
4
-
5
- In application_controller.rb:
6
- helper Iconoclast::IconHelper
7
-
8
- In your views:
9
- <%= icon 'name' %>
10
- <%= icon 'name', 'alt text' %>
11
- <%= icon 'name', 'alt text', { :border => 1 } %>
12
-
13
- == Note on Patches/Pull Requests
14
-
15
- * Fork the project.
16
- * Make your feature addition or bug fix.
17
- * Add tests for it. This is important so I don't break it in a
18
- future version unintentionally.
19
- * Commit, do not mess with rakefile, version, or history.
20
- (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
21
- * Send me a pull request. Bonus points for topic branches.
3
+ The Iconoclast gem provides an easy way to install iconsets (currently the Famfamfam 'silk' and 'flags' iconsets are included).
4
+
5
+ = Installation
6
+
7
+ The iconoclast gem is hosted on gemcutter.org, so you will first need to configure your gem system to pull from gemcutter:
8
+ $ gem install gemcutter
9
+ $ gem tumble
10
+
11
+ Once you have configured gemcutter:
12
+ $ gem install iconoclast
13
+
14
+ = Usage
15
+
16
+ Install iconsets into your rails app's public directory:
17
+
18
+ $ cd /path/to/railsapp
19
+ $ iconify
20
+
21
+ Running iconify without any arguments installs the famfamfam silk iconset by default. You can specify additional iconsets as well:
22
+ $ iconify --set=flags
23
+
24
+ Once your icons are installed, activate the helper methods by adding the following line to your application_controller.rb:
25
+ helper Iconoclast::IconHelper
26
+
27
+ Then use the icons in your views:
28
+ <%= icon 'name' %>
29
+ <%= icon 'name', 'alt text' %>
30
+ <%= icon 'name', 'alt text', { :border => 1 } %>
22
31
 
23
32
  == Copyright
24
33
 
25
34
  Copyright (c) 2009 Eric Dennis. See LICENSE for details.
35
+
36
+ This package also contains iconsets from Famfamfam:
37
+ http://www.famfamfam.com/lab/icons/
38
+
39
+ The Famfamfam iconsets are provided under the Creative Commons Attribution 2.5 License (http://creativecommons.org/licenses/by/2.5/).
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -5,4 +5,4 @@ Feature: Version
5
5
 
6
6
  Scenario: Get application version
7
7
  When I call the Iconoclast version method
8
- Then the result should be 0.1.0
8
+ Then the result should be 0.1.1
data/iconoclast.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{iconoclast}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Eric Dennis"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iconoclast
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Dennis