media_types-serialization 1.0.3 → 1.1.0

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: f06cbbb5eb9ccdb11dfa751a8fa3d20b03e675a3b94f6393538acda79f61081d
4
- data.tar.gz: 4b8347532cfdc1e9020189ad1a50a047bf8699df0705f602bdbb2340a5a44f8e
3
+ metadata.gz: f7eabad722268eb76ce511245770ef7fb6a4c07c9d0ce8be05ac0995a4ebe309
4
+ data.tar.gz: f749dfcbc363662ddb7e7a2d81162168fa1dea8bb086aa57074d1a51d3bfc5c5
5
5
  SHA512:
6
- metadata.gz: a6d56c098681e1a854b9284a08fa18b56542b1786fec6dbe58182af59da487d21526bd2cdcd7ddb08ee03277201f4e710ce9e1a0b57c09bbfa196d38d12e1227
7
- data.tar.gz: 45eeb2cb62c4c100e13513eba6a1ef97ce0953ed22b21d70cef3f1f142f52d183b9d596906e76d8f29e110b85030077273b0eee6b9a15e494c05343cdc2d0d25
6
+ metadata.gz: e64bafc043adbb81c87475e2898687f1495b7e15f8bb71dbb73fe2a0ea9f39556d4644f60f3f6658d196efe533f8cf8a504b7b8936e7812dc607bce628f400e4
7
+ data.tar.gz: e4aa0a59bc0e3a8f785feda5d99b15a5f193984b3fd6deb5b06577e90b0c8628f615c7214258c0d08383bd5fc171a7249d8985a14d0fadc4f32734899981572a
@@ -5,7 +5,7 @@ on:
5
5
  branches:
6
6
  - master
7
7
  push:
8
- branches:
8
+ branches:
9
9
  - master
10
10
  - depfu/*
11
11
  - release/*
@@ -16,12 +16,16 @@ jobs:
16
16
 
17
17
  runs-on: ubuntu-latest
18
18
 
19
+ strategy:
20
+ matrix:
21
+ ruby-version: [2.7.x, 2.6.x]
22
+
19
23
  steps:
20
24
  - uses: actions/checkout@v1
21
- - name: Set up Ruby 2.6
25
+ - name: Set up Ruby ${{ matrix.ruby-version }}
22
26
  uses: actions/setup-ruby@v1
23
27
  with:
24
- ruby-version: 2.6.x
28
+ ruby-version: ${{ matrix.ruby-version }}
25
29
  - name: Build and test with Rake
26
30
  run: |
27
31
  gem install bundler
data/.gitignore CHANGED
@@ -1,12 +1,12 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
9
-
10
- .idea/workspace.xml
11
- .idea/usage.statistics.xml
12
- .idea/tasks.xml
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ .idea/workspace.xml
11
+ .idea/usage.statistics.xml
12
+ .idea/tasks.xml
data/.idea/.rakeTasks CHANGED
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <Settings><!--This file was automatically generated by Ruby plugin.
3
- You are allowed to:
4
- 1. Remove rake task
5
- 2. Add existing rake tasks
6
- To add existing rake tasks automatically delete this file and reload the project.
2
+ <Settings><!--This file was automatically generated by Ruby plugin.
3
+ You are allowed to:
4
+ 1. Remove rake task
5
+ 2. Add existing rake tasks
6
+ To add existing rake tasks automatically delete this file and reload the project.
7
7
  --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build media_types-serialization-0.5.1.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install media_types-serialization-0.5.1.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install media_types-serialization-0.5.1.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.5.1 and build and push media_types-serialization-0.5.1.gem to rubygems.org" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run tests" fullCmd="test" taksId="test" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
@@ -1,6 +1,6 @@
1
- <component name="InspectionProjectProfileManager">
2
- <profile version="1.0">
3
- <option name="myName" value="Project Default" />
4
- <inspection_tool class="Rubocop" enabled="false" level="WARNING" enabled_by_default="false" />
5
- </profile>
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Rubocop" enabled="false" level="WARNING" enabled_by_default="false" />
5
+ </profile>
6
6
  </component>
@@ -1,20 +1,20 @@
1
- <component name="ProjectRunConfigurationManager">
2
- <configuration default="false" name="test" type="RakeRunConfigurationType" factoryName="Rake">
3
- <module name="media_types-serialization" />
4
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="" />
5
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
6
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
7
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
8
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
9
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
10
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
11
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov" />
12
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="test" />
13
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
14
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE=":test_unit " />
15
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
16
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
17
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
18
- <method v="2" />
19
- </configuration>
1
+ <component name="ProjectRunConfigurationManager">
2
+ <configuration default="false" name="test" type="RakeRunConfigurationType" factoryName="Rake">
3
+ <module name="media_types-serialization" />
4
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="" />
5
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
6
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
7
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
8
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
9
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
10
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
11
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov" />
12
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="test" />
13
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
14
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE=":test_unit " />
15
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
16
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
17
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
18
+ <method v="2" />
19
+ </configuration>
20
20
  </component>
data/.prettierrc ADDED
@@ -0,0 +1 @@
1
+ {}
data/CHANGELOG.md CHANGED
@@ -1,27 +1,39 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.1.0
4
+
5
+ - ✨ Add _allow_output_html_: Fallback to rails rendering.
6
+ - ✨ Add _allow_output_docs_: Useful to add a documentation description to endpoints that you can normally only POST to.
7
+ - ✨ Add _output_error_: Implements missing content-language support.
8
+ - ✨ Add _scoped freeze_io! support_: Useful for gradual adoption of mediatypes on existing routes.
9
+ - ✨ Add _alias variant reporting_: Allows reporting what the original matched media type was even when impersonating a different media type.
10
+ - ✨ Improve README: small improvements to make it easier to adopt and upgrade existing codebase.
11
+ - ✨ Reduce number of (external) dependencies
12
+ - 🐛 Fix incorrect output on encoding errors.
13
+ - 🐛 Fix message in various alias error messages.
14
+
3
15
  ## 1.0.3
4
16
 
5
- - 🐛 Unvalidated serializers would put the view part of the identifier before the version. This was not in line with validated serializers.
17
+ - 🐛 Unvalidated serializers would put the view part of the identifier before the version. This was not in line with validated serializers.
6
18
 
7
19
  ## 1.0.2
8
20
 
9
- - 🐛 Explicitly set all oj parameters when decoding as well.
21
+ - 🐛 Explicitly set all oj parameters when decoding as well.
10
22
 
11
23
  ## 1.0.1
12
24
 
13
- - 🐛 Explicitly set all oj and json parameters to ensure correct behavior with changed defaults.
14
- - 🐛 Fix serializer not deserializing as symbols.
25
+ - 🐛 Explicitly set all oj and json parameters to ensure correct behavior with changed defaults.
26
+ - 🐛 Fix serializer not deserializing as symbols.
15
27
 
16
28
  ## 1.0.0
17
29
 
18
30
  - ✨ Add support for input deserialization.
19
- - ✨ Added serializer DSL to be more in line with validation gem.
20
- - ✨ Added ability to make a serializer without a validator.
21
- - ✨ Added error serializer that emits [`application/problem+json`](https://tools.ietf.org/html/rfc7231).
22
- - ✨ Reduced number of dependencies.
31
+ - ✨ Add serializer DSL to be more in line with validation gem.
32
+ - ✨ Add ability to make a serializer without a validator.
33
+ - ✨ Add error serializer that emits [`application/problem+json`](https://tools.ietf.org/html/rfc7231).
34
+ - ✨ Reduce number of dependencies.
23
35
  - ✨ Validators no longer need to be registered to be used.
24
- - ✨ Added a [wiki where errors can be documented](https://docs.delftsolutions.nl). Feel free to make pages for your own namespaced errors.
36
+ - ✨ Add a [wiki where errors can be documented](https://docs.delftsolutions.nl). Feel free to make pages for your own namespaced errors.
25
37
  - 💔 Serializer definition API has backwards incompatible changes.
26
38
  - 💔 API viewer is now no longer registered as html but accessible with the `?api_viewer=last` query parameter.
27
39
  - 💔 Validators can no longer be registered for use in `format do`.
data/CODE_OF_CONDUCT.md CHANGED
@@ -14,21 +14,21 @@ orientation.
14
14
  Examples of behavior that contributes to creating a positive environment
15
15
  include:
16
16
 
17
- * Using welcoming and inclusive language
18
- * Being respectful of differing viewpoints and experiences
19
- * Gracefully accepting constructive criticism
20
- * Focusing on what is best for the community
21
- * Showing empathy towards other community members
17
+ - Using welcoming and inclusive language
18
+ - Being respectful of differing viewpoints and experiences
19
+ - Gracefully accepting constructive criticism
20
+ - Focusing on what is best for the community
21
+ - Showing empathy towards other community members
22
22
 
23
23
  Examples of unacceptable behavior by participants include:
24
24
 
25
- * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- * Trolling, insulting/derogatory comments, and personal or political attacks
28
- * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
25
+ - The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ - Trolling, insulting/derogatory comments, and personal or political attacks
28
+ - Public or private harassment
29
+ - Publishing others' private information, such as a physical or electronic
30
30
  address, without explicit permission
31
- * Other conduct which could reasonably be considered inappropriate in a
31
+ - Other conduct which could reasonably be considered inappropriate in a
32
32
  professional setting
33
33
 
34
34
  ## Our Responsibilities
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source "https://rubygems.org"
2
-
3
- # Specify your gem's dependencies in media_types-serialization.gemspec
4
- gemspec
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in media_types-serialization.gemspec
4
+ gemspec
data/Gemfile.lock CHANGED
@@ -4,131 +4,125 @@ PATH
4
4
  media_types-serialization (1.0.3)
5
5
  actionpack (>= 4.0.0)
6
6
  activesupport (>= 4.0.0)
7
- http_headers-accept (>= 0.2.2, < 1.0.0)
8
- http_headers-link (< 1.0.0)
9
7
  media_types (>= 2.0.0, < 3.0.0)
10
8
 
11
9
  GEM
12
10
  remote: https://rubygems.org/
13
11
  specs:
14
- actioncable (5.2.4.2)
15
- actionpack (= 5.2.4.2)
12
+ actioncable (5.2.6)
13
+ actionpack (= 5.2.6)
16
14
  nio4r (~> 2.0)
17
15
  websocket-driver (>= 0.6.1)
18
- actionmailer (5.2.4.2)
19
- actionpack (= 5.2.4.2)
20
- actionview (= 5.2.4.2)
21
- activejob (= 5.2.4.2)
16
+ actionmailer (5.2.6)
17
+ actionpack (= 5.2.6)
18
+ actionview (= 5.2.6)
19
+ activejob (= 5.2.6)
22
20
  mail (~> 2.5, >= 2.5.4)
23
21
  rails-dom-testing (~> 2.0)
24
- actionpack (5.2.4.2)
25
- actionview (= 5.2.4.2)
26
- activesupport (= 5.2.4.2)
22
+ actionpack (5.2.6)
23
+ actionview (= 5.2.6)
24
+ activesupport (= 5.2.6)
27
25
  rack (~> 2.0, >= 2.0.8)
28
26
  rack-test (>= 0.6.3)
29
27
  rails-dom-testing (~> 2.0)
30
28
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
31
- actionview (5.2.4.2)
32
- activesupport (= 5.2.4.2)
29
+ actionview (5.2.6)
30
+ activesupport (= 5.2.6)
33
31
  builder (~> 3.1)
34
32
  erubi (~> 1.4)
35
33
  rails-dom-testing (~> 2.0)
36
34
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
37
- activejob (5.2.4.2)
38
- activesupport (= 5.2.4.2)
35
+ activejob (5.2.6)
36
+ activesupport (= 5.2.6)
39
37
  globalid (>= 0.3.6)
40
- activemodel (5.2.4.2)
41
- activesupport (= 5.2.4.2)
42
- activerecord (5.2.4.2)
43
- activemodel (= 5.2.4.2)
44
- activesupport (= 5.2.4.2)
38
+ activemodel (5.2.6)
39
+ activesupport (= 5.2.6)
40
+ activerecord (5.2.6)
41
+ activemodel (= 5.2.6)
42
+ activesupport (= 5.2.6)
45
43
  arel (>= 9.0)
46
- activestorage (5.2.4.2)
47
- actionpack (= 5.2.4.2)
48
- activerecord (= 5.2.4.2)
49
- marcel (~> 0.3.1)
50
- activesupport (5.2.4.2)
44
+ activestorage (5.2.6)
45
+ actionpack (= 5.2.6)
46
+ activerecord (= 5.2.6)
47
+ marcel (~> 1.0.0)
48
+ activesupport (5.2.6)
51
49
  concurrent-ruby (~> 1.0, >= 1.0.2)
52
50
  i18n (>= 0.7, < 2)
53
51
  minitest (~> 5.1)
54
52
  tzinfo (~> 1.1)
55
53
  arel (9.0.0)
56
- awesome_print (1.8.0)
54
+ awesome_print (1.9.2)
57
55
  builder (3.2.4)
58
- concurrent-ruby (1.1.6)
56
+ concurrent-ruby (1.1.9)
59
57
  crass (1.0.6)
60
- erubi (1.9.0)
58
+ erubi (1.10.0)
61
59
  globalid (0.4.2)
62
60
  activesupport (>= 4.2.0)
63
- http_headers-accept (0.2.2)
64
- http_headers-utils (>= 0.2.0, < 1.0.0)
65
- http_headers-link (0.2.1)
66
- http_headers-utils (>= 0.2.0, < 1.0.0)
67
- http_headers-utils (0.2.0)
68
- i18n (1.8.2)
61
+ i18n (1.8.10)
69
62
  concurrent-ruby (~> 1.0)
70
- loofah (2.5.0)
63
+ loofah (2.10.0)
71
64
  crass (~> 1.0.2)
72
65
  nokogiri (>= 1.5.9)
73
66
  mail (2.7.1)
74
67
  mini_mime (>= 0.1.1)
75
- marcel (0.3.3)
76
- mimemagic (~> 0.3.2)
68
+ marcel (1.0.1)
77
69
  media_types (2.0.1)
78
70
  method_source (1.0.0)
79
- mimemagic (0.3.4)
80
- mini_mime (1.0.2)
81
- mini_portile2 (2.4.0)
82
- minitest (5.14.0)
83
- nio4r (2.5.2)
84
- nokogiri (1.10.9)
85
- mini_portile2 (~> 2.4.0)
86
- oj (3.10.6)
87
- rack (2.2.2)
71
+ mini_mime (1.1.0)
72
+ minitest (5.14.4)
73
+ nio4r (2.5.7)
74
+ nokogiri (1.11.7-x64-mingw32)
75
+ racc (~> 1.4)
76
+ nokogiri (1.11.7-x86_64-linux)
77
+ racc (~> 1.4)
78
+ oj (3.11.7)
79
+ racc (1.5.2)
80
+ rack (2.2.3)
88
81
  rack-test (1.1.0)
89
82
  rack (>= 1.0, < 3)
90
- rails (5.2.4.2)
91
- actioncable (= 5.2.4.2)
92
- actionmailer (= 5.2.4.2)
93
- actionpack (= 5.2.4.2)
94
- actionview (= 5.2.4.2)
95
- activejob (= 5.2.4.2)
96
- activemodel (= 5.2.4.2)
97
- activerecord (= 5.2.4.2)
98
- activestorage (= 5.2.4.2)
99
- activesupport (= 5.2.4.2)
83
+ rails (5.2.6)
84
+ actioncable (= 5.2.6)
85
+ actionmailer (= 5.2.6)
86
+ actionpack (= 5.2.6)
87
+ actionview (= 5.2.6)
88
+ activejob (= 5.2.6)
89
+ activemodel (= 5.2.6)
90
+ activerecord (= 5.2.6)
91
+ activestorage (= 5.2.6)
92
+ activesupport (= 5.2.6)
100
93
  bundler (>= 1.3.0)
101
- railties (= 5.2.4.2)
94
+ railties (= 5.2.6)
102
95
  sprockets-rails (>= 2.0.0)
103
96
  rails-dom-testing (2.0.3)
104
97
  activesupport (>= 4.2.0)
105
98
  nokogiri (>= 1.6)
106
99
  rails-html-sanitizer (1.3.0)
107
100
  loofah (~> 2.3)
108
- railties (5.2.4.2)
109
- actionpack (= 5.2.4.2)
110
- activesupport (= 5.2.4.2)
101
+ railties (5.2.6)
102
+ actionpack (= 5.2.6)
103
+ activesupport (= 5.2.6)
111
104
  method_source
112
105
  rake (>= 0.8.7)
113
106
  thor (>= 0.19.0, < 2.0)
114
- rake (13.0.1)
115
- sprockets (4.0.0)
107
+ rake (13.0.3)
108
+ sprockets (4.0.2)
116
109
  concurrent-ruby (~> 1.0)
117
110
  rack (> 1, < 3)
118
- sprockets-rails (3.2.1)
111
+ sprockets-rails (3.2.2)
119
112
  actionpack (>= 4.0)
120
113
  activesupport (>= 4.0)
121
114
  sprockets (>= 3.0.0)
122
- thor (1.0.1)
115
+ thor (1.1.0)
123
116
  thread_safe (0.3.6)
124
- tzinfo (1.2.7)
117
+ tzinfo (1.2.9)
125
118
  thread_safe (~> 0.1)
126
- websocket-driver (0.7.1)
119
+ websocket-driver (0.7.5)
127
120
  websocket-extensions (>= 0.1.0)
128
- websocket-extensions (0.1.4)
121
+ websocket-extensions (0.1.5)
129
122
 
130
123
  PLATFORMS
131
- ruby
124
+ x64-mingw32
125
+ x86_64-linux
132
126
 
133
127
  DEPENDENCIES
134
128
  awesome_print
@@ -140,4 +134,4 @@ DEPENDENCIES
140
134
  rake (~> 13.0)
141
135
 
142
136
  BUNDLED WITH
143
- 1.17.3
137
+ 2.2.7
data/LICENSE.txt CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2019 Derk-Jan Karrenbeld
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Derk-Jan Karrenbeld
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.