calendar_date_select 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/calendar_date_select/format_american.js +1 -1
- data/app/assets/javascripts/calendar_date_select/format_danish.js +1 -1
- data/app/assets/javascripts/calendar_date_select/format_db.js +1 -1
- data/app/assets/javascripts/calendar_date_select/format_finnish.js +1 -1
- data/app/assets/javascripts/calendar_date_select/format_hyphen_ampm.js +1 -1
- data/app/assets/javascripts/calendar_date_select/format_italian.js +1 -1
- data/app/helpers/calendar_date_select/form_helpers.rb +10 -3
- data/app/helpers/calendar_date_select/includes_helper.rb +2 -2
- data/lib/calendar_date_select/version.rb +1 -1
- metadata +14 -132
- data/.gitignore +0 -16
- data/Gemfile +0 -20
- data/Gemfile.lock +0 -111
- data/History.txt +0 -290
- data/README.md +0 -17
- data/Rakefile +0 -8
- data/VERSION +0 -1
- data/calendar_date_select.gemspec +0 -26
- data/js_test/functional/.tmp_cds_test.html +0 -306
- data/js_test/functional/cds_test.html +0 -376
- data/js_test/functional/format_iso_date_test.html +0 -52
- data/js_test/prototype.js +0 -4184
- data/js_test/test.css +0 -40
- data/js_test/unit/cds_helper_methods.html +0 -46
- data/js_test/unittest.js +0 -564
- data/spec/dummy/.gitignore +0 -15
- data/spec/dummy/Gemfile +0 -38
- data/spec/dummy/Gemfile.lock +0 -118
- data/spec/dummy/README.rdoc +0 -261
- data/spec/dummy/Rakefile +0 -7
- data/spec/dummy/app/assets/images/rails.png +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +0 -16
- data/spec/dummy/app/assets/stylesheets/application.css +0 -13
- data/spec/dummy/app/controllers/application_controller.rb +0 -5
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/app/mailers/.gitkeep +0 -0
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/spec/dummy/app/views/application/example.html.erb +0 -5
- data/spec/dummy/app/views/layouts/application.html.erb +0 -15
- data/spec/dummy/config.ru +0 -4
- data/spec/dummy/config/application.rb +0 -67
- data/spec/dummy/config/boot.rb +0 -6
- data/spec/dummy/config/database.yml +0 -25
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -37
- data/spec/dummy/config/environments/production.rb +0 -67
- data/spec/dummy/config/environments/test.rb +0 -37
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/inflections.rb +0 -15
- data/spec/dummy/config/initializers/mime_types.rb +0 -5
- data/spec/dummy/config/initializers/secret_token.rb +0 -7
- data/spec/dummy/config/initializers/session_store.rb +0 -8
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/en.yml +0 -5
- data/spec/dummy/config/routes.rb +0 -58
- data/spec/dummy/db/seeds.rb +0 -7
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/lib/tasks/.gitkeep +0 -0
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/dummy/public/404.html +0 -26
- data/spec/dummy/public/422.html +0 -26
- data/spec/dummy/public/500.html +0 -25
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/robots.txt +0 -5
- data/spec/dummy/script/rails +0 -6
- data/spec/dummy/test/fixtures/.gitkeep +0 -0
- data/spec/dummy/test/functional/.gitkeep +0 -0
- data/spec/dummy/test/integration/.gitkeep +0 -0
- data/spec/dummy/test/test_helper.rb +0 -13
- data/spec/dummy/test/unit/.gitkeep +0 -0
- data/spec/dummy/vendor/assets/javascripts/.gitkeep +0 -0
- data/spec/dummy/vendor/assets/stylesheets/.gitkeep +0 -0
- data/spec/dummy/vendor/plugins/.gitkeep +0 -0
- data/spec/helpers/calendar_date_select_spec.rb +0 -14
- data/spec/helpers/form_helpers_spec.rb +0 -181
- data/spec/helpers/includes_helper_spec.rb +0 -42
- data/spec/spec_helper.rb +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44cc328a521fa2359c9b12295cb962b7810f0cae
|
4
|
+
data.tar.gz: 5e677657d41c446eff415501fa27bff9fe055f56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: daf12f3f9b30d5970afc3cc4f7cd00eee696fa3d237936abd6848524775a9fa7a7bb4a98741251cf45e4728b5e06d218e2faa6cddcc1d3f4d53998c61b301951
|
7
|
+
data.tar.gz: d8a2c45dcd74bb5cfe3ade541e3e6d2dfbd63cb208161cee6e3d7f322cc13e6c680b069eee21fd91999ac28c2d33381d14e2439bd41d0f92d688a2f9552d5166
|
@@ -19,7 +19,7 @@ Date.parseFormattedString = function (string) {
|
|
19
19
|
string = string.strip();
|
20
20
|
var d = string.match(new RegExp(regexp, "i"));
|
21
21
|
if (d==null) {
|
22
|
-
return Date.parse(string); // Give
|
22
|
+
return Date.parse(string); // Give JavaScript a chance to parse it.
|
23
23
|
}
|
24
24
|
|
25
25
|
mdy = d[1].split('/');
|
@@ -14,7 +14,7 @@ Date.parseFormattedString = function(string) {
|
|
14
14
|
"( ([0-9]{1,2}):([0-9]{2})(:([0-9]{2})(.([0-9]{3}))?)?" +
|
15
15
|
")?";
|
16
16
|
var d = string.match(new RegExp(regexp, "i"));
|
17
|
-
if (d==null) return Date.parse(string); // at least give
|
17
|
+
if (d==null) return Date.parse(string); // at least give JavaScript a crack at it.
|
18
18
|
var offset = 0;
|
19
19
|
var date = new Date(d[3], 0, 1);
|
20
20
|
if (d[2]) { date.setMonth(d[2] - 1); }
|
@@ -13,7 +13,7 @@ Date.prototype.toFormattedString = function(include_time){
|
|
13
13
|
Date.parseFormattedString = function (string) {
|
14
14
|
var regexp = '([0-9]{4})-(([0-9]{1,2})-(([0-9]{1,2})( ([0-9]{1,2}):([0-9]{2})? *)?)?)?';
|
15
15
|
var d = string.match(new RegExp(regexp, "i"));
|
16
|
-
if (d==null) return Date.parse(string); // at least give
|
16
|
+
if (d==null) return Date.parse(string); // at least give JavaScript a crack at it.
|
17
17
|
var offset = 0;
|
18
18
|
var date = new Date(d[1], 0, 1);
|
19
19
|
if (d[3]) { date.setMonth(d[3] - 1); }
|
@@ -10,7 +10,7 @@ Date.prototype.toFormattedString = function(include_time){
|
|
10
10
|
Date.parseFormattedString = function (string) {
|
11
11
|
var regexp = '([0-9]{1,2})\.(([0-9]{1,2})\.(([0-9]{2,4})( ([0-9]{1,2}):([0-9]{2})? *)?)?)?';
|
12
12
|
var d = string.match(new RegExp(regexp, "i"));
|
13
|
-
if (d==null) return Date.parse(string); // at least give
|
13
|
+
if (d==null) return Date.parse(string); // at least give JavaScript a crack at it.
|
14
14
|
var offset = 0;
|
15
15
|
if (d[5] && d[5].length == 2) {
|
16
16
|
// we got only two digits for the year...
|
@@ -10,7 +10,7 @@ Date.parseFormattedString = function (string) {
|
|
10
10
|
"( ([0-9]{1,2}):([0-9]{2})? *(pm|am)" +
|
11
11
|
"?)?)?)?";
|
12
12
|
var d = string.match(new RegExp(regexp, "i"));
|
13
|
-
if (d==null) return Date.parse(string); // at least give
|
13
|
+
if (d==null) return Date.parse(string); // at least give JavaScript a crack at it.
|
14
14
|
var offset = 0;
|
15
15
|
var date = new Date(d[1], 0, 1);
|
16
16
|
if (d[3]) { date.setMonth(d[3] - 1); }
|
@@ -10,7 +10,7 @@ Date.prototype.toFormattedString = function(include_time){
|
|
10
10
|
Date.parseFormattedString = function (string) {
|
11
11
|
var regexp = '([0-9]{1,2})/(([0-9]{1,2})/(([0-9]{4})( ([0-9]{1,2}):([0-9]{2})? *)?)?)?';
|
12
12
|
var d = string.match(new RegExp(regexp, "i"));
|
13
|
-
if (d==null) return Date.parse(string); // at least give
|
13
|
+
if (d==null) return Date.parse(string); // at least give JavaScript a crack at it.
|
14
14
|
var offset = 0;
|
15
15
|
var date = new Date(d[5], 0, 1);
|
16
16
|
if (d[3]) { date.setMonth(d[3] - 1); }
|
@@ -143,9 +143,16 @@ module CalendarDateSelect::FormHelpers
|
|
143
143
|
end
|
144
144
|
end
|
145
145
|
|
146
|
-
|
146
|
+
if defined?(ActionView::Base::InstanceTag)
|
147
|
+
tag = ActionView::Helpers::InstanceTag.new(object, method, self, options.delete(:object))
|
148
|
+
output = tag.to_input_field_tag((javascript_options[:hidden] || javascript_options[:embedded]) ? "hidden" : "text", options)
|
149
|
+
else
|
150
|
+
tag = ActionView::Helpers::Tags::TextField.new(object, method, self, options)
|
151
|
+
output = tag.render
|
152
|
+
end
|
153
|
+
|
147
154
|
calendar_date_select_output(
|
148
|
-
|
155
|
+
output,
|
149
156
|
image,
|
150
157
|
options,
|
151
158
|
javascript_options
|
@@ -153,7 +160,7 @@ module CalendarDateSelect::FormHelpers
|
|
153
160
|
end
|
154
161
|
|
155
162
|
private
|
156
|
-
# extracts any options passed into calendar date select, appropriating them to either the
|
163
|
+
# extracts any options passed into calendar date select, appropriating them to either the JavaScript call or the html tag.
|
157
164
|
def calendar_date_select_process_options(options)
|
158
165
|
options, javascript_options = CalendarDateSelect.default_options.merge(options), {}
|
159
166
|
image = options.delete(:image)
|
@@ -5,7 +5,7 @@ module CalendarDateSelect::IncludesHelper
|
|
5
5
|
"calendar_date_select/#{options[:style] || "default"}"
|
6
6
|
end
|
7
7
|
|
8
|
-
# returns an array of
|
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
10
|
options.assert_valid_keys(:locale)
|
11
11
|
files = ["calendar_date_select/calendar_date_select"]
|
@@ -14,7 +14,7 @@ module CalendarDateSelect::IncludesHelper
|
|
14
14
|
files
|
15
15
|
end
|
16
16
|
|
17
|
-
# returns
|
17
|
+
# returns HTML necessary to load JavaScript and CSS to make calendar_date_select work
|
18
18
|
def calendar_date_select_includes(*args)
|
19
19
|
return "" if @cds_already_included
|
20
20
|
@cds_already_included=true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calendar_date_select
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shih-gian Lee
|
@@ -12,48 +12,48 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2015-08-31 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rails
|
19
19
|
requirement: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
|
-
- -
|
21
|
+
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: '3.1'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
|
-
- -
|
28
|
+
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: '3.1'
|
31
31
|
- !ruby/object:Gem::Dependency
|
32
32
|
name: bundler
|
33
33
|
requirement: !ruby/object:Gem::Requirement
|
34
34
|
requirements:
|
35
|
-
- - ~>
|
35
|
+
- - "~>"
|
36
36
|
- !ruby/object:Gem::Version
|
37
37
|
version: '1.3'
|
38
38
|
type: :development
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
|
-
- - ~>
|
42
|
+
- - "~>"
|
43
43
|
- !ruby/object:Gem::Version
|
44
44
|
version: '1.3'
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
46
|
name: rake
|
47
47
|
requirement: !ruby/object:Gem::Requirement
|
48
48
|
requirements:
|
49
|
-
- -
|
49
|
+
- - ">="
|
50
50
|
- !ruby/object:Gem::Version
|
51
51
|
version: '0'
|
52
52
|
type: :development
|
53
53
|
prerelease: false
|
54
54
|
version_requirements: !ruby/object:Gem::Requirement
|
55
55
|
requirements:
|
56
|
-
- -
|
56
|
+
- - ">="
|
57
57
|
- !ruby/object:Gem::Version
|
58
58
|
version: '0'
|
59
59
|
description: Calendar date picker for rails
|
@@ -63,14 +63,7 @@ executables: []
|
|
63
63
|
extensions: []
|
64
64
|
extra_rdoc_files: []
|
65
65
|
files:
|
66
|
-
- .gitignore
|
67
|
-
- Gemfile
|
68
|
-
- Gemfile.lock
|
69
|
-
- History.txt
|
70
66
|
- MIT-LICENSE
|
71
|
-
- README.md
|
72
|
-
- Rakefile
|
73
|
-
- VERSION
|
74
67
|
- app/assets/images/calendar_date_select/calendar.gif
|
75
68
|
- app/assets/javascripts/calendar_date_select/calendar_date_select.js
|
76
69
|
- app/assets/javascripts/calendar_date_select/format_american.js
|
@@ -106,70 +99,10 @@ files:
|
|
106
99
|
- app/assets/stylesheets/calendar_date_select/silver.css
|
107
100
|
- app/helpers/calendar_date_select/form_helpers.rb
|
108
101
|
- app/helpers/calendar_date_select/includes_helper.rb
|
109
|
-
- calendar_date_select.gemspec
|
110
|
-
- js_test/functional/.tmp_cds_test.html
|
111
|
-
- js_test/functional/cds_test.html
|
112
|
-
- js_test/functional/format_iso_date_test.html
|
113
|
-
- js_test/prototype.js
|
114
|
-
- js_test/test.css
|
115
|
-
- js_test/unit/cds_helper_methods.html
|
116
|
-
- js_test/unittest.js
|
117
102
|
- lib/calendar_date_select.rb
|
118
103
|
- lib/calendar_date_select/calendar_date_select.rb
|
119
104
|
- lib/calendar_date_select/version.rb
|
120
|
-
|
121
|
-
- spec/dummy/Gemfile
|
122
|
-
- spec/dummy/Gemfile.lock
|
123
|
-
- spec/dummy/README.rdoc
|
124
|
-
- spec/dummy/Rakefile
|
125
|
-
- spec/dummy/app/assets/images/rails.png
|
126
|
-
- spec/dummy/app/assets/javascripts/application.js
|
127
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
128
|
-
- spec/dummy/app/controllers/application_controller.rb
|
129
|
-
- spec/dummy/app/helpers/application_helper.rb
|
130
|
-
- spec/dummy/app/mailers/.gitkeep
|
131
|
-
- spec/dummy/app/models/.gitkeep
|
132
|
-
- spec/dummy/app/views/application/example.html.erb
|
133
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
134
|
-
- spec/dummy/config.ru
|
135
|
-
- spec/dummy/config/application.rb
|
136
|
-
- spec/dummy/config/boot.rb
|
137
|
-
- spec/dummy/config/database.yml
|
138
|
-
- spec/dummy/config/environment.rb
|
139
|
-
- spec/dummy/config/environments/development.rb
|
140
|
-
- spec/dummy/config/environments/production.rb
|
141
|
-
- spec/dummy/config/environments/test.rb
|
142
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
143
|
-
- spec/dummy/config/initializers/inflections.rb
|
144
|
-
- spec/dummy/config/initializers/mime_types.rb
|
145
|
-
- spec/dummy/config/initializers/secret_token.rb
|
146
|
-
- spec/dummy/config/initializers/session_store.rb
|
147
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
148
|
-
- spec/dummy/config/locales/en.yml
|
149
|
-
- spec/dummy/config/routes.rb
|
150
|
-
- spec/dummy/db/seeds.rb
|
151
|
-
- spec/dummy/lib/assets/.gitkeep
|
152
|
-
- spec/dummy/lib/tasks/.gitkeep
|
153
|
-
- spec/dummy/log/.gitkeep
|
154
|
-
- spec/dummy/public/404.html
|
155
|
-
- spec/dummy/public/422.html
|
156
|
-
- spec/dummy/public/500.html
|
157
|
-
- spec/dummy/public/favicon.ico
|
158
|
-
- spec/dummy/public/robots.txt
|
159
|
-
- spec/dummy/script/rails
|
160
|
-
- spec/dummy/test/fixtures/.gitkeep
|
161
|
-
- spec/dummy/test/functional/.gitkeep
|
162
|
-
- spec/dummy/test/integration/.gitkeep
|
163
|
-
- spec/dummy/test/test_helper.rb
|
164
|
-
- spec/dummy/test/unit/.gitkeep
|
165
|
-
- spec/dummy/vendor/assets/javascripts/.gitkeep
|
166
|
-
- spec/dummy/vendor/assets/stylesheets/.gitkeep
|
167
|
-
- spec/dummy/vendor/plugins/.gitkeep
|
168
|
-
- spec/helpers/calendar_date_select_spec.rb
|
169
|
-
- spec/helpers/form_helpers_spec.rb
|
170
|
-
- spec/helpers/includes_helper_spec.rb
|
171
|
-
- spec/spec_helper.rb
|
172
|
-
homepage: http://github.com/marcandre/calendar_date_select
|
105
|
+
homepage: https://github.com/timcharper/calendar_date_select
|
173
106
|
licenses:
|
174
107
|
- MIT
|
175
108
|
metadata: {}
|
@@ -179,70 +112,19 @@ require_paths:
|
|
179
112
|
- lib
|
180
113
|
required_ruby_version: !ruby/object:Gem::Requirement
|
181
114
|
requirements:
|
182
|
-
- -
|
115
|
+
- - ">="
|
183
116
|
- !ruby/object:Gem::Version
|
184
117
|
version: '0'
|
185
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
186
119
|
requirements:
|
187
|
-
- -
|
120
|
+
- - ">="
|
188
121
|
- !ruby/object:Gem::Version
|
189
122
|
version: '0'
|
190
123
|
requirements: []
|
191
124
|
rubyforge_project:
|
192
|
-
rubygems_version: 2.
|
125
|
+
rubygems_version: 2.2.2
|
193
126
|
signing_key:
|
194
127
|
specification_version: 4
|
195
128
|
summary: Calendar date picker for rails
|
196
|
-
test_files:
|
197
|
-
|
198
|
-
- spec/dummy/Gemfile
|
199
|
-
- spec/dummy/Gemfile.lock
|
200
|
-
- spec/dummy/README.rdoc
|
201
|
-
- spec/dummy/Rakefile
|
202
|
-
- spec/dummy/app/assets/images/rails.png
|
203
|
-
- spec/dummy/app/assets/javascripts/application.js
|
204
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
205
|
-
- spec/dummy/app/controllers/application_controller.rb
|
206
|
-
- spec/dummy/app/helpers/application_helper.rb
|
207
|
-
- spec/dummy/app/mailers/.gitkeep
|
208
|
-
- spec/dummy/app/models/.gitkeep
|
209
|
-
- spec/dummy/app/views/application/example.html.erb
|
210
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
211
|
-
- spec/dummy/config.ru
|
212
|
-
- spec/dummy/config/application.rb
|
213
|
-
- spec/dummy/config/boot.rb
|
214
|
-
- spec/dummy/config/database.yml
|
215
|
-
- spec/dummy/config/environment.rb
|
216
|
-
- spec/dummy/config/environments/development.rb
|
217
|
-
- spec/dummy/config/environments/production.rb
|
218
|
-
- spec/dummy/config/environments/test.rb
|
219
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
220
|
-
- spec/dummy/config/initializers/inflections.rb
|
221
|
-
- spec/dummy/config/initializers/mime_types.rb
|
222
|
-
- spec/dummy/config/initializers/secret_token.rb
|
223
|
-
- spec/dummy/config/initializers/session_store.rb
|
224
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
225
|
-
- spec/dummy/config/locales/en.yml
|
226
|
-
- spec/dummy/config/routes.rb
|
227
|
-
- spec/dummy/db/seeds.rb
|
228
|
-
- spec/dummy/lib/assets/.gitkeep
|
229
|
-
- spec/dummy/lib/tasks/.gitkeep
|
230
|
-
- spec/dummy/log/.gitkeep
|
231
|
-
- spec/dummy/public/404.html
|
232
|
-
- spec/dummy/public/422.html
|
233
|
-
- spec/dummy/public/500.html
|
234
|
-
- spec/dummy/public/favicon.ico
|
235
|
-
- spec/dummy/public/robots.txt
|
236
|
-
- spec/dummy/script/rails
|
237
|
-
- spec/dummy/test/fixtures/.gitkeep
|
238
|
-
- spec/dummy/test/functional/.gitkeep
|
239
|
-
- spec/dummy/test/integration/.gitkeep
|
240
|
-
- spec/dummy/test/test_helper.rb
|
241
|
-
- spec/dummy/test/unit/.gitkeep
|
242
|
-
- spec/dummy/vendor/assets/javascripts/.gitkeep
|
243
|
-
- spec/dummy/vendor/assets/stylesheets/.gitkeep
|
244
|
-
- spec/dummy/vendor/plugins/.gitkeep
|
245
|
-
- spec/helpers/calendar_date_select_spec.rb
|
246
|
-
- spec/helpers/form_helpers_spec.rb
|
247
|
-
- spec/helpers/includes_helper_spec.rb
|
248
|
-
- spec/spec_helper.rb
|
129
|
+
test_files: []
|
130
|
+
has_rdoc:
|
data/.gitignore
DELETED
data/Gemfile
DELETED
@@ -1,20 +0,0 @@
|
|
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'
|
data/Gemfile.lock
DELETED
@@ -1,111 +0,0 @@
|
|
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
|