utils 0.0.88 → 0.0.89
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/bin/brakeman2err +9 -10
- data/lib/utils/version.rb +1 -1
- data/utils.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab03c05c0dec74b0ff6eb2d2f6e8d0cb51ae9b4a
|
4
|
+
data.tar.gz: 10b64d6bf02a1004b1ba1fa7301d82a753a0ba29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1480c38914e8aba591115dc8a425951977bee6aad384d1c9943de2a88d626d6a5b0225bdd174b10445444b6c5a83964daf6e50192d2b8eb0f25209640690450
|
7
|
+
data.tar.gz: 13f35a5aa5632c67786a289235df7735327edea29ca51ee13a3abee598283205040e9cd24c4a5589fa3a64589431e864f1c820243002debb1faef6f283d8e5be
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.89
|
data/bin/brakeman2err
CHANGED
@@ -9,14 +9,13 @@ opt = go 'c'
|
|
9
9
|
if opt['c']
|
10
10
|
brakeman = `bundle exec which brakeman`.full? or fail "cannot find brakeman in path"
|
11
11
|
system *%w'bundle exec brakeman -q -o .brakeman.json' or fail "calling brakeman failed"
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
end
|
12
|
+
end
|
13
|
+
results = JSON File.read('.brakeman.json'), object_class: JSON::GenericObject
|
14
|
+
for error in results.errors
|
15
|
+
puts error.location, "Error #{error.error.inspect}"
|
16
|
+
end
|
17
|
+
for warning in results.warnings
|
18
|
+
puts "#{warning.file}:#{warning.line}",
|
19
|
+
"#{warning.warning_type} (#{warning.confidence}) #{warning.message.inspect}",
|
20
|
+
warning.code
|
22
21
|
end
|
data/lib/utils/version.rb
CHANGED
data/utils.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "utils"
|
5
|
-
s.version = "0.0.
|
5
|
+
s.version = "0.0.89"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Florian Frank"]
|
9
|
-
s.date = "2013-08-
|
9
|
+
s.date = "2013-08-05"
|
10
10
|
s.description = "This ruby gem provides some useful command line utilities"
|
11
11
|
s.email = "flori@ping.de"
|
12
12
|
s.executables = ["brakeman2err", "chroot-exec", "chroot-libs", "classify", "create_tags", "discover", "edit", "edit_wait", "enum", "errf", "git-empty", "irb_connect", "myex", "number_files", "on_change", "path", "probe", "remote_copy", "same_files", "search", "sedit", "ssh-tunnel", "strip_spaces", "unquarantine_apps", "untest", "utils-install-config", "utils-utilsrc", "vacuum_firefox_sqlite", "xmp"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.89
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Frank
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_hadar
|