lib/screengrab/options.rb in screengrab-0.2.0 vs lib/screengrab/options.rb in screengrab-0.2.1

- old
+ new

@@ -4,11 +4,11 @@ module Screengrab class Options DEVICE_TYPES = ["phone", "sevenInch", "tenInch", "tv", "wear"].freeze def self.available_options - @@options ||= [ + @options ||= [ FastlaneCore::ConfigItem.new(key: :android_home, short_option: "-n", optional: true, default_value: ENV['ANDROID_HOME'] || ENV['ANDROID_SDK'], description: "Path to the root of your Android SDK installation, e.g. ~/tools/android-sdk-macosx"), @@ -38,10 +38,10 @@ is_string: false), FastlaneCore::ConfigItem.new(key: :app_package_name, env_name: 'SCREENGRAB_APP_PACKAGE_NAME', short_option: "-a", description: "The package name of the app under test (e.g. com.yourcompany.yourapp)", - default_value: ENV["screengrab_APP_PACKAGE_NAME"] || CredentialsManager::AppfileConfig.try_fetch_value(:package_name)), + default_value: CredentialsManager::AppfileConfig.try_fetch_value(:package_name)), FastlaneCore::ConfigItem.new(key: :tests_package_name, env_name: 'SCREENGRAB_TESTS_PACKAGE_NAME', optional: true, description: "The package name of the tests bundle (e.g. com.yourcompany.yourapp.test)"), FastlaneCore::ConfigItem.new(key: :use_tests_in_packages,