artmotion-calendar_date_select 1.10.7 → 1.10.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/calendar_date_select.gemspec +1 -1
  2. data/init.rb +1 -1
  3. metadata +1 -1
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "calendar_date_select"
3
- s.version = "1.10.7"
3
+ s.version = "1.10.8"
4
4
  s.date = "2008-06-24"
5
5
  s.summary = "A popular and flexible JavaScript DatePicker for RubyOnRails"
6
6
  s.email = "timcharper@gmail.com"
data/init.rb CHANGED
@@ -9,7 +9,7 @@ ActionView::Base.send(:include, CalendarDateSelect::IncludesHelper)
9
9
  # install files
10
10
  unless File.exists?(RAILS_ROOT + '/public/javascripts/calendar_date_select/calendar_date_select.js')
11
11
  ['/public', '/public/javascripts/calendar_date_select', '/public/stylesheets/calendar_date_select', '/public/images/calendar_date_select', '/public/javascripts/calendar_date_select/locale'].each do |dir|
12
- source = File.join(directory,dir)
12
+ source = File.join(File.dirname(__FILE__),'..') + dir
13
13
  dest = RAILS_ROOT + dir
14
14
  FileUtils.mkdir_p(dest)
15
15
  FileUtils.cp(Dir.glob(source+'/*.*'), dest)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: artmotion-calendar_date_select
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.7
4
+ version: 1.10.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Harper