Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

initial commit

  • Loading branch information...
commit fd941c0c8b44c695e80030ee5b341a504285bc8b 0 parents
David Bock authored
6 .gitignore
@@ -0,0 +1,6 @@
+*.gem
+.bundle
+Gemfile.lock
+pkg/*
+bin
+vendor/ruby
4 Gemfile
@@ -0,0 +1,4 @@
+source 'https://rubygems.org'
+
+# Specify your gem's dependencies in font-awesome-rails.gemspec
+gemspec
22 LICENSE
@@ -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 README.md
@@ -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  Rakefile
@@ -0,0 +1,2 @@
+#!/usr/bin/env rake
+require "bundler/gem_tasks"
17 font-awesome-rails.gemspec
@@ -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 lib/font-awesome-rails.rb
@@ -0,0 +1,9 @@
+require "font-awesome-rails/version"
+
+module Font
+ module Awesome
+ module Rails
+ # Your code goes here...
+ end
+ end
+end
7 lib/font-awesome-rails/version.rb
@@ -0,0 +1,7 @@
+module Font
+ module Awesome
+ module Rails
+ VERSION = "0.0.1"
+ end
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.