Sha256: 4775a1b7033c7287210b8ef61d8f763f42d814e2bd9e56bf76195c243e53edee

Contents?: true

Size: 459 Bytes

Versions: 3

Compression:

Stored size: 459 Bytes

Contents

# Copyright (c) 2008-2009 The Rubyists, LLC (effortless systems) <rubyists@rubyists.com>
# Distributed under the terms of the MIT license.
# See the LICENSE file that accompanied this software for the full MIT License text
#
desc "update version.rb"
task :reversion do
  File.open("lib/#{GEMSPEC.name}/version.rb", 'w+') do |file|
    file.puts("module #{PROJECT_MODULE}")
    file.puts('  VERSION = %p' % GEMSPEC.version.to_s)
    file.puts('end')
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
deathsyn-seedling-0.0.5 tasks/reversion.rake
seedling-0.0.6 tasks/reversion.rake
seedling-0.0.5 tasks/reversion.rake