client_side_validations-simple_form 15.0.0 → 16.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 597d48cb2d321b380c11353ff5859ee85af3d00d9b40105face9ff7759dc34b3
4
- data.tar.gz: 52896f78c47a066551f4f99fbe20f3a6e28047b8324a5cd0c00980eb795b0a29
3
+ metadata.gz: d6d6da7521d245c6ff0a9ff14cc9845e1db5b4ee60443db8c11aa4eef8d77598
4
+ data.tar.gz: 8301e93b0f1319d4ccb74a4ad4a03b4e5f971e2dfcb2e40eed700730e9855d23
5
5
  SHA512:
6
- metadata.gz: 1d98668e2cc1d07baa31a26770fcbd5342966f70792d268a94872ff9e508779044d1e52b023f054a59e8d6bdc03d23d22894b4c3cffbb5b2554750c346155b1e
7
- data.tar.gz: 07c3f18115cc691ce07de1b14f3b543253ed4cdde1959d4dd6b9a0d2e7e433b86b03bbe2763bbb2182c9dc459167c6c16d6f6c41660a0152d6df836595f484ab
6
+ metadata.gz: 7b9b6a65f0741139dd8480d9bac409e6bced782e07a177051cb34c1d3378c37797ce4868edb2db4ec00b33bb543494677f7bcfb780f15153e4610fe7de9984b1
7
+ data.tar.gz: ccbdbe95c2518e6516d62e9e1b483513e603b680486736e8358b302964f6208d3b543be6a09cbe6af2c3b9bd7aa6b2f1a697da784fbc5689a6780401b30cfa2f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 16.0.0 / 2023-09-02
4
+
5
+ * [FEATURE] Do not require jQuery
6
+ * [ENHANCEMENT] Test against Ruby 3.2
7
+ * [ENHANCEMENT] Update QUnit to 2.19.4
8
+ * [FEATURE] Drop support to Ruby 2.6
9
+ * [FEATURE] Drop support to CSV < 22.0
10
+
3
11
  ## 15.0.0 / 2022-09-18
4
12
 
5
13
  * [FEATURE] Drop Ruby 2.5 support
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2022 Geremia Taglialatela, Brian Cardarella
3
+ Copyright (c) 2023 Geremia Taglialatela, Brian Cardarella
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/README.md CHANGED
@@ -116,7 +116,7 @@ on how to properly submit issues and pull requests.
116
116
 
117
117
  ## Legal ##
118
118
 
119
- [DockYard](https://dockyard.com/), LLC &copy; 2012-2022
119
+ [DockYard](https://dockyard.com/), LLC &copy; 2012-2023
120
120
 
121
121
  [@dockyard](https://twitter.com/dockyard)
122
122
 
@@ -5,7 +5,7 @@ module ClientSideValidations
5
5
  module FormBuilder
6
6
  def client_side_form_settings(options, _form_helper)
7
7
  {
8
- type: self.class.to_s,
8
+ type: self.class.name,
9
9
  error_class: wrapper_error_component.defaults[:class].join(' '),
10
10
  error_tag: wrapper_error_component.defaults[:tag],
11
11
  wrapper_error_class: wrapper.defaults[:error_class],
@@ -28,11 +28,12 @@ module ClientSideValidations
28
28
  private
29
29
 
30
30
  def wrapper_error_component
31
- if namespace_present?(wrapper, :error)
32
- wrapper.find(:error)
33
- else
34
- wrapper.find(:full_error)
35
- end
31
+ @wrapper_error_component ||=
32
+ if namespace_present?(wrapper, :error)
33
+ wrapper.find(:error)
34
+ else
35
+ wrapper.find(:full_error)
36
+ end
36
37
  end
37
38
 
38
39
  def namespace_present?(component, namespace)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ClientSideValidations
4
4
  module SimpleForm
5
- VERSION = '15.0.0'
5
+ VERSION = '16.0.0'
6
6
  end
7
7
  end
@@ -4,7 +4,7 @@ require 'simple_form'
4
4
  require 'client_side_validations'
5
5
  require 'client_side_validations/simple_form/form_builder'
6
6
 
7
- if defined?(::Rails)
7
+ if defined?(Rails)
8
8
  require 'client_side_validations/simple_form/engine'
9
9
  require 'client_side_validations/generators/simple_form'
10
10
  end
@@ -1,60 +1,92 @@
1
1
  /*!
2
- * Client Side Validations Simple Form JS (Bootstrap 4+) - v0.3.1 (https://github.com/DavyJonesLocker/client_side_validations-simple_form)
3
- * Copyright (c) 2022 Geremia Taglialatela, Brian Cardarella
2
+ * Client Side Validations Simple Form JS (Bootstrap 4+) - v0.4.0 (https://github.com/DavyJonesLocker/client_side_validations-simple_form)
3
+ * Copyright (c) 2023 Geremia Taglialatela, Brian Cardarella
4
4
  * Licensed under MIT (https://opensource.org/licenses/mit-license.php)
5
5
  */
6
6
 
7
7
  (function (global, factory) {
8
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery'), require('@client-side-validations/client-side-validations')) :
9
- typeof define === 'function' && define.amd ? define(['jquery', '@client-side-validations/client-side-validations'], factory) :
10
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery, global.ClientSideValidations));
11
- })(this, (function (jQuery, ClientSideValidations) { 'use strict';
8
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('@client-side-validations/client-side-validations')) :
9
+ typeof define === 'function' && define.amd ? define(['@client-side-validations/client-side-validations'], factory) :
10
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ClientSideValidations));
11
+ })(this, (function (ClientSideValidations) { 'use strict';
12
12
 
13
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13
+ function _toConsumableArray(arr) {
14
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
15
+ }
16
+ function _arrayWithoutHoles(arr) {
17
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
18
+ }
19
+ function _iterableToArray(iter) {
20
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
21
+ }
22
+ function _unsupportedIterableToArray(o, minLen) {
23
+ if (!o) return;
24
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
25
+ var n = Object.prototype.toString.call(o).slice(8, -1);
26
+ if (n === "Object" && o.constructor) n = o.constructor.name;
27
+ if (n === "Map" || n === "Set") return Array.from(o);
28
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
29
+ }
30
+ function _arrayLikeToArray(arr, len) {
31
+ if (len == null || len > arr.length) len = arr.length;
32
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
33
+ return arr2;
34
+ }
35
+ function _nonIterableSpread() {
36
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
37
+ }
14
38
 
15
- var jQuery__default = /*#__PURE__*/_interopDefaultLegacy(jQuery);
16
- var ClientSideValidations__default = /*#__PURE__*/_interopDefaultLegacy(ClientSideValidations);
39
+ var addClass = function addClass(element, customClass) {
40
+ if (customClass) {
41
+ var _element$classList;
42
+ (_element$classList = element.classList).add.apply(_element$classList, _toConsumableArray(customClass.split(' ')));
43
+ }
44
+ };
45
+ var removeClass = function removeClass(element, customClass) {
46
+ if (customClass) {
47
+ var _element$classList2;
48
+ (_element$classList2 = element.classList).remove.apply(_element$classList2, _toConsumableArray(customClass.split(' ')));
49
+ }
50
+ };
17
51
 
18
- ClientSideValidations__default["default"].formBuilders['SimpleForm::FormBuilder'] = {
52
+ ClientSideValidations.formBuilders['SimpleForm::FormBuilder'] = {
19
53
  add: function add($element, settings, message) {
20
- this.wrapper(settings.wrapper).add.call(this, $element, settings, message);
54
+ this.wrapper(settings.wrapper).add.call(this, $element[0], settings, message);
21
55
  },
22
56
  remove: function remove($element, settings) {
23
- this.wrapper(settings.wrapper).remove.call(this, $element, settings);
57
+ this.wrapper(settings.wrapper).remove.call(this, $element[0], settings);
24
58
  },
25
59
  wrapper: function wrapper(name) {
26
60
  return this.wrappers[name] || this.wrappers.default;
27
61
  },
28
62
  wrappers: {
29
63
  default: {
30
- add: function add($element, settings, message) {
31
- var $wrapperElement = $element.parent();
32
- var $errorElement = $wrapperElement.find("".concat(settings.error_tag, ".invalid-feedback"));
33
-
34
- if (!$errorElement.length) {
35
- var $formTextElement = $wrapperElement.find('.form-text');
36
- $errorElement = jQuery__default["default"]("<".concat(settings.error_tag, ">"), {
37
- class: 'invalid-feedback',
38
- text: message
39
- });
40
-
41
- if ($formTextElement.length) {
42
- $formTextElement.before($errorElement);
64
+ add: function add(element, settings, message) {
65
+ var wrapperElement = element.parentElement;
66
+ var errorElement = wrapperElement.querySelector("".concat(settings.error_tag, ".invalid-feedback"));
67
+ if (!errorElement) {
68
+ var formTextElement = wrapperElement.querySelector('.form-text');
69
+ errorElement = document.createElement(settings.error_tag);
70
+ addClass(errorElement, 'invalid-feedback');
71
+ errorElement.textContent = message;
72
+ if (formTextElement) {
73
+ formTextElement.before(errorElement);
43
74
  } else {
44
- $wrapperElement.append($errorElement);
75
+ wrapperElement.appendChild(errorElement);
45
76
  }
46
77
  }
47
-
48
- $wrapperElement.addClass(settings.wrapper_error_class);
49
- $element.addClass('is-invalid');
50
- $errorElement.text(message);
78
+ addClass(wrapperElement, settings.wrapper_error_class);
79
+ addClass(element, 'is-invalid');
80
+ errorElement.textContent = message;
51
81
  },
52
- remove: function remove($element, settings) {
53
- var $wrapperElement = $element.parent();
54
- var $errorElement = $wrapperElement.find("".concat(settings.error_tag, ".invalid-feedback"));
55
- $wrapperElement.removeClass(settings.wrapper_error_class);
56
- $element.removeClass('is-invalid');
57
- $errorElement.remove();
82
+ remove: function remove(element, settings) {
83
+ var wrapperElement = element.parentElement;
84
+ var errorElement = wrapperElement.querySelector("".concat(settings.error_tag, ".invalid-feedback"));
85
+ removeClass(wrapperElement, settings.wrapper_error_class);
86
+ removeClass(element, 'is-invalid');
87
+ if (errorElement) {
88
+ errorElement.remove();
89
+ }
58
90
  }
59
91
  }
60
92
  }
@@ -1,52 +1,85 @@
1
1
  /*!
2
- * Client Side Validations Simple Form JS (Default) - v0.3.1 (https://github.com/DavyJonesLocker/client_side_validations-simple_form)
3
- * Copyright (c) 2022 Geremia Taglialatela, Brian Cardarella
2
+ * Client Side Validations Simple Form JS (Default) - v0.4.0 (https://github.com/DavyJonesLocker/client_side_validations-simple_form)
3
+ * Copyright (c) 2023 Geremia Taglialatela, Brian Cardarella
4
4
  * Licensed under MIT (https://opensource.org/licenses/mit-license.php)
5
5
  */
6
6
 
7
7
  (function (global, factory) {
8
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery'), require('@client-side-validations/client-side-validations')) :
9
- typeof define === 'function' && define.amd ? define(['jquery', '@client-side-validations/client-side-validations'], factory) :
10
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery, global.ClientSideValidations));
11
- })(this, (function (jQuery, ClientSideValidations) { 'use strict';
8
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('@client-side-validations/client-side-validations')) :
9
+ typeof define === 'function' && define.amd ? define(['@client-side-validations/client-side-validations'], factory) :
10
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ClientSideValidations));
11
+ })(this, (function (ClientSideValidations) { 'use strict';
12
12
 
13
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13
+ function _toConsumableArray(arr) {
14
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
15
+ }
16
+ function _arrayWithoutHoles(arr) {
17
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
18
+ }
19
+ function _iterableToArray(iter) {
20
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
21
+ }
22
+ function _unsupportedIterableToArray(o, minLen) {
23
+ if (!o) return;
24
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
25
+ var n = Object.prototype.toString.call(o).slice(8, -1);
26
+ if (n === "Object" && o.constructor) n = o.constructor.name;
27
+ if (n === "Map" || n === "Set") return Array.from(o);
28
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
29
+ }
30
+ function _arrayLikeToArray(arr, len) {
31
+ if (len == null || len > arr.length) len = arr.length;
32
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
33
+ return arr2;
34
+ }
35
+ function _nonIterableSpread() {
36
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
37
+ }
14
38
 
15
- var jQuery__default = /*#__PURE__*/_interopDefaultLegacy(jQuery);
16
- var ClientSideValidations__default = /*#__PURE__*/_interopDefaultLegacy(ClientSideValidations);
39
+ var addClass = function addClass(element, customClass) {
40
+ if (customClass) {
41
+ var _element$classList;
42
+ (_element$classList = element.classList).add.apply(_element$classList, _toConsumableArray(customClass.split(' ')));
43
+ }
44
+ };
45
+ var removeClass = function removeClass(element, customClass) {
46
+ if (customClass) {
47
+ var _element$classList2;
48
+ (_element$classList2 = element.classList).remove.apply(_element$classList2, _toConsumableArray(customClass.split(' ')));
49
+ }
50
+ };
17
51
 
18
- ClientSideValidations__default["default"].formBuilders['SimpleForm::FormBuilder'] = {
52
+ ClientSideValidations.formBuilders['SimpleForm::FormBuilder'] = {
19
53
  add: function add($element, settings, message) {
20
- this.wrapper(settings.wrapper).add.call(this, $element, settings, message);
54
+ this.wrapper(settings.wrapper).add.call(this, $element[0], settings, message);
21
55
  },
22
56
  remove: function remove($element, settings) {
23
- this.wrapper(settings.wrapper).remove.call(this, $element, settings);
57
+ this.wrapper(settings.wrapper).remove.call(this, $element[0], settings);
24
58
  },
25
59
  wrapper: function wrapper(name) {
26
60
  return this.wrappers[name] || this.wrappers.default;
27
61
  },
28
62
  wrappers: {
29
63
  default: {
30
- add: function add($element, settings, message) {
31
- var $wrapperElement = $element.closest("".concat(settings.wrapper_tag, ".").concat(settings.wrapper_class.replace(/ /g, '.')));
32
- var $errorElement = $wrapperElement.find("".concat(settings.error_tag, ".").concat(settings.error_class.replace(/ /g, '.')));
33
-
34
- if (!$errorElement.length) {
35
- $errorElement = jQuery__default["default"]("<".concat(settings.error_tag, ">"), {
36
- class: settings.error_class,
37
- text: message
38
- });
39
- $wrapperElement.append($errorElement);
64
+ add: function add(element, settings, message) {
65
+ var wrapperElement = element.closest("".concat(settings.wrapper_tag, ".").concat(settings.wrapper_class.replace(/ /g, '.')));
66
+ var errorElement = wrapperElement.querySelector("".concat(settings.error_tag, ".").concat(settings.error_class.replace(/ /g, '.')));
67
+ if (!errorElement) {
68
+ errorElement = document.createElement(settings.error_tag);
69
+ addClass(errorElement, settings.error_class);
70
+ errorElement.textContent = message;
71
+ wrapperElement.appendChild(errorElement);
40
72
  }
41
-
42
- $wrapperElement.addClass(settings.wrapper_error_class);
43
- $errorElement.text(message);
73
+ addClass(wrapperElement, settings.wrapper_error_class);
74
+ errorElement.textContent = message;
44
75
  },
45
- remove: function remove($element, settings) {
46
- var $wrapperElement = $element.closest("".concat(settings.wrapper_tag, ".").concat(settings.wrapper_class.replace(/ /g, '.'), ".").concat(settings.wrapper_error_class));
47
- var $errorElement = $wrapperElement.find("".concat(settings.error_tag, ".").concat(settings.error_class.replace(/ /g, '.')));
48
- $wrapperElement.removeClass(settings.wrapper_error_class);
49
- $errorElement.remove();
76
+ remove: function remove(element, settings) {
77
+ var wrapperElement = element.closest("".concat(settings.wrapper_tag, ".").concat(settings.wrapper_class.replace(/ /g, '.')));
78
+ var errorElement = wrapperElement.querySelector("".concat(settings.error_tag, ".").concat(settings.error_class.replace(/ /g, '.')));
79
+ removeClass(wrapperElement, settings.wrapper_error_class);
80
+ if (errorElement) {
81
+ errorElement.remove();
82
+ }
50
83
  }
51
84
  }
52
85
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: client_side_validations-simple_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.0.0
4
+ version: 16.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geremia Taglialatela
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-09-18 00:00:00.000000000 Z
12
+ date: 2023-09-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: client_side_validations
@@ -17,182 +17,28 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '21.0'
20
+ version: '22.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '21.0'
27
+ version: '22.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: simple_form
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '5.0'
34
+ version: '5.2'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '5.0'
42
- - !ruby/object:Gem::Dependency
43
- name: appraisal
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - "~>"
47
- - !ruby/object:Gem::Version
48
- version: '2.4'
49
- type: :development
50
- prerelease: false
51
- version_requirements: !ruby/object:Gem::Requirement
52
- requirements:
53
- - - "~>"
54
- - !ruby/object:Gem::Version
55
- version: '2.4'
56
- - !ruby/object:Gem::Dependency
57
- name: byebug
58
- requirement: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - "~>"
61
- - !ruby/object:Gem::Version
62
- version: '11.1'
63
- type: :development
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '11.1'
70
- - !ruby/object:Gem::Dependency
71
- name: m
72
- requirement: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - "~>"
75
- - !ruby/object:Gem::Version
76
- version: '1.6'
77
- type: :development
78
- prerelease: false
79
- version_requirements: !ruby/object:Gem::Requirement
80
- requirements:
81
- - - "~>"
82
- - !ruby/object:Gem::Version
83
- version: '1.6'
84
- - !ruby/object:Gem::Dependency
85
- name: minitest
86
- requirement: !ruby/object:Gem::Requirement
87
- requirements:
88
- - - "~>"
89
- - !ruby/object:Gem::Version
90
- version: '5.16'
91
- type: :development
92
- prerelease: false
93
- version_requirements: !ruby/object:Gem::Requirement
94
- requirements:
95
- - - "~>"
96
- - !ruby/object:Gem::Version
97
- version: '5.16'
98
- - !ruby/object:Gem::Dependency
99
- name: mocha
100
- requirement: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - "~>"
103
- - !ruby/object:Gem::Version
104
- version: '1.14'
105
- type: :development
106
- prerelease: false
107
- version_requirements: !ruby/object:Gem::Requirement
108
- requirements:
109
- - - "~>"
110
- - !ruby/object:Gem::Version
111
- version: '1.14'
112
- - !ruby/object:Gem::Dependency
113
- name: rake
114
- requirement: !ruby/object:Gem::Requirement
115
- requirements:
116
- - - "~>"
117
- - !ruby/object:Gem::Version
118
- version: '13.0'
119
- type: :development
120
- prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- requirements:
123
- - - "~>"
124
- - !ruby/object:Gem::Version
125
- version: '13.0'
126
- - !ruby/object:Gem::Dependency
127
- name: simplecov
128
- requirement: !ruby/object:Gem::Requirement
129
- requirements:
130
- - - "~>"
131
- - !ruby/object:Gem::Version
132
- version: 0.21.2
133
- type: :development
134
- prerelease: false
135
- version_requirements: !ruby/object:Gem::Requirement
136
- requirements:
137
- - - "~>"
138
- - !ruby/object:Gem::Version
139
- version: 0.21.2
140
- - !ruby/object:Gem::Dependency
141
- name: simplecov-lcov
142
- requirement: !ruby/object:Gem::Requirement
143
- requirements:
144
- - - "~>"
145
- - !ruby/object:Gem::Version
146
- version: 0.8.0
147
- type: :development
148
- prerelease: false
149
- version_requirements: !ruby/object:Gem::Requirement
150
- requirements:
151
- - - "~>"
152
- - !ruby/object:Gem::Version
153
- version: 0.8.0
154
- - !ruby/object:Gem::Dependency
155
- name: shotgun
156
- requirement: !ruby/object:Gem::Requirement
157
- requirements:
158
- - - "~>"
159
- - !ruby/object:Gem::Version
160
- version: 0.9.2
161
- type: :development
162
- prerelease: false
163
- version_requirements: !ruby/object:Gem::Requirement
164
- requirements:
165
- - - "~>"
166
- - !ruby/object:Gem::Version
167
- version: 0.9.2
168
- - !ruby/object:Gem::Dependency
169
- name: sinatra
170
- requirement: !ruby/object:Gem::Requirement
171
- requirements:
172
- - - "~>"
173
- - !ruby/object:Gem::Version
174
- version: '2.2'
175
- type: :development
176
- prerelease: false
177
- version_requirements: !ruby/object:Gem::Requirement
178
- requirements:
179
- - - "~>"
180
- - !ruby/object:Gem::Version
181
- version: '2.2'
182
- - !ruby/object:Gem::Dependency
183
- name: webrick
184
- requirement: !ruby/object:Gem::Requirement
185
- requirements:
186
- - - "~>"
187
- - !ruby/object:Gem::Version
188
- version: '1.7'
189
- type: :development
190
- prerelease: false
191
- version_requirements: !ruby/object:Gem::Requirement
192
- requirements:
193
- - - "~>"
194
- - !ruby/object:Gem::Version
195
- version: '1.7'
41
+ version: '5.2'
196
42
  description: SimpleForm Plugin for ClientSideValidations
197
43
  email:
198
44
  - tagliala.dev@gmail.com
@@ -227,14 +73,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
227
73
  requirements:
228
74
  - - ">="
229
75
  - !ruby/object:Gem::Version
230
- version: '2.6'
76
+ version: '2.7'
231
77
  required_rubygems_version: !ruby/object:Gem::Requirement
232
78
  requirements:
233
79
  - - ">="
234
80
  - !ruby/object:Gem::Version
235
81
  version: '0'
236
82
  requirements: []
237
- rubygems_version: 3.3.12
83
+ rubygems_version: 3.4.19
238
84
  signing_key:
239
85
  specification_version: 4
240
86
  summary: ClientSideValidations SimpleForm