Sha256: e5d08d9485f543514136c790ad5ed3f7702ab7710d39504ec3b56e2d67339f5c

Contents?: true

Size: 532 Bytes

Versions: 1130

Compression:

Stored size: 532 Bytes

Contents

module Screengrab
  class DetectValues
    # This is needed to supply default values which are based on config values determined in the initial
    # configuration pass
    def self.set_additional_default_values
      config = Screengrab.config

      # First, try loading the Screengrabfile from the current directory
      config.load_configuration_file(Screengrab.screengrabfile_name)

      unless config[:tests_package_name]
        config[:tests_package_name] = "#{config[:app_package_name]}.test"
      end
    end
  end
end

Version data entries

1,130 entries across 1,130 versions & 6 rubygems

Version Path
screengrab-0.5.3 lib/screengrab/detect_values.rb
screengrab-0.5.2 lib/screengrab/detect_values.rb
screengrab-0.5.1 lib/screengrab/detect_values.rb
screengrab-0.5.0 lib/screengrab/detect_values.rb
screengrab-0.4.0 lib/screengrab/detect_values.rb
screengrab-0.3.2 lib/screengrab/detect_values.rb
screengrab-0.3.1 lib/screengrab/detect_values.rb
screengrab-0.3.0 lib/screengrab/detect_values.rb
screengrab-0.2.1 lib/screengrab/detect_values.rb
screengrab-0.2.0 lib/screengrab/detect_values.rb