nutrella 1.5.0 → 1.5.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 +4 -4
- data/CHANGELOG.md +7 -1
- data/README.md +6 -6
- data/lib/nutrella/task_board_name.rb +3 -3
- data/lib/nutrella/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7add4b79f183553908597ee654ab4b6eab29cbda1b429c6ced3d94da2d533ccc
|
|
4
|
+
data.tar.gz: b2dbc3a33c1a4c4c65cd377ab9d450a0553b8636d03521d5ef0e8767ec82280c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 978a5254670d43a7af9abef50a1878842c84c6dbb022998812d5d4450c6752216c28fa37880ac0a6799dc79b571222d6536cb218da78e8e5aeee4558f5f992aa
|
|
7
|
+
data.tar.gz: 5b2fc237ef01364c6598715f5889ca4e5dde29978843f8f2f132bbc3c4d2e2cadbf8522aa33bec4c43cc55107b8131a9a38b6fae2e1325c7b88d0850bedc1817
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
62
|
+
**Step 6**: Adjust configuration file (Optional)
|
|
63
63
|
|
|
64
|
-
|
|
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
|
-
|
|
72
|
-
|
|
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
|
data/lib/nutrella/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2020-04-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ruby-trello
|