slacktail 0.0.1 → 0.0.2
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/README.md +31 -5
- data/lib/slacktail/has_text.rb +3 -1
- data/lib/slacktail/message_view.rb +1 -1
- data/lib/slacktail/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2e33683910867a751ceb282ae4c4d3ce24fff694a54b7a1d54038301e9fa2d70
|
|
4
|
+
data.tar.gz: 79c8568107c9ff8374514dd56e6dbc85f815750b7d9b95dcb0ee4026e844c2dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eb2530f19b0d19657b255442152a55be621f2598911b2b837cad816a710fd406c9485da98408b1e6767af8016031d42b8394c1dc1a5b2766c89171de77aef876
|
|
7
|
+
data.tar.gz: 1ced8967e9816012bbb7fb244b41a5d644ee4bac12c83d9d64319fff7e5c40fe91005ff3519e10ad18d28dc0bb6723a7ea94a76606f0d24fed27e621885e4b10
|
data/README.md
CHANGED
|
@@ -3,14 +3,17 @@ Slacktail
|
|
|
3
3
|
|
|
4
4
|
[](https://badge.fury.io/rb/slacktail)
|
|
5
5
|
[](https://travis-ci.com/DannyBen/slacktail)
|
|
6
|
-
[](https://codeclimate.com/github/DannyBen/slacktail/maintainability)
|
|
9
7
|
|
|
10
8
|
Slacktail is a single-purpose command line utility for follwoing messages
|
|
11
9
|
sent to your Slack organization chat.
|
|
12
10
|
|
|
13
|
-
|
|
11
|
+
|
|
12
|
+
Demo
|
|
13
|
+
--------------------------------------------------
|
|
14
|
+
|
|
15
|
+

|
|
16
|
+
|
|
14
17
|
|
|
15
18
|
Installation
|
|
16
19
|
--------------------------------------------------
|
|
@@ -41,10 +44,33 @@ Follow all channels:
|
|
|
41
44
|
|
|
42
45
|
$ slacktail
|
|
43
46
|
|
|
44
|
-
Follow specific channels
|
|
47
|
+
Follow specific channels:
|
|
45
48
|
|
|
46
49
|
$ slacktail general development lobby
|
|
47
50
|
|
|
51
|
+
Full Usage Help:
|
|
52
|
+
|
|
53
|
+
$ slacktail --help
|
|
54
|
+
Show and follow slack messages in real time
|
|
55
|
+
|
|
56
|
+
Usage:
|
|
57
|
+
slacktail [CHANNELS...]
|
|
58
|
+
slacktail (-h|--help|--version)
|
|
59
|
+
|
|
60
|
+
Options:
|
|
61
|
+
-h --help
|
|
62
|
+
Show this help
|
|
63
|
+
|
|
64
|
+
--version
|
|
65
|
+
Show version number
|
|
66
|
+
|
|
67
|
+
Parameters:
|
|
68
|
+
CHANNELS
|
|
69
|
+
Channels to follow
|
|
70
|
+
|
|
71
|
+
Examples:
|
|
72
|
+
slacktail
|
|
73
|
+
slacktail general debug
|
|
48
74
|
|
|
49
75
|
|
|
50
76
|
---
|
data/lib/slacktail/has_text.rb
CHANGED
|
@@ -5,7 +5,7 @@ module Slacktail
|
|
|
5
5
|
def render
|
|
6
6
|
prefix = "!txt#{color}!▌!txtrst! "
|
|
7
7
|
now = Time.now.strftime "%H:%M"
|
|
8
|
-
say "#{prefix}!txtcyn!#{now}
|
|
8
|
+
say "#{prefix}!txtcyn!#{now} : !bldcyn!@#{user}!txtcyn! : #{channel}".strip
|
|
9
9
|
|
|
10
10
|
items.each do |line|
|
|
11
11
|
if line.is_a? String
|
data/lib/slacktail/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: slacktail
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Danny Ben Shitrit
|
|
@@ -80,7 +80,7 @@ dependencies:
|
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '0.4'
|
|
83
|
-
description: Slacktail is a single-purpose command line utility for
|
|
83
|
+
description: Slacktail is a single-purpose command line utility for following messages
|
|
84
84
|
sent to your Slack organization chat.
|
|
85
85
|
email: db@dannyben.com
|
|
86
86
|
executables:
|
|
@@ -125,5 +125,5 @@ rubyforge_project:
|
|
|
125
125
|
rubygems_version: 2.7.6
|
|
126
126
|
signing_key:
|
|
127
127
|
specification_version: 4
|
|
128
|
-
summary: Command line
|
|
128
|
+
summary: Command line utility for following your Slack chat from the terminal
|
|
129
129
|
test_files: []
|