afurmanov-clicase 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +18 -7
  2. data/VERSION.yml +1 -1
  3. data/clicase.gemspec +2 -5
  4. metadata +1 -4
data/Rakefile CHANGED
@@ -1,18 +1,29 @@
1
1
  require 'rake'
2
+ require 'rake/testtask'
3
+ require 'rake/rdoctask'
4
+
5
+ Rake::TestTask.new do |t|
6
+ t.libs << "test"
7
+ t.test_files = FileList['test/shoulda/cli_test.rb', 'test/unit/cli_test.rb']
8
+ t.verbose = true
9
+ end
2
10
 
3
11
  begin
4
12
  require 'jeweler'
5
- Jeweler::Tasks.new do |gemspec|
6
- gemspec.name = "clicase"
7
- gemspec.summary = "Macros for testing Ruby command line apps with Shoulda or Test::Unit."
8
- gemspec.email = "afurmanov@rushpost.com"
9
- gemspec.homepage = "http://github.com/afurmanov/clicase"
10
- gemspec.description = <<END
13
+ gemspec = Gem::Specification.new do |s|
14
+
15
+ s.name = "clicase"
16
+ s.summary = "Macros for testing Ruby command line apps with Shoulda or Test::Unit."
17
+ s.email = "afurmanov@rushpost.com"
18
+ s.homepage = "http://github.com/afurmanov/clicase"
19
+ s.description = <<END
11
20
  CliCase extends TestCase with macros simplifying testing command line apps written in Ruby. These macros allow
12
21
  to specify command line entry point, run command line and assert execution results. Works with Test::Unit or with Shoulda.
13
22
  END
14
- gemspec.authors = ["Aleksandr Furmanov"]
23
+ s.authors = ["Aleksandr Furmanov"]
24
+ s.test_files = ['test/shoulda/cli_test.rb', 'test/unit/cli_test.rb']
15
25
  end
26
+ Jeweler::Tasks.new gemspec
16
27
  rescue LoadError
17
28
  puts "Jeweler not available. Install it with: sudo gem install jeweler"
18
29
  end
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 1
3
- :patch: 5
3
+ :patch: 6
4
4
  :major: 0
data/clicase.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{clicase}
5
- s.version = "0.1.5"
5
+ s.version = "0.1.6"
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"]
@@ -35,10 +35,7 @@ to specify command line entry point, run command line and assert execution resul
35
35
  s.rubygems_version = %q{1.3.2}
36
36
  s.summary = %q{Macros for testing Ruby command line apps with Shoulda or Test::Unit.}
37
37
  s.test_files = [
38
- "test/cli_app.rb",
39
- "test/shoulda/cli_test.rb",
40
- "test/test.rb",
41
- "test/test_helper.rb",
38
+ "test/shoulda/cli_test.rb",
42
39
  "test/unit/cli_test.rb"
43
40
  ]
44
41
 
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.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aleksandr Furmanov
@@ -62,8 +62,5 @@ signing_key:
62
62
  specification_version: 3
63
63
  summary: Macros for testing Ruby command line apps with Shoulda or Test::Unit.
64
64
  test_files:
65
- - test/cli_app.rb
66
65
  - test/shoulda/cli_test.rb
67
- - test/test.rb
68
- - test/test_helper.rb
69
66
  - test/unit/cli_test.rb