test_changes 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/test_changes/argv_wrapper.rb +17 -4
- data/lib/test_changes/version.rb +1 -1
- data/test_changes.gemspec +1 -2
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45f34376073449d0e1e873a447325ae01a7bcc89
|
4
|
+
data.tar.gz: be4de5306d82adf9d86f2e45ea10680b03c251db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82cc8f4c90f0948dd10736f8e1522ff5454cc4bf8db607a5d71762530cea42d79ca9360999abe31d79771bea701352a4a85bdac828018b93b10b51709e011f8d
|
7
|
+
data.tar.gz: 61a67650966c7e4267e17f07007cf145e8bb913924340ae0aee5d733d18a7c730674ecd1f1b6ea09954a024fcc269c3eedcf2efe514e8335193056586901141c
|
data/CHANGELOG.md
CHANGED
@@ -30,15 +30,28 @@ module TestChanges
|
|
30
30
|
|
31
31
|
private
|
32
32
|
|
33
|
+
# rubocop:disable Metrics/MethodLength
|
33
34
|
def slop_options
|
34
|
-
Slop.parse(argv
|
35
|
-
|
36
|
-
|
35
|
+
Slop.parse(argv) do |o|
|
36
|
+
o.banner = banner
|
37
|
+
o.string '-c', '--commit', 'Git commit. Default: HEAD.', default: 'HEAD'
|
38
|
+
o.boolean '-q', '--quiet', 'Do not print output. Default: false.', default: false
|
37
39
|
|
38
|
-
|
40
|
+
o.string '-r', '--runner',
|
39
41
|
'The test tool to run. Default: the first runner of the config file.'
|
42
|
+
|
43
|
+
o.on '-h', '--help', 'Display this help message.' do
|
44
|
+
puts o
|
45
|
+
exit
|
46
|
+
end
|
47
|
+
|
48
|
+
o.on '-v', '--version', 'Display the version.' do
|
49
|
+
puts VERSION
|
50
|
+
exit
|
51
|
+
end
|
40
52
|
end
|
41
53
|
end
|
54
|
+
# rubocop:enable Metrics/MethodLength
|
42
55
|
|
43
56
|
def banner
|
44
57
|
"Usage: test-changes [options] -- [test tool arguments]"
|
data/lib/test_changes/version.rb
CHANGED
data/test_changes.gemspec
CHANGED
@@ -23,9 +23,8 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
24
|
spec.require_paths = ["lib"]
|
25
25
|
|
26
|
-
spec.add_dependency "slop", '~>
|
26
|
+
spec.add_dependency "slop", '~> 4.2.0'
|
27
27
|
|
28
|
-
spec.add_development_dependency "pry", '~> 0.10.1'
|
29
28
|
spec.add_development_dependency "rake", "~> 10.0"
|
30
29
|
spec.add_development_dependency "rspec"
|
31
30
|
spec.add_development_dependency "rubocop"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test_changes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- George Mendoza
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: slop
|
@@ -16,28 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.2.0
|
20
20
|
type: :runtime
|
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:
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: pry
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 0.10.1
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 0.10.1
|
26
|
+
version: 4.2.0
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: rake
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|