flatpickr 4.6.3.0 → 4.6.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/LICENSE.txt +1 -1
  4. data/Rakefile +14 -15
  5. data/flatpickr.gemspec +1 -1
  6. data/lib/flatpickr/version.rb +1 -1
  7. data/vendor/assets/javascripts/flatpickr.js +1 -1
  8. data/vendor/assets/javascripts/flatpickr/l10n/ar.js +0 -0
  9. data/vendor/assets/javascripts/flatpickr/l10n/at.js +0 -0
  10. data/vendor/assets/javascripts/flatpickr/l10n/az.js +0 -0
  11. data/vendor/assets/javascripts/flatpickr/l10n/be.js +0 -0
  12. data/vendor/assets/javascripts/flatpickr/l10n/bg.js +0 -0
  13. data/vendor/assets/javascripts/flatpickr/l10n/bn.js +0 -0
  14. data/vendor/assets/javascripts/flatpickr/l10n/bs.js +0 -0
  15. data/vendor/assets/javascripts/flatpickr/l10n/cat.js +0 -0
  16. data/vendor/assets/javascripts/flatpickr/l10n/cs.js +0 -0
  17. data/vendor/assets/javascripts/flatpickr/l10n/cy.js +0 -0
  18. data/vendor/assets/javascripts/flatpickr/l10n/da.js +0 -0
  19. data/vendor/assets/javascripts/flatpickr/l10n/de.js +0 -0
  20. data/vendor/assets/javascripts/flatpickr/l10n/default.js +0 -0
  21. data/vendor/assets/javascripts/flatpickr/l10n/eo.js +0 -0
  22. data/vendor/assets/javascripts/flatpickr/l10n/es.js +0 -0
  23. data/vendor/assets/javascripts/flatpickr/l10n/et.js +0 -0
  24. data/vendor/assets/javascripts/flatpickr/l10n/fa.js +0 -0
  25. data/vendor/assets/javascripts/flatpickr/l10n/fi.js +0 -0
  26. data/vendor/assets/javascripts/flatpickr/l10n/fo.js +0 -0
  27. data/vendor/assets/javascripts/flatpickr/l10n/fr.js +0 -0
  28. data/vendor/assets/javascripts/flatpickr/l10n/ga.js +0 -0
  29. data/vendor/assets/javascripts/flatpickr/l10n/gr.js +0 -0
  30. data/vendor/assets/javascripts/flatpickr/l10n/he.js +0 -0
  31. data/vendor/assets/javascripts/flatpickr/l10n/hi.js +0 -0
  32. data/vendor/assets/javascripts/flatpickr/l10n/hr.js +0 -0
  33. data/vendor/assets/javascripts/flatpickr/l10n/hu.js +0 -0
  34. data/vendor/assets/javascripts/flatpickr/l10n/id.js +0 -0
  35. data/vendor/assets/javascripts/flatpickr/l10n/index.js +0 -0
  36. data/vendor/assets/javascripts/flatpickr/l10n/is.js +0 -0
  37. data/vendor/assets/javascripts/flatpickr/l10n/it.js +0 -0
  38. data/vendor/assets/javascripts/flatpickr/l10n/ja.js +0 -0
  39. data/vendor/assets/javascripts/flatpickr/l10n/ka.js +0 -0
  40. data/vendor/assets/javascripts/flatpickr/l10n/km.js +0 -0
  41. data/vendor/assets/javascripts/flatpickr/l10n/ko.js +0 -0
  42. data/vendor/assets/javascripts/flatpickr/l10n/kz.js +0 -0
  43. data/vendor/assets/javascripts/flatpickr/l10n/lt.js +0 -0
  44. data/vendor/assets/javascripts/flatpickr/l10n/lv.js +0 -0
  45. data/vendor/assets/javascripts/flatpickr/l10n/mk.js +0 -0
  46. data/vendor/assets/javascripts/flatpickr/l10n/mn.js +0 -0
  47. data/vendor/assets/javascripts/flatpickr/l10n/ms.js +0 -0
  48. data/vendor/assets/javascripts/flatpickr/l10n/my.js +0 -0
  49. data/vendor/assets/javascripts/flatpickr/l10n/nl.js +0 -0
  50. data/vendor/assets/javascripts/flatpickr/l10n/no.js +0 -0
  51. data/vendor/assets/javascripts/flatpickr/l10n/pa.js +0 -0
  52. data/vendor/assets/javascripts/flatpickr/l10n/pl.js +0 -0
  53. data/vendor/assets/javascripts/flatpickr/l10n/pt.js +0 -0
  54. data/vendor/assets/javascripts/flatpickr/l10n/ro.js +0 -0
  55. data/vendor/assets/javascripts/flatpickr/l10n/ru.js +0 -0
  56. data/vendor/assets/javascripts/flatpickr/l10n/si.js +0 -0
  57. data/vendor/assets/javascripts/flatpickr/l10n/sk.js +0 -0
  58. data/vendor/assets/javascripts/flatpickr/l10n/sl.js +0 -0
  59. data/vendor/assets/javascripts/flatpickr/l10n/sq.js +0 -0
  60. data/vendor/assets/javascripts/flatpickr/l10n/sr-cyr.js +0 -0
  61. data/vendor/assets/javascripts/flatpickr/l10n/sr.js +0 -0
  62. data/vendor/assets/javascripts/flatpickr/l10n/sv.js +0 -0
  63. data/vendor/assets/javascripts/flatpickr/l10n/th.js +0 -0
  64. data/vendor/assets/javascripts/flatpickr/l10n/tr.js +0 -0
  65. data/vendor/assets/javascripts/flatpickr/l10n/uk.js +0 -0
  66. data/vendor/assets/javascripts/flatpickr/l10n/vn.js +0 -0
  67. data/vendor/assets/javascripts/flatpickr/l10n/zh-tw.js +0 -0
  68. data/vendor/assets/javascripts/flatpickr/l10n/zh.js +0 -0
  69. data/vendor/assets/javascripts/flatpickr/plugins/confirmDate/confirmDate.js +0 -0
  70. data/vendor/assets/javascripts/flatpickr/plugins/labelPlugin/labelPlugin.js +0 -0
  71. data/vendor/assets/javascripts/flatpickr/plugins/minMaxTimePlugin.js +0 -0
  72. data/vendor/assets/javascripts/flatpickr/plugins/monthSelect/index.js +0 -0
  73. data/vendor/assets/javascripts/flatpickr/plugins/rangePlugin.js +0 -0
  74. data/vendor/assets/javascripts/flatpickr/plugins/scrollPlugin.js +0 -0
  75. data/vendor/assets/javascripts/flatpickr/plugins/weekSelect/weekSelect.js +0 -0
  76. data/vendor/assets/stylesheets/flatpickr.css +0 -0
  77. data/vendor/assets/stylesheets/flatpickr/ie.css +0 -0
  78. data/vendor/assets/stylesheets/flatpickr/plugins/confirmDate/confirmDate.css +0 -0
  79. data/vendor/assets/stylesheets/flatpickr/plugins/monthSelect/style.css +0 -0
  80. data/vendor/assets/stylesheets/flatpickr/themes/airbnb.css +0 -0
  81. data/vendor/assets/stylesheets/flatpickr/themes/confetti.css +0 -0
  82. data/vendor/assets/stylesheets/flatpickr/themes/dark.css +0 -0
  83. data/vendor/assets/stylesheets/flatpickr/themes/light.css +0 -0
  84. data/vendor/assets/stylesheets/flatpickr/themes/material_blue.css +0 -0
  85. data/vendor/assets/stylesheets/flatpickr/themes/material_green.css +0 -0
  86. data/vendor/assets/stylesheets/flatpickr/themes/material_orange.css +0 -0
  87. data/vendor/assets/stylesheets/flatpickr/themes/material_red.css +0 -0
  88. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54db0dff44f0812d623806c212203dab01c33e084f4c6d25b2389ad30569dc28
4
- data.tar.gz: 21d6b70c91d7f9a791072c79642872a290b7e58e8c8fd6bed7acacf62495b53f
3
+ metadata.gz: 8885c0176dcfabe65a584c2d766905f66bc89dc15bc8989830b10753039f6215
4
+ data.tar.gz: c7f284dbb4a095417361aa98d3cdb3022f42f36517e480746d358a076703f9a4
5
5
  SHA512:
6
- metadata.gz: a810c005069dd25bd33d5a914e18f6a43e4e9ff4dbd51cf3b23f848b780065aee4b7347ae6762e9bcbcafb6c5ef1e74edc277702d449c591e9a4c19283affd4a
7
- data.tar.gz: 9c984be6739a8058aaf3883f98b49531ae5339903d52dba74cb91569c758ee662f0d6e3cbd84e93d4ac2bececd2399c2cab3fe7e9d28d208312a319f57ac64fe
6
+ metadata.gz: f204a0fd9d87ce791307aa8cfa5bf1bc95ed4c858790212495767111b1f1921de763de78b5eb44fe526b2dbc3715a68ef46ac6bd7aedbd2e6a8b23d9a46e515d
7
+ data.tar.gz: 3abc3c660d8c5f49c4cbf45f7ce943eca75aaaf03f6b40a50839c7c8867b37591cd8e2c10c79669118157e83cac8ba665c1007f026cc545119c53b9e38697a1b
data/.gitignore CHANGED
@@ -8,3 +8,5 @@
8
8
  /spec/reports/
9
9
  /tmp/
10
10
  /flatpickr_source/
11
+ /node_modules/
12
+ package-lock.json
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2018 Zoran Pesic
3
+ Copyright (c) 2020 Zoran Pesic
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/Rakefile CHANGED
@@ -13,30 +13,29 @@ namespace :flatpickr do
13
13
  desc 'Update Flatpickr assets from source.'
14
14
  task update: :clean do
15
15
  version = ARGV[1] || "v#{Flatpickr::VERSION.sub(/.\d+$/, '')}"
16
+ source_dir = 'node_modules/flatpickr'
16
17
 
17
- sh 'git clone git@github.com:flatpickr/flatpickr.git flatpickr_source'
18
- sh "cd flatpickr_source && git checkout tags/#{version}"
19
- sh 'cd flatpickr_source && npm install && npm run build:pre && npm run build:build'
18
+ sh "npm install flatpickr@#{version}"
20
19
 
21
- sh 'cp flatpickr_source/dist/flatpickr.js vendor/assets/javascripts/flatpickr.js'
22
- sh 'cp -R flatpickr_source/dist/plugins/ vendor/assets/javascripts/flatpickr/plugins/'
23
- sh 'cd vendor/assets/javascripts/flatpickr/plugins/ && find . -name "*.css" -type f -delete'
24
- sh 'cp -R flatpickr_source/dist/l10n/ vendor/assets/javascripts/flatpickr/l10n/'
20
+ sh "cp #{source_dir}/dist/flatpickr.js vendor/assets/javascripts/flatpickr.js"
21
+ sh "cp -R #{source_dir}/dist/plugins/ vendor/assets/javascripts/flatpickr/plugins/"
22
+ sh "cp -R #{source_dir}/dist/l10n/ vendor/assets/javascripts/flatpickr/l10n/"
23
+ sh 'cd vendor/assets/javascripts/flatpickr/ && find . -not -name "*.js" -type f -delete'
25
24
 
26
- sh 'cp flatpickr_source/dist/flatpickr.css vendor/assets/stylesheets/flatpickr.css'
27
- sh 'cp -R flatpickr_source/dist/plugins/ vendor/assets/stylesheets/flatpickr/plugins/'
28
- sh 'cd vendor/assets/stylesheets/flatpickr/plugins/ && find . -name "*.js" -type f -delete'
29
- sh 'cp -R flatpickr_source/dist/themes/ vendor/assets/stylesheets/flatpickr/themes/'
30
- sh 'cp flatpickr_source/dist/ie.css vendor/assets/stylesheets/flatpickr/ie.css'
25
+ sh "cp #{source_dir}/dist/flatpickr.css vendor/assets/stylesheets/flatpickr.css"
26
+ sh "cp -R #{source_dir}/dist/plugins/ vendor/assets/stylesheets/flatpickr/plugins/"
27
+ sh "cp -R #{source_dir}/dist/themes/ vendor/assets/stylesheets/flatpickr/themes/"
28
+ sh "cp #{source_dir}/dist/ie.css vendor/assets/stylesheets/flatpickr/ie.css"
29
+ sh 'cd vendor/assets/stylesheets/flatpickr/ && find . -not -name "*.css" -type f -delete'
31
30
 
32
- puts "\n===============================\n"
33
- puts "ASSETS UPDATED to #{version}! "
31
+ puts "\n================================"
32
+ puts "* ASSETS UPDATED to #{version}! 🔧 *"
33
+ puts "================================"
34
34
  end
35
35
 
36
36
  desc 'Remove previous Flatpickr assets.'
37
37
  task :clean do
38
38
  sh 'rm -rf vendor'
39
- sh 'rm -rf flatpickr_source'
40
39
  sh 'mkdir -p vendor/assets/stylesheets/flatpickr/'
41
40
  sh 'mkdir -p vendor/assets/javascripts/flatpickr/'
42
41
  end
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.name = 'flatpickr'
8
8
  spec.version = Flatpickr::VERSION
9
9
  spec.authors = ['Zoran']
10
- spec.email = ['zoran1991@gmail.com']
10
+ spec.email = ['zspesic@gmail.com']
11
11
 
12
12
  spec.summary = %q{Flatpickr packaged for use in Rails projects.}
13
13
  spec.homepage = 'https://github.com/zokioki/flatpickr-rails'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Flatpickr
4
- VERSION = '4.6.3.0'
4
+ VERSION = '4.6.3.1'
5
5
  end
@@ -1,4 +1,4 @@
1
- /* flatpickr v4.6.2, @license MIT */
1
+ /* flatpickr v4.6.3, @license MIT */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
4
  typeof define === 'function' && define.amd ? define(factory) :
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flatpickr
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.3.0
4
+ version: 4.6.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zoran
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-20 00:00:00.000000000 Z
11
+ date: 2020-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '3.0'
55
55
  description:
56
56
  email:
57
- - zoran1991@gmail.com
57
+ - zspesic@gmail.com
58
58
  executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []