diff --git a/.travis.yml b/.travis.yml index 80d68e84..32632cc5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,9 @@ addons: - libicu-dev - libicu48 before_install: script/travis/before_install +script: + - bundle exec rake + - script/licensed verify rvm: - 2.0.0 - 2.1 diff --git a/script/licensed b/script/licensed index 0cbd802e..ea3f538f 100755 --- a/script/licensed +++ b/script/licensed @@ -36,8 +36,11 @@ source = Licensed::Source::Filesystem.new("vendor/grammars/*/", type: "grammar") config = Licensed::Configuration.new config.sources << source -if ARGV[0] == "verify" - Licensed::Command::Verify.new(config).run +command = if ARGV[0] == "verify" + Licensed::Command::Verify.new(config) else - Licensed::Command::Cache.new(config).run(force: true) + Licensed::Command::Cache.new(config) end + +command.run +exit command.success? diff --git a/vendor/licenses/config.yml b/vendor/licenses/config.yml index 01fd4415..ca309968 100644 --- a/vendor/licenses/config.yml +++ b/vendor/licenses/config.yml @@ -24,4 +24,4 @@ reviewed: sources: npm: false - rubygem: true + rubygem: false diff --git a/vendor/licenses/grammar/prolog.tmbundle.txt b/vendor/licenses/grammar/prolog.tmbundle.txt deleted file mode 100644 index fe755e49..00000000 --- a/vendor/licenses/grammar/prolog.tmbundle.txt +++ /dev/null @@ -1,9 +0,0 @@ ---- -type: grammar -name: prolog.tmbundle -license: mpl-2.0 ---- - -License - -This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. diff --git a/vendor/licenses/grammar/sublime-apl.txt b/vendor/licenses/grammar/sublime-apl.txt deleted file mode 100644 index a6cb8750..00000000 --- a/vendor/licenses/grammar/sublime-apl.txt +++ /dev/null @@ -1,26 +0,0 @@ ---- -type: grammar -name: sublime-apl -license: mit ---- -The MIT License (MIT) - -Copyright (c) 2014 John Haugeland - -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. \ No newline at end of file diff --git a/vendor/licenses/rubygem/byebug.txt b/vendor/licenses/rubygem/byebug.txt deleted file mode 100644 index 0cc4b208..00000000 --- a/vendor/licenses/rubygem/byebug.txt +++ /dev/null @@ -1,31 +0,0 @@ ---- -type: rubygem -name: byebug -version: 8.2.2 -summary: Ruby 2.0 fast debugger - base + CLI -homepage: http://github.com/deivid-rodriguez/byebug -license: bsd-2-clause ---- -Copyright (c) David Rodríguez -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -SUCH DAMAGE. diff --git a/vendor/licenses/rubygem/charlock_holmes.txt b/vendor/licenses/rubygem/charlock_holmes.txt deleted file mode 100644 index f7929f8d..00000000 --- a/vendor/licenses/rubygem/charlock_holmes.txt +++ /dev/null @@ -1,28 +0,0 @@ ---- -type: rubygem -name: charlock_holmes -version: 0.7.3 -summary: Character encoding detection, brought to you by ICU -homepage: https://github.com/brianmario/charlock_holmes -license: mit ---- -Copyright (c) 2011 Brian Lopez - https://github.com/brianmario - -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. \ No newline at end of file diff --git a/vendor/licenses/rubygem/escape_utils.txt b/vendor/licenses/rubygem/escape_utils.txt deleted file mode 100644 index 51d88966..00000000 --- a/vendor/licenses/rubygem/escape_utils.txt +++ /dev/null @@ -1,29 +0,0 @@ ---- -type: rubygem -name: escape_utils -version: 1.1.0 -summary: Faster string escaping routines for your web apps -homepage: https://github.com/brianmario/escape_utils -license: mit ---- -The MIT License (MIT) - -Copyright (c) 2014 Brian Lopez - -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/vendor/licenses/rubygem/github-linguist.txt b/vendor/licenses/rubygem/github-linguist.txt deleted file mode 100644 index fda47694..00000000 --- a/vendor/licenses/rubygem/github-linguist.txt +++ /dev/null @@ -1,30 +0,0 @@ ---- -type: rubygem -name: github-linguist -version: 4.8.2 -summary: GitHub Language detection -homepage: https://github.com/github/linguist -license: mit ---- -Copyright (c) 2011-2016 GitHub, Inc. - -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/vendor/licenses/rubygem/mime-types-data.txt b/vendor/licenses/rubygem/mime-types-data.txt deleted file mode 100644 index 60954dea..00000000 --- a/vendor/licenses/rubygem/mime-types-data.txt +++ /dev/null @@ -1,34 +0,0 @@ ---- -type: rubygem -name: mime-types-data -version: 3.2016.0221 -summary: mime-types-data provides a registry for information about MIME media type - definitions -homepage: https://github.com/mime-types/mime-types-data/ -license: mit ---- -## Licence - -* Copyright 2003–2015 Austin Ziegler. - -The software in this repository is made available under the MIT license. - -### MIT License - -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/vendor/licenses/rubygem/mime-types.txt b/vendor/licenses/rubygem/mime-types.txt deleted file mode 100644 index 66a8931e..00000000 --- a/vendor/licenses/rubygem/mime-types.txt +++ /dev/null @@ -1,34 +0,0 @@ ---- -type: rubygem -name: mime-types -version: '3.0' -summary: The mime-types library provides a library and registry for information about - MIME content type definitions -homepage: https://github.com/mime-types/ruby-mime-types/ -license: mit ---- -== Licence - -* Copyright 2003–2015 Austin Ziegler. - -The software in this repository is made available under the MIT license. - -=== MIT License - -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/vendor/licenses/rubygem/rugged.txt b/vendor/licenses/rubygem/rugged.txt deleted file mode 100644 index b2b15511..00000000 --- a/vendor/licenses/rubygem/rugged.txt +++ /dev/null @@ -1,29 +0,0 @@ ---- -type: rubygem -name: rugged -version: 0.24.0 -summary: Rugged is a Ruby binding to the libgit2 linkable library -homepage: https://github.com/libgit2/rugged -license: mit ---- -The MIT License - -Copyright (c) 2015 GitHub, Inc - -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.