Module: Jeweler::Commands::ReleaseCommon

Included in:
ReleaseGemspec, ReleaseToGit
Defined in:
lib/jeweler/commands/release_common.rb

Instance Method Summary collapse

Instance Method Details

#clean_staging_area?Boolean

Returns:

  • (Boolean)


6
7
8
9
10
# File 'lib/jeweler/commands/release_common.rb', line 6

def clean_staging_area?
  # surprisingly simpler than ruby-git
  # `git ls-files --deleted --modified --others --exclude-standard` == ""
  `git ls-files --deleted --modified --exclude-standard` == ""
end