pagy 8.4.4 → 8.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/apps/calendar.ru +681 -2136
  3. data/apps/demo.ru +1 -1
  4. data/apps/rails.ru +3 -1
  5. data/apps/repro.ru +1 -1
  6. data/apps/tmp/calendar.sqlite3 +0 -0
  7. data/apps/tmp/calendar.sqlite3-shm +0 -0
  8. data/apps/tmp/calendar.sqlite3-wal +0 -0
  9. data/apps/tmp/local_secret.txt +1 -0
  10. data/apps/tmp/pagy-rails.sqlite3 +0 -0
  11. data/bin/pagy +9 -9
  12. data/config/pagy.rb +1 -1
  13. data/javascripts/pagy-module.js +1 -1
  14. data/javascripts/pagy.js +2 -2
  15. data/javascripts/pagy.min.js +2 -2
  16. data/javascripts/pagy.min.js.map +2 -2
  17. data/javascripts/pagy.mjs +1 -1
  18. data/lib/optimist.rb +1 -1
  19. data/lib/pagy/calendar/day.rb +2 -2
  20. data/lib/pagy/calendar/month.rb +2 -2
  21. data/lib/pagy/calendar/quarter.rb +2 -2
  22. data/lib/pagy/calendar/unit.rb +106 -0
  23. data/lib/pagy/calendar/week.rb +2 -2
  24. data/lib/pagy/calendar/year.rb +2 -2
  25. data/lib/pagy/calendar.rb +54 -97
  26. data/lib/pagy/extras/calendar.rb +34 -4
  27. data/lib/pagy/extras/i18n.rb +1 -1
  28. data/lib/pagy/extras/js_tools.rb +1 -1
  29. data/lib/pagy/extras/metadata.rb +5 -1
  30. data/lib/pagy/extras/overflow.rb +3 -2
  31. data/lib/pagy/frontend.rb +8 -5
  32. data/lib/pagy.rb +2 -3
  33. data/locales/ar.yml +1 -1
  34. data/locales/be.yml +1 -1
  35. data/locales/bg.yml +1 -1
  36. data/locales/bs.yml +1 -1
  37. data/locales/ca.yml +4 -6
  38. data/locales/ckb.yml +1 -1
  39. data/locales/cs.yml +1 -1
  40. data/locales/da.yml +1 -1
  41. data/locales/de.yml +1 -1
  42. data/locales/en.yml +1 -1
  43. data/locales/es.yml +1 -1
  44. data/locales/fr.yml +1 -1
  45. data/locales/hr.yml +1 -1
  46. data/locales/id.yml +1 -1
  47. data/locales/it.yml +1 -1
  48. data/locales/ja.yml +1 -1
  49. data/locales/km.yml +1 -1
  50. data/locales/ko.yml +1 -1
  51. data/locales/nb.yml +1 -1
  52. data/locales/nl.yml +1 -1
  53. data/locales/nn.yml +1 -1
  54. data/locales/pl.yml +1 -1
  55. data/locales/pt-BR.yml +1 -1
  56. data/locales/pt.yml +1 -1
  57. data/locales/ru.yml +1 -1
  58. data/locales/sr.yml +1 -1
  59. data/locales/sv-SE.yml +1 -1
  60. data/locales/sv.yml +1 -1
  61. data/locales/sw.yml +1 -1
  62. data/locales/ta.yml +1 -1
  63. data/locales/tr.yml +1 -1
  64. data/locales/uk.yml +1 -1
  65. data/locales/vi.yml +1 -1
  66. data/locales/zh-CN.yml +1 -1
  67. data/locales/zh-HK.yml +1 -1
  68. data/locales/zh-TW.yml +1 -1
  69. metadata +8 -3
  70. data/lib/pagy/calendar/helper.rb +0 -65
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19b44b228b761cd4b129ee71381cc7d51055988a8974440779d7ab40afd0907c
4
- data.tar.gz: 5c0a5f51b2d9ad9ce3f75b67bbb366450084f648ba76d98b334de54b7a3f712f
3
+ metadata.gz: 22f1b2cf0e1e346db403793430d8067eb38c6e381f04c828831b0afd76a86e29
4
+ data.tar.gz: fa0a2b31ff82d9ca4245bbcacb55809699cd2dceb541688b470bfd4c52d4f086
5
5
  SHA512:
6
- metadata.gz: 568929af560338c0c80d4885d9836a95d092b39c3d2578c0b0a0cf8e581df448ed80d04b0d591e8d66eb19f3cb4df97e7c411f7284502c1fedcbc4b5c13cfdcd
7
- data.tar.gz: c99271f09edc76717b636ef6335cb9bad2bb68b57eadab6a9b1911b2ff9a0091d978db7ad5a73947f9e6d7bc4b9baa8868acf2d70d30b08d29068bef873583ee
6
+ metadata.gz: 88b6c59981420ec7b53ff817dc6b2e24e30cd88fcaa621cd2659fc6b11706e21f429895c0a0ba82cbf97183bf6ad725145fb38259ec4d435bef8838ff1a64584
7
+ data.tar.gz: 43361f5bec90b80ed51939da57825903df31f0c4fcfe8e1db0523ba1f4bb36d69e39f467a649c1617f15b18ca2dafb3d4d078a11635925482e09aa6c5501f61d