slackdo 0.3.1 → 0.3.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: 12b080b35b45b1272d182d03b24a7c203cd27a1e
4
- data.tar.gz: ad488697f3f6bd554cc918e94d9a14ce52860442
3
+ metadata.gz: 4131a40592d0ffe36d85a9b41961954977549986
4
+ data.tar.gz: 2911733a592a995759833263b365b73dcb7db836
5
5
  SHA512:
6
- metadata.gz: b83205bcaa8dd678a2b37cb1eb3e4954421a201d5185d6558f7c21a738a53113675203e406a5e6dc016becbfff17b18c6cbd9083ca76e83936f78a416715e191
7
- data.tar.gz: 695b1898c35a06a11d0d4359b93870b13a9d1f7ee1177119eede154d8910d69f11eb53a69532780b93378a71c082e679f09c0db37aa60462eeb5cb3ba89181de
6
+ metadata.gz: b87cf9b97c3df3cd23723dc398d7622b2de90d1a20b5cef679cec5f5a543480d75857268d78871bc83ea18f5086f2e9df90ef5959697d003a55404f32f4ea0bf
7
+ data.tar.gz: f9a5394036103023cf3ecefb31209005977fb6c6d191cbc2012fc824ca455292170b2a868c80d2d2b34c3301281360deb894dff332caa11bfa25b481e6be16d1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- slackdo (0.3.1)
4
+ slackdo (0.3.2)
5
5
  highline
6
6
  json
7
7
  ruby-trello
data/README.md CHANGED
@@ -55,6 +55,12 @@ slackdo task
55
55
  ![example](img/slack-task.png)
56
56
  ![example](img/trello-card.png)
57
57
 
58
+ To disable the Trello integration again use:
59
+
60
+ ```
61
+ slackdo disable trello
62
+ ```
63
+
58
64
  ### Configuration
59
65
  The config file is located at `~/.slackdo/config.json` if you like to change things manually.
60
66
 
data/bin/slackdo CHANGED
@@ -9,8 +9,10 @@ case ARGV[0]
9
9
  when 'configure'
10
10
  config.configure_slack_webhook if ARGV[1] == 'slack'
11
11
  config.configure_trello_api if ARGV[1] == 'trello' && ARGV[2].nil?
12
- config.disable_trello if ARGV[1] == 'trello' && ARGV[2] == 'disable'
13
- config.enable_trello if ARGV[1] == 'trello' && ARGV[2] == 'enable'
12
+ when 'disable'
13
+ config.disable_trello if ARGV[1] == 'trello'
14
+ when 'enable'
15
+ config.enable_trello if ARGV[1] == 'trello'
14
16
  when 'task'
15
17
  slack = Slackdo::Task.new
16
18
  slack.add_task
@@ -1,3 +1,3 @@
1
1
  module Slackdo
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slackdo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - segersniels