diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..3e3662f --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,22 @@ +# License + +(The MIT license) + +Copyright (c) 2014-2016 James Coglan + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the 'Software'), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index 23dc39c..c85f8ea 100644 --- a/README.md +++ b/README.md @@ -311,26 +311,3 @@ the session to release any resources it's using. * Consumer: [websocket-driver](https://github.com/faye/websocket-driver-ruby) * Provider: [permessage-deflate](https://github.com/faye/permessage-deflate-ruby) - -## License - -(The MIT License) - -Copyright (c) 2014-2015 James Coglan - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the 'Software'), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/websocket-extensions.gemspec b/websocket-extensions.gemspec index da688e6..39754b8 100644 --- a/websocket-extensions.gemspec +++ b/websocket-extensions.gemspec @@ -11,7 +11,7 @@ Gem::Specification.new do |s| s.rdoc_options = %w[--main README.md --markup markdown] s.require_paths = %w[lib] - s.files = %w[README.md CHANGELOG.md] + Dir.glob('lib/**/*.rb') + s.files = %w[README.md LICENSE.md CHANGELOG.md] + Dir.glob('lib/**/*.rb') s.add_development_dependency 'rspec' end