security-report-parser 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +1 -1
- data/lib/parser/event_description.rb +8 -4
- data/lib/parser/version.rb +1 -1
- metadata +4 -9
- data/bin/stubs/autospec +0 -16
- data/bin/stubs/htmldiff +0 -16
- data/bin/stubs/ldiff +0 -16
- data/bin/stubs/rake +0 -16
- data/bin/stubs/rspec +0 -16
data/README.md
CHANGED
@@ -11,10 +11,14 @@ module Parser
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def event_type
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
14
|
+
case @description
|
15
|
+
when /Снятие/
|
16
|
+
:open
|
17
|
+
when /Постановка/
|
18
|
+
:close
|
19
|
+
else
|
20
|
+
:unknown
|
21
|
+
end
|
18
22
|
end
|
19
23
|
|
20
24
|
private
|
data/lib/parser/version.rb
CHANGED
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: security-report-parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Timur Vafin
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -153,11 +153,6 @@ files:
|
|
153
153
|
- README.md
|
154
154
|
- Rakefile
|
155
155
|
- bin/security-report-parser
|
156
|
-
- bin/stubs/autospec
|
157
|
-
- bin/stubs/htmldiff
|
158
|
-
- bin/stubs/ldiff
|
159
|
-
- bin/stubs/rake
|
160
|
-
- bin/stubs/rspec
|
161
156
|
- lib/parser.rb
|
162
157
|
- lib/parser/checker.rb
|
163
158
|
- lib/parser/cli.rb
|
@@ -192,7 +187,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
192
187
|
- !ruby/object:Gem::Version
|
193
188
|
segments:
|
194
189
|
- 0
|
195
|
-
hash:
|
190
|
+
hash: -926868982450480843
|
196
191
|
version: '0'
|
197
192
|
none: false
|
198
193
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -201,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
201
196
|
- !ruby/object:Gem::Version
|
202
197
|
segments:
|
203
198
|
- 0
|
204
|
-
hash:
|
199
|
+
hash: -926868982450480843
|
205
200
|
version: '0'
|
206
201
|
none: false
|
207
202
|
requirements: []
|
data/bin/stubs/autospec
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
#
|
3
|
-
# This file was generated by Bundler.
|
4
|
-
#
|
5
|
-
# The application 'autospec' is installed as part of a gem, and
|
6
|
-
# this file is here to facilitate running it.
|
7
|
-
#
|
8
|
-
|
9
|
-
require 'pathname'
|
10
|
-
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../../Gemfile",
|
11
|
-
Pathname.new(__FILE__).realpath)
|
12
|
-
|
13
|
-
require 'rubygems'
|
14
|
-
require 'bundler/setup'
|
15
|
-
|
16
|
-
load Gem.bin_path('rspec-core', 'autospec')
|
data/bin/stubs/htmldiff
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
#
|
3
|
-
# This file was generated by Bundler.
|
4
|
-
#
|
5
|
-
# The application 'htmldiff' is installed as part of a gem, and
|
6
|
-
# this file is here to facilitate running it.
|
7
|
-
#
|
8
|
-
|
9
|
-
require 'pathname'
|
10
|
-
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../../Gemfile",
|
11
|
-
Pathname.new(__FILE__).realpath)
|
12
|
-
|
13
|
-
require 'rubygems'
|
14
|
-
require 'bundler/setup'
|
15
|
-
|
16
|
-
load Gem.bin_path('diff-lcs', 'htmldiff')
|
data/bin/stubs/ldiff
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
#
|
3
|
-
# This file was generated by Bundler.
|
4
|
-
#
|
5
|
-
# The application 'ldiff' is installed as part of a gem, and
|
6
|
-
# this file is here to facilitate running it.
|
7
|
-
#
|
8
|
-
|
9
|
-
require 'pathname'
|
10
|
-
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../../Gemfile",
|
11
|
-
Pathname.new(__FILE__).realpath)
|
12
|
-
|
13
|
-
require 'rubygems'
|
14
|
-
require 'bundler/setup'
|
15
|
-
|
16
|
-
load Gem.bin_path('diff-lcs', 'ldiff')
|
data/bin/stubs/rake
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
#
|
3
|
-
# This file was generated by Bundler.
|
4
|
-
#
|
5
|
-
# The application 'rake' is installed as part of a gem, and
|
6
|
-
# this file is here to facilitate running it.
|
7
|
-
#
|
8
|
-
|
9
|
-
require 'pathname'
|
10
|
-
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../../Gemfile",
|
11
|
-
Pathname.new(__FILE__).realpath)
|
12
|
-
|
13
|
-
require 'rubygems'
|
14
|
-
require 'bundler/setup'
|
15
|
-
|
16
|
-
load Gem.bin_path('rake', 'rake')
|
data/bin/stubs/rspec
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
#
|
3
|
-
# This file was generated by Bundler.
|
4
|
-
#
|
5
|
-
# The application 'rspec' is installed as part of a gem, and
|
6
|
-
# this file is here to facilitate running it.
|
7
|
-
#
|
8
|
-
|
9
|
-
require 'pathname'
|
10
|
-
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../../Gemfile",
|
11
|
-
Pathname.new(__FILE__).realpath)
|
12
|
-
|
13
|
-
require 'rubygems'
|
14
|
-
require 'bundler/setup'
|
15
|
-
|
16
|
-
load Gem.bin_path('rspec-core', 'rspec')
|