Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bokmann committed Mar 8, 2012
0 parents commit fd941c0
Show file tree
Hide file tree
Showing 8 changed files with 79 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,6 @@
*.gem
.bundle
Gemfile.lock
pkg/*
bin
vendor/ruby
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in font-awesome-rails.gemspec
gemspec
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,22 @@
Copyright (c) 2012 bokmann

MIT License

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
12 changes: 12 additions & 0 deletions README.md
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,12 @@
# Font::Awesome::Rails

I just discovered font-awesome:

http://fortawesome.github.com/Font-Awesome/

And being the fan of the Rails asset pipeline that I am, I thought it appropriate to bundle into an asset gem. I'm over downloading and copying files into place for web projects... Why are we still banging rocks with sticks like that? a package I can version and declare a dependency on is so much better.


But nothing is actually written yet. The whole thing will take me about an hour to bundle up and release as a gem... I'm just declaring intent right now and will do it this weekend.

While their page is all about less and bootstrap, I'm going to provide a couple of helpers to use it with SASS in the rails asset pipeline. I'll also come up with a few examples using it with my own ghbuttons-rails and semanticgs-rails gems as well.
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
17 changes: 17 additions & 0 deletions font-awesome-rails.gemspec
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,17 @@
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/font-awesome-rails/version', __FILE__)

Gem::Specification.new do |gem|
gem.authors = ["bokmann"]
gem.email = ["dbock@codesherpas.com"]
gem.description = %q{TODO: Write a gem description}
gem.summary = %q{TODO: Write a gem summary}
gem.homepage = ""

gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
gem.files = `git ls-files`.split("\n")
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
gem.name = "font-awesome-rails"
gem.require_paths = ["lib"]
gem.version = Font::Awesome::Rails::VERSION
end
9 changes: 9 additions & 0 deletions lib/font-awesome-rails.rb
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,9 @@
require "font-awesome-rails/version"

module Font
module Awesome
module Rails
# Your code goes here...
end
end
end
7 changes: 7 additions & 0 deletions lib/font-awesome-rails/version.rb
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,7 @@
module Font
module Awesome
module Rails
VERSION = "0.0.1"
end
end
end

0 comments on commit fd941c0

Please sign in to comment.