badge 0.1.0 → 0.1.1

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: 28cdb0b407de805ff7f3e9f5dbf1d5cc9bb8cc8c
4
- data.tar.gz: 7c71842dd19ea862c4d8b3c1410a4567b4e89cbc
3
+ metadata.gz: d15b282affc1dc423cd7567106fe3c1cabc5de5e
4
+ data.tar.gz: e16c8f1de2c2148d24c75fea145bdf2f00f90a3c
5
5
  SHA512:
6
- metadata.gz: 1f7929a37a7505fca9675d35731dc2449cecca2254e9d15254cc309e96e758fc2a3d6203dbb90dbd4f136652fbe7e384eede354e562a780fe908859a37f0707e
7
- data.tar.gz: 7e4cc3190d857383158fd3d13ab6c971f558da9774238ed3a12ef0b81f3d98ddb17b445e36ae7cb335a110c00192609e68d63c1dbe509421ce7272c7ca0b301c
6
+ metadata.gz: b427dd466567806f44131ca096e4e2874a1aa348cd172df412f1131c9074bab2b887677cf23bb8412580ed260d601034b74edcc4cbf0a9438d4d282ed242fb76
7
+ data.tar.gz: e2ad830e5271496f8da62f1ec29635bf2c4aeba3d4bc3c69e3f16e9d420462fedb577f839ee5f2b4d24b627bc2c8cd903feb67ed7b94d20fa73d9cf80b6139cd
data/bin/badge CHANGED
@@ -36,10 +36,10 @@ class BadgeApplication
36
36
  c.action do |args, options|
37
37
  params = {}
38
38
  params[:dark] = options.dark
39
- params[:custom_badge] = options.custom
39
+ params[:custom] = options.custom
40
40
  params[:no_badge] = options.no_badge
41
- params[:shield_string] = options.shield
42
- params[:alpha_badge] = options.alpha
41
+ params[:shield] = options.shield
42
+ params[:alpha] = options.alpha
43
43
  Badge::Runner.new.run('.', params)
44
44
  end
45
45
  end
@@ -1,6 +1,6 @@
1
1
  module Badge
2
2
 
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  DESCRIPTION = "Add a badge overlay to your ios app icon"
5
5
 
6
6
  def self.root
@@ -16,7 +16,7 @@ module Badge
16
16
  shield = nil
17
17
  begin
18
18
  Timeout.timeout(Badge.shield_io_timeout) do
19
- shield = load_shield(options[:shield_string]) unless not options[:shield_string]
19
+ shield = load_shield(options[:shield]) unless not options[:shield]
20
20
  end
21
21
  rescue Timeout::Error
22
22
  Helper.log.error "Error loading image from shield.io timeout reached. Skipping Shield. Use --verbose for more info".red
@@ -28,7 +28,7 @@ module Badge
28
28
  icon = MiniMagick::Image.new(full_path)
29
29
 
30
30
  result = MiniMagick::Image.new(full_path)
31
- result = add_badge(options[:custom_badge], options[:dark], icon, options[:alpha_badge]) unless options[:no_badge]
31
+ result = add_badge(options[:custom], options[:dark], icon, options[:alpha]) unless options[:no_badge]
32
32
 
33
33
  result = add_shield(icon, result, shield) unless not shield
34
34
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: badge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Griesser
@@ -58,7 +58,7 @@ dependencies:
58
58
  - - ~>
59
59
  - !ruby/object:Gem::Version
60
60
  version: 4.0.2
61
- description: 0.1.0
61
+ description: 0.1.1
62
62
  email:
63
63
  - daniel.griesser.86@gmail.com
64
64
  executables: