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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b6f2488601d15d6765f39728624f5f7e0366771
4
- data.tar.gz: b5a6cf29901556154c84aa30040960aed5a82505
3
+ metadata.gz: ab03c05c0dec74b0ff6eb2d2f6e8d0cb51ae9b4a
4
+ data.tar.gz: 10b64d6bf02a1004b1ba1fa7301d82a753a0ba29
5
5
  SHA512:
6
- metadata.gz: f7af0d7c82fb1cd295330fae466de08153236c869e99d7b587d8d9f25427fa53dfa8c125a5597e577b8c594a7d978791f029f5da34d0aba9dfbd345db36ec170
7
- data.tar.gz: b8cbaa6b2370d57320652010eb6ead03b4c03bcc7b9fa1b711726c26e5e16bea020ca0a188efc3fe21170c204f4ce9eddeba22fe6b536098be47f8617cacc304
6
+ metadata.gz: f1480c38914e8aba591115dc8a425951977bee6aad384d1c9943de2a88d626d6a5b0225bdd174b10445444b6c5a83964daf6e50192d2b8eb0f25209640690450
7
+ data.tar.gz: 13f35a5aa5632c67786a289235df7735327edea29ca51ee13a3abee598283205040e9cd24c4a5589fa3a64589431e864f1c820243002debb1faef6f283d8e5be
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.88
1
+ 0.0.89
@@ -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
- else
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
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
@@ -1,6 +1,6 @@
1
1
  module Utils
2
2
  # Utils version
3
- VERSION = '0.0.88'
3
+ VERSION = '0.0.89'
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:
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "utils"
5
- s.version = "0.0.88"
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-02"
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.88
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-02 00:00:00.000000000 Z
11
+ date: 2013-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar