client_side_validations-simple_form 11.2.0 → 14.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: a94f0bccb2a8db9bf69adc71777b1eb2f403ae5dc6a044bebdab4f3e0bb3e9e3
4
- data.tar.gz: f46120015641294acd98dae3cede6c3cd52b68775b827c9308888b25169776e3
3
+ metadata.gz: 49174d5dc27e1808db317ca498de2edeb0bcc925ed73871af42d5a3f0f3cffb5
4
+ data.tar.gz: aa12e59345131bf815ea4444acc8aeec6282371f6adda6dd8baca2f6a1550067
5
5
  SHA512:
6
- metadata.gz: 0b81c4304e80b755a702d1141f840ffb3a010176d2887eed3bd67ada79c1a52646aabc147c99ea5db66a13aa1d8bd12a839558f703bbbda6ecbadf46ab5664cf
7
- data.tar.gz: 972e5cf285e09c9dcdb474f37f29d6f0567f9072e47f278471200aae1444e05615e7f6fe70cf04174df4ebd54d564d9c965b42ff1dbf2516ad146d047647aedc
6
+ metadata.gz: 98851ef7eea7747ef8a72c353421c603901fe4b72352d23f61260ff49ded5a93ee128def4c7cacf87e6d6fa64e40c22175e62e537f44f01aedc5c10357468248
7
+ data.tar.gz: 07071c90f67ddc1b06076ede6d2abf4d1f1af8c95a12bed340fd4a8088fad2791391155bbf73b49ab29dd4bd0ee5ee8a499a14805da3777d49bd342aea776e57
data/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # Changelog
2
2
 
3
+ ## 14.0.0 / 2021-10-01
4
+
5
+ * [FEATURE] Drop Ruby 2.4 support
6
+ * [FEATURE] Drop Rails 5.0 and 5.1 support
7
+ * [FEATURE] Drop legacy browsers support (including IE8 and IE9)
8
+ * [FEATURE] Drop Yarn < 1.19 and Node < 12.0 support
9
+ * [FEATURE] Add JavaScript sources to node package
10
+ * [ENHANCEMENT] Minor JS Refactor
11
+ * [ENHANCEMENT] Update development dependencies
12
+ * [ENHANCEMENT] Update QUnit to 2.17.2
13
+
14
+ ## 13.0.0 / 2021-03-26
15
+
16
+ * [FEATURE] Insert validation feedback before help text [#116](https://github.com/DavyJonesLocker/client_side_validations-simple_form/pull/116) **POSSIBLE BREAKING CHANGE!**
17
+ * [ENHANCEMENT] Test against jQuery 3.6.0 by default
18
+ * [ENHANCEMENT] Update development dependencies
19
+
20
+ ## 12.1.0 / 2020-02-13
21
+
22
+ * Add CSV 18.0 compatibility
23
+ * [ENHANCEMENT] Update development dependencies
24
+
25
+ ## 12.0.0 / 2020-01-23
26
+
27
+ * [FEATURE] Allow nested `:error` component [#111](https://github.com/DavyJonesLocker/client_side_validations-simple_form/pull/111) **POSSIBLE BREAKING CHANGE!**
28
+ * [ENHANCEMENT] Default branch is now `main` **POSSIBLE BREAKING CHANGE!**
29
+ * [ENHANCEMENT] Update QUnit to 2.14.0
30
+ * [ENHANCEMENT] Update development dependencies
31
+
3
32
  ## 11.2.0 / 2020-12-21
4
33
 
5
34
  * [FEATURE] Allow Ruby 3.0.0 (really)
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2020 Geremia Taglialatela, Brian Cardarella
3
+ Copyright (c) 2021 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
@@ -3,9 +3,9 @@
3
3
  [![Gem Version](https://badge.fury.io/rb/client_side_validations-simple_form.svg)](https://badge.fury.io/rb/client_side_validations-simple_form)
4
4
  [![npm version](https://badge.fury.io/js/%40client-side-validations%2Fsimple-form.svg)](https://badge.fury.io/js/%40client-side-validations%2Fsimple-form)
5
5
  [![SemVer](https://api.dependabot.com/badges/compatibility_score?dependency-name=client_side_validations-simple_form&package-manager=bundler&version-scheme=semver)](https://dependabot.com/compatibility-score.html?dependency-name=client_side_validations-simple_form&package-manager=bundler&version-scheme=semver)
6
- [![Build Status](https://secure.travis-ci.org/DavyJonesLocker/client_side_validations-simple_form.svg?branch=master)](https://travis-ci.org/DavyJonesLocker/client_side_validations-simple_form)
6
+ [![Build Status](https://github.com/DavyJonesLocker/client_side_validations-simple_form/actions/workflows/ruby.yml/badge.svg)](https://github.com/DavyJonesLocker/client_side_validations-simple_form/actions)
7
7
  [![Maintainability](https://api.codeclimate.com/v1/badges/b9e9cbbd0d9f454adba7/maintainability)](https://codeclimate.com/github/DavyJonesLocker/client_side_validations-simple_form/maintainability)
8
- [![Coverage Status](https://coveralls.io/repos/github/DavyJonesLocker/client_side_validations-simple_form/badge.svg?branch=master)](https://coveralls.io/github/DavyJonesLocker/client_side_validations-simple_form?branch=master)
8
+ [![Coverage Status](https://coveralls.io/repos/github/DavyJonesLocker/client_side_validations-simple_form/badge.svg?branch=main)](https://coveralls.io/github/DavyJonesLocker/client_side_validations-simple_form?branch=main)
9
9
 
10
10
  [Simple Form](https://github.com/plataformatec/simple_form) plugin for [ClientSideValidations](https://github.com/DavyJonesLocker/client_side_validations)
11
11
 
@@ -22,7 +22,7 @@ gem 'client_side_validations-simple_form'
22
22
  Order matters here. `simple_form` and `client_side_validations` need to be
23
23
  required **before** `client_side_validations-simple_form`.
24
24
 
25
- [Follow the remaining installation instructions for ClientSideValidations](https://github.com/DavyJonesLocker/client_side_validations/blob/master/README.md)
25
+ [Follow the remaining installation instructions for ClientSideValidations](https://github.com/DavyJonesLocker/client_side_validations/blob/main/README.md)
26
26
 
27
27
  ### JavaScript file ###
28
28
 
@@ -40,20 +40,20 @@ yarn add @client-side-validations/simple-form
40
40
 
41
41
  Then, according to the CSS framework and module system you are using, add
42
42
  **one** of the following lines to your `app/javascript/packs/application.js`
43
- pack, **after** `'@client-side-validations/client-side-validations'`:
43
+ pack:
44
44
 
45
45
  ```js
46
46
  // No framework / Generic frameworks / Bootstrap 3 with `import` syntax
47
- import '@client-side-validations/simple-form'
47
+ import '@client-side-validations/simple-form/src'
48
48
 
49
- // Bootstrap 4 with `import` syntax
50
- import '@client-side-validations/simple-form/dist/simple-form.bootstrap4'
49
+ // Bootstrap 4+ with `import` syntax
50
+ import '@client-side-validations/simple-form/src/index.bootstrap4'
51
51
 
52
52
  // No framework / Generic frameworks / Bootstrap 3 with `require` syntax
53
53
  require('@client-side-validations/simple-form')
54
54
 
55
- // Bootstrap 4 with `require` syntax
56
- require('@client-side-validations/simple-form/dist/simple-form.bootstrap4')
55
+ // Bootstrap 4+ with `require` syntax
56
+ require('@client-side-validations/simple-form/dist/simple-form.bootstrap4.esm')
57
57
  ```
58
58
 
59
59
  #### When using Sprockets ####
@@ -68,7 +68,7 @@ lines to your `app/assets/javascripts/application.js`, **after**
68
68
  // No framework / Generic frameworks / Bootstrap 3
69
69
  //= require rails.validations.simple_form
70
70
 
71
- // Bootstrap 4
71
+ // Bootstrap 4+
72
72
  //= require rails.validations.simple_form.bootstrap4
73
73
  ```
74
74
 
@@ -111,12 +111,12 @@ This gem follows [Semantic Versioning](https://semver.org)
111
111
  ## Want to help? ##
112
112
 
113
113
  Please do! We are always looking to improve this gem. Please see our
114
- [Contribution Guidelines](https://github.com/DavyJonesLocker/client_side_validations-simple_form/blob/master/CONTRIBUTING.md)
114
+ [Contribution Guidelines](https://github.com/DavyJonesLocker/client_side_validations-simple_form/blob/main/CONTRIBUTING.md)
115
115
  on how to properly submit issues and pull requests.
116
116
 
117
117
  ## Legal ##
118
118
 
119
- [DockYard](https://dockyard.com/), LLC &copy; 2012-2020
119
+ [DockYard](https://dockyard.com/), LLC &copy; 2012-2021
120
120
 
121
121
  [@dockyard](https://twitter.com/dockyard)
122
122
 
@@ -28,12 +28,22 @@ module ClientSideValidations
28
28
  private
29
29
 
30
30
  def wrapper_error_component
31
- if wrapper.components.map(&:namespace).include?(:error)
31
+ if namespace_present?(wrapper, :error)
32
32
  wrapper.find(:error)
33
33
  else
34
34
  wrapper.find(:full_error)
35
35
  end
36
36
  end
37
+
38
+ def namespace_present?(component, namespace)
39
+ return true if component.namespace == namespace
40
+
41
+ component.try(:components)&.each do |child_component|
42
+ return true if namespace_present?(child_component, namespace)
43
+ end
44
+
45
+ false
46
+ end
37
47
  end
38
48
  end
39
49
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ClientSideValidations
4
4
  module SimpleForm
5
- VERSION = '11.2.0'
5
+ VERSION = '14.0.0'
6
6
  end
7
7
  end
@@ -1,57 +1,63 @@
1
1
  /*!
2
- * Client Side Validations Simple Form JS (Bootstrap 4) - v0.1.3 (https://github.com/DavyJonesLocker/client_side_validations-simple_form)
3
- * Copyright (c) 2020 Geremia Taglialatela, Brian Cardarella
2
+ * Client Side Validations Simple Form JS (Bootstrap 4+) - v0.3.0 (https://github.com/DavyJonesLocker/client_side_validations-simple_form)
3
+ * Copyright (c) 2021 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
8
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery'), require('@client-side-validations/client-side-validations')) :
9
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.$, global.ClientSideValidations));
11
- }(this, (function ($, ClientSideValidations) { 'use strict';
10
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery, global.ClientSideValidations));
11
+ })(this, (function (jQuery, ClientSideValidations) { 'use strict';
12
12
 
13
13
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
14
14
 
15
- var $__default = /*#__PURE__*/_interopDefaultLegacy($);
15
+ var jQuery__default = /*#__PURE__*/_interopDefaultLegacy(jQuery);
16
16
  var ClientSideValidations__default = /*#__PURE__*/_interopDefaultLegacy(ClientSideValidations);
17
17
 
18
- ClientSideValidations__default['default'].formBuilders['SimpleForm::FormBuilder'] = {
19
- add: function add(element, settings, message) {
20
- this.wrapper(settings.wrapper).add.call(this, element, settings, message);
18
+ ClientSideValidations__default["default"].formBuilders['SimpleForm::FormBuilder'] = {
19
+ add: function add($element, settings, message) {
20
+ this.wrapper(settings.wrapper).add.call(this, $element, settings, message);
21
21
  },
22
- remove: function remove(element, settings) {
23
- this.wrapper(settings.wrapper).remove.call(this, element, settings);
22
+ remove: function remove($element, settings) {
23
+ this.wrapper(settings.wrapper).remove.call(this, $element, settings);
24
24
  },
25
25
  wrapper: function wrapper(name) {
26
- return this.wrappers[name] || this.wrappers["default"];
26
+ return this.wrappers[name] || this.wrappers.default;
27
27
  },
28
28
  wrappers: {
29
- "default": {
30
- add: function add(element, settings, message) {
31
- var wrapperElement = element.parent();
32
- var errorElement = wrapperElement.find(settings.error_tag + '.invalid-feedback');
33
-
34
- if (!errorElement.length) {
35
- errorElement = $__default['default']('<' + settings.error_tag + '>', {
36
- "class": 'invalid-feedback',
29
+ 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',
37
38
  text: message
38
39
  });
39
- wrapperElement.append(errorElement);
40
+
41
+ if ($formTextElement.length) {
42
+ $formTextElement.before($errorElement);
43
+ } else {
44
+ $wrapperElement.append($errorElement);
45
+ }
40
46
  }
41
47
 
42
- wrapperElement.addClass(settings.wrapper_error_class);
43
- element.addClass('is-invalid');
44
- errorElement.text(message);
48
+ $wrapperElement.addClass(settings.wrapper_error_class);
49
+ $element.addClass('is-invalid');
50
+ $errorElement.text(message);
45
51
  },
46
- remove: function remove(element, settings) {
47
- var wrapperElement = element.parent();
48
- var errorElement = wrapperElement.find(settings.error_tag + '.invalid-feedback');
49
- wrapperElement.removeClass(settings.wrapper_error_class);
50
- element.removeClass('is-invalid');
51
- errorElement.remove();
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();
52
58
  }
53
59
  }
54
60
  }
55
61
  };
56
62
 
57
- })));
63
+ }));
@@ -1,55 +1,55 @@
1
1
  /*!
2
- * Client Side Validations Simple Form JS (Default) - v0.1.3 (https://github.com/DavyJonesLocker/client_side_validations-simple_form)
3
- * Copyright (c) 2020 Geremia Taglialatela, Brian Cardarella
2
+ * Client Side Validations Simple Form JS (Default) - v0.3.0 (https://github.com/DavyJonesLocker/client_side_validations-simple_form)
3
+ * Copyright (c) 2021 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
8
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery'), require('@client-side-validations/client-side-validations')) :
9
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.$, global.ClientSideValidations));
11
- }(this, (function ($, ClientSideValidations) { 'use strict';
10
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery, global.ClientSideValidations));
11
+ })(this, (function (jQuery, ClientSideValidations) { 'use strict';
12
12
 
13
13
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
14
14
 
15
- var $__default = /*#__PURE__*/_interopDefaultLegacy($);
15
+ var jQuery__default = /*#__PURE__*/_interopDefaultLegacy(jQuery);
16
16
  var ClientSideValidations__default = /*#__PURE__*/_interopDefaultLegacy(ClientSideValidations);
17
17
 
18
- ClientSideValidations__default['default'].formBuilders['SimpleForm::FormBuilder'] = {
19
- add: function add(element, settings, message) {
20
- this.wrapper(settings.wrapper).add.call(this, element, settings, message);
18
+ ClientSideValidations__default["default"].formBuilders['SimpleForm::FormBuilder'] = {
19
+ add: function add($element, settings, message) {
20
+ this.wrapper(settings.wrapper).add.call(this, $element, settings, message);
21
21
  },
22
- remove: function remove(element, settings) {
23
- this.wrapper(settings.wrapper).remove.call(this, element, settings);
22
+ remove: function remove($element, settings) {
23
+ this.wrapper(settings.wrapper).remove.call(this, $element, settings);
24
24
  },
25
25
  wrapper: function wrapper(name) {
26
- return this.wrappers[name] || this.wrappers["default"];
26
+ return this.wrappers[name] || this.wrappers.default;
27
27
  },
28
28
  wrappers: {
29
- "default": {
30
- add: function add(element, settings, message) {
31
- var wrapper = element.closest(settings.wrapper_tag + '.' + settings.wrapper_class.replace(/ /g, '.'));
32
- var errorElement = wrapper.find(settings.error_tag + '.' + settings.error_class.replace(/ /g, '.'));
29
+ 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
33
 
34
- if (!errorElement.length) {
35
- errorElement = $__default['default']('<' + settings.error_tag + '>', {
36
- "class": settings.error_class,
34
+ if (!$errorElement.length) {
35
+ $errorElement = jQuery__default["default"]("<".concat(settings.error_tag, ">"), {
36
+ class: settings.error_class,
37
37
  text: message
38
38
  });
39
- wrapper.append(errorElement);
39
+ $wrapperElement.append($errorElement);
40
40
  }
41
41
 
42
- wrapper.addClass(settings.wrapper_error_class);
43
- return errorElement.text(message);
42
+ $wrapperElement.addClass(settings.wrapper_error_class);
43
+ $errorElement.text(message);
44
44
  },
45
- remove: function remove(element, settings) {
46
- var wrapper = element.closest(settings.wrapper_tag + '.' + settings.wrapper_class.replace(/ /g, '.') + '.' + settings.wrapper_error_class);
47
- var errorElement = wrapper.find(settings.error_tag + '.' + settings.error_class.replace(/ /g, '.'));
48
- wrapper.removeClass(settings.wrapper_error_class);
49
- return errorElement.remove();
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();
50
50
  }
51
51
  }
52
52
  }
53
53
  };
54
54
 
55
- })));
55
+ }));
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: 11.2.0
4
+ version: 14.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geremia Taglialatela
@@ -9,28 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-12-21 00:00:00.000000000 Z
12
+ date: 2021-10-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: client_side_validations
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">="
19
- - !ruby/object:Gem::Version
20
- version: '15.0'
21
- - - "<"
18
+ - - "~>"
22
19
  - !ruby/object:Gem::Version
23
- version: '18.0'
20
+ version: '19.0'
24
21
  type: :runtime
25
22
  prerelease: false
26
23
  version_requirements: !ruby/object:Gem::Requirement
27
24
  requirements:
28
- - - ">="
29
- - !ruby/object:Gem::Version
30
- version: '15.0'
31
- - - "<"
25
+ - - "~>"
32
26
  - !ruby/object:Gem::Version
33
- version: '18.0'
27
+ version: '19.0'
34
28
  - !ruby/object:Gem::Dependency
35
29
  name: simple_form
36
30
  requirement: !ruby/object:Gem::Requirement
@@ -51,14 +45,14 @@ dependencies:
51
45
  requirements:
52
46
  - - "~>"
53
47
  - !ruby/object:Gem::Version
54
- version: '2.3'
48
+ version: '2.4'
55
49
  type: :development
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
52
  requirements:
59
53
  - - "~>"
60
54
  - !ruby/object:Gem::Version
61
- version: '2.3'
55
+ version: '2.4'
62
56
  - !ruby/object:Gem::Dependency
63
57
  name: byebug
64
58
  requirement: !ruby/object:Gem::Requirement
@@ -73,20 +67,6 @@ dependencies:
73
67
  - - "~>"
74
68
  - !ruby/object:Gem::Version
75
69
  version: '11.1'
76
- - !ruby/object:Gem::Dependency
77
- name: coveralls_reborn
78
- requirement: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: 0.19.0
83
- type: :development
84
- prerelease: false
85
- version_requirements: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: 0.19.0
90
70
  - !ruby/object:Gem::Dependency
91
71
  name: m
92
72
  requirement: !ruby/object:Gem::Requirement
@@ -121,14 +101,14 @@ dependencies:
121
101
  requirements:
122
102
  - - "~>"
123
103
  - !ruby/object:Gem::Version
124
- version: '1.11'
104
+ version: '1.13'
125
105
  type: :development
126
106
  prerelease: false
127
107
  version_requirements: !ruby/object:Gem::Requirement
128
108
  requirements:
129
109
  - - "~>"
130
110
  - !ruby/object:Gem::Version
131
- version: '1.11'
111
+ version: '1.13'
132
112
  - !ruby/object:Gem::Dependency
133
113
  name: rake
134
114
  requirement: !ruby/object:Gem::Requirement
@@ -144,95 +124,39 @@ dependencies:
144
124
  - !ruby/object:Gem::Version
145
125
  version: '13.0'
146
126
  - !ruby/object:Gem::Dependency
147
- name: rubocop
148
- requirement: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: '1.6'
153
- type: :development
154
- prerelease: false
155
- version_requirements: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '1.6'
160
- - !ruby/object:Gem::Dependency
161
- name: rubocop-minitest
127
+ name: simplecov
162
128
  requirement: !ruby/object:Gem::Requirement
163
129
  requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: 0.10.1
167
- type: :development
168
- prerelease: false
169
- version_requirements: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "~>"
130
+ - - ">="
172
131
  - !ruby/object:Gem::Version
173
- version: 0.10.1
174
- - !ruby/object:Gem::Dependency
175
- name: rubocop-performance
176
- requirement: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - "~>"
132
+ version: 0.18.5
133
+ - - "<"
179
134
  - !ruby/object:Gem::Version
180
- version: '1.9'
135
+ version: '0.22'
181
136
  type: :development
182
137
  prerelease: false
183
138
  version_requirements: !ruby/object:Gem::Requirement
184
139
  requirements:
185
- - - "~>"
186
- - !ruby/object:Gem::Version
187
- version: '1.9'
188
- - !ruby/object:Gem::Dependency
189
- name: rubocop-rails
190
- requirement: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - "~>"
140
+ - - ">="
193
141
  - !ruby/object:Gem::Version
194
- version: '2.9'
195
- type: :development
196
- prerelease: false
197
- version_requirements: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - "~>"
142
+ version: 0.18.5
143
+ - - "<"
200
144
  - !ruby/object:Gem::Version
201
- version: '2.9'
145
+ version: '0.22'
202
146
  - !ruby/object:Gem::Dependency
203
- name: rubocop-rake
147
+ name: simplecov-lcov
204
148
  requirement: !ruby/object:Gem::Requirement
205
149
  requirements:
206
150
  - - "~>"
207
151
  - !ruby/object:Gem::Version
208
- version: 0.5.1
152
+ version: 0.8.0
209
153
  type: :development
210
154
  prerelease: false
211
155
  version_requirements: !ruby/object:Gem::Requirement
212
156
  requirements:
213
157
  - - "~>"
214
158
  - !ruby/object:Gem::Version
215
- version: 0.5.1
216
- - !ruby/object:Gem::Dependency
217
- name: simplecov
218
- requirement: !ruby/object:Gem::Requirement
219
- requirements:
220
- - - ">="
221
- - !ruby/object:Gem::Version
222
- version: 0.18.5
223
- - - "<"
224
- - !ruby/object:Gem::Version
225
- version: '0.21'
226
- type: :development
227
- prerelease: false
228
- version_requirements: !ruby/object:Gem::Requirement
229
- requirements:
230
- - - ">="
231
- - !ruby/object:Gem::Version
232
- version: 0.18.5
233
- - - "<"
234
- - !ruby/object:Gem::Version
235
- version: '0.21'
159
+ version: 0.8.0
236
160
  - !ruby/object:Gem::Dependency
237
161
  name: shotgun
238
162
  requirement: !ruby/object:Gem::Requirement
@@ -298,7 +222,7 @@ licenses:
298
222
  - MIT
299
223
  metadata:
300
224
  bug_tracker_uri: https://github.com/DavyJonesLocker/client_side_validations-simple_form/issues
301
- changelog_uri: https://github.com/DavyJonesLocker/client_side_validations-simple_form/blob/master/CHANGELOG.md
225
+ changelog_uri: https://github.com/DavyJonesLocker/client_side_validations-simple_form/blob/main/CHANGELOG.md
302
226
  source_code_uri: https://github.com/DavyJonesLocker/client_side_validations-simple_form
303
227
  post_install_message:
304
228
  rdoc_options: []
@@ -308,14 +232,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
308
232
  requirements:
309
233
  - - ">="
310
234
  - !ruby/object:Gem::Version
311
- version: '2.4'
235
+ version: '2.5'
312
236
  required_rubygems_version: !ruby/object:Gem::Requirement
313
237
  requirements:
314
238
  - - ">="
315
239
  - !ruby/object:Gem::Version
316
240
  version: '0'
317
241
  requirements: []
318
- rubygems_version: 3.1.4
242
+ rubygems_version: 3.1.6
319
243
  signing_key:
320
244
  specification_version: 4
321
245
  summary: ClientSideValidations SimpleForm