calendar_date_select 1.16.4 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +16 -3
  3. data/Gemfile +20 -0
  4. data/Gemfile.lock +111 -0
  5. data/History.txt +4 -0
  6. data/{README.txt → README.md} +6 -6
  7. data/Rakefile +6 -35
  8. data/VERSION +1 -1
  9. data/{public → app/assets}/images/calendar_date_select/calendar.gif +0 -0
  10. data/{public → app/assets}/javascripts/calendar_date_select/calendar_date_select.js +0 -0
  11. data/{public → app/assets}/javascripts/calendar_date_select/format_american.js +0 -0
  12. data/{public → app/assets}/javascripts/calendar_date_select/format_danish.js +0 -0
  13. data/{public → app/assets}/javascripts/calendar_date_select/format_db.js +0 -0
  14. data/{public → app/assets}/javascripts/calendar_date_select/format_euro_24hr.js +0 -0
  15. data/{public → app/assets}/javascripts/calendar_date_select/format_euro_24hr_ymd.js +0 -0
  16. data/{public → app/assets}/javascripts/calendar_date_select/format_finnish.js +0 -0
  17. data/{public → app/assets}/javascripts/calendar_date_select/format_hyphen_ampm.js +0 -0
  18. data/{public → app/assets}/javascripts/calendar_date_select/format_iso_date.js +0 -0
  19. data/{public → app/assets}/javascripts/calendar_date_select/format_italian.js +0 -0
  20. data/{public → app/assets}/javascripts/calendar_date_select/locale/ar.js +0 -0
  21. data/app/assets/javascripts/calendar_date_select/locale/cs.js +11 -0
  22. data/{public → app/assets}/javascripts/calendar_date_select/locale/da.js +0 -0
  23. data/{public → app/assets}/javascripts/calendar_date_select/locale/de.js +0 -0
  24. data/{public → app/assets}/javascripts/calendar_date_select/locale/es.js +0 -0
  25. data/{public → app/assets}/javascripts/calendar_date_select/locale/fi.js +3 -3
  26. data/{public → app/assets}/javascripts/calendar_date_select/locale/fr.js +0 -0
  27. data/app/assets/javascripts/calendar_date_select/locale/hu.js +11 -0
  28. data/{public → app/assets}/javascripts/calendar_date_select/locale/it.js +0 -0
  29. data/app/assets/javascripts/calendar_date_select/locale/ja.js +11 -0
  30. data/{public → app/assets}/javascripts/calendar_date_select/locale/nl.js +0 -0
  31. data/{public → app/assets}/javascripts/calendar_date_select/locale/pl.js +0 -0
  32. data/{public → app/assets}/javascripts/calendar_date_select/locale/pt.js +0 -0
  33. data/{public → app/assets}/javascripts/calendar_date_select/locale/ru.js +0 -0
  34. data/{public → app/assets}/javascripts/calendar_date_select/locale/sl.js +0 -0
  35. data/app/assets/javascripts/calendar_date_select/locale/sv.js +9 -0
  36. data/{public → app/assets}/stylesheets/calendar_date_select/blue.css +0 -0
  37. data/{public → app/assets}/stylesheets/calendar_date_select/default.css +0 -0
  38. data/{public → app/assets}/stylesheets/calendar_date_select/green.css +0 -0
  39. data/{public → app/assets}/stylesheets/calendar_date_select/plain.css +0 -0
  40. data/{public → app/assets}/stylesheets/calendar_date_select/red.css +0 -0
  41. data/{public → app/assets}/stylesheets/calendar_date_select/silver.css +0 -0
  42. data/{lib → app/helpers}/calendar_date_select/form_helpers.rb +1 -1
  43. data/{lib → app/helpers}/calendar_date_select/includes_helper.rb +0 -0
  44. data/calendar_date_select.gemspec +21 -90
  45. data/lib/calendar_date_select.rb +9 -29
  46. data/lib/calendar_date_select/calendar_date_select.rb +0 -2
  47. data/lib/calendar_date_select/version.rb +3 -0
  48. data/spec/dummy/.gitignore +15 -0
  49. data/spec/dummy/Gemfile +38 -0
  50. data/spec/dummy/Gemfile.lock +118 -0
  51. data/spec/dummy/README.rdoc +261 -0
  52. data/spec/dummy/Rakefile +7 -0
  53. data/spec/dummy/app/assets/images/rails.png +0 -0
  54. data/spec/dummy/app/assets/javascripts/application.js +16 -0
  55. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  56. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  57. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  58. data/spec/dummy/app/mailers/.gitkeep +0 -0
  59. data/spec/dummy/app/models/.gitkeep +0 -0
  60. data/spec/dummy/app/views/application/example.html.erb +5 -0
  61. data/spec/dummy/app/views/layouts/application.html.erb +15 -0
  62. data/spec/dummy/config.ru +4 -0
  63. data/spec/dummy/config/application.rb +67 -0
  64. data/spec/dummy/config/boot.rb +6 -0
  65. data/spec/dummy/config/database.yml +25 -0
  66. data/spec/dummy/config/environment.rb +5 -0
  67. data/spec/dummy/config/environments/development.rb +37 -0
  68. data/spec/dummy/config/environments/production.rb +67 -0
  69. data/spec/dummy/config/environments/test.rb +37 -0
  70. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  71. data/spec/dummy/config/initializers/inflections.rb +15 -0
  72. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  73. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  74. data/spec/dummy/config/initializers/session_store.rb +8 -0
  75. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  76. data/spec/dummy/config/locales/en.yml +5 -0
  77. data/spec/dummy/config/routes.rb +58 -0
  78. data/spec/dummy/db/seeds.rb +7 -0
  79. data/spec/dummy/lib/assets/.gitkeep +0 -0
  80. data/spec/dummy/lib/tasks/.gitkeep +0 -0
  81. data/spec/dummy/log/.gitkeep +0 -0
  82. data/spec/dummy/public/404.html +26 -0
  83. data/spec/dummy/public/422.html +26 -0
  84. data/spec/dummy/public/500.html +25 -0
  85. data/spec/dummy/public/favicon.ico +0 -0
  86. data/spec/dummy/public/robots.txt +5 -0
  87. data/spec/dummy/script/rails +6 -0
  88. data/spec/dummy/test/fixtures/.gitkeep +0 -0
  89. data/spec/dummy/test/functional/.gitkeep +0 -0
  90. data/spec/dummy/test/integration/.gitkeep +0 -0
  91. data/spec/dummy/test/test_helper.rb +13 -0
  92. data/spec/dummy/test/unit/.gitkeep +0 -0
  93. data/spec/dummy/vendor/assets/javascripts/.gitkeep +0 -0
  94. data/spec/dummy/vendor/assets/stylesheets/.gitkeep +0 -0
  95. data/spec/dummy/vendor/plugins/.gitkeep +0 -0
  96. data/spec/{calendar_date_select → helpers}/calendar_date_select_spec.rb +0 -0
  97. data/spec/{calendar_date_select → helpers}/form_helpers_spec.rb +32 -40
  98. data/spec/helpers/includes_helper_spec.rb +42 -0
  99. data/spec/spec_helper.rb +8 -24
  100. metadata +235 -102
  101. data/Manifest.txt +0 -42
  102. data/init.rb +0 -1
  103. data/public/blank_iframe.html +0 -2
  104. data/spec/calendar_date_select/includes_helper_spec.rb +0 -46
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1eb52bcd9a52adc13c8099d584f48ce5c06b1381
4
+ data.tar.gz: f56b8c33f9d34188bfebcdae395ae8c0e1f53fdd
5
+ SHA512:
6
+ metadata.gz: 17da8be4d4d78eed92732aabbbfb429ccc842a88f3f7814964ad24588094caa99b9d0c2a53a74dcba406fa79d4a013c9b502c81051dd83b0e29cba0f13ba4a1f
7
+ data.tar.gz: 5556b831da1b3bdd842a0c8d609a5483b5d676a89bae82927e2961ab98575a3f73047d2d7a3d7845665f87799e85adf4f7ba61c2ac60cda8ac4727f38ef917c0
data/.gitignore CHANGED
@@ -1,3 +1,16 @@
1
- /pkg
2
- /doc
3
- *.gem
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ InstalledFiles
7
+ _yardoc
8
+ coverage
9
+ doc/
10
+ lib/bundler/man
11
+ pkg
12
+ rdoc
13
+ spec/reports
14
+ test/tmp
15
+ test/version_tmp
16
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,20 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Declare your gem's dependencies in calendar_date_select.gemspec.
4
+ # Bundler will treat runtime dependencies like base dependencies, and
5
+ # development dependencies will be added by default to the :development group.
6
+ gemspec
7
+
8
+ group :test do
9
+ # jquery-rails is used by the dummy application
10
+ gem 'rspec-rails'
11
+ gem "rspec"
12
+ end
13
+
14
+ # Declare any dependencies that are still in development here instead of in
15
+ # your gemspec. These might include edge Rails or gems from your path or
16
+ # Git. Remember to move these dependencies to your gemspec before releasing
17
+ # your gem to rubygems.org.
18
+
19
+ # To use debugger
20
+ # gem 'ruby-debug19', :require => 'ruby-debug'
@@ -0,0 +1,111 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ calendar_date_select (2.0.0)
5
+ rails (>= 3.1)
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ actionmailer (3.2.14)
11
+ actionpack (= 3.2.14)
12
+ mail (~> 2.5.4)
13
+ actionpack (3.2.14)
14
+ activemodel (= 3.2.14)
15
+ activesupport (= 3.2.14)
16
+ builder (~> 3.0.0)
17
+ erubis (~> 2.7.0)
18
+ journey (~> 1.0.4)
19
+ rack (~> 1.4.5)
20
+ rack-cache (~> 1.2)
21
+ rack-test (~> 0.6.1)
22
+ sprockets (~> 2.2.1)
23
+ activemodel (3.2.14)
24
+ activesupport (= 3.2.14)
25
+ builder (~> 3.0.0)
26
+ activerecord (3.2.14)
27
+ activemodel (= 3.2.14)
28
+ activesupport (= 3.2.14)
29
+ arel (~> 3.0.2)
30
+ tzinfo (~> 0.3.29)
31
+ activeresource (3.2.14)
32
+ activemodel (= 3.2.14)
33
+ activesupport (= 3.2.14)
34
+ activesupport (3.2.14)
35
+ i18n (~> 0.6, >= 0.6.4)
36
+ multi_json (~> 1.0)
37
+ arel (3.0.2)
38
+ builder (3.0.4)
39
+ diff-lcs (1.1.3)
40
+ erubis (2.7.0)
41
+ hike (1.2.3)
42
+ i18n (0.6.5)
43
+ journey (1.0.4)
44
+ json (1.8.0)
45
+ mail (2.5.4)
46
+ mime-types (~> 1.16)
47
+ treetop (~> 1.4.8)
48
+ mime-types (1.25)
49
+ multi_json (1.8.1)
50
+ polyglot (0.3.3)
51
+ rack (1.4.5)
52
+ rack-cache (1.2)
53
+ rack (>= 0.4)
54
+ rack-ssl (1.3.3)
55
+ rack
56
+ rack-test (0.6.2)
57
+ rack (>= 1.0)
58
+ rails (3.2.14)
59
+ actionmailer (= 3.2.14)
60
+ actionpack (= 3.2.14)
61
+ activerecord (= 3.2.14)
62
+ activeresource (= 3.2.14)
63
+ activesupport (= 3.2.14)
64
+ bundler (~> 1.0)
65
+ railties (= 3.2.14)
66
+ railties (3.2.14)
67
+ actionpack (= 3.2.14)
68
+ activesupport (= 3.2.14)
69
+ rack-ssl (~> 1.3.2)
70
+ rake (>= 0.8.7)
71
+ rdoc (~> 3.4)
72
+ thor (>= 0.14.6, < 2.0)
73
+ rake (10.1.0)
74
+ rdoc (3.12.2)
75
+ json (~> 1.4)
76
+ rspec (2.13.0)
77
+ rspec-core (~> 2.13.0)
78
+ rspec-expectations (~> 2.13.0)
79
+ rspec-mocks (~> 2.13.0)
80
+ rspec-core (2.13.1)
81
+ rspec-expectations (2.13.0)
82
+ diff-lcs (>= 1.1.3, < 2.0)
83
+ rspec-mocks (2.13.1)
84
+ rspec-rails (2.13.2)
85
+ actionpack (>= 3.0)
86
+ activesupport (>= 3.0)
87
+ railties (>= 3.0)
88
+ rspec-core (~> 2.13.0)
89
+ rspec-expectations (~> 2.13.0)
90
+ rspec-mocks (~> 2.13.0)
91
+ sprockets (2.2.2)
92
+ hike (~> 1.2)
93
+ multi_json (~> 1.0)
94
+ rack (~> 1.0)
95
+ tilt (~> 1.1, != 1.3.0)
96
+ thor (0.18.1)
97
+ tilt (1.4.1)
98
+ treetop (1.4.15)
99
+ polyglot
100
+ polyglot (>= 0.3.1)
101
+ tzinfo (0.3.38)
102
+
103
+ PLATFORMS
104
+ ruby
105
+
106
+ DEPENDENCIES
107
+ bundler (~> 1.3)
108
+ calendar_date_select!
109
+ rake
110
+ rspec
111
+ rspec-rails
@@ -1,3 +1,7 @@
1
+ == Version 2.0.0
2
+
3
+ Engine for Rails 3.1+
4
+
1
5
  == Version 1.16.4
2
6
  * do not add to public if they are in app/assets. (Michael Grosser)
3
7
  * action view helpers needs to be loaded first in order to as gem. (Sandip Ransing)
@@ -1,14 +1,14 @@
1
- = CalendarDateSelect
1
+ # CalendarDateSelect
2
2
 
3
- http://code.google.com/p/calendardateselect/
3
+ Legacy support as a Rails 3.1+ Engine. For support of earlier versions of Rails, check the 1.x branch.
4
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.
5
+ http://code.google.com/p/calendardateselect/
6
6
 
7
- == Examples
7
+ ## Examples
8
8
 
9
- "See a demo here":http://electronicholas.com/calendar
9
+ [See a demo here](http://electronicholas.com/calendar)
10
10
 
11
- == Submitting patches
11
+ ## Submitting patches
12
12
 
13
13
  Please take care to do the following:
14
14
 
data/Rakefile CHANGED
@@ -1,37 +1,8 @@
1
- # -*- ruby -*-
1
+ require "bundler/gem_tasks"
2
2
 
3
-
4
- begin
5
- require 'rubygems'
6
- require 'jeweler'
7
- Jeweler::Tasks.new do |gemspec|
8
- gemspec.name = "calendar_date_select"
9
- gemspec.version = File.read("VERSION").strip
10
- gemspec.summary = "Calendar date picker for rails"
11
- gemspec.description = "Calendar date picker for rails"
12
- gemspec.email = ""
13
- gemspec.homepage = "http://github.com/timcharper/calendar_date_select"
14
- gemspec.authors = ["Shih-gian Lee", "Enrique Garcia Cota (kikito)", "Tim Charper", "Lars E. Hoeg"]
15
- end
16
- rescue LoadError
17
- puts "Jeweler not available. Install it with: sudo gem install jeweler"
18
- end
19
-
20
- desc "Set the current gem version in the code according to the VERSION file"
21
- task :set_version do
22
- VERSION=File.read("VERSION").strip
23
- ["lib/calendar_date_select/calendar_date_select.rb", "public/javascripts/calendar_date_select/calendar_date_select.js"].each do |file|
24
- abs_file = File.dirname(__FILE__) + "/" + file
25
- src = File.read(abs_file)
26
- src = src.map do |line|
27
- case line
28
- when /^ *VERSION/ then " VERSION = '#{VERSION}'\n"
29
- when /^\/\/ CalendarDateSelect version / then "// CalendarDateSelect version #{VERSION} - a prototype based date picker\n"
30
- else
31
- line
32
- end
33
- end.join
34
- File.open(abs_file, "wb") { |f| f << src }
35
- end
3
+ require 'rake/testtask'
4
+ Rake::TestTask.new(:test) do |test|
5
+ test.libs << 'lib' << 'test'
6
+ test.pattern = 'test/**/*_test.rb'
7
+ test.verbose = false
36
8
  end
37
- # vim: syntax=Ruby
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.4
1
+ 2.0.0
@@ -0,0 +1,11 @@
1
+ Date.weekdays = $w("Po Út St Čt Pá So Ne");
2
+ Date.months = $w("Leden Únor Březen Duben Květen Červen Červenec Srpen Září Říjen Listopad Prosinec" );
3
+
4
+ Date.first_day_of_week = 1
5
+
6
+ _translations = {
7
+ "OK": "OK",
8
+ "Now": "Teď",
9
+ "Today": "Dnes",
10
+ "Clear": "Smazat"
11
+ }
@@ -1,10 +1,10 @@
1
1
  Date.weekdays = $w("Ma Ti Ke To Pe La Su");
2
- Date.months = $w("Tammikuu Helmikuu Maaliskuu Huhtikuu Toukokuu Kes�kuu Hein�kuu Elokuu Syyskuu Lokakuu Marraskuu Joulukuu" );
2
+ Date.months = $w("Tammikuu Helmikuu Maaliskuu Huhtikuu Toukokuu Kesäkuu Heinäkuu Elokuu Syyskuu Lokakuu Marraskuu Joulukuu" );
3
3
 
4
4
  Date.first_day_of_week = 1
5
5
 
6
6
  _translations = {
7
7
  "OK": "OK",
8
8
  "Now": "Nyt",
9
- "Today": "T�n��n"
10
- }
9
+ "Today": "Tänään"
10
+ }
@@ -0,0 +1,11 @@
1
+ Date.weekdays = $w('h. k. sze. cs. p. szo. v.');
2
+ Date.months = $w('január február március április május június július augusztus szeptember október november december');
3
+
4
+ Date.first_day_of_week = 1;
5
+
6
+ _translations = {
7
+ "OK": "OK",
8
+ "Now": "Most",
9
+ "Today": "Ma",
10
+ "Clear": "Bezárás"
11
+ }
@@ -0,0 +1,11 @@
1
+ Date.weekdays = $w('日 月 火 水 木 金 土');
2
+ Date.months = $w('1月 2月 3月 4月 5月 6月 7月 8月 9月 10月 11月 12月');
3
+
4
+ Date.first_day_of_week = 0
5
+
6
+ _translations = {
7
+ "OK": "OK",
8
+ "Now": "現在",
9
+ "Today": "今日",
10
+ "Clear": "クリア"
11
+ }
@@ -0,0 +1,9 @@
1
+ Date.weekdays = $w('Må Ti On To Fr Lö Sö');
2
+ Date.months = $w('Januari Februari Mars April Maj Juni Juli Augusti September Oktober November December');
3
+ Date.first_day_of_week = 1;
4
+ _translations = {
5
+ "OK": "OK",
6
+ "Now": "Nu",
7
+ "Today": "Idag",
8
+ "Clear": "Avbryt"
9
+ }
@@ -143,7 +143,7 @@ module CalendarDateSelect::FormHelpers
143
143
  end
144
144
  end
145
145
 
146
- tag = ActionView::Helpers::InstanceTag.new_with_backwards_compatibility(object, method, self, options.delete(:object))
146
+ tag = ActionView::Helpers::InstanceTag.new(object, method, self, options.delete(:object))
147
147
  calendar_date_select_output(
148
148
  tag.to_input_field_tag( (javascript_options[:hidden] || javascript_options[:embedded]) ? "hidden" : "text", options),
149
149
  image,
@@ -1,95 +1,26 @@
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 -*-
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'calendar_date_select/version'
5
5
 
6
- Gem::Specification.new do |s|
7
- s.name = %q{calendar_date_select}
8
- s.version = "1.16.4"
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "calendar_date_select"
8
+ spec.version = CalendarDateSelect::VERSION
9
9
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Shih-gian Lee", "Enrique Garcia Cota (kikito)", "Tim Charper", "Lars E. Hoeg"]
12
- s.date = %q{2010-03-29}
13
- s.description = %q{Calendar date picker for rails}
14
- s.email = %q{}
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/timcharper/calendar_date_select}
75
- s.rdoc_options = ["--charset=UTF-8"]
76
- s.require_paths = ["lib"]
77
- s.rubygems_version = %q{1.3.6}
78
- s.summary = %q{Calendar date picker for rails}
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
- ]
10
+ spec.authors = ["Shih-gian Lee", "Enrique Garcia Cota (kikito)", "Tim Charper", "Lars E. Hoeg", "Marc-André Lafortune"]
11
+ spec.email = ["github@marc-andre.ca"]
12
+ spec.description = %q{Calendar date picker for rails}
13
+ spec.summary = %q{Calendar date picker for rails}
14
+ spec.homepage = "http://github.com/marcandre/calendar_date_select"
15
+ spec.license = "MIT"
85
16
 
86
- if s.respond_to? :specification_version then
87
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
88
- s.specification_version = 3
17
+ spec.files = `git ls-files`.split($/)
18
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
+ spec.require_paths = ["lib"]
89
21
 
90
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
91
- else
92
- end
93
- else
94
- end
22
+ spec.add_dependency "rails", ">= 3.1"
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.3"
25
+ spec.add_development_dependency "rake"
95
26
  end