slack_line 1.0 → 1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5012be14f249f312a75b1d5cca149fd938eb2d6b66db4b51fb93789b3a4030e9
4
- data.tar.gz: 6a4244475ce9b64db464f391d6dbfa0c8d6a1dc509854b1b05a6bc1149ad78de
3
+ metadata.gz: 63f2270ed13b9bf4d14585497109923c70b8e7ec8a34af3ebb46306afdfaf703
4
+ data.tar.gz: 677793b2b72ef6f1d58673b9c658151b3b22504e85cb34678d6e0973d23f00a6
5
5
  SHA512:
6
- metadata.gz: 1bb9462733e8c15e292606d303c04d2c72855d9d141ebfd917b9f2bf415b964aad0dd34fd0832c1a74064f551272da0dfce670ae43047828ee0c89a8fd86f6c5
7
- data.tar.gz: 455afd3746d46319fe637e924034655cfa9f42da2c06d8c30a3f578ed70e2245811f6f7a5404d37939360cdb47309a966485d8151ec41e578724fb494c222a18
6
+ metadata.gz: 939add34dd7ecd05b44828f53bfd20d62b4c0df9a4deb2b2b2097f736b6a3666173f098e81451416865c0ff66765320b2bff16c8558230eb445a54a3673e9be1
7
+ data.tar.gz: 9dc08564bfb998fe4abe612f546a4f9327924ea70e01a153d5daaa751baae3698296b14cb13bc7c50ff612e31f9f1f54dcf6086a74bd5579a17257307027f2d6
@@ -15,10 +15,11 @@ jobs:
15
15
 
16
16
  - name: Cache gems
17
17
  uses: actions/cache@v3
18
- with: path: vendor/bundle
19
- key: ${{ runner.os }}-linters-${{ hashFiles('Gemfile.lock') }}
20
- restore-keys:
21
- ${{ runner.os }}-linters-
18
+ with:
19
+ path: vendor/bundle
20
+ key: ${{ runner.os }}-linters-${{ hashFiles('Gemfile.lock') }}
21
+ restore-keys:
22
+ ${{ runner.os }}-linters-
22
23
 
23
24
  - name: Install gems
24
25
  run: bundle install --jobs 4 --retry 3
data/CHANGELOG.md ADDED
@@ -0,0 +1,11 @@
1
+ # Changelog
2
+
3
+ ## Version 1.0
4
+
5
+ Initially published gem. Can send messages and threads, update messages, extend
6
+ threads, persist those things to disk and reload them. Convenience scripts that
7
+ can do each of those things directly (for simpler messages).
8
+
9
+ ## Version 1.1
10
+
11
+ Fixed incorrect description/summary on gemspec.
data/README.md CHANGED
@@ -124,11 +124,13 @@ BAR_SLACK.message("Message 3", to: "#bar-team-3").post
124
124
 
125
125
  ## Slack App Permissions
126
126
 
127
- In order to post/update messages, the app behind your `SLACK_LINE_TOKEN` can use these permissions:
127
+ In order to post/update messages, the app behind your `SLACK_LINE_TOKEN` can use
128
+ these permissions:
128
129
 
129
130
  * `chat:write` - send messages at all.
130
- * `chat:write.public` - send messages to public channels your app _isn't a member of_ (so you don't
131
- need to invite them to the relevant channels to make them work).
131
+ * `chat:write.public` - send messages to public channels your app _isn't a member
132
+ of_ (so you don't need to invite them to the relevant channels to make them work).
132
133
  * `im:write` - start direct messages with individuals.
133
- * `users:read` and `usergroups:read` - look up users/groups for (a) messaging them directly or
134
- (b) supporting the `look_up_users` config option (for those more restrictive workspaces)
134
+ * `users:read` and `usergroups:read` - look up users/groups for (a) messaging them
135
+ directly or (b) supporting the `look_up_users` config option (for those more
136
+ restrictive workspaces)
@@ -40,7 +40,7 @@ module SlackLine
40
40
 
41
41
  attr_reader :stdout, :stderr
42
42
 
43
- def option_parser(opts)
43
+ def option_parser(opts) # rubocop:disable Metrics/AbcSize
44
44
  OptionParser.new do |parser|
45
45
  parser.on("-t", "--slack-token TOKEN") { |t| opts[:slack_token] = t }
46
46
  parser.on("-u", "--look-up-users") { opts[:look_up_users] = true }
@@ -1,3 +1,3 @@
1
1
  module SlackLine
2
- VERSION = "1.0".freeze
2
+ VERSION = "1.1".freeze
3
3
  end
data/slack_line.gemspec CHANGED
@@ -6,12 +6,12 @@ Gem::Specification.new do |spec|
6
6
  spec.authors = ["Eric Mueller"]
7
7
  spec.email = ["nevinera@gmail.com"]
8
8
 
9
- spec.summary = "Build CLIs that are configured via args, file, and/or environment"
9
+ spec.summary = "A gem to send and extend Slack threads and messages"
10
10
  spec.description = <<~DESC
11
- We've written code that merges/cascades default configuration, config-files,
12
- environment variables, and cli-passed arguments _too many times_. This gem
13
- intends to distill that into a configuration hash describing those controls
14
- and relationships, so that users can supply values in multiple ways.
11
+ Sending messages with the Slack API is not that difficult, but I've had
12
+ to solve the same problems a lot of times at different companies. This
13
+ gem attempts to make those solutions irrelevant by providing a simple
14
+ interface and scripts to send and update messages, and build/extend threads.
15
15
  DESC
16
16
  spec.homepage = "https://github.com/nevinera/slack_line"
17
17
  spec.license = "MIT"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack_line
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: '1.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Mueller
@@ -165,10 +165,10 @@ dependencies:
165
165
  - !ruby/object:Gem::Version
166
166
  version: 3.1.0
167
167
  description: |
168
- We've written code that merges/cascades default configuration, config-files,
169
- environment variables, and cli-passed arguments _too many times_. This gem
170
- intends to distill that into a configuration hash describing those controls
171
- and relationships, so that users can supply values in multiple ways.
168
+ Sending messages with the Slack API is not that difficult, but I've had
169
+ to solve the same problems a lot of times at different companies. This
170
+ gem attempts to make those solutions irrelevant by providing a simple
171
+ interface and scripts to send and update messages, and build/extend threads.
172
172
  email:
173
173
  - nevinera@gmail.com
174
174
  executables:
@@ -186,6 +186,7 @@ files:
186
186
  - ".rspec"
187
187
  - ".rubocop.yml"
188
188
  - ".standard.yml"
189
+ - CHANGELOG.md
189
190
  - Gemfile
190
191
  - README.md
191
192
  - bin/slack_line_message
@@ -234,5 +235,5 @@ requirements: []
234
235
  rubygems_version: 3.5.22
235
236
  signing_key:
236
237
  specification_version: 4
237
- summary: Build CLIs that are configured via args, file, and/or environment
238
+ summary: A gem to send and extend Slack threads and messages
238
239
  test_files: []