active_admin_datetimepicker 0.7.4 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +44 -0
- data/Gemfile +5 -4
- data/README.md +37 -2
- data/active_admin_datetimepicker.gemspec +1 -3
- data/app/assets/javascripts/active_admin_datetimepicker.js +25 -0
- data/app/assets/javascripts/vendor/jquery.datetimepicker.full.js +2911 -0
- data/app/assets/stylesheets/active_admin_datetimepicker.scss +2 -0
- data/app/assets/stylesheets/vendor/jquery.datetimepicker.css +568 -0
- data/config/initializers/active_admin_datetimepicker.rb +0 -4
- data/lib/active_admin_datetimepicker/base.rb +7 -7
- data/lib/active_admin_datetimepicker/version.rb +1 -1
- data/lib/active_admin_datetimepicker.rb +0 -1
- data/package.json +35 -0
- metadata +16 -40
- data/.travis.yml +0 -20
- data/app/assets/javascripts/active_admin_datetimepicker.js.coffee +0 -26
metadata
CHANGED
@@ -1,63 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_admin_datetimepicker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Fedoronchuk
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-12-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: coffee-rails
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: activeadmin
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - ">="
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
19
|
+
version: 2.14.0
|
34
20
|
- - "<"
|
35
21
|
- !ruby/object:Gem::Version
|
36
|
-
version:
|
22
|
+
version: '4.0'
|
37
23
|
type: :runtime
|
38
24
|
prerelease: false
|
39
25
|
version_requirements: !ruby/object:Gem::Requirement
|
40
26
|
requirements:
|
41
27
|
- - ">="
|
42
28
|
- !ruby/object:Gem::Version
|
43
|
-
version:
|
29
|
+
version: 2.14.0
|
44
30
|
- - "<"
|
45
31
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: xdan-datetimepicker-rails
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 2.5.4
|
54
|
-
type: :runtime
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 2.5.4
|
32
|
+
version: '4.0'
|
61
33
|
description: Integrate jQuery xdan datetimepicker plugin to ActiveAdmin
|
62
34
|
email:
|
63
35
|
- fedoronchuk@gmail.com
|
@@ -65,29 +37,32 @@ executables: []
|
|
65
37
|
extensions: []
|
66
38
|
extra_rdoc_files: []
|
67
39
|
files:
|
40
|
+
- ".github/workflows/ci.yml"
|
68
41
|
- ".gitignore"
|
69
|
-
- ".travis.yml"
|
70
42
|
- CODE_OF_CONDUCT.md
|
71
43
|
- Gemfile
|
72
44
|
- LICENSE.txt
|
73
45
|
- README.md
|
74
46
|
- Rakefile
|
75
47
|
- active_admin_datetimepicker.gemspec
|
76
|
-
- app/assets/javascripts/active_admin_datetimepicker.js
|
48
|
+
- app/assets/javascripts/active_admin_datetimepicker.js
|
49
|
+
- app/assets/javascripts/vendor/jquery.datetimepicker.full.js
|
77
50
|
- app/assets/stylesheets/active_admin_datetimepicker.scss
|
51
|
+
- app/assets/stylesheets/vendor/jquery.datetimepicker.css
|
78
52
|
- config/initializers/active_admin_datetimepicker.rb
|
79
53
|
- lib/active_admin_datetimepicker.rb
|
80
54
|
- lib/active_admin_datetimepicker/base.rb
|
81
55
|
- lib/active_admin_datetimepicker/inputs/date_time_picker_input.rb
|
82
56
|
- lib/active_admin_datetimepicker/inputs/filters/date_time_range_input.rb
|
83
57
|
- lib/active_admin_datetimepicker/version.rb
|
58
|
+
- package.json
|
84
59
|
- screen/screen.png
|
85
60
|
- tasks/test.rake
|
86
61
|
homepage: https://github.com/activeadmin-plugins/activeadmin_datetimepicker
|
87
62
|
licenses:
|
88
63
|
- MIT
|
89
64
|
metadata: {}
|
90
|
-
post_install_message:
|
65
|
+
post_install_message:
|
91
66
|
rdoc_options: []
|
92
67
|
require_paths:
|
93
68
|
- lib
|
@@ -102,8 +77,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
77
|
- !ruby/object:Gem::Version
|
103
78
|
version: '0'
|
104
79
|
requirements: []
|
105
|
-
|
106
|
-
|
80
|
+
rubyforge_project:
|
81
|
+
rubygems_version: 2.7.6.2
|
82
|
+
signing_key:
|
107
83
|
specification_version: 4
|
108
84
|
summary: datetimepicker extension for ActiveAdmin
|
109
85
|
test_files: []
|
data/.travis.yml
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
sudo: required
|
2
|
-
language: ruby
|
3
|
-
addons:
|
4
|
-
chrome: stable
|
5
|
-
|
6
|
-
before_install:
|
7
|
-
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
|
8
|
-
- gem install bundler -v '< 2'
|
9
|
-
|
10
|
-
script: bundle exec rspec spec
|
11
|
-
|
12
|
-
env:
|
13
|
-
matrix:
|
14
|
-
- RAILS=5.2.0 AA=1.4.0
|
15
|
-
- RAILS=5.2.0 AA=2.0.0
|
16
|
-
- RAILS=6.0.0 AA=2.6.0
|
17
|
-
|
18
|
-
rvm:
|
19
|
-
- 2.5
|
20
|
-
- 2.6
|
@@ -1,26 +0,0 @@
|
|
1
|
-
#= require jquery.xdan.datetimepicker.full
|
2
|
-
|
3
|
-
@setupDateTimePicker = (container) ->
|
4
|
-
defaults = {
|
5
|
-
formatDate: 'y-m-d',
|
6
|
-
format: 'Y-m-d H:i',
|
7
|
-
allowBlank: true,
|
8
|
-
defaultSelect: false,
|
9
|
-
validateOnBlur: false
|
10
|
-
}
|
11
|
-
|
12
|
-
entries = $(container).find('input.date-time-picker')
|
13
|
-
entries.each (index, entry) ->
|
14
|
-
options = $(entry).data 'datepicker-options'
|
15
|
-
$(entry).datetimepicker $.extend(defaults, options)
|
16
|
-
|
17
|
-
@initXdanDateTimePickerPlugin = () ->
|
18
|
-
setupDateTimePicker $('body')
|
19
|
-
$(document).on 'has_many_add:after', '.has_many_container', (e, fieldset) ->
|
20
|
-
setupDateTimePicker fieldset
|
21
|
-
|
22
|
-
$(document).ready ->
|
23
|
-
initXdanDateTimePickerPlugin()
|
24
|
-
|
25
|
-
$(document).on 'turbolinks:load', ->
|
26
|
-
initXdanDateTimePickerPlugin()
|