atd-calendar_date_select 1.11.20090108 → 1.11.20090109

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.
@@ -7,7 +7,7 @@ module CalendarDateSelect::IncludesHelper
7
7
 
8
8
  # returns an array of javascripts needed for the selected locale, date_format, and calendar control itself.
9
9
  def calendar_date_select_javascripts(options = {})
10
- options.assert_valid_keys(:format, :locale)
10
+ options.assert_valid_keys(:locale)
11
11
  files = ["calendar_date_select/calendar_date_select"]
12
12
  files << "calendar_date_select/locale/#{options[:locale]}" if options[:locale]
13
13
  files << "calendar_date_select/#{CalendarDateSelect.format[:javascript_include]}" if CalendarDateSelect.format[:javascript_include]
@@ -20,10 +20,10 @@ module CalendarDateSelect::IncludesHelper
20
20
  @cds_already_included=true
21
21
 
22
22
  options = (Hash === args.last) ? args.pop : {}
23
- options.assert_valid_keys(:style, :format, :locale)
23
+ options.assert_valid_keys(:style, :locale)
24
24
  options[:style] ||= args.shift
25
25
 
26
- javascript_include_tag(*calendar_date_select_javascripts(:locale => options[:locale], :format => options[:format])) + "\n" +
26
+ javascript_include_tag(*calendar_date_select_javascripts(:locale => options[:locale])) + "\n" +
27
27
  stylesheet_link_tag(*calendar_date_select_stylesheets(:style => options[:style])) + "\n"
28
28
  end
29
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atd-calendar_date_select
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.20090108
4
+ version: 1.11.20090109
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Harper
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-08 00:00:00 -08:00
12
+ date: 2009-01-09 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency