slackdo 0.2.0 → 0.2.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
  SHA1:
3
- metadata.gz: f8c46b95ebede93063b5a6654dcb735ec72fbb75
4
- data.tar.gz: b711fb41642b659b5f2901ea01224b65a1e30aed
3
+ metadata.gz: b3bf3dc9d2e78ba03e75ea8a1bb8e0f1f50b859e
4
+ data.tar.gz: 3c30f6f32cd821a9aa931ff7b2c74b55a1ad2776
5
5
  SHA512:
6
- metadata.gz: efb5a86913d731950ed77883338728b74818ea2aa56ff96f882aba3eaf6c5c112c0dbc4df158234fdfae5df24cf93478194179989c693c9dd49dbbe4c4fa16be
7
- data.tar.gz: 9ee2a74fbaba73dc43f4034894815d1a95d2e9650933ba8a883166276c6f64a93642e7fb6f7ff8aab758fa07e0f632d3e8594cd470e11c60538b72e150b754c9
6
+ metadata.gz: fbe167ade57ec60275b628a5a812e397dbd724e3e47c1380632288d493068c8b4f231667c87f2180f6d97bf39a866c82f12a351e61b488649e000cba5a26f47c
7
+ data.tar.gz: 2658a83a948b482526ec031c637f4087f1f87510685351b804569854cd526189fae4bef268790070b0b8cc9d2784e4f07c1c04eb795898a05a0bbbc147832421
data/.DS_Store ADDED
Binary file
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- slackdo (0.2.0)
4
+ slackdo (0.2.1)
5
5
  highline
6
6
  slack-notifier
7
7
 
data/README.md CHANGED
@@ -1,21 +1,60 @@
1
1
  # Slackdo
2
+ ![example](img/task-example.png)
3
+
2
4
  SlackDO is a simple CLI tool that allows you to send TODO items and Reminders to yourself on Slack through an incoming webhook.
3
5
 
4
6
  ## Installation
5
7
 
6
- ```ruby
8
+ ```
7
9
  gem install slackdo
8
10
  ```
9
11
 
12
+ In order to use slackdo you still have to add the rubygem's bin location to your $PATH.
13
+
14
+ eg. for OSX:
15
+
16
+ ```bash
17
+ export PATH=$PATH:/usr/local/lib/ruby/gems/2.4.0/gems/slackdo-0.2.0/bin
18
+ ```
19
+
20
+ To get to know your general gem installation path use the following for your general rubygems information and look for the GEM PATHS variable:
21
+
22
+ ```bash
23
+ $ gem env
24
+ ```
25
+
26
+ Or just check the specific gem information to see the location where it's installed:
27
+
28
+ ```bash
29
+ $ gem which slackdo
30
+ /usr/local/lib/ruby/gems/2.4.0/gems/slackdo-0.2.0/lib/slackdo.rb
31
+ ```
32
+
33
+ This indicates that your gem binary is located at `/usr/local/lib/ruby/gems/2.4.0/gems/slackdo-0.2.0/bin`.
34
+
10
35
  ## Usage
11
36
 
12
- First thing you should do is configure your incoming webhook by doing `slackdo webhook`.
37
+ First thing you should do is configure your incoming webhook by doing the following:
38
+
39
+ ```
40
+ slackdo webhook
41
+ ```
42
+
43
+ After that you're all set to go.
44
+ Add a new TODO item by using
13
45
 
14
- After that you're all set to go. Add a new TODO item by typing `slackdo task` or add a reminder with `slackdo reminder`.
46
+ ```ruby
47
+ slackdo task
48
+ ```
49
+ or add a reminder with
50
+
51
+ ```ruby
52
+ slackdo reminder
53
+ ```
15
54
 
16
55
  ## Development
17
56
 
18
- Slackdo is still under development and might still be buggy. Feel free to add support to the project.
57
+ Slackdo is still under development and might still be buggy. Feel free to contribute to the project.
19
58
 
20
59
  ## Contributing
21
60
 
Binary file
@@ -1,3 +1,3 @@
1
1
  module Slackdo
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
data/lib/slackdo.rb CHANGED
@@ -5,7 +5,7 @@ require 'slack-notifier'
5
5
  module Slackdo
6
6
  class Webhook
7
7
  def create_directory
8
- system 'mkdir ~/.slackdo'
8
+ system 'mkdir ~/.slackdo &> /dev/null'
9
9
  end
10
10
  def configure_webhook
11
11
  cli = HighLine.new
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.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - segersniels
@@ -88,6 +88,7 @@ executables: []
88
88
  extensions: []
89
89
  extra_rdoc_files: []
90
90
  files:
91
+ - ".DS_Store"
91
92
  - ".gitignore"
92
93
  - ".rspec"
93
94
  - ".travis.yml"
@@ -99,6 +100,7 @@ files:
99
100
  - bin/console
100
101
  - bin/setup
101
102
  - bin/slackdo
103
+ - img/task-example.png
102
104
  - lib/slackdo.rb
103
105
  - lib/slackdo/version.rb
104
106
  - slackdo.gemspec