gbdev-calendar_date_select 1.11.20080824 → 1.11.20080825
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 +2 -1
- data/README +1 -1
- data/calendar_date_select.gemspec +1 -1
- data/init.rb +1 -1
- metadata +1 -1
data/CHANGELOG
CHANGED
data/README
CHANGED
@@ -13,7 +13,7 @@ It works!
|
|
13
13
|
|
14
14
|
Setup for "vendored gem":
|
15
15
|
In enviroment.rb add the gem:
|
16
|
-
config.gem "gbdev-calendar_date_select", :version => "1.11.
|
16
|
+
config.gem "gbdev-calendar_date_select", :version => "1.11.20080825", :source => "http://gems.github.com", :lib => 'gem_init'
|
17
17
|
|
18
18
|
Install the gem locally (this installs the gem system wide)
|
19
19
|
sudo rake gems:install
|
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(File.dirname(__FILE__),
|
12
|
+
source = File.join(File.dirname(__FILE__),dir)
|
13
13
|
FileUtils.mkdir_p(dest)
|
14
14
|
FileUtils.cp(Dir.glob(source+'/*.*'), dest)
|
15
15
|
end
|