generator_spec 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
generator_spec (0.8.
|
4
|
+
generator_spec (0.8.3)
|
5
5
|
rails (~> 3.0)
|
6
6
|
rspec-rails
|
7
7
|
|
@@ -9,32 +9,32 @@ GEM
|
|
9
9
|
remote: http://rubygems.org/
|
10
10
|
specs:
|
11
11
|
abstract (1.0.0)
|
12
|
-
actionmailer (3.0.
|
13
|
-
actionpack (= 3.0.
|
12
|
+
actionmailer (3.0.7)
|
13
|
+
actionpack (= 3.0.7)
|
14
14
|
mail (~> 2.2.15)
|
15
|
-
actionpack (3.0.
|
16
|
-
activemodel (= 3.0.
|
17
|
-
activesupport (= 3.0.
|
15
|
+
actionpack (3.0.7)
|
16
|
+
activemodel (= 3.0.7)
|
17
|
+
activesupport (= 3.0.7)
|
18
18
|
builder (~> 2.1.2)
|
19
19
|
erubis (~> 2.6.6)
|
20
|
-
i18n (~> 0.
|
20
|
+
i18n (~> 0.5.0)
|
21
21
|
rack (~> 1.2.1)
|
22
|
-
rack-mount (~> 0.6.
|
22
|
+
rack-mount (~> 0.6.14)
|
23
23
|
rack-test (~> 0.5.7)
|
24
24
|
tzinfo (~> 0.3.23)
|
25
|
-
activemodel (3.0.
|
26
|
-
activesupport (= 3.0.
|
25
|
+
activemodel (3.0.7)
|
26
|
+
activesupport (= 3.0.7)
|
27
27
|
builder (~> 2.1.2)
|
28
|
-
i18n (~> 0.
|
29
|
-
activerecord (3.0.
|
30
|
-
activemodel (= 3.0.
|
31
|
-
activesupport (= 3.0.
|
28
|
+
i18n (~> 0.5.0)
|
29
|
+
activerecord (3.0.7)
|
30
|
+
activemodel (= 3.0.7)
|
31
|
+
activesupport (= 3.0.7)
|
32
32
|
arel (~> 2.0.2)
|
33
33
|
tzinfo (~> 0.3.23)
|
34
|
-
activeresource (3.0.
|
35
|
-
activemodel (= 3.0.
|
36
|
-
activesupport (= 3.0.
|
37
|
-
activesupport (3.0.
|
34
|
+
activeresource (3.0.7)
|
35
|
+
activemodel (= 3.0.7)
|
36
|
+
activesupport (= 3.0.7)
|
37
|
+
activesupport (3.0.7)
|
38
38
|
arel (2.0.9)
|
39
39
|
builder (2.1.2)
|
40
40
|
diff-lcs (1.1.2)
|
@@ -42,29 +42,29 @@ GEM
|
|
42
42
|
abstract (>= 1.0.0)
|
43
43
|
fakefs (0.3.1)
|
44
44
|
i18n (0.5.0)
|
45
|
-
mail (2.2.
|
45
|
+
mail (2.2.17)
|
46
46
|
activesupport (>= 2.3.6)
|
47
47
|
i18n (>= 0.4.0)
|
48
48
|
mime-types (~> 1.16)
|
49
49
|
treetop (~> 1.4.8)
|
50
50
|
mime-types (1.16)
|
51
51
|
polyglot (0.3.1)
|
52
|
-
rack (1.2.
|
53
|
-
rack-mount (0.6.
|
52
|
+
rack (1.2.2)
|
53
|
+
rack-mount (0.6.14)
|
54
54
|
rack (>= 1.0.0)
|
55
55
|
rack-test (0.5.7)
|
56
56
|
rack (>= 1.0)
|
57
|
-
rails (3.0.
|
58
|
-
actionmailer (= 3.0.
|
59
|
-
actionpack (= 3.0.
|
60
|
-
activerecord (= 3.0.
|
61
|
-
activeresource (= 3.0.
|
62
|
-
activesupport (= 3.0.
|
57
|
+
rails (3.0.7)
|
58
|
+
actionmailer (= 3.0.7)
|
59
|
+
actionpack (= 3.0.7)
|
60
|
+
activerecord (= 3.0.7)
|
61
|
+
activeresource (= 3.0.7)
|
62
|
+
activesupport (= 3.0.7)
|
63
63
|
bundler (~> 1.0)
|
64
|
-
railties (= 3.0.
|
65
|
-
railties (3.0.
|
66
|
-
actionpack (= 3.0.
|
67
|
-
activesupport (= 3.0.
|
64
|
+
railties (= 3.0.7)
|
65
|
+
railties (3.0.7)
|
66
|
+
actionpack (= 3.0.7)
|
67
|
+
activesupport (= 3.0.7)
|
68
68
|
rake (>= 0.8.7)
|
69
69
|
thor (~> 0.14.4)
|
70
70
|
rake (0.8.7)
|
@@ -84,7 +84,7 @@ GEM
|
|
84
84
|
thor (0.14.6)
|
85
85
|
treetop (1.4.9)
|
86
86
|
polyglot (>= 0.3.1)
|
87
|
-
tzinfo (0.3.
|
87
|
+
tzinfo (0.3.26)
|
88
88
|
|
89
89
|
PLATFORMS
|
90
90
|
ruby
|
@@ -1,6 +1,5 @@
|
|
1
1
|
require "rspec/rails"
|
2
2
|
require "rails/generators/test_case"
|
3
|
-
require "fileutils"
|
4
3
|
require "generator_spec/matcher"
|
5
4
|
|
6
5
|
module GeneratorSpec
|
@@ -18,6 +17,7 @@ module GeneratorSpec
|
|
18
17
|
def add_assertion; end
|
19
18
|
end
|
20
19
|
self.test_case_instance = self.test_case.new(:fake_test_case)
|
20
|
+
self.test_case.tests described_class
|
21
21
|
end
|
22
22
|
|
23
23
|
module ClassMethods
|
@@ -7,6 +7,7 @@ end
|
|
7
7
|
describe GeneratorSpec::TestCase do
|
8
8
|
before do
|
9
9
|
@klass = Class.new do
|
10
|
+
self.should_receive(:described_class).and_return(TestClass)
|
10
11
|
include GeneratorSpec::TestCase
|
11
12
|
end
|
12
13
|
@klass.test_case_instance = mock
|
@@ -25,7 +26,6 @@ end
|
|
25
26
|
|
26
27
|
describe TestGenerator, "using normal assert methods" do
|
27
28
|
include GeneratorSpec::TestCase
|
28
|
-
tests TestGenerator
|
29
29
|
destination File.expand_path("../../tmp", __FILE__)
|
30
30
|
arguments %w(test --test)
|
31
31
|
|
@@ -49,7 +49,6 @@ end
|
|
49
49
|
|
50
50
|
describe TestGenerator, "with contexts" do
|
51
51
|
include GeneratorSpec::TestCase
|
52
|
-
tests TestGenerator
|
53
52
|
destination File.expand_path("../../tmp", __FILE__)
|
54
53
|
before { prepare_destination }
|
55
54
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: generator_spec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.8.
|
5
|
+
version: 0.8.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Steve Hodgkiss
|
@@ -10,8 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
14
|
-
default_executable:
|
13
|
+
date: 2011-04-19 00:00:00 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: rails
|
@@ -64,7 +63,6 @@ files:
|
|
64
63
|
- spec/support/test_generator/templates/initializer.rb
|
65
64
|
- spec/support/test_generator/templates/migration.rb
|
66
65
|
- spec/support/test_generator/test_generator.rb
|
67
|
-
has_rdoc: true
|
68
66
|
homepage: https://github.com/stevehodgkiss/generator_spec
|
69
67
|
licenses: []
|
70
68
|
|
@@ -88,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
86
|
requirements: []
|
89
87
|
|
90
88
|
rubyforge_project: generator_spec
|
91
|
-
rubygems_version: 1.
|
89
|
+
rubygems_version: 1.7.2
|
92
90
|
signing_key:
|
93
91
|
specification_version: 3
|
94
92
|
summary: Test Rails generators with RSpec
|