nutrella 1.0.0 → 1.1.0
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 +5 -5
- data/.ruby-version +1 -1
- data/exe/nutrella +2 -1
- data/lib/nutrella/task_board_name.rb +14 -0
- data/lib/nutrella/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1293e7c5219675d114aeaf297747afe4e59d377453d7820f540a902840b61708
|
4
|
+
data.tar.gz: cad1baf4863b3d17d4bc59b2fd74b0086375d16442e1e14de0901b00a3ba3863
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8418ea70d0607dd2dc6e459b06807f8170afef1e157e6c40dd7cca6304f2acd374dfb710d6aa8d97c55856ae9784c7ef9454a38a787267074601f023865a125e
|
7
|
+
data.tar.gz: 96de4930fb211a2d84067350c342c70ad05c6398d73ee34821880bb9977f40828cfa31804ea9d36dd55e22186aead9baa6f58dabfb46149bb1c75445d0ee99ff
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.3.3
|
data/exe/nutrella
CHANGED
@@ -10,6 +10,20 @@ module Nutrella
|
|
10
10
|
|
11
11
|
abort "Sorry. Can't find an associated git branch here." unless status.success?
|
12
12
|
|
13
|
+
normalize(git_branch_name)
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.from_command_line(args)
|
17
|
+
git_branch_name = args[0]
|
18
|
+
|
19
|
+
abort "Sorry. Can't create a board without a branch name." unless git_branch_name.present?
|
20
|
+
|
21
|
+
normalize(git_branch_name)
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def self.normalize(git_branch_name)
|
13
27
|
git_branch_name.chomp.titleize
|
14
28
|
end
|
15
29
|
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.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alistair McKinnell
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-trello
|
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
version: '0'
|
139
139
|
requirements: []
|
140
140
|
rubyforge_project:
|
141
|
-
rubygems_version: 2.
|
141
|
+
rubygems_version: 2.7.7
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: A command line tool for creating a Trello Board based on the current git
|