Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Preparation for gem packaging

- 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...
commit b7e8659a442fc1323d2d81a6b6115f0a2f915b19 1 parent db38eb8
Eric Pierce authored March 06, 2011
11  bin/rubyslim
... ...
@@ -0,0 +1,11 @@
  1
+#!/usr/bin/env ruby
  2
+
  3
+#require File.expand_path(File.dirname(__FILE__) + "/init")
  4
+require 'rubyslim/init'
  5
+require 'rubyslim/ruby_slim'
  6
+
  7
+require 'jcode'
  8
+$KCODE="UTF8"
  9
+
  10
+rubySlim = RubySlim.new
  11
+rubySlim.run(ARGV[0].to_i)
0  lib/init.rb → lib/rubyslim/init.rb
File renamed without changes
0  lib/list_deserializer.rb → lib/rubyslim/list_deserializer.rb
File renamed without changes
0  lib/list_executor.rb → lib/rubyslim/list_executor.rb
File renamed without changes
0  lib/list_serializer.rb → lib/rubyslim/list_serializer.rb
File renamed without changes
0  lib/ruby_slim.rb → lib/rubyslim/ruby_slim.rb
File renamed without changes
0  lib/slim_error.rb → lib/rubyslim/slim_error.rb
File renamed without changes
0  lib/slim_helper_library.rb → lib/rubyslim/slim_helper_library.rb
File renamed without changes
0  lib/socket_service.rb → lib/rubyslim/socket_service.rb
File renamed without changes
0  lib/statement.rb → lib/rubyslim/statement.rb
File renamed without changes
0  lib/statement_executor.rb → lib/rubyslim/statement_executor.rb
File renamed without changes
0  lib/table_to_hash_converter.rb → lib/rubyslim/table_to_hash_converter.rb
File renamed without changes
7  lib/run_ruby_slim.rb
... ...
@@ -1,7 +0,0 @@
1  
-require File.expand_path(File.dirname(__FILE__) + "/init")
2  
-require "ruby_slim"
3  
-require 'jcode'
4  
-$KCODE="UTF8"
5  
-
6  
-rubySlim = RubySlim.new
7  
-rubySlim.run(ARGV[0].to_i)
22  rubyslim.gemspec
... ...
@@ -0,0 +1,22 @@
  1
+
  2
+Gem::Specification.new do |s|
  3
+  s.name = "rubyslim"
  4
+  s.version = "0.1.1"
  5
+  s.summary = "Ruby SliM protocol for FitNesse"
  6
+  s.description = <<-EOS
  7
+    RubySliM implements the SliM protocol for the FitNesse
  8
+    acceptance testing framework.
  9
+  EOS
  10
+  s.authors = ["Robert C. Martin", "Doug Bradbury"]
  11
+  s.email = "unclebob@cleancoder.com"
  12
+  s.platform = Gem::Platform::RUBY
  13
+
  14
+  s.add_development_dependency 'rspec', '~> 1.3.0'
  15
+  s.add_development_dependency 'rcov'
  16
+
  17
+  s.files = `git ls-files`.split("\n")
  18
+  s.require_path = 'lib'
  19
+
  20
+  s.executables << 'bin/rubyslim'
  21
+end
  22
+
2  spec/spec_helper.rb
... ...
@@ -1,4 +1,4 @@
1  
-$: << File.expand_path(File.dirname(__FILE__) + "/../lib")
  1
+$: << File.expand_path(File.dirname(__FILE__) + "/../lib/rubyslim")
2 2
 require "rubygems"
3 3
 require "spec"
4 4
 require 'jcode'

0 notes on commit b7e8659

Please sign in to comment.
Something went wrong with that request. Please try again.