utils 0.0.90 → 0.0.91

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76ff8da586e62afa721fa2307dd0c14f34f8e05a
4
- data.tar.gz: 6a2463d808d365b64a4c9cb85fc25d782ec589a9
3
+ metadata.gz: 854fd74d6f79d6fcbc29d4c30a814c37a40a5887
4
+ data.tar.gz: 8ed814f1b575f17261677843307e855c4c6dc3b6
5
5
  SHA512:
6
- metadata.gz: ac57a390eab0bd9b5a55f22f55820d4ab37a0cee646e87dcd112359a47e09fb44daff8613021f8eb33728a2a71c888c1d3e00c8a10445ac2fe8df1d615b792eb
7
- data.tar.gz: 0b0e977a737f73ae7445a12bf29cbedfc7da32ea73a3d12e2290e0323cd9235e35ca78efc8ff7e0925d6ff55cb14fda33c81dc6f9c397f38942381156dd2ee20
6
+ metadata.gz: ef303f75b702b0a9ebc1435187e5ffe65923399dfa93dba81196ecb50cef4e3af60246fa0ad92532e92803434db736616d4d4e9266d9cf47e1af51410b75c467
7
+ data.tar.gz: 6821673309914075f1161c6868169844a612e9bcd10bfd92e6a371fda317cc52c21f972bd5aedf4b4abe3100c1dd64c5fb0f153a69c400c61159fcfae0efb843
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.90
1
+ 0.0.91
data/bin/brakeman2err CHANGED
@@ -8,7 +8,7 @@ include Tins::GO
8
8
  opt = go 'c'
9
9
  if opt['c']
10
10
  brakeman = `bundle exec which brakeman`.full? or fail "cannot find brakeman in path"
11
- system *%w'bundle exec brakeman -q -o .brakeman.json' or fail "calling brakeman failed"
11
+ system *%w'bundle exec brakeman -q -o -s brakeman_ignore --separate-models .brakeman.json' or fail "calling brakeman failed"
12
12
  end
13
13
  results = JSON File.read('.brakeman.json'), object_class: JSON::GenericObject
14
14
  puts "Found #{results.errors.size} errors and #{results.warnings.size} warnings.",
@@ -18,6 +18,6 @@ for error in results.errors
18
18
  end
19
19
  for warning in results.warnings
20
20
  puts "#{warning.file}:#{warning.line}",
21
- "#{warning.warning_type} (#{warning.confidence}) #{warning.message.inspect}",
22
- warning.code
21
+ "#{warning.warning_type} (#{warning.confidence}) #{warning.message.inspect}",
22
+ warning.code, "See: #{warning.link}"
23
23
  end
data/lib/utils/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Utils
2
2
  # Utils version
3
- VERSION = '0.0.90'
3
+ VERSION = '0.0.91'
4
4
  VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
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.90"
5
+ s.version = "0.0.91"
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-06"
9
+ s.date = "2013-08-16"
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.90
4
+ version: 0.0.91
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-06 00:00:00.000000000 Z
11
+ date: 2013-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar