minitest-capistrano 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,4 +1,11 @@
1
- ## 0.1.1.dev (unreleased)
1
+ ## 0.1.2.dev (unreleased)
2
+
3
+
4
+ ## 0.1.1 (May 28, 2012)
5
+
6
+ ### Bug fixes
7
+
8
+ * Allow require of 'minitest/capistrano' or 'minitest-capistrano'. ([@fnichol][])
2
9
 
3
10
 
4
11
  ## 0.1.0 (May 28, 2012)
@@ -1,5 +1,5 @@
1
1
  module MiniTest
2
2
  module Capistrano
3
- VERSION = "0.1.0" # :nodoc:
3
+ VERSION = "0.1.1" # :nodoc:
4
4
  end
5
5
  end
@@ -0,0 +1,21 @@
1
+ require "minitest/assertions"
2
+ require "minitest/expectations"
3
+ require "minitest/capistrano/configuration_extension"
4
+ require "minitest/capistrano/version"
5
+
6
+ def load_capistrano_recipe(recipe)
7
+ before do
8
+ @config = Capistrano::Configuration.new
9
+ @config.extend(MiniTest::Capistrano::ConfigurationExtension)
10
+ @orig_config = Capistrano::Configuration.instance
11
+ Capistrano::Configuration.instance = @config
12
+ recipe.send(:load_into, @config)
13
+ end
14
+
15
+ after do
16
+ Capistrano::Configuration.instance = @orig_config
17
+ end
18
+
19
+ subject {@config}
20
+ let(:recipe) { @config }
21
+ end
@@ -1,21 +1 @@
1
- require "minitest/assertions"
2
- require "minitest/expectations"
3
- require "minitest/capistrano/configuration_extension"
4
- require "minitest/capistrano/version"
5
-
6
- def load_capistrano_recipe(recipe)
7
- before do
8
- @config = Capistrano::Configuration.new
9
- @config.extend(MiniTest::Capistrano::ConfigurationExtension)
10
- @orig_config = Capistrano::Configuration.instance
11
- Capistrano::Configuration.instance = @config
12
- recipe.send(:load_into, @config)
13
- end
14
-
15
- after do
16
- Capistrano::Configuration.instance = @orig_config
17
- end
18
-
19
- subject {@config}
20
- let(:recipe) { @config }
21
- end
1
+ require "minitest/capistrano"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-capistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-05-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
16
- requirement: &70260263515060 !ruby/object:Gem::Requirement
16
+ requirement: &70364399153540 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '2.12'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70260263515060
24
+ version_requirements: *70364399153540
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: capistrano
27
- requirement: &70260263514500 !ruby/object:Gem::Requirement
27
+ requirement: &70364399151740 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '2.9'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70260263514500
35
+ version_requirements: *70364399151740
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: minitest-colorize
38
- requirement: &70260263514020 !ruby/object:Gem::Requirement
38
+ requirement: &70364399150260 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.0.4
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70260263514020
46
+ version_requirements: *70364399150260
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: guard-minitest
49
- requirement: &70260263513520 !ruby/object:Gem::Requirement
49
+ requirement: &70364399149020 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 0.5.0
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70260263513520
57
+ version_requirements: *70364399149020
58
58
  description: MiniTest assertions and expectations for testing Capistrano recipes
59
59
  email:
60
60
  - fnichol@nichol.ca
@@ -72,6 +72,7 @@ files:
72
72
  - Rakefile
73
73
  - lib/minitest-capistrano.rb
74
74
  - lib/minitest/assertions.rb
75
+ - lib/minitest/capistrano.rb
75
76
  - lib/minitest/capistrano/configuration_extension.rb
76
77
  - lib/minitest/capistrano/version.rb
77
78
  - lib/minitest/expectations.rb
@@ -95,12 +96,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
95
96
  - - ! '>='
96
97
  - !ruby/object:Gem::Version
97
98
  version: '0'
99
+ segments:
100
+ - 0
101
+ hash: -4152224729184798016
98
102
  required_rubygems_version: !ruby/object:Gem::Requirement
99
103
  none: false
100
104
  requirements:
101
105
  - - ! '>='
102
106
  - !ruby/object:Gem::Version
103
107
  version: '0'
108
+ segments:
109
+ - 0
110
+ hash: -4152224729184798016
104
111
  requirements: []
105
112
  rubyforge_project:
106
113
  rubygems_version: 1.8.15