nutrella 1.5.0 → 1.5.1

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
  SHA256:
3
- metadata.gz: 3ada2f552730cbf6221835584e054c6e11e97772d0a31ea615b82216555d4b09
4
- data.tar.gz: 199bdf1116434ed92d25c718fa8aee98e96c998427176508a55b81acf59bee01
3
+ metadata.gz: 7add4b79f183553908597ee654ab4b6eab29cbda1b429c6ced3d94da2d533ccc
4
+ data.tar.gz: b2dbc3a33c1a4c4c65cd377ab9d450a0553b8636d03521d5ef0e8767ec82280c
5
5
  SHA512:
6
- metadata.gz: 9d4bf1688c192e4a6b0f669d610931ec99c1ff95c9147b09e8a88e66933e8f53957cca69040cbd9462f867d6084bea00beb787e27f22fec8da227a18186ee8db
7
- data.tar.gz: f57b83dfb937e477a8f56d71bda8a6b3414252bab313d6c1f1c501b3d504ce691a99f5f4b0db3f2c4b7708bf96a87127ab6d53a6462c386f13cfea763f889731
6
+ metadata.gz: 978a5254670d43a7af9abef50a1878842c84c6dbb022998812d5d4450c6752216c28fa37880ac0a6799dc79b571222d6536cb218da78e8e5aeee4558f5f992aa
7
+ data.tar.gz: 5b2fc237ef01364c6598715f5889ca4e5dde29978843f8f2f132bbc3c4d2e2cadbf8522aa33bec4c43cc55107b8131a9a38b6fae2e1325c7b88d0850bedc1817
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.5.1] - 2020-04-27
10
+
11
+ #### Bug Fix
12
+
13
+ - Honour the specified named Trello board argument over the Trello board derived from the current git branch
14
+
9
15
  ## [1.5.0] - 2020-04-26
10
16
 
11
17
  #### New Features
@@ -26,7 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
26
32
 
27
33
  ## [1.3.0] - 2019-05-20
28
34
 
29
- #### Yanked
35
+ - Yanked
30
36
 
31
37
  ## [1.2.2] - 2019-04-27
32
38
 
data/README.md CHANGED
@@ -59,23 +59,23 @@ The configuration file should look like the following (don't use the keys below,
59
59
  enable_trello_app: false
60
60
  ```
61
61
 
62
- Finally, you can tweak your configuration:
62
+ **Step 6**: Adjust configuration file (Optional)
63
63
 
64
- 1. Adjust the launch_command configuration to fit your needs. For example, on macOS to open
65
- your Trello board in Firefox change your configuration to:
64
+ Adjust the `launch_command` configuration to fit your needs.
65
+ For example, to open your Trello board in Firefox change your configuration to:
66
66
 
67
67
  ```yaml
68
68
  launch_command: open -a firefox $url$
69
69
  ```
70
70
 
71
- 1. Adjust the enable_trello_app configuration to open boards in the Trello app. For example,
72
- if you have installed the Trello app on macOS to open your Trello board in the Trello app
73
- change your configuration to:
71
+ Adjust the `enable_trello_app` configuration to open boards in the Trello app.
72
+ To open your Trello board in the Trello app change your configuration to:
74
73
 
75
74
  ```yaml
76
75
  enable_trello_app: true
77
76
  ```
78
77
 
78
+
79
79
  ## Usage
80
80
 
81
81
  Create or open a Trello board based on the name of the current git branch:
@@ -10,12 +10,12 @@ module Nutrella
10
10
  #
11
11
  class TaskBoardName
12
12
  def self.board_name(args)
13
- git_branch_name, status = Open3.capture2("git rev-parse --abbrev-ref HEAD")
14
- return git_branch_name.chomp if status.success?
15
-
16
13
  git_branch_name = args[0]
17
14
  return git_branch_name if git_branch_name.present?
18
15
 
16
+ git_branch_name, status = Open3.capture2("git rev-parse --abbrev-ref HEAD")
17
+ return git_branch_name.chomp if status.success?
18
+
19
19
  abort "Sorry. Can't figure out a name for the board."
20
20
  end
21
21
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nutrella
4
- VERSION = "1.5.0"
4
+ VERSION = "1.5.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nutrella
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alistair McKinnell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-26 00:00:00.000000000 Z
11
+ date: 2020-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-trello