adlint-postfilter 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +5 -0
- data/NEWS +7 -0
- data/README +2 -1
- data/bin/adlint_flt +6 -2
- data/lib/adlint/postfilter/version.rb +3 -3
- metadata +4 -4
data/ChangeLog
CHANGED
data/NEWS
CHANGED
@@ -22,6 +22,13 @@
|
|
22
22
|
|
23
23
|
++
|
24
24
|
|
25
|
+
=== 1.1.0 is released (2012-04-18)
|
26
|
+
|
27
|
+
==== Changes since the 1.0.0 release
|
28
|
+
|
29
|
+
* Fix bad copyright notice
|
30
|
+
* Add `--config' option to specify pathname of the configuration file
|
31
|
+
|
25
32
|
=== 1.0.0 is released (2012-04-17)
|
26
33
|
|
27
34
|
This is the initial GA release of adlint-postfilter.
|
data/README
CHANGED
@@ -45,12 +45,13 @@ useless warning messages.
|
|
45
45
|
|
46
46
|
Analysis Options:
|
47
47
|
-A, --analyze Execute AdLint analysis command
|
48
|
-
-
|
48
|
+
-V, --src-vpath DIR Use DIR as VPATH (CMA only)
|
49
49
|
|
50
50
|
Other Options:
|
51
51
|
-i, --install Generate adlint_filter.yml template
|
52
52
|
-t, --transform Transform project's GNUmakefile
|
53
53
|
-f, --force Force to overwrite existing files
|
54
|
+
-c, --config FILE Use FILE as adlint-postfilter config
|
54
55
|
--version Display version information
|
55
56
|
--copyright Display copyright information
|
56
57
|
--prefix Display prefix directory of adlint-postfilter
|
data/bin/adlint_flt
CHANGED
@@ -60,6 +60,7 @@ Other Options:
|
|
60
60
|
-i, --install Generate adlint_filter.yml template
|
61
61
|
-t, --transform Transform project's GNUmakefile
|
62
62
|
-f, --force Force to overwrite existing files
|
63
|
+
-c, --config FILE Use FILE as adlint-postfilter config
|
63
64
|
--version Display version information
|
64
65
|
--copyright Display copyright information
|
65
66
|
--prefix Display prefix directory of adlint-postfilter
|
@@ -73,6 +74,7 @@ parser = GetoptLong.new(["--analyze", "-A", GetoptLong::NO_ARGUMENT],
|
|
73
74
|
["--install", "-i", GetoptLong::NO_ARGUMENT],
|
74
75
|
["--transform", "-t", GetoptLong::NO_ARGUMENT],
|
75
76
|
["--force", "-f", GetoptLong::NO_ARGUMENT],
|
77
|
+
["--config", "-c", GetoptLong::REQUIRED_ARGUMENT],
|
76
78
|
["--version", GetoptLong::NO_ARGUMENT],
|
77
79
|
["--copyright", GetoptLong::NO_ARGUMENT],
|
78
80
|
["--prefix", GetoptLong::NO_ARGUMENT],
|
@@ -81,8 +83,8 @@ parser.quiet = true
|
|
81
83
|
|
82
84
|
begin
|
83
85
|
actions = {}
|
84
|
-
config_fpath = Pathname.new("
|
85
|
-
makefile_fpath = Pathname.new("
|
86
|
+
config_fpath = Pathname.new("adlint_postfilter.yml")
|
87
|
+
makefile_fpath = Pathname.new("GNUmakefile")
|
86
88
|
command_line = nil
|
87
89
|
force_overwrite = false
|
88
90
|
src_vpath = nil
|
@@ -101,6 +103,8 @@ begin
|
|
101
103
|
actions[:transform] = true
|
102
104
|
when "--force"
|
103
105
|
force_overwrite = true
|
106
|
+
when "--config"
|
107
|
+
config_fpath = Pathname.new(optarg)
|
104
108
|
when "--version"
|
105
109
|
puts POSTFILTER_VERSION, AdLint::Postfilter::AUTHOR
|
106
110
|
exit 0
|
@@ -34,9 +34,9 @@ module AdLint #:nodoc:
|
|
34
34
|
module Postfilter #:nodoc:
|
35
35
|
|
36
36
|
MAJOR_VERSION = 1
|
37
|
-
MINOR_VERSION =
|
38
|
-
PATCH_VERSION =
|
39
|
-
RELEASE_DATE = "2012-04-
|
37
|
+
MINOR_VERSION = 1
|
38
|
+
PATCH_VERSION = 0
|
39
|
+
RELEASE_DATE = "2012-04-18"
|
40
40
|
|
41
41
|
SHORT_VERSION = "#{MAJOR_VERSION}.#{MINOR_VERSION}.#{PATCH_VERSION}"
|
42
42
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adlint-postfilter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-04-
|
12
|
+
date: 2012-04-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: adlint
|
16
|
-
requirement: &
|
16
|
+
requirement: &79195730 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 1.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *79195730
|
25
25
|
description: ! 'An ad-hoc filtering wrapper for AdLint to suppress useless warning
|
26
26
|
messages.
|
27
27
|
|