From 320f90dbacd69e9630b937ab18af2cc759b0bd42 Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Sun, 10 Mar 2013 16:58:01 -0700 Subject: [PATCH] Add some basic infrastructure for running RSpec --- Gemfile | 5 +++++ Rakefile | 6 ++++++ passageway.gemspec | 6 +++--- spec/spec_helper.rb | 0 4 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 spec/spec_helper.rb diff --git a/Gemfile b/Gemfile index 1215358..02d6a2e 100644 --- a/Gemfile +++ b/Gemfile @@ -2,3 +2,8 @@ source 'https://rubygems.org' # Specify your gem's dependencies in passageway.gemspec gemspec + + +group :test do + gem 'rspec', '> 2.10' +end diff --git a/Rakefile b/Rakefile index 2995527..3349cc0 100644 --- a/Rakefile +++ b/Rakefile @@ -1 +1,7 @@ require "bundler/gem_tasks" +require "rspec/core/rake_task" + +RSpec::Core::RakeTask.new(:spec) do |s| + s.rspec_opts = '--color --format d --fail-fast --order random' + s.pattern = 'spec/**_spec.rb' +end diff --git a/passageway.gemspec b/passageway.gemspec index f8cca8d..8a39844 100644 --- a/passageway.gemspec +++ b/passageway.gemspec @@ -8,9 +8,9 @@ Gem::Specification.new do |spec| spec.version = Passageway::VERSION spec.authors = ["R. Tyler Croy"] spec.email = ["tyler@monkeypox.org"] - spec.description = %q{TODO: Write a gem description} - spec.summary = %q{TODO: Write a gem summary} - spec.homepage = "" + spec.description = "A Ruby-based client for localtunnel" + spec.summary = "This is a fork off the original localtunnel Ruby gem, which has since been deprecated" + spec.homepage = "https://github.com/rtyler/passageway" spec.license = "MIT" spec.files = `git ls-files`.split($/) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 0000000..e69de29