Sha256: 1217165e6aa87cc814ec504e4804bb93a66ee41d4bf45aa398708baeb15f9ca1

Contents?: true

Size: 1.29 KB

Versions: 3

Compression:

Stored size: 1.29 KB

Contents

#
# Copyright:: Copyright 2016, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

require "license_scout/dependency"

module LicenseScout
  module DependencyManager
    class Base

      POSSIBLE_LICENSE_FILES = %w{
        LICENSE
        LICENSE.txt
        LICENSE.md
        LICENSE.rdoc
        License
        License.text
        License.txt
        License.md
        License.rdoc
        Licence.rdoc
        Licence.md
        MIT-LICENSE
        MIT-LICENSE.txt
        LICENSE.MIT
        LGPL-2.1
        COPYING.txt
        COPYING
        BSD_LICENSE
      }

      attr_reader :project_dir
      attr_reader :options

      def initialize(project_dir, options)
        @project_dir = project_dir
        @options = options
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
license_scout-0.1.2 lib/license_scout/dependency_manager/base.rb
license_scout-0.1.1 lib/license_scout/dependency_manager/base.rb
license_scout-0.1.0 lib/license_scout/dependency_manager/base.rb