gitback.gemspec in gitback-0.1.1 vs gitback.gemspec in gitback-0.1.2

- old
+ new

@@ -1,67 +1,24 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command # -*- encoding: utf-8 -*- +$:.push File.expand_path("../lib", __FILE__) +require "gitback/version" Gem::Specification.new do |s| - s.name = %q{gitback} - s.version = "0.1.1" - - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Bryce Thornton"] - s.date = %q{2010-05-20} - s.description = %q{Provide a list of files and/or directories and gitback will copy them to your git repo, commit and push when there are changes.} - s.email = %q{brycethornton@gmail.com} - s.extra_rdoc_files = [ - "LICENSE", - "README.md" - ] - s.files = [ - ".document", - ".gitignore", - "LICENSE", - "README.md", - "Rakefile", - "VERSION", - "gitback.gemspec", - "lib/gitback.rb", - "lib/gitback/repository.rb", - "test/data/another/file.txt", - "test/data/another/test.txt", - "test/data/some/deep/.bash_profile", - "test/data/some/deep/directory/fstab", - "test/data/some/deep/directory/test.conf", - "test/data/some/deep/nginx.conf", - "test/data/some/test_file.txt", - "test/data/testing.txt", - "test/helper.rb", - "test/repos/.gitignore", - "test/test_gitback.rb" - ] - s.homepage = %q{http://github.com/brycethornton/gitback} - s.rdoc_options = ["--charset=UTF-8"] - s.require_paths = ["lib"] - s.rubygems_version = %q{1.3.7} + s.name = "gitback" + s.version = Gitback::VERSION + s.platform = Gem::Platform::RUBY + s.authors = ["Bryce Thornton"] + s.email = ["brycethornton@gmail.com"] + s.homepage = "http://github.com/brycethornton/gitback" s.summary = %q{A simple ruby library for backing up files to git} - s.test_files = [ - "test/helper.rb", - "test/test_gitback.rb" - ] + s.description = %q{Provide a list of files and/or directories and gitback will copy them to your git repo, commit and push when there are changes.} - if s.respond_to? :specification_version then - current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION - s.specification_version = 3 + s.add_dependency "grit", ">= 2.4.1" - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q<grit>, [">= 2.0.0"]) - s.add_development_dependency(%q<shoulda>, [">= 0"]) - else - s.add_dependency(%q<grit>, [">= 2.0.0"]) - s.add_dependency(%q<shoulda>, [">= 0"]) - end - else - s.add_dependency(%q<grit>, [">= 2.0.0"]) - s.add_dependency(%q<shoulda>, [">= 0"]) - end + s.rubyforge_project = "gitback" + + s.files = `git ls-files`.split("\n") + s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } + s.require_paths = ["lib"] end