tristandunn-calendar_date_select 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. data/.gitignore +3 -0
  2. data/History.txt +240 -0
  3. data/MIT-LICENSE +20 -0
  4. data/Manifest.txt +42 -0
  5. data/README.txt +18 -0
  6. data/Rakefile +35 -0
  7. data/VERSION +1 -0
  8. data/calendar_date_select.gemspec +96 -0
  9. data/init.rb +1 -0
  10. data/js_test/functional/.tmp_cds_test.html +306 -0
  11. data/js_test/functional/cds_test.html +349 -0
  12. data/js_test/functional/format_iso_date_test.html +52 -0
  13. data/js_test/prototype.js +4184 -0
  14. data/js_test/test.css +40 -0
  15. data/js_test/unit/cds_helper_methods.html +46 -0
  16. data/js_test/unittest.js +564 -0
  17. data/lib/calendar_date_select/calendar_date_select.rb +121 -0
  18. data/lib/calendar_date_select/form_helpers.rb +229 -0
  19. data/lib/calendar_date_select/includes_helper.rb +29 -0
  20. data/lib/calendar_date_select.rb +33 -0
  21. data/public/blank_iframe.html +2 -0
  22. data/public/images/calendar_date_select/calendar.gif +0 -0
  23. data/public/javascripts/calendar_date_select/calendar_date_select.js +443 -0
  24. data/public/javascripts/calendar_date_select/format_american.js +35 -0
  25. data/public/javascripts/calendar_date_select/format_danish.js +31 -0
  26. data/public/javascripts/calendar_date_select/format_db.js +27 -0
  27. data/public/javascripts/calendar_date_select/format_euro_24hr.js +7 -0
  28. data/public/javascripts/calendar_date_select/format_euro_24hr_ymd.js +7 -0
  29. data/public/javascripts/calendar_date_select/format_finnish.js +32 -0
  30. data/public/javascripts/calendar_date_select/format_hyphen_ampm.js +37 -0
  31. data/public/javascripts/calendar_date_select/format_iso_date.js +29 -0
  32. data/public/javascripts/calendar_date_select/format_italian.js +24 -0
  33. data/public/javascripts/calendar_date_select/locale/ar.js +10 -0
  34. data/public/javascripts/calendar_date_select/locale/da.js +11 -0
  35. data/public/javascripts/calendar_date_select/locale/de.js +11 -0
  36. data/public/javascripts/calendar_date_select/locale/es.js +11 -0
  37. data/public/javascripts/calendar_date_select/locale/fi.js +10 -0
  38. data/public/javascripts/calendar_date_select/locale/fr.js +11 -0
  39. data/public/javascripts/calendar_date_select/locale/it.js +9 -0
  40. data/public/javascripts/calendar_date_select/locale/nl.js +11 -0
  41. data/public/javascripts/calendar_date_select/locale/pl.js +11 -0
  42. data/public/javascripts/calendar_date_select/locale/pt.js +11 -0
  43. data/public/javascripts/calendar_date_select/locale/ru.js +10 -0
  44. data/public/javascripts/calendar_date_select/locale/sl.js +11 -0
  45. data/public/stylesheets/calendar_date_select/blue.css +130 -0
  46. data/public/stylesheets/calendar_date_select/default.css +135 -0
  47. data/public/stylesheets/calendar_date_select/green.css +142 -0
  48. data/public/stylesheets/calendar_date_select/plain.css +128 -0
  49. data/public/stylesheets/calendar_date_select/red.css +135 -0
  50. data/public/stylesheets/calendar_date_select/silver.css +133 -0
  51. data/spec/calendar_date_select/calendar_date_select_spec.rb +14 -0
  52. data/spec/calendar_date_select/form_helpers_spec.rb +203 -0
  53. data/spec/calendar_date_select/includes_helper_spec.rb +46 -0
  54. data/spec/spec_helper.rb +26 -0
  55. metadata +113 -0
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ /pkg
2
+ /doc
3
+ *.gem
data/History.txt ADDED
@@ -0,0 +1,240 @@
1
+ == Version 1.15.1
2
+ * Bugfix: iso_date fixes (Robert Brown)
3
+
4
+ == Version 1.15
5
+ * Bugfix: don't include the :image option in the input field
6
+
7
+ == Version 1.14
8
+ * Added support for Rails 2.3
9
+
10
+ == Version 1.13
11
+ * Lots of code clean up!
12
+ * Moved test suite over to rspec
13
+ * CalendarDateSelect.default_options implemented. Use CalendarDateSelect.default_options.update(...) to set the default_options for your app.
14
+ * calendar_date_select and calendar_date_select_tag accept an :image parameter.
15
+ * Backwards compatibility hook for Rails 2.1
16
+ * RDOC!
17
+ * Don't try to focus a hidden or disabled element (closes #129 - thanks Bruno)
18
+ * Call onchange callback when clearing the calendar (closes #137 - thanks Chewi)
19
+ * Fixed issue that made :db format worthless (closes #135, thanks Andreas Zecher)
20
+ * dramatic optimization for calendar initial-rendering (thanks Yehudab, Bompus)
21
+
22
+ == Version 1.12 ==
23
+ * Updated for compatibility with Rails 2.2
24
+
25
+ == Version 1.11.1 ==
26
+ * properly wrap buttons if they are too big for the line
27
+ * more translations: german (Jonas), Added russian translation (DEkart)
28
+ * locale fixes:
29
+ * Fix: time doesn't work (using 12 hour instead of 24 hour) in Italian format.
30
+ * updated Portuguese translation with the "Clear" action (Daniel Luz)
31
+ * Portuguese was missing month of October
32
+ * Added a clear button (Hendy Tanata)
33
+ * Reverted a change that attempted to fix position in a scrollable div, but caused probles elsewhere
34
+ * Added :minute_interval to calendar_date_select_process_options, fixing http://code.google.com/p/calendardateselect/issues/detail?id=81
35
+ * Add helpers to give the list of javascripts and stylesheets (calendar_date_select_javascripts and calendar_date_select_stylesheets)
36
+ * Converted over to use Hoe (echoe was giving too many problems). Refactored the directory structure to make it more gem-ish.
37
+
38
+ == Version 1.11 ==
39
+
40
+ * Calendar Date Select now works as a ruby-gem (thanks, artmotion!)
41
+ * Applied fix outlined in Issue #83: http://code.google.com/p/calendardateselect/issues/detail?id=83 (Thanks David Bolton)
42
+
43
+ == Version 1.10.5 ==
44
+ Apr 7, 2008
45
+ * Javascript code refactoring! Less mess!
46
+ * Bugfix - range was including element 42, which is really the 43rd element, so there was an error happening when today happens exactly 43 days after the beginning date (caught this by chance, surprised it wasn't reported before)
47
+
48
+ == Version 1.10.4 ==
49
+ Mar 24, 2008
50
+ * patch applied to fix issue #92: nil object option causes CalendarDateSelect.calendar_date_select(object, method, options) to not use object. Thanks, sskirby!
51
+
52
+ == Version 1.10.3 ==
53
+ Mar 24. 2008
54
+ * Fixed active scaffold integration bug. Thanks tapajos!
55
+
56
+ == Version 1.10.2 ==
57
+ Mar 10. 2008
58
+ * bugfix: calendar_date_select_tag doesn't format Time and Date values (thanks for the patch, sskirby!)
59
+
60
+ == Version 1.10.1 ==
61
+ Mar 10, 2008
62
+ * updated to automatically install locale folder
63
+ * bugfix - cds "today" was showing up as Mar 9th 2008, when it was really Mar 10th 2008 - was caused by a wrinkle in time (Day light savings time)
64
+ * Prototype 1.6.0.1 compatibility issue (77) resolved - thanks mike.nicholaides for the patch!
65
+ * patch applied from mjroghelia to fix ie ssl iframe issue (84)
66
+ * xhtml error fixed -   replaced with #160;
67
+
68
+ ==Version 1.10 ==
69
+ Dec 3, 2007
70
+ * You can now pass in a parameter to tell CalendarDateSelect not to allow selection of certain dates. See the [http://www.restatesman.com/static/calendar?tab=other demo] for an example.
71
+
72
+ ==Version 1.9.2==
73
+ Nov 26, 2007
74
+ * CalendarDateSelect was leaking javascript variables. (nothing was explicitly declared local, so javascript assumes global). Added test case and applied fix. This may help with some of the conflicts CalendarDateSelect has been causing with other scripts.
75
+ * Applied Ryan Wood's patch to fix the problem with using a form builder against objects like authorization[coverage_attributes][]. Thanks Ryan Wood!
76
+ * Wes Hays brought up the point of parseInt trying to auto-detect number formats. Wrote code to force interpretation of digits as base10, with test cases to prove it.
77
+ * Misleading test case failure in Safari fixed: Safari won't let a boolean value to a property that should have a function (understandably). Changed the test variable names to prevent such a conflict.
78
+ * Now uses css :hover, rather than manually setting/removing the hover class. If you are using a custom stylesheet, you'll need to change ".calendar_date_select tbody td.hover" to ".calendar_date_select tbody td:hover" (thanks, Alex Egg)
79
+
80
+ ==Version 1.9.1==
81
+ Nov 15, 2007
82
+ * Removed dependency on deprecated features in 1.6.0. Thanks again, Richard Quadling!
83
+ * Bugfix - was showing wrong day selected when selecting Mar 23, 2008. (Day light savings time issue). Fixed with test case.
84
+ * Added CSS style to show red border around the embedded calendar_date_select div's with errors.
85
+ * Callbacks were broken with 1.9.0. Fixed, added test cases.
86
+
87
+ ==Version 1.9.0==
88
+ Nov 13, 2007
89
+ * Prototype 1.6.0 compatibility update. Will now break with earlier versions of prototype (ie 1.5.1). Big thanks to Kevin Alexander and Richard Quadling
90
+ * Additional test coverage for improved stability going forward.
91
+
92
+ ==Version 1.8.3==
93
+ Nov 12, 2007
94
+
95
+ * Improved close methods:
96
+ * Added "OK" button at the bottom
97
+ * Double clicking a day closes the calendar (not in IE, though... because IE is everyone's favorite browser to program for)
98
+ * Escape key closes calendar
99
+ * Added optional close button at the top, which is hidden by default. Don't use this unless you really need it, because it may disappear in the future.
100
+ * Don't focus a hidden element
101
+ * Navigate down to child input element if exists (in case a div tag is passed in). Resolves problems when input control is wrapped with a error div. Test cases
102
+ * Allow specific year ranges (pass in an array)
103
+ * restrict year navigation inside of a non-flexible range
104
+ * test case to check auto-repopulating of flexibleYearRanges.
105
+ * test case to check boundaries of nonFlexibleYearRanges.
106
+ * Ability to pass in :year_range => 5.years.ago..0.years.ago to calendar_date_select (ruby)
107
+ * Updated test cases
108
+ * Bugfix for duplicate days that were occuring across day-light-saving-time boundaries
109
+ * Added format_american.js (thanks, Wes Hays)
110
+ * Added format_italian.js (thanks, Bigonazzi)
111
+ * Added format_euro_24hr.js (thanks, James Silberbauer)
112
+ * Bugfix for Konqueror - Was showing blank white box for popup window - had to do with Iframe hack.
113
+ * Code-refactoring, clean up, breaking down methods, making the code easier to understand and extend.
114
+ * Added new stylesheet definition: .calendar_date_select .cds_header a.close { display: none}. Update your custom stylesheet with this new definition.
115
+
116
+
117
+ ==Version 1.8.1==
118
+ September 27 2007
119
+ * 1.8.0 was rushed. There were a bunch of bugs that cropped up immediately. This deploy includes JavaScript unit testing using the scriptaculous unit test framework! ([http://www.restatesman.com/calendar_date_select/js_test/functional/cds_test.html click here to run the tests on the latest trunk version]). These unit tests are going to greatly improve the reliability of CalendarDateSelect releases.
120
+
121
+ ==Version 1.8.0==
122
+
123
+ September 26 2007
124
+ * Bugfix - Safari 2 issue fixed (was interpreting "" as January 1, 1969)
125
+ * CSS overhaul - removed buttons and replaced with links. Cleaned up CSS. See CSSDiff_1_7_0__1_8_0 for a diff.
126
+ * :popup => :force (force the user to select a date)
127
+ * :time => "mixed" - You can now create a calendar control that allows a user to select "all day" or a specific time!
128
+ * :month_year => "label" - Replace the clunky dropdowns with a text.
129
+ * Some internal "gardening" on the code
130
+
131
+ ==Version 1.7.1==
132
+
133
+ Aug 29 2007
134
+
135
+ * Rendering options weren't being passed to the input control (like :style, :class, etc.)
136
+
137
+ ==Version 1.7.0==
138
+
139
+ Aug 24 2007
140
+
141
+ * update calendar date select to not rely on dom_id's anymore ( and no longer automatically changes the dom_id for your input fields )
142
+
143
+ * applied Steve Madsen's patch for not blanking out invalid dates.
144
+
145
+ ==Version 1.6.1==
146
+
147
+ Aug 24 2007
148
+
149
+ * Serious javascript bug when using "hyphen_ampm" format fixed. (Was only working in Firefox browsers with firebug installed)
150
+
151
+ * Added a bunch of new callbacks: before_show, before_close, after_show, after_close, after_navigate. (see [http://www.restatesman.com/static/calendar?tab=callbacks here] for details)
152
+
153
+
154
+ ==Version 1.6.0==
155
+
156
+ July 27 2007
157
+
158
+ * Now MUCH easier to change date formats! See ChangingDateFormat for details.
159
+ * Opera button labels fixed
160
+ * Calendar "flicker" fixed when displaying popup window.
161
+ * JS error 106 being thrown - fixed
162
+ * Bug fixes relating to calendar date select deciding whether to display above or below an element on a page
163
+ * XHTML compliance issue resolved - image had an invalid "id"
164
+ * Disabled/readonly elements can't be updated
165
+ * (note, if you wish to prevent user from inputting a date without the date picker, use the "embedded" option. See [http://restatesman.com/static/calendar/ demo] for example).
166
+ * Changes/cleanups submitted by Steve Madsen. If you see Steve, tell him what a great guy he is!
167
+ * Ability to change calendar image via CalendarDateSelect.image=
168
+ * cleaning up on how input tags are rendered
169
+
170
+ ==Version 1.5.2==
171
+
172
+ July 12 2007
173
+ * onchange event handler now supported.
174
+ * detects to see if prototype is loaded. If not, shows error message
175
+ * ability to hide "buttons"
176
+ * date parsing broken out to static function Date.parseFormattedString() for anyone who wants date's to parse a different way from javascript
177
+ * you can no longer select 1:60 pm.
178
+
179
+ ==Version 1.5.1==
180
+
181
+ June 21, 2007
182
+
183
+ * fixed following tickets:
184
+ * Selecting dates in April 2007 doesn't highlight day
185
+ * Selecting 29 February 2008 returns 1 March 2008
186
+ * options[:format] needs to be purged
187
+
188
+ ==Version 1.5==
189
+ June 18, 2007
190
+
191
+ * New CSS stylesheet
192
+
193
+ * Fixed "white on white" css issue when selecting a day
194
+
195
+ * Clicking today now updates the input field
196
+
197
+ ==Version 1.4==
198
+ June 16, 2007
199
+
200
+ * more bug fixes (selecting across daylight savings time causing js error. Sometimes clicking a day of the next month after selecting day 31 of the previous month was causing 2 months later to be selected)
201
+
202
+ * CSS improvements and refactoring
203
+
204
+ * form builder methods now automatically detect whether or not to use a Time field
205
+
206
+ * a bit more optimization
207
+
208
+ * refactored date formatter methods and others so they can be more easily overridden.
209
+
210
+ ==Version 1.3==
211
+ June 8, 2007
212
+
213
+ * a few bug fixes
214
+
215
+ * Modified the helper methods to allow passing of virtually any JavaScript argument into the JavaScript control.
216
+
217
+ ==Version 1.2==
218
+ June 4, 2007
219
+
220
+ * Big optimizations to the redrawing of the calendar. Now, previous/next buttons much more responsive.
221
+
222
+ * Improved feel of pop-up dialog - when somewhere else clicked on the screen other than the popup calendar, popup calendar will automatically close.
223
+
224
+ * If the popup window won't fit on the screen underneath the control, will automatically position to the top.
225
+
226
+
227
+ ==Version 1.1==
228
+ June 2, 2007
229
+
230
+ * There was a very strange bug that crept in for Internet Explorer. Internet Explorer does not allow you to set the innerHTML property for "button" elements. Therefore, it was necessary to change "button" elements to "input" elements of type button.
231
+
232
+ * There was a change to the CSS file. Anything applying styles to "button" elements has been changed to "input.button". If you have a custom stylesheet, update accordingly.
233
+
234
+ ==Version 1.0==
235
+ June 1, 2007
236
+
237
+ * Initial release!
238
+
239
+
240
+
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ All portions Copyright (c) 2007 Tim Harper
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Manifest.txt ADDED
@@ -0,0 +1,42 @@
1
+ History.txt
2
+ init.rb
3
+ js_test/functional/cds_test.html
4
+ js_test/prototype.js
5
+ js_test/test.css
6
+ js_test/unit/cds_helper_methods.html
7
+ js_test/unittest.js
8
+ lib/calendar_date_select/calendar_date_select.rb
9
+ lib/calendar_date_select/includes_helper.rb
10
+ lib/calendar_date_select/form_helpers.rb
11
+ lib/calendar_date_select.rb
12
+ Manifest.txt
13
+ MIT-LICENSE
14
+ public/blank_iframe.html
15
+ public/images/calendar_date_select/calendar.gif
16
+ public/javascripts/calendar_date_select/calendar_date_select.js
17
+ public/javascripts/calendar_date_select/format_american.js
18
+ public/javascripts/calendar_date_select/format_db.js
19
+ public/javascripts/calendar_date_select/format_euro_24hr.js
20
+ public/javascripts/calendar_date_select/format_euro_24hr_ymd.js
21
+ public/javascripts/calendar_date_select/format_finnish.js
22
+ public/javascripts/calendar_date_select/format_hyphen_ampm.js
23
+ public/javascripts/calendar_date_select/format_iso_date.js
24
+ public/javascripts/calendar_date_select/format_italian.js
25
+ public/javascripts/calendar_date_select/locale/de.js
26
+ public/javascripts/calendar_date_select/locale/fi.js
27
+ public/javascripts/calendar_date_select/locale/fr.js
28
+ public/javascripts/calendar_date_select/locale/pl.js
29
+ public/javascripts/calendar_date_select/locale/pt.js
30
+ public/javascripts/calendar_date_select/locale/ru.js
31
+ public/stylesheets/calendar_date_select/blue.css
32
+ public/stylesheets/calendar_date_select/default.css
33
+ public/stylesheets/calendar_date_select/plain.css
34
+ public/stylesheets/calendar_date_select/red.css
35
+ public/stylesheets/calendar_date_select/silver.css
36
+ Rakefile
37
+ README.txt
38
+ spec/
39
+ spec/calendar_date_select
40
+ spec/calendar_date_select/calendar_date_select_spec.rb
41
+ spec/calendar_date_select/form_helpers_spec.rb
42
+ spec/spec_helper.rb
data/README.txt ADDED
@@ -0,0 +1,18 @@
1
+ = CalendarDateSelect
2
+
3
+ http://code.google.com/p/calendardateselect/
4
+
5
+ This project is looking for a new maintainer. Please contact me if you have sufficient interest in this project to move it forward.
6
+
7
+ == Examples
8
+
9
+ "See a demo here":http://electronicholas.com/calendar
10
+
11
+ == Submitting patches
12
+
13
+ Please take care to do the following:
14
+
15
+ * Clean up your patch (don't send a patch bomb with a hundred features in one)
16
+ * Write test cases!
17
+ * As a general rule of thumb, think of ways to make things more general purpose than specific.
18
+
data/Rakefile ADDED
@@ -0,0 +1,35 @@
1
+ # -*- ruby -*-
2
+
3
+
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gemspec|
7
+ gemspec.name = "calendar_date_select"
8
+ gemspec.summary = "calendar_date_select fork; includes highlighting"
9
+ gemspec.description = "This is a fork of the original calendar_date_select, including the additional feature of highlighting dates on the calendar without disabling other dates"
10
+ gemspec.email = "egarcia@splendeo.es"
11
+ gemspec.homepage = "http://github.com/kikito/calendar_date_select"
12
+ gemspec.description = "calendar_date_select fork; includes highlighting"
13
+ gemspec.authors = ["Enrique Garcia Cota (kikito)", "Tim Charper", "Lars E. Hoeg"]
14
+ end
15
+ rescue LoadError
16
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
17
+ end
18
+
19
+ desc "Set the current gem version in the code (VERSION=version)"
20
+ task :set_version do
21
+ ["lib/calendar_date_select/calendar_date_select.rb", "public/javascripts/calendar_date_select/calendar_date_select.js"].each do |file|
22
+ abs_file = File.dirname(__FILE__) + "/" + file
23
+ src = File.read(abs_file);
24
+ src = src.map do |line|
25
+ case line
26
+ when /^ *VERSION/ then " VERSION = '#{ENV['VERSION']}'\n"
27
+ when /^\/\/ CalendarDateSelect version / then "// CalendarDateSelect version #{ENV['VERSION']} - a prototype based date picker\n"
28
+ else
29
+ line
30
+ end
31
+ end.join
32
+ File.open(abs_file, "wb") { |f| f << src }
33
+ end
34
+ end
35
+ # vim: syntax=Ruby
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.0
@@ -0,0 +1,96 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{tristandunn-calendar_date_select}
8
+ s.version = "1.0.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Enrique Garcia Cota (kikito)", "Tim Charper", "Lars E. Hoeg"]
12
+ s.date = %q{2010-01-06}
13
+ s.description = %q{calendar_date_select fork; includes highlighting}
14
+ s.email = %q{egarcia@splendeo.es}
15
+ s.extra_rdoc_files = [
16
+ "README.txt"
17
+ ]
18
+ s.files = [
19
+ ".gitignore",
20
+ "History.txt",
21
+ "MIT-LICENSE",
22
+ "Manifest.txt",
23
+ "README.txt",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "calendar_date_select.gemspec",
27
+ "init.rb",
28
+ "js_test/functional/.tmp_cds_test.html",
29
+ "js_test/functional/cds_test.html",
30
+ "js_test/functional/format_iso_date_test.html",
31
+ "js_test/prototype.js",
32
+ "js_test/test.css",
33
+ "js_test/unit/cds_helper_methods.html",
34
+ "js_test/unittest.js",
35
+ "lib/calendar_date_select.rb",
36
+ "lib/calendar_date_select/calendar_date_select.rb",
37
+ "lib/calendar_date_select/form_helpers.rb",
38
+ "lib/calendar_date_select/includes_helper.rb",
39
+ "public/blank_iframe.html",
40
+ "public/images/calendar_date_select/calendar.gif",
41
+ "public/javascripts/calendar_date_select/calendar_date_select.js",
42
+ "public/javascripts/calendar_date_select/format_american.js",
43
+ "public/javascripts/calendar_date_select/format_danish.js",
44
+ "public/javascripts/calendar_date_select/format_db.js",
45
+ "public/javascripts/calendar_date_select/format_euro_24hr.js",
46
+ "public/javascripts/calendar_date_select/format_euro_24hr_ymd.js",
47
+ "public/javascripts/calendar_date_select/format_finnish.js",
48
+ "public/javascripts/calendar_date_select/format_hyphen_ampm.js",
49
+ "public/javascripts/calendar_date_select/format_iso_date.js",
50
+ "public/javascripts/calendar_date_select/format_italian.js",
51
+ "public/javascripts/calendar_date_select/locale/ar.js",
52
+ "public/javascripts/calendar_date_select/locale/da.js",
53
+ "public/javascripts/calendar_date_select/locale/de.js",
54
+ "public/javascripts/calendar_date_select/locale/es.js",
55
+ "public/javascripts/calendar_date_select/locale/fi.js",
56
+ "public/javascripts/calendar_date_select/locale/fr.js",
57
+ "public/javascripts/calendar_date_select/locale/it.js",
58
+ "public/javascripts/calendar_date_select/locale/nl.js",
59
+ "public/javascripts/calendar_date_select/locale/pl.js",
60
+ "public/javascripts/calendar_date_select/locale/pt.js",
61
+ "public/javascripts/calendar_date_select/locale/ru.js",
62
+ "public/javascripts/calendar_date_select/locale/sl.js",
63
+ "public/stylesheets/calendar_date_select/blue.css",
64
+ "public/stylesheets/calendar_date_select/default.css",
65
+ "public/stylesheets/calendar_date_select/green.css",
66
+ "public/stylesheets/calendar_date_select/plain.css",
67
+ "public/stylesheets/calendar_date_select/red.css",
68
+ "public/stylesheets/calendar_date_select/silver.css",
69
+ "spec/calendar_date_select/calendar_date_select_spec.rb",
70
+ "spec/calendar_date_select/form_helpers_spec.rb",
71
+ "spec/calendar_date_select/includes_helper_spec.rb",
72
+ "spec/spec_helper.rb"
73
+ ]
74
+ s.homepage = %q{http://github.com/kikito/calendar_date_select}
75
+ s.rdoc_options = ["--charset=UTF-8"]
76
+ s.require_paths = ["lib"]
77
+ s.rubygems_version = %q{1.3.5}
78
+ s.summary = %q{calendar_date_select fork; includes highlighting}
79
+ s.test_files = [
80
+ "spec/calendar_date_select/calendar_date_select_spec.rb",
81
+ "spec/calendar_date_select/form_helpers_spec.rb",
82
+ "spec/calendar_date_select/includes_helper_spec.rb",
83
+ "spec/spec_helper.rb"
84
+ ]
85
+
86
+ if s.respond_to? :specification_version then
87
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
88
+ s.specification_version = 3
89
+
90
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
91
+ else
92
+ end
93
+ else
94
+ end
95
+ end
96
+
data/init.rb ADDED
@@ -0,0 +1 @@
1
+ require File.dirname(__FILE__) + "/lib/calendar_date_select.rb"