lib/pod/command/check.rb in cocoapods-check-1.0.2 vs lib/pod/command/check.rb in cocoapods-check-1.1.0

- old
+ new

@@ -17,16 +17,18 @@ self.arguments = [] def self.options [ - ['--verbose', 'Show change details.'] + ['--verbose', 'Show change details.'], + ['--ignore-dev-pods', 'Ignores updates to development pods.'] ].concat(super) end def initialize(argv) @check_command_verbose = argv.flag?('verbose') + @check_command_ignore_dev_pods = argv.flag?('ignore-dev-pods') super end def run unless config.lockfile @@ -76,9 +78,10 @@ # If this Pod is installed if manifest_version # If this is a development pod do a modified time check if development_pods[spec_name] != nil + next if @check_command_ignore_dev_pods newer_files = get_files_newer_than_lockfile_for_podspec(config, development_pods[spec_name]) if newer_files.any? changed_development_result(spec_name, newer_files) end # Otherwise just compare versions