badge 0.8.2 → 0.8.3

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: 9180c2c6b66a671f1618549df461c1991a6a6549
4
- data.tar.gz: 95d0de6b8f8fefe33dfeacac979879eb4d47e8d0
3
+ metadata.gz: 634c171444367823ade8b25dd57d5acc3f1db205
4
+ data.tar.gz: d15327718aa5ca6f9fdbb16c467c7d0860b06c15
5
5
  SHA512:
6
- metadata.gz: 4a9e6cb227d868a79490d747f60f865e5f170def2e27f3c4b5f22fab6ff9a3cac75e4233e6ec29dde80287a6c53470a704578f9880529483046c25517ff33d97
7
- data.tar.gz: 2bc8ad85b151db70c703b1ea43d0e91b1b40439099bf18d3526e20046e28a4c382f620543bb3722df4dc1a302bf45617a979479a6db23ae28dadce18e18a05f7
6
+ metadata.gz: 2c99091527da163c04b70464725917f7959b25ee6b0f541f713ea8cd33f1e1a282a21fcc4172dd9ce279ae083fca8247745e9eb2cf46391c9b491b2786e13dfd
7
+ data.tar.gz: 2db03ee2d24680fc6a51cb459ec65ce4c153574101bb1612dd49c944e4b2b6a1759b9fbb1814013b516385a576a6a797d2c0f097f1ed805a4454bccb0208b1e4
data/lib/badge/base.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Badge
2
2
 
3
- VERSION = "0.8.2"
3
+ VERSION = "0.8.3"
4
4
  DESCRIPTION = "Add a badge overlay to your app icon"
5
5
 
6
6
  def self.root
data/lib/badge/runner.rb CHANGED
@@ -77,8 +77,11 @@ module Badge
77
77
  UI.message "Did nothing... Enable --verbose for more info.".red
78
78
  end
79
79
 
80
- File.delete(shield) if File.exist?(shield)
81
- File.delete("#{shield.path}.png") if File.exist?("#{shield.path}.png")
80
+ if shield
81
+ File.delete(shield) if File.exist?(shield)
82
+ File.delete("#{shield.path}.png") if File.exist?("#{shield.path}.png")
83
+ end
84
+
82
85
  else
83
86
  UI.error "Could not find any app icons...".red
84
87
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: badge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Griesser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-14 00:00:00.000000000 Z
11
+ date: 2017-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: curb
@@ -66,7 +66,7 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '4.5'
69
- description: 0.8.2
69
+ description: 0.8.3
70
70
  email:
71
71
  - daniel.griesser.86@gmail.com
72
72
  executables: