active_admin_datetimepicker 0.7.4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,36 +1,22 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_admin_datetimepicker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Fedoronchuk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-10 00:00:00.000000000 Z
11
+ date: 2022-04-15 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: '1.1'
19
+ version: '2.0'
34
20
  - - "<"
35
21
  - !ruby/object:Gem::Version
36
22
  version: 3.a
@@ -40,24 +26,10 @@ dependencies:
40
26
  requirements:
41
27
  - - ">="
42
28
  - !ruby/object:Gem::Version
43
- version: '1.1'
29
+ version: '2.0'
44
30
  - - "<"
45
31
  - !ruby/object:Gem::Version
46
32
  version: 3.a
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
61
33
  description: Integrate jQuery xdan datetimepicker plugin to ActiveAdmin
62
34
  email:
63
35
  - fedoronchuk@gmail.com
@@ -65,22 +37,25 @@ 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.coffee
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
@@ -102,7 +77,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
77
  - !ruby/object:Gem::Version
103
78
  version: '0'
104
79
  requirements: []
105
- rubygems_version: 3.0.3
80
+ rubyforge_project:
81
+ rubygems_version: 2.7.6.2
106
82
  signing_key:
107
83
  specification_version: 4
108
84
  summary: datetimepicker extension for ActiveAdmin
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()