fastlane-plugin-branding 0.1.1 → 0.1.2

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: 3f6aaf67a5a8ca8c88c88d45ca4881f4035f1abc
4
- data.tar.gz: 2291d2750f5de36dce068c6bd8f7a32da17223dc
3
+ metadata.gz: e577ccf3dd96580ddb2e6b04a57b47f51b8d4b28
4
+ data.tar.gz: 9e80c61a972ef94b584ccbbf1db5f144c09a2fa2
5
5
  SHA512:
6
- metadata.gz: c5e36d24a9c5c61b6e2001c1960ce69c1e26fbe13bef5eafcc779c6ca4997ed5a32c9814f16b8b27373c45d1034f6aaa693d7c96b7abf0f6de2fe4e8352f418b
7
- data.tar.gz: f6ca7ac324edd7bafd26d588ce852aba92b92e5c9faf215f24caceacee114ce3615e50edd8a62e370e0fb3294ed8554d17bdc605ac005c216ead6940f670210c
6
+ metadata.gz: a2ba67a35808acf323ac8370ae2ce3c9f766e8b0c1e71d30c0d085b9177472c45f5437ba9fc7ff66c2f0b332f242de6d6ffbb081d9ac10537c5f086c05e5cac0
7
+ data.tar.gz: 9dc27f6a62ca333157f2470ff77ec5c597d411f72ade3f57efadad187ff30bca14dce036c580f1dce56bdaf62e7d1d1eb9be92daf7b4552c9d6e3c3aaa5e922b
data/README.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-branding)
4
4
 
5
+ Render your App's icon to the terminal whenever you run fastlane!
6
+
7
+ [![asciicast](https://asciinema.org/a/6xe3kkh6a6qm5v8awvp08fm3q.png)](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
- ## About branding
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
- Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
22
-
23
- **Note to author:** Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
22
+ ```ruby
23
+ platform :ios do
24
+ before_all do
25
+ branding
26
+ end
27
+ end
28
+ ```
24
29
 
25
- ## Run tests for this plugin
30
+ ## Why?
26
31
 
27
- To run both the tests, and code style validation, run
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
- To automatically fix many of the styling issues, use
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 / 6
8
+ ideal_width = cols / 3
9
+
9
10
  if path = best_icon(ideal_width)
10
11
  logo = ::Branding::Logo.new(path)
11
- logo.algo = :hires
12
+ logo.algo = :normal
12
13
  logo.print
13
14
  puts
14
15
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Branding
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  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.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-08 00:00:00.000000000 Z
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.5.1
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