Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleanup spec infrastructure

  • Loading branch information...
commit f390bbf674868b86cb361e7ad73f89bda57e1d3a 1 parent 14a69fd
@igrigorik authored
Showing with 22 additions and 11 deletions.
  1. +11 −9 Gemfile.lock
  2. +8 −0 Rakefile
  3. +1 −1  spec/helper.rb
  4. +2 −1  vimgolf.gemspec
View
20 Gemfile.lock
@@ -9,20 +9,22 @@ GEM
remote: http://rubygems.org/
specs:
diff-lcs (1.1.3)
- highline (1.6.8)
- rspec (2.7.0)
- rspec-core (~> 2.7.0)
- rspec-expectations (~> 2.7.0)
- rspec-mocks (~> 2.7.0)
- rspec-core (2.7.1)
- rspec-expectations (2.7.0)
- diff-lcs (~> 1.1.2)
- rspec-mocks (2.7.0)
+ highline (1.6.11)
+ rake (0.9.2.2)
+ rspec (2.9.0)
+ rspec-core (~> 2.9.0)
+ rspec-expectations (~> 2.9.0)
+ rspec-mocks (~> 2.9.0)
+ rspec-core (2.9.0)
+ rspec-expectations (2.9.0)
+ diff-lcs (~> 1.1.3)
+ rspec-mocks (2.9.0)
thor (0.14.6)
PLATFORMS
ruby
DEPENDENCIES
+ rake
rspec
vimgolf!
View
8 Rakefile
@@ -1,2 +1,10 @@
require 'bundler'
Bundler::GemHelper.install_tasks
+
+require 'rspec/core/rake_task'
+
+desc "Run all RSpec tests"
+RSpec::Core::RakeTask.new(:spec)
+
+task :default => :spec
+task :test => [:spec]
View
2  spec/helper.rb
@@ -2,7 +2,7 @@
require 'bundler/setup'
require 'rspec'
-require 'lib/vimgolf'
+require 'vimgolf'
require 'stringio'
View
3  vimgolf.gemspec
@@ -17,6 +17,7 @@ Gem::Specification.new do |s|
s.add_dependency "highline"
s.add_development_dependency "rspec"
+ s.add_development_dependency "rake"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
@@ -25,7 +26,7 @@ Gem::Specification.new do |s|
s.post_install_message = %{
------------------------------------------------------------------------------
-Thank you for installing vimgolf-#{Vimgolf::VERSION}.
+Thank you for installing vimgolf-#{Vimgolf::VERSION}.
0.1.3: custom vimgolf .vimrc file to help level the playing field
0.2.0: proxy support, custom diffs + proper vimscript parser/scoring
Please sign in to comment.
Something went wrong with that request. Please try again.