autotest-rails 4.1.2 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +3 -2
- data/History.txt +6 -0
- data/Rakefile +4 -2
- data/lib/autotest/rails.rb +12 -23
- metadata +83 -90
- metadata.gz.sig +1 -1
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 12e6dbbbb97eb1aa00d3358aacc1ab6059ff70ca
|
4
|
+
data.tar.gz: b703385753607682dced6aa386a72f4e1cffe6a5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5c2d16ea78b7569ea3d815ccb2f3fca232c22873b2558111f638e1360eac1b07a5595d413da3c468ad6ba53da7a0c9e806bc4064d8be42dccc2af07d8336c0f8
|
7
|
+
data.tar.gz: dfd544d2d37cdbf126b824863d720e7e7b6f48d97f2585a2b24e3638f3bf10cd01527d10eb5d0e0f8456795a6d13bbd1bcfa5790448e38f987e1b38c0787f633
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
?$��j��&F�
|
2
|
+
�Wy�x)�T�s�eb�My�+�#�L�g�>��`5!�H.�
|
3
|
+
�X2���G4R��BG�O�^��������d��o�X�Q�`q��F���
|
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -3,12 +3,14 @@
|
|
3
3
|
require 'rubygems'
|
4
4
|
require 'hoe'
|
5
5
|
|
6
|
+
Hoe.plugin :seattlerb
|
7
|
+
|
6
8
|
Hoe.spec 'autotest-rails' do
|
7
9
|
developer 'Ryan Davis', 'ryand-ruby@zenspider.com'
|
8
10
|
|
9
|
-
self.rubyforge_name = 'zentest'
|
10
|
-
|
11
11
|
dependency "ZenTest", "~> 4.5"
|
12
|
+
|
13
|
+
license "MIT"
|
12
14
|
end
|
13
15
|
|
14
16
|
# vim: syntax=ruby
|
data/lib/autotest/rails.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'autotest'
|
2
2
|
|
3
3
|
class Autotest::Rails < Autotest
|
4
|
-
VERSION = '4.
|
4
|
+
VERSION = '4.2.0'
|
5
5
|
|
6
6
|
def initialize # :nodoc:
|
7
7
|
super
|
@@ -10,51 +10,40 @@ class Autotest::Rails < Autotest
|
|
10
10
|
|
11
11
|
clear_mappings
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
files_matching %r%^test/unit/#{impl}_test.rb$%
|
13
|
+
add_mapping %r%^lib/(.*)\.rb$% do |_, m|
|
14
|
+
files_matching %r%^test/(lib|unit/lib)/#{m[1]}.*_test.rb$%
|
16
15
|
# TODO: (unit|functional|integration) maybe?
|
17
16
|
end
|
18
17
|
|
19
18
|
add_mapping %r%^test/fixtures/(.*)s.yml% do |_, m|
|
20
|
-
|
21
|
-
"test/controllers/#{m[1]}_controller_test.rb",
|
22
|
-
"test/views/#{m[1]}_view_test.rb",
|
23
|
-
"test/functional/#{m[1]}_controller_test.rb"]
|
19
|
+
files_matching %r%^test/(models|controllers|views|unit|functional)/#{m[1]}.*_test.rb$%
|
24
20
|
end
|
25
21
|
|
26
|
-
add_mapping %r%^test
|
22
|
+
add_mapping %r%^test/.*_test\.rb$% do |filename, _|
|
27
23
|
filename
|
28
24
|
end
|
29
25
|
|
30
26
|
add_mapping %r%^app/models/(.*)\.rb$% do |_, m|
|
31
|
-
|
32
|
-
end
|
33
|
-
|
34
|
-
add_mapping %r%^app/helpers/application_helper.rb% do
|
35
|
-
files_matching %r%^test/(views|functional)/.*_test\.rb$%
|
27
|
+
files_matching %r%^test/(models|unit)/#{m[1]}.*_test.rb$%
|
36
28
|
end
|
37
29
|
|
38
30
|
add_mapping %r%^app/helpers/(.*)_helper.rb% do |_, m|
|
39
31
|
if m[1] == "application" then
|
40
|
-
files_matching %r%^test/(views|functional)/.*_test\.rb$%
|
32
|
+
files_matching %r%^test/(helpers|controllers|views|unit/helpers/functional)/.*_test\.rb$%
|
41
33
|
else
|
42
|
-
|
43
|
-
"test/functional/#{m[1]}_controller_test.rb"]
|
34
|
+
files_matching %r%^test/(helpers|controllers|views|unit/helpers/functional)/#{m[1]}.*_test.rb$%
|
44
35
|
end
|
45
36
|
end
|
46
37
|
|
47
38
|
add_mapping %r%^app/views/(.*)/% do |_, m|
|
48
|
-
|
49
|
-
"test/functional/#{m[1]}_controller_test.rb"]
|
39
|
+
files_matching %r%^test/(controllers|views|functional)/#{m[1]}.*_test.rb$%
|
50
40
|
end
|
51
41
|
|
52
42
|
add_mapping %r%^app/controllers/(.*)\.rb$% do |_, m|
|
53
43
|
if m[1] == "application" then
|
54
44
|
files_matching %r%^test/(controllers|views|functional)/.*_test\.rb$%
|
55
45
|
else
|
56
|
-
|
57
|
-
"test/functional/#{m[1]}_test.rb"]
|
46
|
+
files_matching %r%^test/(controllers|views|functional)/#{m[1]}.*_test.rb$%
|
58
47
|
end
|
59
48
|
end
|
60
49
|
|
@@ -63,11 +52,11 @@ class Autotest::Rails < Autotest
|
|
63
52
|
end
|
64
53
|
|
65
54
|
add_mapping %r%^config/routes.rb$% do # FIX:
|
66
|
-
files_matching %r%^test/(controllers|views|functional)/.*_test\.rb$%
|
55
|
+
files_matching %r%^test/(integration|controllers|views|functional)/.*_test\.rb$%
|
67
56
|
end
|
68
57
|
|
69
58
|
add_mapping %r%^test/test_helper.rb|config/((boot|environment(s/test)?).rb|database.yml)% do
|
70
|
-
files_matching %r%^test/(
|
59
|
+
files_matching %r%^test/(models|controllers|views|unit|functional)/#{m[1]}.*_test.rb$%
|
71
60
|
end
|
72
61
|
end
|
73
62
|
|
metadata
CHANGED
@@ -1,24 +1,18 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: autotest-rails
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 4
|
8
|
-
- 1
|
9
|
-
- 2
|
10
|
-
version: 4.1.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 4.2.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Ryan Davis
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
|
-
cert_chain:
|
10
|
+
cert_chain:
|
17
11
|
- |
|
18
12
|
-----BEGIN CERTIFICATE-----
|
19
|
-
|
13
|
+
MIIDPjCCAiagAwIBAgIBATANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
|
20
14
|
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
21
|
-
|
15
|
+
GRYDY29tMB4XDTEzMDkxNjIzMDQxMloXDTE0MDkxNjIzMDQxMlowRTETMBEGA1UE
|
22
16
|
AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
|
23
17
|
JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
|
24
18
|
b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
|
@@ -28,75 +22,83 @@ cert_chain:
|
|
28
22
|
qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
|
29
23
|
gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
30
24
|
HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBBQUAA4IB
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
25
|
+
AQCFZ7JTzoy1gcG4d8A6dmOJy7ygtO5MFpRIz8HuKCF5566nOvpy7aHhDDzFmQuu
|
26
|
+
FX3zDU6ghx5cQIueDhf2SGOncyBmmJRRYawm3wI0o1MeN6LZJ/3cRaOTjSFy6+S6
|
27
|
+
zqDmHBp8fVA2TGJtO0BLNkbGVrBJjh0UPmSoGzWlRhEVnYC33TpDAbNA+u39UrQI
|
28
|
+
ynwhNN7YbnmSR7+JU2cUjBFv2iPBO+TGuWC+9L2zn3NHjuc6tnmSYipA9y8Hv+As
|
29
|
+
Y4evBVezr3SjXz08vPqRO5YRdO3zfeMT8gBjRqZjWJGMZ2lD4XNfrs7eky74CyZw
|
30
|
+
xx3n58i0lQkBE1EpKE0lFu/y
|
37
31
|
-----END CERTIFICATE-----
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
- !ruby/object:Gem::Dependency
|
32
|
+
date: 2013-11-21 00:00:00.000000000 Z
|
33
|
+
dependencies:
|
34
|
+
- !ruby/object:Gem::Dependency
|
42
35
|
name: ZenTest
|
43
|
-
|
44
|
-
|
45
|
-
none: false
|
46
|
-
requirements:
|
36
|
+
requirement: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
47
38
|
- - ~>
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
|
50
|
-
segments:
|
51
|
-
- 4
|
52
|
-
- 5
|
53
|
-
version: "4.5"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '4.5'
|
54
41
|
type: :runtime
|
55
|
-
version_requirements: *id001
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: rdoc
|
58
42
|
prerelease: false
|
59
|
-
|
60
|
-
|
61
|
-
requirements:
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
62
45
|
- - ~>
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '4.5'
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: minitest
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
69
55
|
type: :development
|
70
|
-
version_requirements: *id002
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: hoe
|
73
56
|
prerelease: false
|
74
|
-
|
75
|
-
|
76
|
-
requirements:
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
77
59
|
- - ~>
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '5.0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rdoc
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '4.0'
|
84
69
|
type: :development
|
85
|
-
|
70
|
+
prerelease: false
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '4.0'
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: hoe
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.7'
|
83
|
+
type: :development
|
84
|
+
prerelease: false
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.7'
|
86
90
|
description: |-
|
87
91
|
This is an autotest plugin to provide rails support. It provides basic
|
88
92
|
rails support and extra plugins for migrations and fixtures.
|
89
|
-
email:
|
93
|
+
email:
|
90
94
|
- ryand-ruby@zenspider.com
|
91
95
|
executables: []
|
92
|
-
|
93
96
|
extensions: []
|
94
|
-
|
95
|
-
extra_rdoc_files:
|
97
|
+
extra_rdoc_files:
|
96
98
|
- History.txt
|
97
99
|
- Manifest.txt
|
98
100
|
- README.txt
|
99
|
-
files:
|
101
|
+
files:
|
100
102
|
- .autotest
|
101
103
|
- History.txt
|
102
104
|
- Manifest.txt
|
@@ -107,38 +109,29 @@ files:
|
|
107
109
|
- lib/autotest/migrate.rb
|
108
110
|
- lib/autotest/rails.rb
|
109
111
|
homepage: https://github.com/seattlerb/autotest-rails
|
110
|
-
licenses:
|
111
|
-
|
112
|
+
licenses:
|
113
|
+
- MIT
|
114
|
+
metadata: {}
|
112
115
|
post_install_message:
|
113
|
-
rdoc_options:
|
116
|
+
rdoc_options:
|
114
117
|
- --main
|
115
118
|
- README.txt
|
116
|
-
require_paths:
|
119
|
+
require_paths:
|
117
120
|
- lib
|
118
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
none: false
|
129
|
-
requirements:
|
130
|
-
- - ">="
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
hash: 3
|
133
|
-
segments:
|
134
|
-
- 0
|
135
|
-
version: "0"
|
121
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - '>='
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
136
131
|
requirements: []
|
137
|
-
|
138
|
-
|
139
|
-
rubygems_version: 1.8.12
|
132
|
+
rubyforge_project: autotest-rails
|
133
|
+
rubygems_version: 2.1.10
|
140
134
|
signing_key:
|
141
|
-
specification_version:
|
135
|
+
specification_version: 4
|
142
136
|
summary: This is an autotest plugin to provide rails support
|
143
137
|
test_files: []
|
144
|
-
|
metadata.gz.sig
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
����_��|��p&�#Y�m�+����S�+Y�F��F��㉣�ܾ��t2��:��.���տ��#���F!nAE�͌�m�k��l�H��_.���D�FTF+`�JO�0�9����Â[���r�v�I��
|