# -*- encoding: utf-8 -*- # stub: licensed 0.11.1 ruby lib Gem::Specification.new do |s| s.name = "licensed".freeze s.version = "0.11.1".freeze s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.require_paths = ["lib".freeze] s.authors = ["GitHub".freeze] s.bindir = "exe".freeze s.date = "2017-10-30" s.description = "# Licensed\n\nLicensed is a Ruby gem to cache and verify the licenses of dependencies.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'licensed', :group => 'development'\n```\n\nAnd then execute:\n\n $ bundle\n\n## Usage\n\n- `licensed cache`: Cache licenses and metadata in `vendor/licenses`\n\n- `licensed verify`: Check for issues with the licenses of dependencies. For example:\n\n```\n$ bundle exec licensed verify\nVerifying licenses for 3 dependencies\n\nWarnings:\n\nvendor/licenses/rubygem/bundler.txt:\n - license needs reviewed: mit.\n\nvendor/licenses/rubygem/licensee.txt:\n - missing license data\n\nvendor/licenses/bower/jquery.txt:\n - license needs reviewed: mit.\n - cached license data out of date\n\n3 dependencies checked, 3 warnings found.\n```\n\n### Configuration\n\nConfiguration is managed by `vendor/licenses/config.yml`.\n\n```yml\n# Dependencies with these licenses are approved by default.\nwhitelist:\n - mit\n - apache-2.0\n - bsd-2-clause\n - bsd-3-clause\n - cc0-1.0\n\n# These dependencies are explicitly ignored.\nignored:\n rubygem:\n - some-internal-gem\n\n bower:\n - some-internal-package\n\n# These dependencies have been reviewed.\nreviewed:\n rubygem:\n - bcrypt-ruby\n\n bower:\n - classlist # public domain\n - octicons\n```\n\n### Sources\n\nDependencies will be automatically detected for\n1. Bundler (rubygem)\n2. NPM\n3. Bower\n4. HaskellStack\n5. Cabal\n6. Go\n7. Manifest lists\n\nYou can disable any of them in `vendor/licenses/config.yml`:\n\n```yml\nsources:\n rubygem: false\n npm: false\n bower: false\n stack: false\n```\n\n#### Special Considerations for Sources\n##### rubygem\nThe rubygem source will explicitly exclude gems in the `:development` and `:test` groups. Be aware that if you have a local\nbundler configuration (e.g. `.bundle`), that configuration will be respected as well. For example, if you have a local\nconfiguration set for `without: [':server']`, the rubygem source will exclude all gems in the `:server` group.\n\n##### cabal\nCabal sourced dependencies are found exclusively through `ghc-pkg`. `licensed` makes no assumptions on where `ghc` package dbs are found.\nAs a result, it is up to the caller to set `GHC_PACKAGE_PATHS` to all package db directories prior to calling into `licensed`.\n\n##### manifests\nManifests are intended to be a stopgap if no package managers are available. The manifest is a JSON file that should be placed in\nthe same directory as `config.yml` and should have the following format\n```JSON\n{\n \"file1\": \"package1\",\n \"path/to/file2\": \"package1\",\n \"other/file3\": \"package2\"\n}\n```\nPaths to files are expected to be relative to the git repository root. Package names will match 1:1 with metadata files at `/manifest/*.txt`.\n\nIt is the responsibility of the repository owner to maintain the manifest file.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n#### Adding sources\n\nWhen adding new dependency sources, ensure that `bin/setup` scripting and tests are only run if the required tooling is available on the development machine.\n\n* See `bin/setup` for examples of gating scripting based on whether tooling executables are found.\n* Use `tool_available?` when writing test files to gate running a test suite when tooling executables aren't available.\n```ruby\nif tool_available?('bundle')\n describe Licensed::Source::Bundler do\n ...\n end\nend\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/github/licensed. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org/) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n".freeze s.email = ["opensource@github.com".freeze] s.executables = ["licensed".freeze, "licensor".freeze] s.files = [".bowerrc".freeze, ".gitignore".freeze, ".travis.yml".freeze, "CODE_OF_CONDUCT.md".freeze, "Gemfile".freeze, "LICENSE.txt".freeze, "README.md".freeze, "Rakefile".freeze, "bin/console".freeze, "bin/setup".freeze, "exe/licensed".freeze, "exe/licensor".freeze, "lib/licensed.rb".freeze, "lib/licensed/cli.rb".freeze, "lib/licensed/command/cache.rb".freeze, "lib/licensed/command/list.rb".freeze, "lib/licensed/command/verify.rb".freeze, "lib/licensed/configuration.rb".freeze, "lib/licensed/dependency.rb".freeze, "lib/licensed/license.rb".freeze, "lib/licensed/source/bower.rb".freeze, "lib/licensed/source/bundler.rb".freeze, "lib/licensed/source/cabal.rb".freeze, "lib/licensed/source/go.rb".freeze, "lib/licensed/source/manifest.rb".freeze, "lib/licensed/source/npm.rb".freeze, "lib/licensed/source/stack.rb".freeze, "lib/licensed/ui/shell.rb".freeze, "lib/licensed/version.rb".freeze, "licensed.gemspec".freeze] s.homepage = "https://github.com/github/licensed".freeze s.licenses = ["MIT".freeze] s.rubygems_version = "3.5.10".freeze s.summary = "extract and validate the licenses of dependencies.".freeze s.specification_version = 4 s.add_runtime_dependency(%q.freeze, ["~> 9.0".freeze]) s.add_runtime_dependency(%q.freeze, ["~> 0.19".freeze]) s.add_runtime_dependency(%q.freeze, ["~> 4.0".freeze]) s.add_runtime_dependency(%q.freeze, ["~> 0.0.1".freeze]) s.add_development_dependency(%q.freeze, ["~> 1.10".freeze]) s.add_development_dependency(%q.freeze, ["~> 10.0".freeze]) s.add_development_dependency(%q.freeze, ["~> 5.8".freeze]) s.add_development_dependency(%q.freeze, ["~> 2.9".freeze]) s.add_development_dependency(%q.freeze, ["~> 1.21".freeze]) end