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.
- data/calendar_date_select.gemspec +1 -1
- data/init.rb +1 -1
- metadata +1 -1
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(
|
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)
|