active_admin_datetimepicker 1.1.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -6
- data/lib/active_admin_datetimepicker/version.rb +1 -1
- metadata +6 -19
- data/.github/workflows/ci.yml +0 -44
- data/.gitignore +0 -7
- data/CODE_OF_CONDUCT.md +0 -13
- data/Gemfile +0 -24
- data/Rakefile +0 -7
- data/active_admin_datetimepicker.gemspec +0 -23
- data/package.json +0 -35
- data/screen/screen.png +0 -0
- data/tasks/test.rake +0 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f72d4d9a266e7d485086a2e88f33afbe2cff5cfd96e48c3f445bc282d4dbe74d
|
|
4
|
+
data.tar.gz: 974dcd6b2d5565f30a3b7e25ca2790d95bc61bb6b4bc320dfb4b37643f6c02f0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a3dc772919b001e859ab1f6f4a55bfed8c8f57d9805097da18758636ade2a08bdbdc969a946fb01e2253fe38d08857e3ec919e6ef6be9692a664ca4f251b710
|
|
7
|
+
data.tar.gz: 93b4af8726be324908467c2abd2dc1212780590ed7dbdeb2e5551c447502e77f93e32fb76f50790a0b387f9ba4b21c55d7fe8b007f7f02ed8a2fe86609fb5d01
|
data/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
[](http://badge.fury.io/rb/active_admin_datetimepicker)
|
|
2
2
|
[](https://badge.fury.io/js/@activeadmin-plugins%2Factive_admin_datetimepicker)
|
|
3
3
|

|
|
4
|
-
[](https://github.com/activeadmin-plugins/active_admin_datetimepicker/actions/workflows/ci.yml)
|
|
5
|
+

|
|
6
6
|
|
|
7
7
|
# ActiveAdminDatetimepicker
|
|
8
8
|
|
|
9
9
|
Adds XDSoft's DateTime picker as a `date_time_picker` input for forms, and `date_time_range` for filters.
|
|
10
10
|
|
|
11
|
-

|
|
12
12
|
|
|
13
13
|
## Installation
|
|
14
14
|
|
|
@@ -39,7 +39,7 @@ Add the following line into `app/assets/javascripts/active_admin.js`:
|
|
|
39
39
|
//= require active_admin_datetimepicker
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
##### Using assets via
|
|
42
|
+
##### Using assets via NPM/Yarn
|
|
43
43
|
|
|
44
44
|
Execute:
|
|
45
45
|
|
|
@@ -53,7 +53,7 @@ Or add manually to `package.json`:
|
|
|
53
53
|
|
|
54
54
|
```
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@activeadmin-plugins/active_admin_datetimepicker": "
|
|
56
|
+
"@activeadmin-plugins/active_admin_datetimepicker": "latest"
|
|
57
57
|
}
|
|
58
58
|
```
|
|
59
59
|
and execute:
|
|
@@ -121,7 +121,7 @@ See [the datetimepicker documentation for more details](http://xdsoft.net/jqplug
|
|
|
121
121
|
|
|
122
122
|
## Contributing
|
|
123
123
|
|
|
124
|
-
1. Fork it ( https://github.com/activeadmin-plugins/
|
|
124
|
+
1. Fork it ( https://github.com/activeadmin-plugins/active_admin_datetimepicker/fork )
|
|
125
125
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
|
126
126
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
|
127
127
|
4. Push to the branch (`git push origin my-new-feature`)
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_admin_datetimepicker
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Igor Fedoronchuk
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: activeadmin
|
|
@@ -16,7 +15,7 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - ">="
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
18
|
+
version: '3.0'
|
|
20
19
|
- - "<"
|
|
21
20
|
- !ruby/object:Gem::Version
|
|
22
21
|
version: '4.0'
|
|
@@ -26,7 +25,7 @@ dependencies:
|
|
|
26
25
|
requirements:
|
|
27
26
|
- - ">="
|
|
28
27
|
- !ruby/object:Gem::Version
|
|
29
|
-
version:
|
|
28
|
+
version: '3.0'
|
|
30
29
|
- - "<"
|
|
31
30
|
- !ruby/object:Gem::Version
|
|
32
31
|
version: '4.0'
|
|
@@ -37,14 +36,8 @@ executables: []
|
|
|
37
36
|
extensions: []
|
|
38
37
|
extra_rdoc_files: []
|
|
39
38
|
files:
|
|
40
|
-
- ".github/workflows/ci.yml"
|
|
41
|
-
- ".gitignore"
|
|
42
|
-
- CODE_OF_CONDUCT.md
|
|
43
|
-
- Gemfile
|
|
44
39
|
- LICENSE.txt
|
|
45
40
|
- README.md
|
|
46
|
-
- Rakefile
|
|
47
|
-
- active_admin_datetimepicker.gemspec
|
|
48
41
|
- app/assets/javascripts/active_admin_datetimepicker.js
|
|
49
42
|
- app/assets/javascripts/vendor/jquery.datetimepicker.full.js
|
|
50
43
|
- app/assets/stylesheets/active_admin_datetimepicker.scss
|
|
@@ -55,14 +48,10 @@ files:
|
|
|
55
48
|
- lib/active_admin_datetimepicker/inputs/date_time_picker_input.rb
|
|
56
49
|
- lib/active_admin_datetimepicker/inputs/filters/date_time_range_input.rb
|
|
57
50
|
- lib/active_admin_datetimepicker/version.rb
|
|
58
|
-
- package.json
|
|
59
|
-
- screen/screen.png
|
|
60
|
-
- tasks/test.rake
|
|
61
51
|
homepage: https://github.com/activeadmin-plugins/activeadmin_datetimepicker
|
|
62
52
|
licenses:
|
|
63
53
|
- MIT
|
|
64
54
|
metadata: {}
|
|
65
|
-
post_install_message:
|
|
66
55
|
rdoc_options: []
|
|
67
56
|
require_paths:
|
|
68
57
|
- lib
|
|
@@ -70,16 +59,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
70
59
|
requirements:
|
|
71
60
|
- - ">="
|
|
72
61
|
- !ruby/object:Gem::Version
|
|
73
|
-
version: '
|
|
62
|
+
version: '3.3'
|
|
74
63
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
64
|
requirements:
|
|
76
65
|
- - ">="
|
|
77
66
|
- !ruby/object:Gem::Version
|
|
78
67
|
version: '0'
|
|
79
68
|
requirements: []
|
|
80
|
-
|
|
81
|
-
rubygems_version: 2.7.6.2
|
|
82
|
-
signing_key:
|
|
69
|
+
rubygems_version: 3.6.9
|
|
83
70
|
specification_version: 4
|
|
84
71
|
summary: datetimepicker extension for ActiveAdmin
|
|
85
72
|
test_files: []
|
data/.github/workflows/ci.yml
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
name: CI
|
|
2
|
-
on:
|
|
3
|
-
pull_request:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- master
|
|
7
|
-
jobs:
|
|
8
|
-
test:
|
|
9
|
-
name: Tests with Ruby ${{ matrix.ruby }} Rails ${{ matrix.rails }} Active Admin ${{ matrix.activeadmin }}
|
|
10
|
-
runs-on: ubuntu-latest
|
|
11
|
-
strategy:
|
|
12
|
-
matrix:
|
|
13
|
-
ruby:
|
|
14
|
-
- '3.0.0'
|
|
15
|
-
- '3.1.0'
|
|
16
|
-
- '3.2.0'
|
|
17
|
-
- '3.3.0'
|
|
18
|
-
rails:
|
|
19
|
-
- '6.1.0'
|
|
20
|
-
- '7.0.0'
|
|
21
|
-
- '7.1.0'
|
|
22
|
-
activeadmin:
|
|
23
|
-
- '2.14.0'
|
|
24
|
-
- '3.0.0'
|
|
25
|
-
- '3.1.0'
|
|
26
|
-
- '3.2.0'
|
|
27
|
-
exclude:
|
|
28
|
-
- rails: '7.1.0'
|
|
29
|
-
activeadmin: '2.14.0'
|
|
30
|
-
- rails: '7.1.0'
|
|
31
|
-
activeadmin: '3.0.0'
|
|
32
|
-
env:
|
|
33
|
-
RAILS: ${{ matrix.rails }}
|
|
34
|
-
AA: ${{ matrix.activeadmin }}
|
|
35
|
-
steps:
|
|
36
|
-
- uses: actions/checkout@v4
|
|
37
|
-
- uses: ruby/setup-ruby@v1
|
|
38
|
-
with:
|
|
39
|
-
ruby-version: ${{ matrix.ruby }}
|
|
40
|
-
- name: Run tests
|
|
41
|
-
run: |
|
|
42
|
-
gem install bundler -v '< 2'
|
|
43
|
-
bundle install
|
|
44
|
-
bundle exec rspec spec
|
data/.gitignore
DELETED
data/CODE_OF_CONDUCT.md
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# Contributor Code of Conduct
|
|
2
|
-
|
|
3
|
-
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
|
4
|
-
|
|
5
|
-
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
|
|
6
|
-
|
|
7
|
-
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
|
8
|
-
|
|
9
|
-
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
|
10
|
-
|
|
11
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
|
12
|
-
|
|
13
|
-
This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
source 'https://rubygems.org'
|
|
2
|
-
|
|
3
|
-
# Specify your gem's dependencies in active_admin_datetimepicker.gemspec
|
|
4
|
-
gemspec
|
|
5
|
-
|
|
6
|
-
group :test do
|
|
7
|
-
default_rails_version = '7.1.0'
|
|
8
|
-
default_activeadmin_version = '3.1.0'
|
|
9
|
-
|
|
10
|
-
gem 'rails', "~> #{ENV['RAILS'] || default_rails_version}"
|
|
11
|
-
gem 'activeadmin', "~> #{ENV['AA'] || default_activeadmin_version}"
|
|
12
|
-
|
|
13
|
-
gem 'sprockets-rails'
|
|
14
|
-
gem 'rspec-rails'
|
|
15
|
-
gem 'coveralls_reborn', require: false
|
|
16
|
-
gem 'sass-rails'
|
|
17
|
-
gem 'sqlite3', '~> 1.4.0'
|
|
18
|
-
gem 'launchy'
|
|
19
|
-
gem 'database_cleaner'
|
|
20
|
-
gem 'capybara'
|
|
21
|
-
gem 'webdrivers'
|
|
22
|
-
gem 'byebug'
|
|
23
|
-
gem 'webrick', require: false
|
|
24
|
-
end
|
data/Rakefile
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
-
require 'active_admin_datetimepicker/version'
|
|
5
|
-
|
|
6
|
-
Gem::Specification.new do |spec|
|
|
7
|
-
spec.name = "active_admin_datetimepicker"
|
|
8
|
-
spec.version = ActiveAdminDatetimepicker::VERSION
|
|
9
|
-
spec.authors = ["Igor Fedoronchuk"]
|
|
10
|
-
spec.email = ["fedoronchuk@gmail.com"]
|
|
11
|
-
|
|
12
|
-
spec.summary = %q{datetimepicker extension for ActiveAdmin}
|
|
13
|
-
spec.description = %q{Integrate jQuery xdan datetimepicker plugin to ActiveAdmin}
|
|
14
|
-
spec.homepage = "https://github.com/activeadmin-plugins/activeadmin_datetimepicker"
|
|
15
|
-
spec.license = "MIT"
|
|
16
|
-
|
|
17
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
18
|
-
spec.bindir = "bin"
|
|
19
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
20
|
-
spec.require_paths = ["lib"]
|
|
21
|
-
|
|
22
|
-
spec.add_dependency "activeadmin", ">= 2.14.0", "< 4.0"
|
|
23
|
-
end
|
data/package.json
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@activeadmin-plugins/active_admin_datetimepicker",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "Integrate jQuery xdan datetimepicker plugin to ActiveAdmin",
|
|
5
|
-
"main": "src/active_admin_datetimepicker.js",
|
|
6
|
-
"style": "src/active_admin_datetimepicker.scss",
|
|
7
|
-
"author": "Igor Fedoronchuk <fedoronchuk@gmail.com>",
|
|
8
|
-
"license": "MIT",
|
|
9
|
-
"private": false,
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/activeadmin-plugins/active_admin_datetimepicker.git"
|
|
13
|
-
},
|
|
14
|
-
"bugs": {
|
|
15
|
-
"url": "https://github.com/activeadmin-plugins/active_admin_datetimepicker/issues"
|
|
16
|
-
},
|
|
17
|
-
"homepage": "https://github.com/activeadmin-plugins/active_admin_datetimepicker#readme",
|
|
18
|
-
"keywords": [
|
|
19
|
-
"active",
|
|
20
|
-
"admin",
|
|
21
|
-
"datetimepicker"
|
|
22
|
-
],
|
|
23
|
-
"files": [
|
|
24
|
-
"src/**/*",
|
|
25
|
-
"!src/*.bak"
|
|
26
|
-
],
|
|
27
|
-
"scripts": {
|
|
28
|
-
"prepare_src": "rm -rf src && cp -R app/assets/javascripts/ src && cp -R app/assets/stylesheets/ src",
|
|
29
|
-
"prepare_import": "sed -i.bak 1s/'\\/\\/\\= require vendor\\/jquery.datetimepicker.full'/\"import '.\\/vendor\\/jquery.datetimepicker.full';\"/ src/active_admin_datetimepicker.js",
|
|
30
|
-
"prepublishOnly": "npm run prepare_src && npm run prepare_import"
|
|
31
|
-
},
|
|
32
|
-
"dependencies": {
|
|
33
|
-
"jquery-mousewheel": ">= 3.1.13"
|
|
34
|
-
}
|
|
35
|
-
}
|
data/screen/screen.png
DELETED
|
Binary file
|
data/tasks/test.rake
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
desc "Creates a test rails app for the specs to run against"
|
|
2
|
-
task :setup do
|
|
3
|
-
require 'rails/version'
|
|
4
|
-
|
|
5
|
-
rails_new_opts = %w(
|
|
6
|
-
--skip-turbolinks
|
|
7
|
-
--skip-spring
|
|
8
|
-
--skip-bootsnap
|
|
9
|
-
-m
|
|
10
|
-
spec/support/rails_template.rb
|
|
11
|
-
)
|
|
12
|
-
system "bundle exec rails new spec/rails/rails-#{Rails::VERSION::STRING} #{rails_new_opts.join(' ')}"
|
|
13
|
-
end
|