gbdev-calendar_date_select 1.11.20080825 → 1.11.20080826

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,4 +1,4 @@
1
- == Version 1.11.20080825 ==
1
+ == Version 1.11.20080826 ==
2
2
 
3
3
  * Fork to see if gem will build
4
4
  * Applied artmotion's updates for load path
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "calendar_date_select"
3
- s.version = "1.11.20080825"
3
+ s.version = "1.11.20080826"
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
@@ -7,10 +7,16 @@ ActionView::Base.send(:include, CalendarDateSelect::FormHelper)
7
7
  ActionView::Base.send(:include, CalendarDateSelect::IncludesHelper)
8
8
 
9
9
  # install files
10
+ # FIXME - should check each file or maybe a gem config option to overwrite each startup
10
11
  unless File.exists?(RAILS_ROOT + '/public/javascripts/calendar_date_select/calendar_date_select.js')
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
+ ['/public',
13
+ '/public/javascripts/calendar_date_select',
14
+ '/public/javascripts/calendar_date_select/locale',
15
+ '/public/stylesheets/calendar_date_select',
16
+ '/public/images/calendar_date_select'].each do |dir|
12
17
  source = File.join(File.dirname(__FILE__),dir)
18
+ dest = RAILS_ROOT + dir
13
19
  FileUtils.mkdir_p(dest)
14
- FileUtils.cp(Dir.glob(source+'/*.*'), dest)
20
+ FileUtils.cp(Dir.glob(source+'/*.*'), dest, :verbose => true)
15
21
  end
16
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gbdev-calendar_date_select
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.20080825
4
+ version: 1.11.20080826
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Harper