Permalink
Browse files

the gem is alive

  • Loading branch information...
0 parents commit 5d16a8cb1819a5a5e010f44722ad4bbf38e5d781 @bangline committed Nov 9, 2011
Showing with 61 additions and 0 deletions.
  1. +5 −0 .gitignore
  2. +1 −0 .rvmrc
  3. +4 −0 Gemfile
  4. +7 −0 Rakefile
  5. +24 −0 gist.gemspec
  6. +4 −0 lib/gist.rb
  7. +3 −0 lib/gist/version.rb
  8. +5 −0 spec/rack/gist_spec.rb
  9. +8 −0 spec/spec_helper.rb
@@ -0,0 +1,5 @@
+*.gem
+.bundle
+Gemfile.lock
+pkg/*
+*.swp
1 .rvmrc
@@ -0,0 +1 @@
+rvm use 1.9.2@gist
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in gist.gemspec
+gemspec
@@ -0,0 +1,7 @@
+require 'bundler/gem_tasks'
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new('spec')
+
+# If you want to make this the default task
+task :default => :spec
@@ -0,0 +1,24 @@
+# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "gist/version"
+
+Gem::Specification.new do |s|
+ s.name = "gist"
+ s.version = Gist::VERSION
+ s.authors = ["Dave Kennedy"]
+ s.email = ["david@bangline.co.uk"]
+ s.homepage = ""
+ s.summary = %q{TODO: Write a gem summary}
+ s.description = %q{TODO: Write a gem description}
+
+ s.rubyforge_project = "gist"
+
+ 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 "bundler"
+ s.add_development_dependency "rspec"
+ # s.add_runtime_dependency "rest-client"
+end
@@ -0,0 +1,4 @@
+require 'gist/version'
+
+module Gist
+end
@@ -0,0 +1,3 @@
+module Gist
+ VERSION = "0.0.1"
+end
@@ -0,0 +1,5 @@
+require 'spec_helper'
+
+describe Gist do
+ pending "So whassup"
+end
@@ -0,0 +1,8 @@
+require 'rubygems'
+require 'bundler/setup'
+
+require 'gist'
+
+RSpec.configuration do |config|
+ config.mock_with :rspec
+end

0 comments on commit 5d16a8c

Please sign in to comment.