Sha256: af4bab17d3a2d893de650aa37349a549fed0d6f9351327b0b0e5b4abac65231e
Contents?: true
Size: 1.35 KB
Versions: 5
Compression:
Stored size: 1.35 KB
Contents
begin; require 'rubygems'; rescue LoadError; end require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = 'arson' gemspec.author = "Colin 'Evaryont' Shea" gemspec.summary = "The HOT AUR search helper" gemspec.description = gemspec.summary gemspec.email = 'evaryont@saphrix.com' gemspec.homepage = 'http://evaryont.github.com/arson/' gemspec.platform = Gem::Platform::RUBY gemspec.files = `git ls-files`.split("\n").sort gemspec.has_rdoc = true gemspec.require_path = 'lib' gemspec.bindir = "bin" gemspec.executables = ["arson"] gemspec.add_dependency('json', '>= 1.1.3') gemspec.add_dependency('facets', '>= 2.5.1') end rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end namespace :version do desc "Writes the version to lib/arson/version.rb" task :ruby do version = Jeweler::Version.new(".") # TODO: This is hard coded 'arson' but it should be dynamic, given # the gem spec file = File.open("lib/arson/version.rb", "w") # TODO: and so should this class template file.write <<-CLASS # Automattically generated by `rake version:write' - use version:bump to change # this, do not edit this directly, as it will be overwritten! class Arson VERSION = [#{version.major}, #{version.minor}, #{version.patch}] end CLASS end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
evaryont-arson-2.0.0 | Rakefile |
evaryont-arson-2.0.1 | Rakefile |
evaryont-arson-2.0.2 | Rakefile |
evaryont-arson-2.1.1 | Rakefile |
evaryont-arson-2.1.2 | Rakefile |