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 +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +2 -4
- data/Gemfile +4 -5
- data/lib/active_admin_datetimepicker/inputs/filters/date_time_range_input.rb +6 -0
- data/lib/active_admin_datetimepicker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15f98b11567aa0f6a378da8943a0f3fc48512906dbc4c43c8589e5cfb1238172
|
4
|
+
data.tar.gz: e5b599f3c441b9843545156228eef9db4e4d7727606844c0beff5416d46e62fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15c365b5f317889da065fa694cf64cfd68a289e26f9407df5e41436dab71c3991a226c5dcb181b22be70625d392e58828af6962bc0f7be18e0cbb37072c5a794
|
7
|
+
data.tar.gz: 8a3813adde99405f377f87779038702fcd877b4a73abe05908d3075a126f4c7e6f374e5828f377014b8c1f76d6595a9720be4c6b9ecb05e8c35d8623985ac47e
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -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.
|
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 = '
|
8
|
-
default_activeadmin_version = '2.
|
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.
|
17
|
+
gem 'sqlite3', '~> 1.4.0'
|
18
18
|
gem 'launchy'
|
19
19
|
gem 'database_cleaner'
|
20
20
|
gem 'capybara'
|
21
|
-
gem '
|
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
|
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.
|
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:
|
11
|
+
date: 2020-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coffee-rails
|