Skip to content

Commit

Permalink
Preparation for gem packaging
Browse files Browse the repository at this point in the history
- Moved lib/run_ruby_slim.rb to bin/rubyslim
- Moved remaining contents of lib/ to lib/rubyslim
- Fixed spec/spec_helper path
- Added rubyslim.gemspec with basic package info
  • Loading branch information
wapcaplet committed Mar 6, 2011
1 parent db38eb8 commit b7e8659
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 8 deletions.
11 changes: 11 additions & 0 deletions bin/rubyslim
@@ -0,0 +1,11 @@
#!/usr/bin/env ruby

#require File.expand_path(File.dirname(__FILE__) + "/init")
require 'rubyslim/init'
require 'rubyslim/ruby_slim'

require 'jcode'
$KCODE="UTF8"

rubySlim = RubySlim.new
rubySlim.run(ARGV[0].to_i)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 0 additions & 7 deletions lib/run_ruby_slim.rb

This file was deleted.

22 changes: 22 additions & 0 deletions rubyslim.gemspec
@@ -0,0 +1,22 @@

Gem::Specification.new do |s|
s.name = "rubyslim"
s.version = "0.1.1"
s.summary = "Ruby SliM protocol for FitNesse"
s.description = <<-EOS
RubySliM implements the SliM protocol for the FitNesse
acceptance testing framework.
EOS
s.authors = ["Robert C. Martin", "Doug Bradbury"]
s.email = "unclebob@cleancoder.com"
s.platform = Gem::Platform::RUBY

s.add_development_dependency 'rspec', '~> 1.3.0'
s.add_development_dependency 'rcov'

s.files = `git ls-files`.split("\n")
s.require_path = 'lib'

s.executables << 'bin/rubyslim'
end

2 changes: 1 addition & 1 deletion spec/spec_helper.rb
@@ -1,4 +1,4 @@
$: << File.expand_path(File.dirname(__FILE__) + "/../lib")
$: << File.expand_path(File.dirname(__FILE__) + "/../lib/rubyslim")
require "rubygems"
require "spec"
require 'jcode'
Expand Down

0 comments on commit b7e8659

Please sign in to comment.