Sha256: ee001aea2e59d7dcb7180cc4f5da3cdfe0f0f7b3b0e0400f1b52013afe0ddd3a

Contents?: true

Size: 964 Bytes

Versions: 21

Compression:

Stored size: 964 Bytes

Contents

# -*- ruby -*-

require 'rubygems'
require 'hoe'

$: << File.dirname(__FILE__) + "/lib/"
require "activesupport"
require './lib/calendar_date_select.rb'

Hoe.new('calendar_date_select', CalendarDateSelect::VERSION) do |p|
  p.rubyforge_name = 'calendar_date_select'
  p.developer('Tim Harper', 'tim c harper at gmail dot com')
end


task :set_version do
  ["lib/calendar_date_select/calendar_date_select.rb", "public/javascripts/calendar_date_select/calendar_date_select.js"].each do |file|
    abs_file = File.dirname(__FILE__) + "/" + file
    src = File.read(abs_file);
    src = src.map do |line|
      case line
      when /^ *VERSION/                        then "  VERSION = '#{ENV['VERSION']}'\n"
      when /^\/\/ CalendarDateSelect version / then "// CalendarDateSelect version #{ENV['VERSION']} - a prototype based date picker\n"
      else
        line
      end
    end.join
    File.open(abs_file, "wb") { |f| f << src }
  end
end
# vim: syntax=Ruby

Version data entries

21 entries across 21 versions & 8 rubygems

Version Path
atd-calendar_date_select-1.11.20090108 Rakefile
atd-calendar_date_select-1.11.20090109 Rakefile
atd-calendar_date_select-1.11.20090110 Rakefile
atd-calendar_date_select-1.11.20090216 Rakefile
batasrki-calendar_date_select-1.11.1 Rakefile
batasrki-calendar_date_select-1.13.1 Rakefile
batasrki-calendar_date_select-1.13.2 Rakefile
batasrki-calendar_date_select-1.13 Rakefile
edwinmoss-calendar_date_select-1.11.1 Rakefile
harlan-calendar_date_select-1.13.1 Rakefile
harlan-calendar_date_select-1.13 Rakefile
nielsm-calendar_date_select-1.14 Rakefile
nielsm-calendar_date_select-1.15 Rakefile
timcharper-calendar_date_select-1.11.1 Rakefile
calendar_date_select-1.11.1 Rakefile
calendar_date_select-1.13 Rakefile
calendar_date_select-1.14 Rakefile
calendar_date_select-1.12 Rakefile
spree-0.6.0 vendor/plugins/calendar_date_select/Rakefile
spree-0.7.0 vendor/plugins/calendar_date_select/Rakefile