Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initial project setup

  • Loading branch information...
commit 24b41ad674dec584c0cd5953546931c2d2b486a6 0 parents
Pete Browne authored
4 .gitignore
@@ -0,0 +1,4 @@
+*.gem
+.bundle
+Gemfile.lock
+pkg/*
4 Gemfile
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in sprockets-plugin.gemspec
+gemspec
20 LICENSE
@@ -0,0 +1,20 @@
+Copyright (c) 2011 Peter Browne
+
+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.
10 README.md
@@ -0,0 +1,10 @@
+sprockets-plugin
+================
+
+TODO: Description...
+
+
+Copyright
+---------
+
+Copyright (c) 2011 [Peter Browne](http://petebrowne.com). See LICENSE for details.
5 Rakefile
@@ -0,0 +1,5 @@
+require "bundler/gem_tasks"
+require "rspec/core/rake_task"
+
+RSpec::Core::RakeTask.new
+task :default => :spec
1  lib/sprockets-plugin.rb
@@ -0,0 +1 @@
+require "sprockets/plugin"
1  lib/sprockets/plugin.rb
@@ -0,0 +1 @@
+require "sprockets/plugin/version"
5 lib/sprockets/plugin/version.rb
@@ -0,0 +1,5 @@
+module Sprockets
+ module Plugin
+ VERSION = "0.0.1"
+ end
+end
10 spec/spec_helper.rb
@@ -0,0 +1,10 @@
+require "sprockets"
+require "sprockets-plugin"
+
+# Requires supporting files with custom matchers and macros, etc,
+# in ./support/ and its subdirectories.
+Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
+
+RSpec.configure do |config|
+
+end
5 spec/sprockets-plugin_spec.rb
@@ -0,0 +1,5 @@
+require "spec_helper"
+
+describe Sprockets::Plugin do
+ it "does something"
+end
23 sprockets-plugin.gemspec
@@ -0,0 +1,23 @@
+# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "sprockets/plugin/version"
+
+Gem::Specification.new do |s|
+ s.name = "sprockets-plugin"
+ s.version = Sprockets::Plugin::VERSION
+ s.authors = ["Pete Browne"]
+ s.email = ["me@petebrowne.com"]
+ s.homepage = ""
+ s.summary = %q{TODO: Write a gem summary}
+ s.description = %q{TODO: Write a gem description}
+
+ s.rubyforge_project = "sprockets-plugin"
+
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
+
+ s.add_development_dependency "sprockets", "~> 2.0"
+ s.add_development_dependency "rspec", "~> 2.6.0"
+end
Please sign in to comment.
Something went wrong with that request. Please try again.