fastlane-plugin-branding 0.1.1 → 0.1.2
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 +4 -4
- data/README.md +19 -19
- data/lib/fastlane/plugin/branding/actions/branding_action.rb +3 -2
- data/lib/fastlane/plugin/branding/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e577ccf3dd96580ddb2e6b04a57b47f51b8d4b28
|
4
|
+
data.tar.gz: 9e80c61a972ef94b584ccbbf1db5f144c09a2fa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2ba67a35808acf323ac8370ae2ce3c9f766e8b0c1e71d30c0d085b9177472c45f5437ba9fc7ff66c2f0b332f242de6d6ffbb081d9ac10537c5f086c05e5cac0
|
7
|
+
data.tar.gz: 9dc27f6a62ca333157f2470ff77ec5c597d411f72ade3f57efadad187ff30bca14dce036c580f1dce56bdaf62e7d1d1eb9be92daf7b4552c9d6e3c3aaa5e922b
|
data/README.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
[](https://rubygems.org/gems/fastlane-plugin-branding)
|
4
4
|
|
5
|
+
Render your App's icon to the terminal whenever you run fastlane!
|
6
|
+
|
7
|
+
[](https://asciinema.org/a/6xe3kkh6a6qm5v8awvp08fm3q)
|
8
|
+
|
9
|
+
_Serious Branding!_
|
10
|
+
|
5
11
|
## Getting Started
|
6
12
|
|
7
13
|
This project is a [fastlane](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-branding`, add it to your project by running:
|
@@ -10,30 +16,24 @@ This project is a [fastlane](https://github.com/fastlane/fastlane) plugin. To ge
|
|
10
16
|
fastlane add_plugin branding
|
11
17
|
```
|
12
18
|
|
13
|
-
|
14
|
-
|
15
|
-
Add some branding to your fastlane output
|
16
|
-
|
17
|
-
**Note to author:** Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
|
18
|
-
|
19
|
-
## Example
|
19
|
+
Once you've added the plugin, add the `branding` action to your `Fastfile`.
|
20
|
+
Like this:
|
20
21
|
|
21
|
-
|
22
|
-
|
23
|
-
|
22
|
+
```ruby
|
23
|
+
platform :ios do
|
24
|
+
before_all do
|
25
|
+
branding
|
26
|
+
end
|
27
|
+
end
|
28
|
+
```
|
24
29
|
|
25
|
-
##
|
30
|
+
## Why?
|
26
31
|
|
27
|
-
|
32
|
+
You worked hard on your app, so show some pride and see your app's icon during the start of your fastlane runs.
|
28
33
|
|
29
|
-
|
30
|
-
rake
|
31
|
-
```
|
34
|
+
## Usage
|
32
35
|
|
33
|
-
|
34
|
-
```
|
35
|
-
rubocop -a
|
36
|
-
```
|
36
|
+
This plugin makes use of [branding.rb](https://github.com/snatchev/branding.rb) to render your AppIcon in glorious hi-res 240 colors!
|
37
37
|
|
38
38
|
## Issues and Feedback
|
39
39
|
|
@@ -5,10 +5,11 @@ module Fastlane
|
|
5
5
|
class BrandingAction < Action
|
6
6
|
def self.run(params)
|
7
7
|
rows, cols = ::Branding::Canvas.terminal_size
|
8
|
-
ideal_width = cols /
|
8
|
+
ideal_width = cols / 3
|
9
|
+
|
9
10
|
if path = best_icon(ideal_width)
|
10
11
|
logo = ::Branding::Logo.new(path)
|
11
|
-
logo.algo = :
|
12
|
+
logo.algo = :normal
|
12
13
|
logo.print
|
13
14
|
puts
|
14
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-branding
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Natchev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: branding
|
@@ -50,7 +50,7 @@ files:
|
|
50
50
|
- lib/fastlane/plugin/branding/actions/branding_action.rb
|
51
51
|
- lib/fastlane/plugin/branding/helper/branding_helper.rb
|
52
52
|
- lib/fastlane/plugin/branding/version.rb
|
53
|
-
homepage:
|
53
|
+
homepage: https://github.com/snatchev/fastlane-branding-plugin
|
54
54
|
licenses:
|
55
55
|
- MIT
|
56
56
|
metadata: {}
|
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
72
|
rubyforge_project:
|
73
|
-
rubygems_version: 2.4
|
73
|
+
rubygems_version: 2.6.4
|
74
74
|
signing_key:
|
75
75
|
specification_version: 4
|
76
76
|
summary: Add some branding to your fastlane output
|