init.rb in artmotion-calendar_date_select-1.10.8 vs init.rb in artmotion-calendar_date_select-1.10.9
- old
+ new
@@ -7,10 +7,10 @@
ActionView::Base.send(:include, CalendarDateSelect::IncludesHelper)
# install files
unless File.exists?(RAILS_ROOT + '/public/javascripts/calendar_date_select/calendar_date_select.js')
['/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|
- source = File.join(File.dirname(__FILE__),'..') + dir
+ source = File.join(File.dirname(__FILE__),dir)
dest = RAILS_ROOT + dir
FileUtils.mkdir_p(dest)
FileUtils.cp(Dir.glob(source+'/*.*'), dest)
end
end