afurmanov-clicase 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +13 -3
  2. data/VERSION.yml +1 -1
  3. data/clicase.gemspec +1 -1
  4. metadata +1 -1
@@ -1,6 +1,14 @@
1
- = CliCase - Macros for testing Ruby command line apps with Shoulda or Test::Unit
1
+ = CliCase - Gem extending Shoulda or Test::Unit with macros for command line apps testing
2
2
 
3
- When you start thinking about writing ruby command line utility you likely want to start with writing test. Assuming command line parsing is in CliApp#run you prabably want to write something like:
3
+ = Basic Usage
4
+
5
+ == Installation
6
+ sudo gem install afurmanov-clicase
7
+
8
+ == Example
9
+ Assuming you decided to write a new command line utility CliApp and you know that CliApp#run is its entry point. You may start with writing simplest test:
10
+
11
+ requie 'clicase'
4
12
 
5
13
  class CliTest < Test::Unit::TestCase
6
14
  run_command_line_as {CliApp.run}
@@ -11,6 +19,8 @@ When you start thinking about writing ruby command line utility you likely want
11
19
  end
12
20
  end
13
21
 
22
+ = Shortcumings
23
+
24
+ * Only tested on the 1.8.7 Ruby implementations with Shoulda 2.10.1
14
25
 
15
- Work in progress...
16
26
 
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 1
3
- :patch: 6
3
+ :patch: 7
4
4
  :major: 0
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{clicase}
5
- s.version = "0.1.6"
5
+ s.version = "0.1.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Aleksandr Furmanov"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: afurmanov-clicase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aleksandr Furmanov