vagrant-registration.gemspec in vagrant-registration-1.0.1 vs vagrant-registration.gemspec in vagrant-registration-1.1.0

- old
+ new

@@ -14,14 +14,15 @@ s.required_rubygems_version = '>= 1.3.6' # Note that the entire gitignore(5) syntax is not supported, specifically # the '!' syntax, but it should mostly work correctly. root_path = File.dirname(__FILE__) - all_files = Dir.chdir(root_path) { + all_files = Dir.chdir(root_path) do Dir.glob('lib/**/{*,.*}') + Dir.glob('plugins/**/{*,.*}') + + Dir.glob('resources/**/{*,.*}') + ['Rakefile', 'Gemfile', 'README.md', 'CHANGELOG.md', 'LICENSE.md', 'vagrant-registration.gemspec'] - } + end all_files.reject! { |file| ['.', '..'].include?(File.basename(file)) } gitignore_path = File.join(root_path, '.gitignore') gitignore = File.readlines(gitignore_path) gitignore.map! { |line| line.chomp.strip } gitignore.reject! { |line| line.empty? || line =~ /^(#|!)/ }