slack_messaging 2.0.0 → 2.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 +4 -4
- data/Guardfile +1 -1
- data/QuoteExample.png +0 -0
- data/README.md +4 -4
- data/lib/slack_messaging/version.rb +1 -1
- metadata +23 -24
- data/Gemfile.lock +0 -107
- data/OutputFile.png +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c6ace0c951c1c91d3e1e55ecfaf4c07979b7bbea225d89e55e73c63a1c51e5a4
|
|
4
|
+
data.tar.gz: 18d9438426df6aa452ba1946c773b63befe71e5e28d2f0e4dc761a14c41952f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c754f66c000c328697834a8d139587632849b94e4809e924847088a3c7a7b78f6ff3291e252235fdb28aa7d048e2ca8104c3b48764919fe4c65d0fe4c57832b6
|
|
7
|
+
data.tar.gz: 24c2befeb5629d2e7b6a40a3ca761c3dcc00a91cff80a415c2f32a311b9b9705800ee766a0b4c2e621ff011b3763997061eae1f977951803e96bd0dd78895785
|
data/Guardfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
guard :rspec, cmd: 'bundle exec rspec', all_on_start: true
|
|
1
|
+
guard :rspec, cmd: 'bundle exec rspec', all_on_start: true do
|
|
2
2
|
watch(%r{^spec/.+_spec\.rb$})
|
|
3
3
|
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
|
4
4
|
watch('spec/spec_helper.rb') { 'spec' }
|
data/QuoteExample.png
ADDED
|
Binary file
|
data/README.md
CHANGED
|
@@ -28,9 +28,9 @@ This project requires a config file that should look like this:
|
|
|
28
28
|
|
|
29
29
|
```
|
|
30
30
|
slack:
|
|
31
|
-
channel:
|
|
31
|
+
channel: <AWESOME CHANNEL NAME>
|
|
32
32
|
username: <AWESOME USER NAME>
|
|
33
|
-
webhook_url: <WEBHOOK URL>
|
|
33
|
+
webhook_url: <SLACK WEBHOOK URL>
|
|
34
34
|
icon_emoji: ":<SOME EMOJI>:"
|
|
35
35
|
```
|
|
36
36
|
|
|
@@ -66,7 +66,7 @@ slack-messaging slack "MESSAGE 1" "MESSAGE 2" "MESSAGE 3" ... "MESSAGE N"
|
|
|
66
66
|
|
|
67
67
|
The output of slack_messaging will look something like this:
|
|
68
68
|
|
|
69
|
-
<img src="https://github.com/emmasax4/slack_messaging/blob/main/
|
|
69
|
+
<img src="https://github.com/emmasax4/slack_messaging/blob/main/QuoteExample.png" width="500">
|
|
70
70
|
|
|
71
71
|
I hope you enjoy printing fun and specialized messages to Slack!
|
|
72
72
|
|
|
@@ -80,7 +80,7 @@ To submit a feature request, bug ticket, etc, please submit an official [GitHub
|
|
|
80
80
|
|
|
81
81
|
To report any security vulnerabilities, please view this project's [Security Policy](https://github.com/emmasax4/slack_messaging/security/policy).
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
When interacting with this repository, please follow [Contributor Covenant's Code of Conduct](https://contributor-covenant.org).
|
|
84
84
|
|
|
85
85
|
## Releasing
|
|
86
86
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: slack_messaging
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Emma Sax
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-01-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -70,30 +70,30 @@ dependencies:
|
|
|
70
70
|
name: httparty
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- - "
|
|
73
|
+
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '0'
|
|
75
|
+
version: '0.18'
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- - "
|
|
80
|
+
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '0'
|
|
82
|
+
version: '0.18'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: json
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
|
-
- - "
|
|
87
|
+
- - "~>"
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: '
|
|
89
|
+
version: '2.5'
|
|
90
90
|
type: :runtime
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
|
-
- - "
|
|
94
|
+
- - "~>"
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: '
|
|
96
|
+
version: '2.5'
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: rack
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -114,28 +114,28 @@ dependencies:
|
|
|
114
114
|
requirements:
|
|
115
115
|
- - "~>"
|
|
116
116
|
- !ruby/object:Gem::Version
|
|
117
|
-
version: '2.
|
|
117
|
+
version: '2.2'
|
|
118
118
|
type: :development
|
|
119
119
|
prerelease: false
|
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
121
|
requirements:
|
|
122
122
|
- - "~>"
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
|
-
version: '2.
|
|
124
|
+
version: '2.2'
|
|
125
125
|
- !ruby/object:Gem::Dependency
|
|
126
126
|
name: faker
|
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
|
128
128
|
requirements:
|
|
129
|
-
- - "
|
|
129
|
+
- - "~>"
|
|
130
130
|
- !ruby/object:Gem::Version
|
|
131
|
-
version: '
|
|
131
|
+
version: '2.15'
|
|
132
132
|
type: :development
|
|
133
133
|
prerelease: false
|
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
|
135
135
|
requirements:
|
|
136
|
-
- - "
|
|
136
|
+
- - "~>"
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
|
-
version: '
|
|
138
|
+
version: '2.15'
|
|
139
139
|
- !ruby/object:Gem::Dependency
|
|
140
140
|
name: guard-rspec
|
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -154,16 +154,16 @@ dependencies:
|
|
|
154
154
|
name: pry
|
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
|
156
156
|
requirements:
|
|
157
|
-
- - "
|
|
157
|
+
- - "~>"
|
|
158
158
|
- !ruby/object:Gem::Version
|
|
159
|
-
version: '0'
|
|
159
|
+
version: '0.13'
|
|
160
160
|
type: :development
|
|
161
161
|
prerelease: false
|
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
|
163
163
|
requirements:
|
|
164
|
-
- - "
|
|
164
|
+
- - "~>"
|
|
165
165
|
- !ruby/object:Gem::Version
|
|
166
|
-
version: '0'
|
|
166
|
+
version: '0.13'
|
|
167
167
|
- !ruby/object:Gem::Dependency
|
|
168
168
|
name: rake
|
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -201,10 +201,9 @@ extensions: []
|
|
|
201
201
|
extra_rdoc_files: []
|
|
202
202
|
files:
|
|
203
203
|
- Gemfile
|
|
204
|
-
- Gemfile.lock
|
|
205
204
|
- Guardfile
|
|
206
205
|
- LICENSE
|
|
207
|
-
-
|
|
206
|
+
- QuoteExample.png
|
|
208
207
|
- README.md
|
|
209
208
|
- Rakefile
|
|
210
209
|
- bin/slack-messaging
|
|
@@ -238,12 +237,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
238
237
|
- !ruby/object:Gem::Version
|
|
239
238
|
version: '0'
|
|
240
239
|
requirements: []
|
|
241
|
-
rubygems_version: 3.
|
|
240
|
+
rubygems_version: 3.2.3
|
|
242
241
|
signing_key:
|
|
243
242
|
specification_version: 4
|
|
244
243
|
summary: Personalized Slack Messages
|
|
245
244
|
test_files:
|
|
246
245
|
- spec/spec_helper.rb
|
|
247
246
|
- spec/slack_messaging/config_spec.rb
|
|
248
|
-
- spec/slack_messaging/random_message_spec.rb
|
|
249
247
|
- spec/slack_messaging/notify_slack_spec.rb
|
|
248
|
+
- spec/slack_messaging/random_message_spec.rb
|
data/Gemfile.lock
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
slack_messaging (2.0.0.pre.test)
|
|
5
|
-
activesupport (~> 6.0)
|
|
6
|
-
gli (~> 2.10)
|
|
7
|
-
hashie (~> 4.1)
|
|
8
|
-
highline (~> 2.0)
|
|
9
|
-
httparty
|
|
10
|
-
json
|
|
11
|
-
rack (~> 2.2)
|
|
12
|
-
|
|
13
|
-
GEM
|
|
14
|
-
remote: https://rubygems.org/
|
|
15
|
-
specs:
|
|
16
|
-
activesupport (6.0.3.4)
|
|
17
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
18
|
-
i18n (>= 0.7, < 2)
|
|
19
|
-
minitest (~> 5.1)
|
|
20
|
-
tzinfo (~> 1.1)
|
|
21
|
-
zeitwerk (~> 2.2, >= 2.2.2)
|
|
22
|
-
coderay (1.1.3)
|
|
23
|
-
concurrent-ruby (1.1.7)
|
|
24
|
-
diff-lcs (1.4.4)
|
|
25
|
-
faker (2.14.0)
|
|
26
|
-
i18n (>= 1.6, < 2)
|
|
27
|
-
ffi (1.13.1)
|
|
28
|
-
formatador (0.2.5)
|
|
29
|
-
gli (2.19.2)
|
|
30
|
-
guard (2.16.2)
|
|
31
|
-
formatador (>= 0.2.4)
|
|
32
|
-
listen (>= 2.7, < 4.0)
|
|
33
|
-
lumberjack (>= 1.0.12, < 2.0)
|
|
34
|
-
nenv (~> 0.1)
|
|
35
|
-
notiffany (~> 0.0)
|
|
36
|
-
pry (>= 0.9.12)
|
|
37
|
-
shellany (~> 0.0)
|
|
38
|
-
thor (>= 0.18.1)
|
|
39
|
-
guard-compat (1.2.1)
|
|
40
|
-
guard-rspec (4.7.3)
|
|
41
|
-
guard (~> 2.1)
|
|
42
|
-
guard-compat (~> 1.1)
|
|
43
|
-
rspec (>= 2.99.0, < 4.0)
|
|
44
|
-
hashie (4.1.0)
|
|
45
|
-
highline (2.0.3)
|
|
46
|
-
httparty (0.18.1)
|
|
47
|
-
mime-types (~> 3.0)
|
|
48
|
-
multi_xml (>= 0.5.2)
|
|
49
|
-
i18n (1.8.5)
|
|
50
|
-
concurrent-ruby (~> 1.0)
|
|
51
|
-
json (2.3.1)
|
|
52
|
-
listen (3.3.1)
|
|
53
|
-
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
54
|
-
rb-inotify (~> 0.9, >= 0.9.10)
|
|
55
|
-
lumberjack (1.2.8)
|
|
56
|
-
method_source (1.0.0)
|
|
57
|
-
mime-types (3.3.1)
|
|
58
|
-
mime-types-data (~> 3.2015)
|
|
59
|
-
mime-types-data (3.2020.1104)
|
|
60
|
-
minitest (5.14.2)
|
|
61
|
-
multi_xml (0.6.0)
|
|
62
|
-
nenv (0.3.0)
|
|
63
|
-
notiffany (0.1.3)
|
|
64
|
-
nenv (~> 0.1)
|
|
65
|
-
shellany (~> 0.0)
|
|
66
|
-
pry (0.13.1)
|
|
67
|
-
coderay (~> 1.1)
|
|
68
|
-
method_source (~> 1.0)
|
|
69
|
-
rack (2.2.3)
|
|
70
|
-
rake (13.0.1)
|
|
71
|
-
rb-fsevent (0.10.4)
|
|
72
|
-
rb-inotify (0.10.1)
|
|
73
|
-
ffi (~> 1.0)
|
|
74
|
-
rspec (3.10.0)
|
|
75
|
-
rspec-core (~> 3.10.0)
|
|
76
|
-
rspec-expectations (~> 3.10.0)
|
|
77
|
-
rspec-mocks (~> 3.10.0)
|
|
78
|
-
rspec-core (3.10.0)
|
|
79
|
-
rspec-support (~> 3.10.0)
|
|
80
|
-
rspec-expectations (3.10.0)
|
|
81
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
82
|
-
rspec-support (~> 3.10.0)
|
|
83
|
-
rspec-mocks (3.10.0)
|
|
84
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
85
|
-
rspec-support (~> 3.10.0)
|
|
86
|
-
rspec-support (3.10.0)
|
|
87
|
-
shellany (0.0.1)
|
|
88
|
-
thor (1.0.1)
|
|
89
|
-
thread_safe (0.3.6)
|
|
90
|
-
tzinfo (1.2.8)
|
|
91
|
-
thread_safe (~> 0.1)
|
|
92
|
-
zeitwerk (2.4.1)
|
|
93
|
-
|
|
94
|
-
PLATFORMS
|
|
95
|
-
ruby
|
|
96
|
-
|
|
97
|
-
DEPENDENCIES
|
|
98
|
-
bundler (~> 2.1)
|
|
99
|
-
faker
|
|
100
|
-
guard-rspec (~> 4.3)
|
|
101
|
-
pry
|
|
102
|
-
rake (~> 13.0)
|
|
103
|
-
rspec (~> 3.9)
|
|
104
|
-
slack_messaging!
|
|
105
|
-
|
|
106
|
-
BUNDLED WITH
|
|
107
|
-
2.1.4
|
data/OutputFile.png
DELETED
|
Binary file
|