methadone 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -57,10 +57,7 @@ Feature: Bootstrap a new command-line app
57
57
  """
58
58
  When I run `rake -I../../../../lib`
59
59
  Then the exit status should be 0
60
- And the output should contain:
61
- """
62
- 1 tests, 1 assertions, 0 failures, 0 errors, 0 skips
63
- """
60
+ And the output should match /1 tests, 1 assertions, 0 failures, 0 errors/
64
61
  And the output should contain:
65
62
  """
66
63
  1 scenario (1 passed)
data/lib/methadone/cli.rb CHANGED
@@ -15,7 +15,7 @@ module Methadone
15
15
  #
16
16
  # This will exit the app if the dir exists and force is false
17
17
  def check_and_prepare_basedir!(basedir,force)
18
- if Dir.exists? basedir
18
+ if File.exists? basedir
19
19
  if force
20
20
  rm_rf basedir, :verbose => true, :secure => true
21
21
  else
@@ -1,3 +1,3 @@
1
1
  module Methadone
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
@@ -1,6 +1,6 @@
1
- require 'minitest/autorun'
1
+ require 'test/unit'
2
2
 
3
- class TestSomething < MiniTest::Unit::TestCase
3
+ class TestSomething < Test::Unit::TestCase
4
4
  def test_truth
5
5
  assert true
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: methadone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-11-02 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec-expectations
16
- requirement: &70318564574100 !ruby/object:Gem::Requirement
16
+ requirement: &70133473968220 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '2.6'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70318564574100
24
+ version_requirements: *70133473968220
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &70318564573680 !ruby/object:Gem::Requirement
27
+ requirement: &70133473967800 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70318564573680
35
+ version_requirements: *70133473967800
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rdoc
38
- requirement: &70318564573140 !ruby/object:Gem::Requirement
38
+ requirement: &70133473967260 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '3.9'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70318564573140
46
+ version_requirements: *70133473967260
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: aruba
49
- requirement: &70318564572720 !ruby/object:Gem::Requirement
49
+ requirement: &70133473966840 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70318564572720
57
+ version_requirements: *70133473966840
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: simplecov
60
- requirement: &70318564572100 !ruby/object:Gem::Requirement
60
+ requirement: &70133473966300 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0.5'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70318564572100
68
+ version_requirements: *70133473966300
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: test_unit-given
71
- requirement: &70318564571520 !ruby/object:Gem::Requirement
71
+ requirement: &70133473965780 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,7 +76,7 @@ dependencies:
76
76
  version: 0.1.1
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70318564571520
79
+ version_requirements: *70133473965780
80
80
  description: Methadone provides a lot of small but useful features for developing
81
81
  a command-line app, including an opinionated bootstrapping process, some helpful
82
82
  cucumber steps, and some classes to bridge logging and output into a simple, unified,