Sha256: c56becd5e7387bab8684c0e4383dd12ec33513cc8cf17fb152870540edae18e4

Contents?: true

Size: 558 Bytes

Versions: 6

Compression:

Stored size: 558 Bytes

Contents

module GemVersionCheck
  class Configuration
    attr_reader :github_host, :sources, :show_progress_bar, :ignore_major_version_change, :allow_prerelease_dependencies

    def initialize(settings = {})
      @github_host = settings[:github_host]     || "github.com"
      @sources = settings[:sources]
      @show_progress_bar = settings[:show_progress_bar] || false
      @ignore_major_version_change = settings[:ignore_major_version_change] || false
      @allow_prerelease_dependencies = settings[:allow_prerelease_dependencies] || false
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gem_version_check-0.4.1 lib/gem_version_check/configuration.rb
gem_version_check-0.4.0 lib/gem_version_check/configuration.rb
gem_version_check-0.3.1 lib/gem_version_check/configuration.rb
gem_version_check-0.3.0 lib/gem_version_check/configuration.rb
gem_version_check-0.2.1 lib/gem_version_check/configuration.rb
gem_version_check-0.2.0 lib/gem_version_check/configuration.rb