generator_spec 0.8.3 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +46 -43
- data/README.md +0 -2
- data/generator_spec.gemspec +1 -1
- data/lib/generator_spec/version.rb +1 -1
- metadata +42 -44
data/Gemfile.lock
CHANGED
@@ -2,19 +2,19 @@ PATH
|
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
4
|
generator_spec (0.8.3)
|
5
|
-
rails (~> 3
|
5
|
+
rails (~> 3)
|
6
6
|
rspec-rails
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: http://rubygems.org/
|
10
10
|
specs:
|
11
11
|
abstract (1.0.0)
|
12
|
-
actionmailer (3.0.
|
13
|
-
actionpack (= 3.0.
|
14
|
-
mail (~> 2.2.
|
15
|
-
actionpack (3.0.
|
16
|
-
activemodel (= 3.0.
|
17
|
-
activesupport (= 3.0.
|
12
|
+
actionmailer (3.0.10)
|
13
|
+
actionpack (= 3.0.10)
|
14
|
+
mail (~> 2.2.19)
|
15
|
+
actionpack (3.0.10)
|
16
|
+
activemodel (= 3.0.10)
|
17
|
+
activesupport (= 3.0.10)
|
18
18
|
builder (~> 2.1.2)
|
19
19
|
erubis (~> 2.6.6)
|
20
20
|
i18n (~> 0.5.0)
|
@@ -22,69 +22,72 @@ GEM
|
|
22
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.10)
|
26
|
+
activesupport (= 3.0.10)
|
27
27
|
builder (~> 2.1.2)
|
28
28
|
i18n (~> 0.5.0)
|
29
|
-
activerecord (3.0.
|
30
|
-
activemodel (= 3.0.
|
31
|
-
activesupport (= 3.0.
|
32
|
-
arel (~> 2.0.
|
29
|
+
activerecord (3.0.10)
|
30
|
+
activemodel (= 3.0.10)
|
31
|
+
activesupport (= 3.0.10)
|
32
|
+
arel (~> 2.0.10)
|
33
33
|
tzinfo (~> 0.3.23)
|
34
|
-
activeresource (3.0.
|
35
|
-
activemodel (= 3.0.
|
36
|
-
activesupport (= 3.0.
|
37
|
-
activesupport (3.0.
|
38
|
-
arel (2.0.
|
34
|
+
activeresource (3.0.10)
|
35
|
+
activemodel (= 3.0.10)
|
36
|
+
activesupport (= 3.0.10)
|
37
|
+
activesupport (3.0.10)
|
38
|
+
arel (2.0.10)
|
39
39
|
builder (2.1.2)
|
40
40
|
diff-lcs (1.1.2)
|
41
41
|
erubis (2.6.6)
|
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.19)
|
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
|
-
polyglot (0.3.
|
52
|
-
rack (1.2.
|
51
|
+
polyglot (0.3.2)
|
52
|
+
rack (1.2.3)
|
53
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.10)
|
58
|
+
actionmailer (= 3.0.10)
|
59
|
+
actionpack (= 3.0.10)
|
60
|
+
activerecord (= 3.0.10)
|
61
|
+
activeresource (= 3.0.10)
|
62
|
+
activesupport (= 3.0.10)
|
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.10)
|
65
|
+
railties (3.0.10)
|
66
|
+
actionpack (= 3.0.10)
|
67
|
+
activesupport (= 3.0.10)
|
68
68
|
rake (>= 0.8.7)
|
69
|
+
rdoc (~> 3.4)
|
69
70
|
thor (~> 0.14.4)
|
70
|
-
rake (0.
|
71
|
-
|
72
|
-
|
73
|
-
rspec-
|
74
|
-
rspec-
|
75
|
-
|
76
|
-
rspec-
|
71
|
+
rake (0.9.2)
|
72
|
+
rdoc (3.9.3)
|
73
|
+
rspec (2.6.0)
|
74
|
+
rspec-core (~> 2.6.0)
|
75
|
+
rspec-expectations (~> 2.6.0)
|
76
|
+
rspec-mocks (~> 2.6.0)
|
77
|
+
rspec-core (2.6.4)
|
78
|
+
rspec-expectations (2.6.0)
|
77
79
|
diff-lcs (~> 1.1.2)
|
78
|
-
rspec-mocks (2.
|
79
|
-
rspec-rails (2.
|
80
|
+
rspec-mocks (2.6.0)
|
81
|
+
rspec-rails (2.6.1)
|
80
82
|
actionpack (~> 3.0)
|
81
83
|
activesupport (~> 3.0)
|
82
84
|
railties (~> 3.0)
|
83
|
-
rspec (~> 2.
|
85
|
+
rspec (~> 2.6.0)
|
84
86
|
thor (0.14.6)
|
85
|
-
treetop (1.4.
|
87
|
+
treetop (1.4.10)
|
88
|
+
polyglot
|
86
89
|
polyglot (>= 0.3.1)
|
87
|
-
tzinfo (0.3.
|
90
|
+
tzinfo (0.3.29)
|
88
91
|
|
89
92
|
PLATFORMS
|
90
93
|
ruby
|
data/README.md
CHANGED
@@ -19,7 +19,6 @@ Spec:
|
|
19
19
|
describe TestGenerator do
|
20
20
|
include GeneratorSpec::TestCase
|
21
21
|
destination File.expand_path("../../tmp", __FILE__)
|
22
|
-
tests TestGenerator
|
23
22
|
arguments %w(something)
|
24
23
|
|
25
24
|
before(:all) do
|
@@ -36,7 +35,6 @@ An RSpec file matching DSL is also provided, taken with permission from [beard](
|
|
36
35
|
|
37
36
|
describe TestGenerator, "using custom matcher" do
|
38
37
|
include GeneratorSpec::TestCase
|
39
|
-
tests TestGenerator
|
40
38
|
destination File.expand_path("../../tmp", __FILE__)
|
41
39
|
|
42
40
|
before do
|
data/generator_spec.gemspec
CHANGED
@@ -18,6 +18,6 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ["lib"]
|
21
|
-
s.add_dependency "rails", "
|
21
|
+
s.add_dependency "rails", ">= 3.0", "< 4.0"
|
22
22
|
s.add_dependency "rspec-rails"
|
23
23
|
end
|
metadata
CHANGED
@@ -1,49 +1,49 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: generator_spec
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.8.4
|
4
5
|
prerelease:
|
5
|
-
version: 0.8.3
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Steve Hodgkiss
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-08-24 00:00:00.000000000 +01:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
17
|
-
|
18
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
17
|
+
requirement: &2165953980 !ruby/object:Gem::Requirement
|
19
18
|
none: false
|
20
|
-
requirements:
|
21
|
-
- -
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version:
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '3.0'
|
23
|
+
- - <
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '4.0'
|
24
26
|
type: :runtime
|
25
|
-
version_requirements: *id001
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: rspec-rails
|
28
27
|
prerelease: false
|
29
|
-
|
28
|
+
version_requirements: *2165953980
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: rspec-rails
|
31
|
+
requirement: &2165953300 !ruby/object:Gem::Requirement
|
30
32
|
none: false
|
31
|
-
requirements:
|
32
|
-
- -
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version:
|
33
|
+
requirements:
|
34
|
+
- - ! '>='
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '0'
|
35
37
|
type: :runtime
|
36
|
-
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: *2165953300
|
37
40
|
description: Test Rails generators with RSpec
|
38
|
-
email:
|
41
|
+
email:
|
39
42
|
- steve@hodgkiss.me.uk
|
40
43
|
executables: []
|
41
|
-
|
42
44
|
extensions: []
|
43
|
-
|
44
45
|
extra_rdoc_files: []
|
45
|
-
|
46
|
-
files:
|
46
|
+
files:
|
47
47
|
- .gitignore
|
48
48
|
- .rspec
|
49
49
|
- Gemfile
|
@@ -63,34 +63,32 @@ files:
|
|
63
63
|
- spec/support/test_generator/templates/initializer.rb
|
64
64
|
- spec/support/test_generator/templates/migration.rb
|
65
65
|
- spec/support/test_generator/test_generator.rb
|
66
|
+
has_rdoc: true
|
66
67
|
homepage: https://github.com/stevehodgkiss/generator_spec
|
67
68
|
licenses: []
|
68
|
-
|
69
69
|
post_install_message:
|
70
70
|
rdoc_options: []
|
71
|
-
|
72
|
-
require_paths:
|
71
|
+
require_paths:
|
73
72
|
- lib
|
74
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
73
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
75
74
|
none: false
|
76
|
-
requirements:
|
77
|
-
- -
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version:
|
80
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - ! '>='
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
79
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
80
|
none: false
|
82
|
-
requirements:
|
83
|
-
- -
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version:
|
81
|
+
requirements:
|
82
|
+
- - ! '>='
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
86
85
|
requirements: []
|
87
|
-
|
88
86
|
rubyforge_project: generator_spec
|
89
|
-
rubygems_version: 1.
|
87
|
+
rubygems_version: 1.6.2
|
90
88
|
signing_key:
|
91
89
|
specification_version: 3
|
92
90
|
summary: Test Rails generators with RSpec
|
93
|
-
test_files:
|
91
|
+
test_files:
|
94
92
|
- spec/generator_spec/matcher_spec.rb
|
95
93
|
- spec/generator_spec/test_case_spec.rb
|
96
94
|
- spec/spec_helper.rb
|