slack_messaging 3.1.2 → 3.2.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
  SHA256:
3
- metadata.gz: a73075c6e11593cc450ed0822939778510aadbe4b76ca4f2a7d8174a7592b1af
4
- data.tar.gz: 50a35bda4778b110200d3ad8ada3f353b2df4b342ecec91286a8fc993907f6db
3
+ metadata.gz: a2fa17139e026c26332abded4e74c7f5abe32f2656f01f0265e977280f99af53
4
+ data.tar.gz: 979bd7df0522aeddb5c8d6be3f0b76b8d69d20db97f5fb51a26cf26abf25b49a
5
5
  SHA512:
6
- metadata.gz: 5766b459a88ced1e95b8ef00a52d09cac308503ca009ec9a8484e6a05ba50a255f49d74368d7c1104da3ab85d6705f6e25b98cf06dc98916dfb53f7d9cf685ad
7
- data.tar.gz: ba98335745cffc5f902f8b72a6f3bdc2eca626868d18f48aba876d164509afb6eb3ac5175b577fefde47bcb0dd76981172e61c8987f457b8a30e34e97e3158ae
6
+ metadata.gz: '08995ba797b1c98b0dfef697c8bc38fdc6eab5e5da3c78301aa44ed44a4beb9e9a2f753bc83e9ab84dd0674913ad6f438207c8f338ecb9bb0d4535cab4ec9308'
7
+ data.tar.gz: 244757f47efbe786fb08296f4d9da00ee542eaa96f7cbc481f00776aaae8967171416f3316c8cc5f475a815d3db08ee37aaeb1184ec21543c8bddd996b979d63
data/Gemfile.lock CHANGED
@@ -1,40 +1,32 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- slack_messaging (3.1.2)
5
- activesupport (~> 6.0)
4
+ slack_messaging (3.2.2)
6
5
  gli (~> 2.10)
7
- hashie (~> 4.1)
6
+ hashie (~> 4.1, <= 5)
8
7
  highline_wrapper (~> 1.1)
9
8
  httparty (~> 0.18)
10
9
  json (~> 2.5)
11
- rack (~> 2.2)
12
10
 
13
11
  GEM
14
12
  remote: https://rubygems.org/
15
13
  specs:
16
- activesupport (6.1.3)
17
- concurrent-ruby (~> 1.0, >= 1.0.2)
18
- i18n (>= 1.6, < 2)
19
- minitest (>= 5.1)
20
- tzinfo (~> 2.0)
21
- zeitwerk (~> 2.3)
22
14
  ast (2.4.2)
23
15
  coderay (1.1.3)
24
- concurrent-ruby (1.1.8)
16
+ concurrent-ruby (1.1.9)
25
17
  diff-lcs (1.4.4)
26
- faker (2.16.0)
18
+ faker (2.19.0)
27
19
  i18n (>= 1.6, < 2)
28
- ffi (1.15.0)
29
- formatador (0.2.5)
30
- gli (2.20.0)
31
- guard (2.16.2)
20
+ ffi (1.15.4)
21
+ formatador (0.3.0)
22
+ gli (2.20.1)
23
+ guard (2.18.0)
32
24
  formatador (>= 0.2.4)
33
25
  listen (>= 2.7, < 4.0)
34
26
  lumberjack (>= 1.0.12, < 2.0)
35
27
  nenv (~> 0.1)
36
28
  notiffany (~> 0.0)
37
- pry (>= 0.9.12)
29
+ pry (>= 0.13.0)
38
30
  shellany (~> 0.0)
39
31
  thor (>= 0.18.1)
40
32
  guard-compat (1.2.1)
@@ -44,42 +36,39 @@ GEM
44
36
  rspec (>= 2.99.0, < 4.0)
45
37
  hashie (4.1.0)
46
38
  highline (2.0.3)
47
- highline_wrapper (1.1.0)
39
+ highline_wrapper (1.3.1)
48
40
  highline (~> 2.0)
49
- httparty (0.18.1)
41
+ httparty (0.20.0)
50
42
  mime-types (~> 3.0)
51
43
  multi_xml (>= 0.5.2)
52
- i18n (1.8.9)
44
+ i18n (1.8.11)
53
45
  concurrent-ruby (~> 1.0)
54
- json (2.5.1)
55
- listen (3.4.1)
46
+ json (2.6.1)
47
+ listen (3.7.0)
56
48
  rb-fsevent (~> 0.10, >= 0.10.3)
57
49
  rb-inotify (~> 0.9, >= 0.9.10)
58
50
  lumberjack (1.2.8)
59
51
  method_source (1.0.0)
60
52
  mime-types (3.3.1)
61
53
  mime-types-data (~> 3.2015)
62
- mime-types-data (3.2021.0225)
63
- minitest (5.14.4)
54
+ mime-types-data (3.2021.0901)
64
55
  multi_xml (0.6.0)
65
56
  nenv (0.3.0)
66
57
  notiffany (0.1.3)
67
58
  nenv (~> 0.1)
68
59
  shellany (~> 0.0)
69
- parallel (1.20.1)
70
- parser (3.0.0.0)
60
+ parallel (1.21.0)
61
+ parser (3.0.2.0)
71
62
  ast (~> 2.4.1)
72
- pry (0.14.0)
63
+ pry (0.14.1)
73
64
  coderay (~> 1.1)
74
65
  method_source (~> 1.0)
75
- rack (2.2.3)
76
66
  rainbow (3.0.0)
77
- rake (13.0.3)
78
- rb-fsevent (0.10.4)
67
+ rb-fsevent (0.11.0)
79
68
  rb-inotify (0.10.1)
80
69
  ffi (~> 1.0)
81
70
  regexp_parser (2.1.1)
82
- rexml (3.2.4)
71
+ rexml (3.2.5)
83
72
  rspec (3.10.0)
84
73
  rspec-core (~> 3.10.0)
85
74
  rspec-expectations (~> 3.10.0)
@@ -92,38 +81,34 @@ GEM
92
81
  rspec-mocks (3.10.2)
93
82
  diff-lcs (>= 1.2.0, < 2.0)
94
83
  rspec-support (~> 3.10.0)
95
- rspec-support (3.10.2)
96
- rubocop (1.11.0)
84
+ rspec-support (3.10.3)
85
+ rubocop (1.22.3)
97
86
  parallel (~> 1.10)
98
87
  parser (>= 3.0.0.0)
99
88
  rainbow (>= 2.2.2, < 4.0)
100
89
  regexp_parser (>= 1.8, < 3.0)
101
90
  rexml
102
- rubocop-ast (>= 1.2.0, < 2.0)
91
+ rubocop-ast (>= 1.12.0, < 2.0)
103
92
  ruby-progressbar (~> 1.7)
104
93
  unicode-display_width (>= 1.4.0, < 3.0)
105
- rubocop-ast (1.4.1)
106
- parser (>= 2.7.1.5)
94
+ rubocop-ast (1.13.0)
95
+ parser (>= 3.0.1.1)
107
96
  ruby-progressbar (1.11.0)
108
97
  shellany (0.0.1)
109
98
  thor (1.1.0)
110
- tzinfo (2.0.4)
111
- concurrent-ruby (~> 1.0)
112
- unicode-display_width (2.0.0)
113
- zeitwerk (2.4.2)
99
+ unicode-display_width (2.1.0)
114
100
 
115
101
  PLATFORMS
116
- x86_64-darwin-20
102
+ x86_64-darwin-19
117
103
 
118
104
  DEPENDENCIES
119
105
  bundler (~> 2.2)
120
106
  faker (~> 2.15)
121
107
  guard-rspec (~> 4.3)
122
108
  pry (~> 0.13)
123
- rake (~> 13.0)
124
109
  rspec (~> 3.9)
125
110
  rubocop (~> 1.10)
126
111
  slack_messaging!
127
112
 
128
113
  BUNDLED WITH
129
- 2.2.14
114
+ 2.2.31
data/Guardfile CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  guard :rspec, cmd: 'bundle exec rspec', all_on_start: true do
4
4
  watch(%r{^spec/.+_spec\.rb$})
5
- watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
5
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
6
6
  watch('spec/spec_helper.rb') { 'spec' }
7
7
  end
data/LICENSE.md ADDED
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause "New" or "Revised" License
2
+
3
+ Copyright (c) 2014 Emma Sax.
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions, and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions, and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Slack Messaging [![Main](https://github.com/emmahsax/slack_messaging/actions/workflows/main.yml/badge.svg)](https://github.com/emmahsax/slack_messaging/actions/workflows/main.yml)
1
+ # Slack Messaging
2
2
 
3
3
  This is a simple project designed to post messages to a given Slack channel as a bot.
4
4
 
@@ -22,7 +22,7 @@ Or install it yourself as:
22
22
  gem install slack_messaging
23
23
  ```
24
24
 
25
- ### Usage
25
+ ## Usage
26
26
 
27
27
  This project requires a config file that should look like this:
28
28
 
@@ -84,19 +84,31 @@ The output of slack_messaging will look something like this:
84
84
 
85
85
  I hope you enjoy printing fun and specialized messages to Slack!
86
86
 
87
- ### Tests
87
+ ## Tests
88
88
 
89
89
  To run the tests, run `bundle exec rspec` from the command-line. GitHub Actions will also run the tests upon every commit to make sure they're up to date and that everything is working correctly. Locally, you can also run `bundle exec guard` to automatically run tests as you develop!
90
90
 
91
- ## Contributing
91
+ ---
92
92
 
93
- To submit a feature request, bug ticket, etc, please submit an official [GitHub Issue](https://github.com/emmahsax/slack_messaging/issues/new).
93
+ ### Contributing
94
94
 
95
- To report any security vulnerabilities, please view this project's [Security Policy](https://github.com/emmahsax/slack_messaging/security/policy).
95
+ To submit a feature request, bug ticket, etc, please submit an official [GitHub issue](https://github.com/emmahsax/slack_messaging/issues/new). To copy or make changes, please [fork this repository](https://github.com/emmahsax/slack_messaging/fork). When/if you'd like to contribute back to this upstream, please create a pull request on this repository.
96
+
97
+ Please follow included Issue Template(s) and Pull Request Template(s) when creating issues or pull requests.
98
+
99
+ ### Security Policy
100
+
101
+ To report any security vulnerabilities, please view this repository's [Security Policy](https://github.com/emmahsax/slack_messaging/security/policy).
102
+
103
+ ### Licensing
104
+
105
+ For information on licensing, please see [LICENSE.md](https://github.com/emmahsax/slack_messaging/blob/main/LICENSE.md).
106
+
107
+ ### Code of Conduct
96
108
 
97
109
  When interacting with this repository, please follow [Contributor Covenant's Code of Conduct](https://contributor-covenant.org).
98
110
 
99
- ## Releasing
111
+ ### Releasing
100
112
 
101
113
  To make a new release of this gem:
102
114
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SlackMessaging
4
- VERSION = '3.1.2'
4
+ VERSION = '3.2.2'
5
5
  end
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack_messaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2
4
+ version: 3.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emma Sax
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-09 00:00:00.000000000 Z
11
+ date: 2021-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: activesupport
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '6.0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '6.0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: gli
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -45,6 +31,9 @@ dependencies:
45
31
  - - "~>"
46
32
  - !ruby/object:Gem::Version
47
33
  version: '4.1'
34
+ - - "<="
35
+ - !ruby/object:Gem::Version
36
+ version: '5'
48
37
  type: :runtime
49
38
  prerelease: false
50
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -52,6 +41,9 @@ dependencies:
52
41
  - - "~>"
53
42
  - !ruby/object:Gem::Version
54
43
  version: '4.1'
44
+ - - "<="
45
+ - !ruby/object:Gem::Version
46
+ version: '5'
55
47
  - !ruby/object:Gem::Dependency
56
48
  name: highline_wrapper
57
49
  requirement: !ruby/object:Gem::Requirement
@@ -94,20 +86,6 @@ dependencies:
94
86
  - - "~>"
95
87
  - !ruby/object:Gem::Version
96
88
  version: '2.5'
97
- - !ruby/object:Gem::Dependency
98
- name: rack
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '2.2'
104
- type: :runtime
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '2.2'
111
89
  - !ruby/object:Gem::Dependency
112
90
  name: bundler
113
91
  requirement: !ruby/object:Gem::Requirement
@@ -164,20 +142,6 @@ dependencies:
164
142
  - - "~>"
165
143
  - !ruby/object:Gem::Version
166
144
  version: '0.13'
167
- - !ruby/object:Gem::Dependency
168
- name: rake
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "~>"
172
- - !ruby/object:Gem::Version
173
- version: '13.0'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - "~>"
179
- - !ruby/object:Gem::Version
180
- version: '13.0'
181
145
  - !ruby/object:Gem::Dependency
182
146
  name: rspec
183
147
  requirement: !ruby/object:Gem::Requirement
@@ -206,7 +170,8 @@ dependencies:
206
170
  - - "~>"
207
171
  - !ruby/object:Gem::Version
208
172
  version: '1.10'
209
- description: Sending Personalized Slack Messages to a Slack channel of your choice.
173
+ description: Sending personalized messages and quotes to a Slack channel of your choice
174
+ via the command-line.
210
175
  email:
211
176
  executables:
212
177
  - slack-messaging
@@ -216,7 +181,7 @@ files:
216
181
  - Gemfile
217
182
  - Gemfile.lock
218
183
  - Guardfile
219
- - LICENSE
184
+ - LICENSE.md
220
185
  - QuoteExample.png
221
186
  - README.md
222
187
  - Rakefile
@@ -236,8 +201,9 @@ files:
236
201
  - spec/spec_helper.rb
237
202
  homepage: https://github.com/emmahsax/slack_messaging
238
203
  licenses:
239
- - MIT
240
- metadata: {}
204
+ - BSD-3-Clause
205
+ metadata:
206
+ rubygems_mfa_required: 'true'
241
207
  post_install_message:
242
208
  rdoc_options: []
243
209
  require_paths:
@@ -253,10 +219,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
253
219
  - !ruby/object:Gem::Version
254
220
  version: '0'
255
221
  requirements: []
256
- rubygems_version: 3.2.3
222
+ rubygems_version: 3.2.22
257
223
  signing_key:
258
224
  specification_version: 4
259
- summary: Personalized Slack Messages
225
+ summary: Personalized quotes and messages sent straight to Slack
260
226
  test_files:
261
227
  - spec/spec_helper.rb
262
228
  - spec/slack_messaging/config_spec.rb
data/LICENSE DELETED
@@ -1,22 +0,0 @@
1
- Copyright (c) 2014 Emma Sax
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.