badge 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/badge/base.rb +1 -1
- data/lib/badge/options.rb +5 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b76f289f68758fca7336bcc65e74f3355cd8093
|
4
|
+
data.tar.gz: 0dd1487b77b8ffa9bbbbd4f7add644dd873177f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6046d98ed9461aa1a417e6c0732d7e4640db279b4fa03d395474ae16f773ccdbf7ea610b04e782a6292bd04981ac885a23d2f5156e53af4fd3eacfb971abd6c
|
7
|
+
data.tar.gz: c69c1f80f0a9e0798432e0cc61479a025d5aaee47c526db59bcf8d73547cc7d75539947217988e8005c79aa06c37f5765fbab5faddbc5378ce710d22f0cb749e
|
data/lib/badge/base.rb
CHANGED
data/lib/badge/options.rb
CHANGED
@@ -32,7 +32,7 @@ module Badge
|
|
32
32
|
FastlaneCore::ConfigItem.new(key: :badge_gravity,
|
33
33
|
description: "Position of the badge on icon. Default: SouthEast - Choices include: #{AVAILABLE_GRAVITIES.join(', ')}",
|
34
34
|
verify_block: proc do |value|
|
35
|
-
UI.user_error!("badge_gravity #{value} is invalid") unless AVAILABLE_GRAVITIES.include?
|
35
|
+
UI.user_error!("badge_gravity #{value} is invalid") unless AVAILABLE_GRAVITIES.map(&:upcase).include? value.upcase
|
36
36
|
end,
|
37
37
|
optional: true),
|
38
38
|
|
@@ -50,7 +50,10 @@ module Badge
|
|
50
50
|
optional: true),
|
51
51
|
|
52
52
|
FastlaneCore::ConfigItem.new(key: :shield_gravity,
|
53
|
-
description: "Position of shield on icon. Default: North - Choices include:
|
53
|
+
description: "Position of shield on icon. Default: North - Choices include: #{AVAILABLE_GRAVITIES.join(', ')}",
|
54
|
+
verify_block: proc do |value|
|
55
|
+
UI.user_error!("badge_gravity #{value} is invalid") unless AVAILABLE_GRAVITIES.map(&:upcase).include? value.upcase
|
56
|
+
end,
|
54
57
|
optional: true),
|
55
58
|
|
56
59
|
FastlaneCore::ConfigItem.new(key: :shield_scale,
|
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.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Griesser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-05 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.9.
|
69
|
+
description: 0.9.1
|
70
70
|
email:
|
71
71
|
- daniel.griesser.86@gmail.com
|
72
72
|
executables:
|