client_side_validations 19.1.0 → 19.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +11 -10
- data/lib/client_side_validations/version.rb +1 -1
- metadata +7 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 976902dc549fbeaa2a7d127fe814715f51588643335720ff8b5dc36336c22e55
|
4
|
+
data.tar.gz: 2cb0ad62989f559f67a2671f4261365fb794383cb06b09abde9f27af1f57d9b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56615d4a1fa647510bee9bf85861baa49117fb9e1775e29928b0d44971e6ee7180e6e3918c0f1cd9324b26a7d168eecbb4846f5eafcdf8cc549240537c09bb2d
|
7
|
+
data.tar.gz: bdd57bb1c3cd65be7d04bf07a50d1fde2b5646d30dc85d8bef30b19a8d1ad9b99742291e5dae0837b1637c12da3fabe960681137e25dc3cecebb2e1c41d77e86
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 19.1.1 / 2021-11-15
|
4
|
+
|
5
|
+
* [ENHANCEMENT] Require MFA to publish gems
|
6
|
+
* [ENHANCEMENT] Update development dependencies
|
7
|
+
|
3
8
|
## 19.1.0 / 2021-10-05
|
4
9
|
|
5
10
|
* [FEATURE] Add Turbo compatibility ([#849](https://github.com/DavyJonesLocker/client_side_validations/pull/849))
|
data/README.md
CHANGED
@@ -3,7 +3,8 @@
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/client_side_validations.svg)](https://badge.fury.io/rb/client_side_validations)
|
4
4
|
[![npm version](https://badge.fury.io/js/%40client-side-validations%2Fclient-side-validations.svg)](https://badge.fury.io/js/%40client-side-validations%2Fclient-side-validations)
|
5
5
|
[![SemVer](https://api.dependabot.com/badges/compatibility_score?dependency-name=client_side_validations&package-manager=bundler&version-scheme=semver)](https://dependabot.com/compatibility-score.html?dependency-name=client_side_validations&package-manager=bundler&version-scheme=semver)
|
6
|
-
[![Build Status](https://github.com/DavyJonesLocker/client_side_validations/actions/workflows/ruby.yml/badge.svg)](https://github.com/DavyJonesLocker/client_side_validations/actions)
|
6
|
+
[![Ruby Build Status](https://github.com/DavyJonesLocker/client_side_validations/actions/workflows/ruby.yml/badge.svg)](https://github.com/DavyJonesLocker/client_side_validations/actions)
|
7
|
+
[![JavaScript Build Status](https://github.com/DavyJonesLocker/client_side_validations/actions/workflows/javascript.yml/badge.svg)](https://github.com/DavyJonesLocker/client_side_validations/actions)
|
7
8
|
[![Maintainability](https://api.codeclimate.com/v1/badges/9f9e8bb6edc92615f34e/maintainability)](https://codeclimate.com/github/DavyJonesLocker/client_side_validations/maintainability)
|
8
9
|
[![Coverage Status](https://coveralls.io/repos/github/DavyJonesLocker/client_side_validations/badge.svg?branch=main)](https://coveralls.io/github/DavyJonesLocker/client_side_validations?branch=main)
|
9
10
|
|
@@ -78,17 +79,17 @@ import '@client-side-validations/client-side-validations/src'
|
|
78
79
|
require('@client-side-validations/client-side-validations')
|
79
80
|
```
|
80
81
|
|
81
|
-
##### Heads-up for Turbolinks users #####
|
82
|
+
##### Heads-up for Turbo and Turbolinks users #####
|
83
|
+
|
84
|
+
If you are using [Turbo](https://github.com/hotwired/turbo-rails), use the
|
85
|
+
`import` syntax and make sure that `@client-side-validations/client-side-validations/src`
|
86
|
+
is imported **after** `@hotwired/turbo-rails`, so ClientSideValidations can properly detect
|
87
|
+
`window.Turbo` and attach its event handlers.
|
82
88
|
|
83
89
|
If you are using [Turbolinks](https://github.com/turbolinks/turbolinks) 5.2,
|
84
|
-
use the require syntax and make sure that `@client-side-validations/client-side-validations`
|
85
|
-
is required after`Turbolinks.start()`, so ClientSideValidations can properly
|
86
|
-
attach its event handlers.
|
87
|
-
|
88
|
-
[Turbo](https://github.com/hotwired/turbo-rails) automatically calls `start()`,
|
89
|
-
so you can use the `import` syntax. Just make sure that `@client-side-validations/client-side-validations/src`
|
90
|
-
is imported **after** `turbo`, so ClientSideValidations can properly
|
91
|
-
attach its event handlers.
|
90
|
+
use the `require` syntax and make sure that `@client-side-validations/client-side-validations`
|
91
|
+
is required **after** `Turbolinks.start()`, so ClientSideValidations can properly
|
92
|
+
detect `window.Turbolinks` and attach its event handlers.
|
92
93
|
|
93
94
|
#### When using Sprockets ####
|
94
95
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: client_side_validations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 19.1.
|
4
|
+
version: 19.1.1
|
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: 2021-
|
12
|
+
date: 2021-11-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -133,22 +133,16 @@ dependencies:
|
|
133
133
|
name: simplecov
|
134
134
|
requirement: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - "
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: 0.18.5
|
139
|
-
- - "<"
|
136
|
+
- - "~>"
|
140
137
|
- !ruby/object:Gem::Version
|
141
|
-
version:
|
138
|
+
version: 0.21.2
|
142
139
|
type: :development
|
143
140
|
prerelease: false
|
144
141
|
version_requirements: !ruby/object:Gem::Requirement
|
145
142
|
requirements:
|
146
|
-
- - "
|
147
|
-
- !ruby/object:Gem::Version
|
148
|
-
version: 0.18.5
|
149
|
-
- - "<"
|
143
|
+
- - "~>"
|
150
144
|
- !ruby/object:Gem::Version
|
151
|
-
version:
|
145
|
+
version: 0.21.2
|
152
146
|
- !ruby/object:Gem::Dependency
|
153
147
|
name: simplecov-lcov
|
154
148
|
requirement: !ruby/object:Gem::Requirement
|
@@ -265,6 +259,7 @@ homepage: https://github.com/DavyJonesLocker/client_side_validations
|
|
265
259
|
licenses:
|
266
260
|
- MIT
|
267
261
|
metadata:
|
262
|
+
rubygems_mfa_required: 'true'
|
268
263
|
bug_tracker_uri: https://github.com/DavyJonesLocker/client_side_validations/issues
|
269
264
|
changelog_uri: https://github.com/DavyJonesLocker/client_side_validations/blob/main/CHANGELOG.md
|
270
265
|
source_code_uri: https://github.com/DavyJonesLocker/client_side_validations
|