autotest-suffix 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +12 -1
- data/Rakefile +1 -0
- data/autotest-suffix.gemspec +12 -12
- data/lib/autotest/suffix.rb +7 -9
- metadata +22 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: caba28a107359a60f8469cb560fc963e838deacb
|
4
|
+
data.tar.gz: cf4d23348a8abce297f148e2a86bf99dd32a66e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72d05e6dd8df3b873018faac716f4c3ef00a98e59c55f4b9886c6a68cbbed192758f39277e3a9d3f9c569cede8d9c061166080254a796c7a2bfefd9c06e3f823
|
7
|
+
data.tar.gz: d5b718515418580b8bcca32f7a99f5855bfd532e84396180ef3daf5eb16b98de6546581504b012d9acbfa2ba28d4f3ddc196d042f26c2a3fb425830cf079eabe
|
data/History.txt
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
=== 1.1.0 / 2015-08-17
|
2
|
+
|
3
|
+
* Updated to work with minitest-autotest
|
4
|
+
|
5
|
+
https://github.com/blowmage/autotest-suffix/compare/v1.0.2...v1.1.0
|
6
|
+
|
7
|
+
=== 1.0.2 / 2013-05-25
|
8
|
+
|
9
|
+
* Add guard on discovery
|
10
|
+
|
11
|
+
https://github.com/blowmage/autotest-suffix/compare/v1.0.1...v1.0.2
|
12
|
+
|
1
13
|
=== 1.0.1 / 2013-05-23
|
2
14
|
|
3
15
|
* Add discovery
|
@@ -7,4 +19,3 @@
|
|
7
19
|
* 1 major enhancement
|
8
20
|
|
9
21
|
* Birthday!
|
10
|
-
|
data/Rakefile
CHANGED
data/autotest-suffix.gemspec
CHANGED
@@ -1,39 +1,39 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
# stub: autotest-suffix 1.1.0.20150817150605 ruby lib
|
2
3
|
|
3
4
|
Gem::Specification.new do |s|
|
4
5
|
s.name = "autotest-suffix"
|
5
|
-
s.version = "1.0.
|
6
|
+
s.version = "1.1.0.20150817150605"
|
6
7
|
|
7
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
|
+
s.require_paths = ["lib"]
|
8
10
|
s.authors = ["Mike Moore"]
|
9
|
-
s.date = "
|
11
|
+
s.date = "2015-08-17"
|
10
12
|
s.description = "Autotest plugin to enable rails-style test filenames."
|
11
13
|
s.email = ["mike@blowmage.com"]
|
12
14
|
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.md"]
|
13
15
|
s.files = [".autotest", ".gemtest", "History.txt", "Manifest.txt", "README.md", "Rakefile", "autotest-suffix.gemspec", "lib/autotest/discover.rb", "lib/autotest/suffix.rb", "test/autotest/suffix_test.rb"]
|
14
16
|
s.homepage = "http://blowmage.com/autotest-suffix"
|
17
|
+
s.licenses = ["MIT"]
|
15
18
|
s.rdoc_options = ["--main", "README.md"]
|
16
|
-
s.
|
17
|
-
s.rubyforge_project = "autotest-suffix"
|
18
|
-
s.rubygems_version = "2.0.3"
|
19
|
+
s.rubygems_version = "2.4.6"
|
19
20
|
s.summary = "Enable suffix named tests in Autotest"
|
20
|
-
s.test_files = ["test/autotest/suffix_test.rb"]
|
21
21
|
|
22
22
|
if s.respond_to? :specification_version then
|
23
23
|
s.specification_version = 4
|
24
24
|
|
25
25
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
26
|
-
s.add_development_dependency(%q<minitest>, ["~> 5.
|
26
|
+
s.add_development_dependency(%q<minitest>, ["~> 5.7"])
|
27
27
|
s.add_development_dependency(%q<rdoc>, ["~> 4.0"])
|
28
|
-
s.add_development_dependency(%q<hoe>, ["~> 3.
|
28
|
+
s.add_development_dependency(%q<hoe>, ["~> 3.13"])
|
29
29
|
else
|
30
|
-
s.add_dependency(%q<minitest>, ["~> 5.
|
30
|
+
s.add_dependency(%q<minitest>, ["~> 5.7"])
|
31
31
|
s.add_dependency(%q<rdoc>, ["~> 4.0"])
|
32
|
-
s.add_dependency(%q<hoe>, ["~> 3.
|
32
|
+
s.add_dependency(%q<hoe>, ["~> 3.13"])
|
33
33
|
end
|
34
34
|
else
|
35
|
-
s.add_dependency(%q<minitest>, ["~> 5.
|
35
|
+
s.add_dependency(%q<minitest>, ["~> 5.7"])
|
36
36
|
s.add_dependency(%q<rdoc>, ["~> 4.0"])
|
37
|
-
s.add_dependency(%q<hoe>, ["~> 3.
|
37
|
+
s.add_dependency(%q<hoe>, ["~> 3.13"])
|
38
38
|
end
|
39
39
|
end
|
data/lib/autotest/suffix.rb
CHANGED
@@ -1,18 +1,16 @@
|
|
1
1
|
require "autotest"
|
2
2
|
|
3
|
-
|
4
|
-
VERSION = "1.0
|
3
|
+
module Autotest::Suffix
|
4
|
+
VERSION = "1.1.0"
|
5
5
|
|
6
|
-
|
7
|
-
|
6
|
+
Autotest.add_hook :initialize do |at|
|
7
|
+
at.clear_mappings
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
add_mapping %r%^lib/(.*)\.rb$% do |_, m|
|
12
|
-
files_matching %r%^test/#{m[1]}.*_test.rb$%
|
9
|
+
at.add_mapping %r%^lib/(.*)\.rb$% do |_, m|
|
10
|
+
at.files_matching %r%^test/#{m[1]}.*_test.rb$%
|
13
11
|
end
|
14
12
|
|
15
|
-
add_mapping %r%^test/.*_test\.rb$% do |filename, _|
|
13
|
+
at.add_mapping %r%^test/.*_test\.rb$% do |filename, _|
|
16
14
|
filename
|
17
15
|
end
|
18
16
|
end
|
metadata
CHANGED
@@ -1,57 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autotest-suffix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Moore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '5.
|
19
|
+
version: '5.7'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '5.
|
26
|
+
version: '5.7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rdoc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '4.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '4.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: hoe
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '3.
|
47
|
+
version: '3.13'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '3.
|
54
|
+
version: '3.13'
|
55
55
|
description: Autotest plugin to enable rails-style test filenames.
|
56
56
|
email:
|
57
57
|
- mike@blowmage.com
|
@@ -62,8 +62,8 @@ extra_rdoc_files:
|
|
62
62
|
- Manifest.txt
|
63
63
|
- README.md
|
64
64
|
files:
|
65
|
-
- .autotest
|
66
|
-
- .gemtest
|
65
|
+
- ".autotest"
|
66
|
+
- ".gemtest"
|
67
67
|
- History.txt
|
68
68
|
- Manifest.txt
|
69
69
|
- README.md
|
@@ -73,29 +73,29 @@ files:
|
|
73
73
|
- lib/autotest/suffix.rb
|
74
74
|
- test/autotest/suffix_test.rb
|
75
75
|
homepage: http://blowmage.com/autotest-suffix
|
76
|
-
licenses:
|
76
|
+
licenses:
|
77
|
+
- MIT
|
77
78
|
metadata: {}
|
78
79
|
post_install_message:
|
79
80
|
rdoc_options:
|
80
|
-
- --main
|
81
|
+
- "--main"
|
81
82
|
- README.md
|
82
83
|
require_paths:
|
83
84
|
- lib
|
84
85
|
required_ruby_version: !ruby/object:Gem::Requirement
|
85
86
|
requirements:
|
86
|
-
- -
|
87
|
+
- - ">="
|
87
88
|
- !ruby/object:Gem::Version
|
88
89
|
version: '0'
|
89
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
91
|
requirements:
|
91
|
-
- -
|
92
|
+
- - ">="
|
92
93
|
- !ruby/object:Gem::Version
|
93
94
|
version: '0'
|
94
95
|
requirements: []
|
95
|
-
rubyforge_project:
|
96
|
-
rubygems_version: 2.
|
96
|
+
rubyforge_project:
|
97
|
+
rubygems_version: 2.4.6
|
97
98
|
signing_key:
|
98
99
|
specification_version: 4
|
99
100
|
summary: Enable suffix named tests in Autotest
|
100
|
-
test_files:
|
101
|
-
- test/autotest/suffix_test.rb
|
101
|
+
test_files: []
|