active_admin_datetimepicker 0.7.3 → 0.7.4

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
  SHA256:
3
- metadata.gz: 135efe4ed858ea073d2349aa5c05b94b48fcc4361250440fe5f64531a51db3a2
4
- data.tar.gz: 65094e1f4760bb657bab2b898808713fff37c62ccb9a7f86951ec9e8275f0d46
3
+ metadata.gz: 15f98b11567aa0f6a378da8943a0f3fc48512906dbc4c43c8589e5cfb1238172
4
+ data.tar.gz: e5b599f3c441b9843545156228eef9db4e4d7727606844c0beff5416d46e62fc
5
5
  SHA512:
6
- metadata.gz: b55a2d173b8fa2350af4f88045bc74120409b8266ab81cbfbea622959925eed622c1a33ebfc9692ed926657e855509edc49de2fe45d7a4f1063d1e9e7f684f05
7
- data.tar.gz: 7be04f920154414104cbc88f2c8dadfe3bfbec724b6ae96571eecb2f19bee14a527af693d42339b6f9b6a12de30d386591b16b30354f595a5b3ae60ed4f74036
6
+ metadata.gz: 15c365b5f317889da065fa694cf64cfd68a289e26f9407df5e41436dab71c3991a226c5dcb181b22be70625d392e58828af6962bc0f7be18e0cbb37072c5a794
7
+ data.tar.gz: 8a3813adde99405f377f87779038702fcd877b4a73abe05908d3075a126f4c7e6f374e5828f377014b8c1f76d6595a9720be4c6b9ecb05e8c35d8623985ac47e
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ bin/
1
2
  Gemfile.lock
2
3
  coverage/
3
4
  spec/rails/rails-*
@@ -11,12 +11,10 @@ script: bundle exec rspec spec
11
11
 
12
12
  env:
13
13
  matrix:
14
- - RAILS=4.2.0 AA=1.1.0
15
- - RAILS=5.1.0 AA=1.2.0
16
- - RAILS=5.2.0 AA=1.3.0
17
14
  - RAILS=5.2.0 AA=1.4.0
18
15
  - RAILS=5.2.0 AA=2.0.0
16
+ - RAILS=6.0.0 AA=2.6.0
19
17
 
20
18
  rvm:
21
- - 2.4
19
+ - 2.5
22
20
  - 2.6
data/Gemfile CHANGED
@@ -4,8 +4,8 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  group :test do
7
- default_rails_version = '5.2.1'
8
- default_activeadmin_version = '2.0.0'
7
+ default_rails_version = '6.0.0'
8
+ default_activeadmin_version = '2.6.0'
9
9
 
10
10
  gem 'rails', "~> #{ENV['RAILS'] || default_rails_version}"
11
11
  gem 'activeadmin', "~> #{ENV['AA'] || default_activeadmin_version}"
@@ -14,11 +14,10 @@ group :test do
14
14
  gem 'rspec-rails'
15
15
  gem 'coveralls', require: false # Test coverage website. Go to https://coveralls.io
16
16
  gem 'sass-rails'
17
- gem 'sqlite3', '~> 1.3.6'
17
+ gem 'sqlite3', '~> 1.4.0'
18
18
  gem 'launchy'
19
19
  gem 'database_cleaner'
20
20
  gem 'capybara'
21
- gem 'selenium-webdriver'
22
- gem 'chromedriver-helper'
21
+ gem 'webdrivers'
23
22
  gem 'byebug'
24
23
  end
@@ -11,6 +11,12 @@ module ActiveAdmin
11
11
  end
12
12
  end
13
13
 
14
+ # This method is for compatibility for ActiveAdmin 2.6
15
+ def input_html_options_for(input_name, placeholder)
16
+ super.merge placeholder: placeholder,
17
+ value: input_value(input_name)
18
+ end
19
+
14
20
  def gt_input_name
15
21
  column && column.type == :date ? super : "#{method}_gteq_datetime_picker"
16
22
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveAdminDatetimepicker
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_admin_datetimepicker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Fedoronchuk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-17 00:00:00.000000000 Z
11
+ date: 2020-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coffee-rails