enhanced_date_select 1.2.5 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -3
- data/.travis.yml +38 -6
- data/Appraisals +6 -0
- data/Gemfile +6 -0
- data/Rakefile +11 -10
- data/gemfiles/rails_3.2.12.gemfile +8 -0
- data/gemfiles/rails_3.2.8.gemfile +8 -0
- data/gemfiles/rails_4.0.0.gemfile +8 -0
- data/gemfiles/rails_4.0.2.gemfile +8 -0
- data/gemfiles/rails_4.1.1.gemfile +8 -0
- data/gemfiles/rails_4.1.4.gemfile +8 -0
- data/gemfiles/rails_4.1.9.gemfile +8 -0
- data/gemfiles/rails_4.2.0.gemfile +8 -0
- data/gemfiles/rails_4.2.1.gemfile +8 -0
- data/gemfiles/rails_4.2.2.gemfile +8 -0
- data/gemfiles/rails_4.2.3.gemfile +8 -0
- data/gemfiles/rails_4.2.4.gemfile +8 -0
- data/gemfiles/rails_4.2.5.gemfile +8 -0
- data/gemfiles/rails_4.2.6.gemfile +8 -0
- data/gemfiles/rails_5.0.0.gemfile +8 -0
- data/lib/version.rb +2 -2
- data/spec/enhanced_date_select_spec.rb +1 -1
- metadata +19 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee8f66f73c37ddfeba27e789b8b666f2469d9885
|
4
|
+
data.tar.gz: fbdd25501a76f978b24bebfbf0606a9c4e677296
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e4e2eca732236ac8671a5c8a38734b236c2cbc103fd9bc2d098532bbf9595968b5f9e0e3cd5a0581551b795fedf5cc3b5cf75fb214f545759d4240a2834fd75
|
7
|
+
data.tar.gz: 12ad557aee7d17edefc5fbafbd7b29a224ab5b1651814d9a70cd3cb6d51df8d1c7388764e29c9c13e5fd5cc2cdc7883ed720d26f151f465fb12c8e7b3a6832b0
|
data/.gitignore
CHANGED
@@ -15,7 +15,7 @@ doc
|
|
15
15
|
# jeweler generated
|
16
16
|
pkg
|
17
17
|
|
18
|
-
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
18
|
+
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
19
19
|
#
|
20
20
|
# * Create a file at ~/.gitignore
|
21
21
|
# * Include files you want ignored
|
@@ -100,11 +100,11 @@ pkg/
|
|
100
100
|
spec/dummy/db/*.sqlite3
|
101
101
|
spec/dummy/log/*.log
|
102
102
|
spec/dummy/tmp/
|
103
|
-
gemfiles
|
103
|
+
gemfiles/*.lock
|
104
104
|
coverage
|
105
105
|
tags
|
106
106
|
/nbproject/
|
107
107
|
/.git-rewrite/
|
108
108
|
.rbenv-version
|
109
109
|
.ruby-version
|
110
|
-
Gemfile.lock
|
110
|
+
Gemfile.lock
|
data/.travis.yml
CHANGED
@@ -1,15 +1,47 @@
|
|
1
|
+
language: ruby
|
1
2
|
sudo: false
|
2
|
-
cache: bundler
|
3
3
|
before_install:
|
4
4
|
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
|
5
5
|
- gem install bundler
|
6
|
-
|
7
|
-
|
6
|
+
bundler_args: "--no-deployment"
|
7
|
+
script:
|
8
|
+
- echo $BUNDLE_GEMFILE
|
9
|
+
- bundle exec rake
|
10
|
+
gemfile:
|
11
|
+
- gemfiles/rails_3.2.8.gemfile
|
12
|
+
- gemfiles/rails_3.2.12.gemfile
|
13
|
+
- gemfiles/rails_4.0.0.gemfile
|
14
|
+
- gemfiles/rails_4.0.2.gemfile
|
15
|
+
- gemfiles/rails_4.1.1.gemfile
|
16
|
+
- gemfiles/rails_4.1.4.gemfile
|
17
|
+
- gemfiles/rails_4.1.9.gemfile
|
18
|
+
- gemfiles/rails_4.2.0.gemfile
|
19
|
+
- gemfiles/rails_4.2.1.gemfile
|
20
|
+
- gemfiles/rails_4.2.2.gemfile
|
21
|
+
- gemfiles/rails_4.2.3.gemfile
|
22
|
+
- gemfiles/rails_4.2.4.gemfile
|
23
|
+
- gemfiles/rails_4.2.5.gemfile
|
24
|
+
- gemfiles/rails_4.2.6.gemfile
|
25
|
+
- gemfiles/rails_5.0.0.gemfile
|
8
26
|
rvm:
|
9
27
|
- 1.9.3
|
10
28
|
- jruby-19mode
|
11
|
-
- 2.0.0
|
29
|
+
- 2.0.0
|
12
30
|
- 2.1.5
|
31
|
+
- 2.1.8
|
13
32
|
- 2.2.2
|
14
|
-
|
15
|
-
-
|
33
|
+
- 2.2.3
|
34
|
+
- 2.3.0
|
35
|
+
- 2.3.1
|
36
|
+
matrix:
|
37
|
+
exclude:
|
38
|
+
- rvm: jruby-19mode
|
39
|
+
gemfile: gemfiles/rails_5.0.0.gemfile
|
40
|
+
- rvm: 1.9,3
|
41
|
+
gemfile: gemfiles/rails_5.0.0.gemfile
|
42
|
+
- rvm: 2.0.0
|
43
|
+
gemfile: gemfiles/rails_5.0.0.gemfile
|
44
|
+
- rvm: 2.1.5
|
45
|
+
gemfile: gemfiles/rails_5.0.0.gemfile
|
46
|
+
- rvm: 2.1.8
|
47
|
+
gemfile: gemfiles/rails_5.0.0.gemfile
|
data/Appraisals
CHANGED
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -19,24 +19,25 @@ require 'rake'
|
|
19
19
|
|
20
20
|
RSpec::Core::RakeTask.new(:spec) do |spec|
|
21
21
|
spec.rspec_opts = ['--backtrace '] if ENV['DEBUG']
|
22
|
+
spec.verbose = true
|
22
23
|
end
|
23
24
|
|
24
25
|
desc 'Default: run the unit tests.'
|
25
26
|
task default: [:all]
|
26
27
|
|
27
28
|
desc 'Test the plugin under all supported Rails versions.'
|
28
|
-
task :all do
|
29
|
+
task :all do |_t|
|
29
30
|
if ENV['TRAVIS']
|
30
|
-
|
31
|
+
# require 'json'
|
32
|
+
# puts JSON.pretty_generate(ENV.to_hash)
|
33
|
+
if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/
|
34
|
+
appraisal_name = ENV['BUNDLE_GEMFILE'].scan(/rails\_(.*)\.gemfile/).flatten.first
|
35
|
+
command_prefix = "appraisal rails-#{appraisal_name}"
|
36
|
+
exec ("#{command_prefix} bundle install && #{command_prefix} bundle exec rspec && bundle exec rake coveralls:push ")
|
37
|
+
else
|
38
|
+
exec(' bundle exec appraisal install && bundle exec rake appraisal spec && bundle exec rake coveralls:push')
|
39
|
+
end
|
31
40
|
else
|
32
41
|
exec('bundle exec appraisal install && bundle exec rake appraisal spec')
|
33
42
|
end
|
34
43
|
end
|
35
|
-
|
36
|
-
require 'rdoc/task'
|
37
|
-
Rake::RDocTask.new do |rdoc|
|
38
|
-
rdoc.rdoc_dir = 'rdoc'
|
39
|
-
rdoc.title = "enhanced_date_select #{EnhancedDateSelect.gem_version}"
|
40
|
-
rdoc.rdoc_files.include('README*')
|
41
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
42
|
-
end
|
data/lib/version.rb
CHANGED
@@ -37,7 +37,7 @@ describe 'Enhanced DateSelect' do
|
|
37
37
|
else
|
38
38
|
@instance_tag = rails4_instance_tag
|
39
39
|
end
|
40
|
-
if
|
40
|
+
if Rails::VERSION::MAJOR.to_i >= 4
|
41
41
|
@form_builder = rails41_form_builder
|
42
42
|
else
|
43
43
|
@form_builder = deprecated_form_builder
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enhanced_date_select
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bogdanRada
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appraisal
|
@@ -248,6 +248,21 @@ files:
|
|
248
248
|
- README.md
|
249
249
|
- Rakefile
|
250
250
|
- enhanced_date_select.gemspec
|
251
|
+
- gemfiles/rails_3.2.12.gemfile
|
252
|
+
- gemfiles/rails_3.2.8.gemfile
|
253
|
+
- gemfiles/rails_4.0.0.gemfile
|
254
|
+
- gemfiles/rails_4.0.2.gemfile
|
255
|
+
- gemfiles/rails_4.1.1.gemfile
|
256
|
+
- gemfiles/rails_4.1.4.gemfile
|
257
|
+
- gemfiles/rails_4.1.9.gemfile
|
258
|
+
- gemfiles/rails_4.2.0.gemfile
|
259
|
+
- gemfiles/rails_4.2.1.gemfile
|
260
|
+
- gemfiles/rails_4.2.2.gemfile
|
261
|
+
- gemfiles/rails_4.2.3.gemfile
|
262
|
+
- gemfiles/rails_4.2.4.gemfile
|
263
|
+
- gemfiles/rails_4.2.5.gemfile
|
264
|
+
- gemfiles/rails_4.2.6.gemfile
|
265
|
+
- gemfiles/rails_5.0.0.gemfile
|
251
266
|
- lib/enhanced_date_select.rb
|
252
267
|
- lib/version.rb
|
253
268
|
- spec/enhanced_date_select_spec.rb
|
@@ -272,10 +287,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
272
287
|
version: '0'
|
273
288
|
requirements: []
|
274
289
|
rubyforge_project:
|
275
|
-
rubygems_version: 2.
|
290
|
+
rubygems_version: 2.6.4
|
276
291
|
signing_key:
|
277
292
|
specification_version: 4
|
278
293
|
summary: '"enhanced date select"'
|
279
294
|
test_files:
|
280
295
|
- spec/enhanced_date_select_spec.rb
|
281
296
|
- spec/spec_helper.rb
|
297
|
+
has_rdoc:
|