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.
@@ -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
Binary file
data.tar.gz.sig CHANGED
@@ -1,2 +1,3 @@
1
- �l�
2
- 7K(
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���
@@ -1,3 +1,9 @@
1
+ === 4.2.0 / 2013-11-21
2
+
3
+ * 1 major enhancement:
4
+
5
+ * Updated rules for rails 4. (blowmage)
6
+
1
7
  === 4.1.2 / 2012-02-13
2
8
 
3
9
  * 1 bug fix:
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
@@ -1,7 +1,7 @@
1
1
  require 'autotest'
2
2
 
3
3
  class Autotest::Rails < Autotest
4
- VERSION = '4.1.2'
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
- self.add_mapping(/^lib\/.*\.rb$/) do |filename, _|
14
- impl = File.basename(filename, '.rb')
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
- ["test/unit/#{m[1]}_test.rb",
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/(unit|integration|controllers|views|functional)/.*rb$% do |filename, _|
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
- "test/unit/#{m[1]}_test.rb"
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
- ["test/views/#{m[1]}_view_test.rb",
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
- ["test/views/#{m[1]}_view_test.rb",
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
- ["test/controllers/#{m[1]}_test.rb",
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/(unit|controllers|views|functional)/.*_test\.rb$%
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
- hash: 63
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
- MIIDPjCCAiagAwIBAgIBADANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
13
+ MIIDPjCCAiagAwIBAgIBATANBgkqhkiG9w0BAQUFADBFMRMw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KCF5566nOvpy7aHhDDzFmQuu
26
+ FX3zDU6ghx5cQIueDhf2SGOncyBmmJRRYawm3wI0o1MeN6LZJ/3cRaOTjSFy6+S6
27
+ zqDmHBp8fVA2TGJtO0BLNkbGVrBJjh0UPmSoGzWlRhEVnYC33TpDAbNA+u39UrQI
28
+ ynwhNN7YbnmSR7+JU2cUjBFv2iPBO+TGuWC+9L2zn3NHjuc6tnmSYipA9y8Hv+As
29
+ Y4evBVezr3SjXz08vPqRO5YRdO3zfeMT8gBjRqZjWJGMZ2lD4XNfrs7eky74CyZw
30
+ xx3n58i0lQkBE1EpKE0lFu/y
37
31
  -----END CERTIFICATE-----
38
-
39
- date: 2012-02-13 00:00:00 Z
40
- dependencies:
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
- prerelease: false
44
- requirement: &id001 !ruby/object:Gem::Requirement
45
- none: false
46
- requirements:
36
+ requirement: !ruby/object:Gem::Requirement
37
+ requirements:
47
38
  - - ~>
48
- - !ruby/object:Gem::Version
49
- hash: 17
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
- requirement: &id002 !ruby/object:Gem::Requirement
60
- none: false
61
- requirements:
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ requirements:
62
45
  - - ~>
63
- - !ruby/object:Gem::Version
64
- hash: 19
65
- segments:
66
- - 3
67
- - 10
68
- version: "3.10"
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
- requirement: &id003 !ruby/object:Gem::Requirement
75
- none: false
76
- requirements:
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
77
59
  - - ~>
78
- - !ruby/object:Gem::Version
79
- hash: 25
80
- segments:
81
- - 2
82
- - 13
83
- version: "2.13"
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
- version_requirements: *id003
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
- none: false
120
- requirements:
121
- - - ">="
122
- - !ruby/object:Gem::Version
123
- hash: 3
124
- segments:
125
- - 0
126
- version: "0"
127
- required_rubygems_version: !ruby/object:Gem::Requirement
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
- rubyforge_project: zentest
139
- rubygems_version: 1.8.12
132
+ rubyforge_project: autotest-rails
133
+ rubygems_version: 2.1.10
140
134
  signing_key:
141
- specification_version: 3
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
- mb�B�7��ʉ/��T��f���VyK,��� E��AX��g��Z3�g�#���rqs}d�a���ab� r��\�Ӡ ���g�m6��!P?{F�8�U����#��]+a?i;3{h��\%�+���C�5�5"�F>(��L�i �b-1��)t_Jp�����Ai} ��$nP�3бظ*�}�9�;s�>(��Y�NvXZ<�p���P�2��/f��B�7w0��삋���bq���'r��Xe.����O��6{
1
+ ����_��|��p&�#Y�m�+����S�+Y�F��F��㉣�ܾ��t2��:��.���տ��#���F!nAE�͌�mk��lH��_.���DFTF+`�JO0�9����Â[���rv�I��