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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0051b976c3b767866c6f13b9443a75341b6e6210
4
- data.tar.gz: 25b6a61b9f35af572ea3a6f6c6590707fb4d81f3
3
+ metadata.gz: ee8f66f73c37ddfeba27e789b8b666f2469d9885
4
+ data.tar.gz: fbdd25501a76f978b24bebfbf0606a9c4e677296
5
5
  SHA512:
6
- metadata.gz: e970c947ad144b90406c3919b3f6c9fa95dc79bfc38acda2b3347568d0560a55248314c5b3a0059035ec3e22ec2a7a07f7cc0b9f0d40fc9e95e308fa803117b1
7
- data.tar.gz: 092bbaf4d3c2ceef90840d3acc1131ad6b9ec57c88f205b1223cb261928b9f87eac999d33eca5e21171589c28cc15dc650b1ca937ef72cd71344c45c8a5faae0
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
@@ -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
- - gem install appraisal
7
- - gem install rspec-rails
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
- env:
15
- - RAILS_ENV=test RACK_ENV=test
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
@@ -54,3 +54,9 @@ end
54
54
  appraise "rails-4.2.6" do
55
55
  gem "rails", "4.2.6"
56
56
  end
57
+
58
+ if RUBY_VERSION >= "2.2.0"
59
+ appraise "rails-5.0.0" do
60
+ gem "rails", "5.0.0"
61
+ end
62
+ end
data/Gemfile CHANGED
@@ -1,3 +1,9 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
3
  gemspec
4
+
5
+ if RUBY_VERSION >= "2.2.0"
6
+ gem 'rack', '>= 1.0', '>= 1.0'
7
+ else
8
+ gem 'rack', '>= 1.0', '< 2.0'
9
+ end
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
- exec('bundle exec appraisal install && bundle exec rake appraisal spec && bundle exec rake coveralls:push')
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
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rack", ">= 1.0", ">= 1.0"
6
+ gem "rails", "3.2.12"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rack", ">= 1.0", ">= 1.0"
6
+ gem "rails", "3.2.8"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rack", ">= 1.0", ">= 1.0"
6
+ gem "rails", "4.0.0"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rack", ">= 1.0", ">= 1.0"
6
+ gem "rails", "4.0.2"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rack", ">= 1.0", ">= 1.0"
6
+ gem "rails", "4.1.1"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rack", ">= 1.0", ">= 1.0"
6
+ gem "rails", "4.1.4"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rack", ">= 1.0", ">= 1.0"
6
+ gem "rails", "4.1.9"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rack", ">= 1.0", ">= 1.0"
6
+ gem "rails", "4.2.0"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rack", ">= 1.0", ">= 1.0"
6
+ gem "rails", "4.2.1"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rack", ">= 1.0", ">= 1.0"
6
+ gem "rails", "4.2.2"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rack", ">= 1.0", ">= 1.0"
6
+ gem "rails", "4.2.3"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rack", ">= 1.0", ">= 1.0"
6
+ gem "rails", "4.2.4"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rack", ">= 1.0", ">= 1.0"
6
+ gem "rails", "4.2.5"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rack", ">= 1.0", ">= 1.0"
6
+ gem "rails", "4.2.6"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rack", ">= 1.0", ">= 1.0"
6
+ gem "rails", "5.0.0"
7
+
8
+ gemspec :path => "../"
@@ -10,9 +10,9 @@ module EnhancedDateSelect
10
10
  # the major version of the gem
11
11
  MAJOR = 1
12
12
  # the minor version of the gem
13
- MINOR = 2
13
+ MINOR = 3
14
14
  # the tiny version of the gem
15
- TINY = 5
15
+ TINY = 0
16
16
  # if the version should be a e
17
17
  PRE = nil
18
18
 
@@ -37,7 +37,7 @@ describe 'Enhanced DateSelect' do
37
37
  else
38
38
  @instance_tag = rails4_instance_tag
39
39
  end
40
- if Rails::VERSION::MAJOR.to_i >= 4 && Rails::VERSION::MINOR >= 1
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.2.5
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-03-10 00:00:00.000000000 Z
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.5.1
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: