slack_messaging 3.1.1 → 3.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
  SHA256:
3
- metadata.gz: 12ec2e4beafc03f085a3a1752070bce7e030cd02e1e57378229400f39a2284ee
4
- data.tar.gz: f6c4e26dcb8799058f144e24aee9ddf1d4f2f05c0b91deba9f19d5cd1d414303
3
+ metadata.gz: ff367f91483a01dd3efa6ad11451c98cf8864b98af6ab574221de239b81f35d9
4
+ data.tar.gz: 9d3326f6a9af4191d586842e7a613dc87f6e321781a99b15a25055ffd0cd5c77
5
5
  SHA512:
6
- metadata.gz: c3dff63c5569a13e0a713b2e34ca6ef7f22a7ce858523bee5a8483b59b8c17d7053302e3a0f25a670b2ff3ce794f8bd1aef25500e2766594e51b2f35d12ad8ea
7
- data.tar.gz: 41dc15d6314e4ae1721b2e26163b1e4d6f006f9c7ae6ed93d5ff394b29e98f6399e16f604515eefa54663cb6328356fd31843d6da5228bdf92173889b0380c98
6
+ metadata.gz: 38fccb60c71e951fa5184053cdec3c8c32d80c1d0ce42d3ab95c3a5d718dcbb8d74037adbf7334fc65fe47ccb10c94100c268bb9e5991bc9b430778a03ca6dd6
7
+ data.tar.gz: d54b05b48864b10cdde5e4e9aa33013b780cb40a64562fb5930da730389dc437d85ec5cf42363b1bbdc5af12c94936190a6711657e9195ea2997425e96df0a10
data/Gemfile CHANGED
@@ -2,5 +2,4 @@
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
- # Specify your gem's dependencies in slack_messaging.gemspec
6
5
  gemspec
data/Gemfile.lock CHANGED
@@ -1,40 +1,32 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- slack_messaging (3.1.0)
5
- activesupport (~> 6.0)
4
+ slack_messaging (3.2.1)
6
5
  gli (~> 2.10)
7
- hashie (~> 4.1)
8
- highline_wrapper (~> 1.0)
6
+ hashie (~> 4.1, <= 5)
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.14.2)
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.0.0)
39
+ highline_wrapper (1.3.0)
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.4
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
 
@@ -22,7 +22,7 @@ module SlackMessaging
22
22
  contents = generate_config_file(answers)
23
23
  puts "Creating or updating your #{default_config} file..."
24
24
  File.open(default_config, 'w') { |file| file.puts contents }
25
- puts "\nDone!"
25
+ puts 'Done!'
26
26
  end
27
27
 
28
28
  private def generate_config_file(answers)
@@ -47,29 +47,32 @@ module SlackMessaging
47
47
  "What is your Slack webhook URL? If you don't have one yet, please navigate" \
48
48
  ' to https://api.slack.com/messaging/webhooks to create one, and then come back' \
49
49
  ' here and paste it in the Terminal.',
50
+ nil,
50
51
  required: true
51
52
  )
52
53
 
53
54
  answers[:channel] = ask_question(
54
- 'What slack channel do you wish to post to? (default is "#general")'
55
- ) || 'general'
55
+ 'What slack channel do you wish to post to? (default is "#general")',
56
+ '#general'
57
+ )
56
58
 
57
59
  answers[:username] = ask_question(
58
- "What slack username do you wish to post as? (default is \"Let's Get Quoty\")"
59
- ) || "Let's Get Quoty"
60
+ "What slack username do you wish to post as? (default is \"Let's Get Quoty\")",
61
+ "Let's Get Quoty"
62
+ )
60
63
 
61
64
  answers[:icon_emoji] = ask_question(
62
65
  'What emoji would you like to post with (include the colons at the beginning and end' \
63
- ' of the emoji name)? (default is ":mailbox_with_mail:")'
64
- ) || ':mailbox_with_mail:'
66
+ ' of the emoji name)? (default is ":mailbox_with_mail:")',
67
+ ':mailbox_with_mail:'
68
+ )
65
69
 
66
70
  answers
67
71
  end
68
72
  # rubocop:enable Metrics/MethodLength
69
73
 
70
- private def ask_question(prompt, required: false)
71
- answer = highline.ask(prompt, { required: required })
72
- answer.empty? ? nil : answer
74
+ private def ask_question(prompt, default, required: false)
75
+ highline.ask(prompt, { default: default, required: required })
73
76
  end
74
77
 
75
78
  private def highline
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SlackMessaging
4
- VERSION = '3.1.1'
4
+ VERSION = '3.2.1'
5
5
  end
@@ -88,18 +88,18 @@ describe SlackMessaging::Setup do
88
88
  describe '#self.ask_question' do
89
89
  it 'should use highline to ask a question' do
90
90
  expect(highline_wrapper).to receive(:ask).and_return('')
91
- subject.send(:ask_question, Faker::Lorem.sentence)
91
+ subject.send(:ask_question, Faker::Lorem.sentence, nil)
92
92
  end
93
93
 
94
94
  it 'should return nil if the highline client gets an empty string' do
95
- allow(highline_wrapper).to receive(:ask).and_return('')
96
- expect(subject.send(:ask_question, Faker::Lorem.sentence)).to be_nil
95
+ allow(highline_wrapper).to receive(:ask).and_return(nil)
96
+ expect(subject.send(:ask_question, Faker::Lorem.sentence, nil)).to be_nil
97
97
  end
98
98
 
99
99
  it 'should return the answer if it is given' do
100
100
  answer = Faker::Lorem.sentence
101
101
  allow(highline_wrapper).to receive(:ask).and_return(answer)
102
- expect(subject.send(:ask_question, Faker::Lorem.sentence)).to be(answer)
102
+ expect(subject.send(:ask_question, Faker::Lorem.sentence, :default)).to be(answer)
103
103
  end
104
104
  end
105
105
 
@@ -119,17 +119,21 @@ describe SlackMessaging::Setup do
119
119
  }
120
120
  allow(subject).to receive(:ask_question).with(
121
121
  "What is your Slack webhook URL? If you don't have one yet, please navigate to https://api.slack.com/messaging/webhooks to create one, and then come back here and paste it in the Terminal.",
122
+ nil,
122
123
  required: true
123
124
  ).and_return(slack_url)
124
125
  allow(subject).to receive(:ask_question).with(
125
- 'What slack channel do you wish to post to? (default is "#general")'
126
- ).and_return(nil)
126
+ 'What slack channel do you wish to post to? (default is "#general")',
127
+ '#general'
128
+ ).and_return('general')
127
129
  allow(subject).to receive(:ask_question).with(
128
- "What slack username do you wish to post as? (default is \"Let's Get Quoty\")"
129
- ).and_return(nil)
130
+ "What slack username do you wish to post as? (default is \"Let's Get Quoty\")",
131
+ "Let's Get Quoty"
132
+ ).and_return("Let's Get Quoty")
130
133
  allow(subject).to receive(:ask_question).with(
131
- 'What emoji would you like to post with (include the colons at the beginning and end of the emoji name)? (default is ":mailbox_with_mail:")'
132
- ).and_return(nil)
134
+ 'What emoji would you like to post with (include the colons at the beginning and end of the emoji name)? (default is ":mailbox_with_mail:")',
135
+ ':mailbox_with_mail:'
136
+ ).and_return(':mailbox_with_mail:')
133
137
  expect(subject.send(:ask_config_questions)).to eq(defaults)
134
138
  end
135
139
  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.1
4
+ version: 3.2.1
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-04 00:00:00.000000000 Z
11
+ date: 2021-11-10 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,20 +41,23 @@ 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
58
50
  requirements:
59
51
  - - "~>"
60
52
  - !ruby/object:Gem::Version
61
- version: '1.0'
53
+ version: '1.1'
62
54
  type: :runtime
63
55
  prerelease: false
64
56
  version_requirements: !ruby/object:Gem::Requirement
65
57
  requirements:
66
58
  - - "~>"
67
59
  - !ruby/object:Gem::Version
68
- version: '1.0'
60
+ version: '1.1'
69
61
  - !ruby/object:Gem::Dependency
70
62
  name: httparty
71
63
  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,7 +201,7 @@ files:
236
201
  - spec/spec_helper.rb
237
202
  homepage: https://github.com/emmahsax/slack_messaging
238
203
  licenses:
239
- - MIT
204
+ - BSD-3-Clause
240
205
  metadata: {}
241
206
  post_install_message:
242
207
  rdoc_options: []
@@ -253,10 +218,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
253
218
  - !ruby/object:Gem::Version
254
219
  version: '0'
255
220
  requirements: []
256
- rubygems_version: 3.2.3
221
+ rubygems_version: 3.2.22
257
222
  signing_key:
258
223
  specification_version: 4
259
- summary: Personalized Slack Messages
224
+ summary: Personalized quotes and messages sent straight to Slack
260
225
  test_files:
261
226
  - spec/spec_helper.rb
262
227
  - 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.