client_side_validations 14.1.0 → 15.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: b5c9471ead88623636e67b2739d7023914e67b789ca4659915bcbc9ea358f28a
4
- data.tar.gz: 03c2dd843617e824396db7d0ab8d8d6a7b59ea07f9d9142ec98d52f35bbfed35
3
+ metadata.gz: 9aae7b42d20afe874b89eacfb409b8f7e0730b58d6d3ddd56f7f3b4fd47573db
4
+ data.tar.gz: 0327e5e5af1b22a18a986e51d2471aaf7dfe0407dc61f2dab632456027b7c9a4
5
5
  SHA512:
6
- metadata.gz: b4f3a31758f2fa420a93068a54ec0e14b3c67e81fcb9786255fafd9967c393d19ca2982c6cfeeaf89397a7a4a703da564831a8428c6fd29acba7440fea77bbae
7
- data.tar.gz: 6bf5bdac6d52f6efc89fb765c5b993bf0b6678c11d6f290225906047a4ecae7ce1e1adc48c68bb26ccab8baa187880365b910a576d46dad85b30d1dad5027988
6
+ metadata.gz: f0be68614eb80ba98162abe631d7535380146394ff2473f59fae3669199d33deb1ecb3bc835dfdb64f56985d8c964c0d9962b69d5ac33f583625ef9ec42d92ad
7
+ data.tar.gz: 849c0989043371872d6626b208120a2ef8a96d31b63501545343a54e91f1c699899c14ea7dd026dd4b3f216c57923fe1d0029309d34d65151c9da8e63333dd3b
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 15.0.0 / 2019-05-14
4
+
5
+ * [FEATURE] Drop Ruby 2.2 support
6
+ * [ENHANCEMENT] Test against jQuery 3.4.1 by default
7
+ * [ENHANCEMENT] Update development dependencies
8
+
3
9
  ## 14.1.0 / 2019-04-25
4
10
 
5
11
  * [FEATURE] Add Rails 6.0 compatibility
data/README.md CHANGED
@@ -1,15 +1,15 @@
1
1
  # ClientSideValidations #
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/client_side_validations.svg)](http://badge.fury.io/rb/client_side_validations)
3
+ [![Gem Version](https://badge.fury.io/rb/client_side_validations.svg)](https://badge.fury.io/rb/client_side_validations)
4
4
  [![Build Status](https://secure.travis-ci.org/DavyJonesLocker/client_side_validations.svg?branch=master)](https://travis-ci.org/DavyJonesLocker/client_side_validations)
5
5
  [![Maintainability](https://api.codeclimate.com/v1/badges/9f9e8bb6edc92615f34e/maintainability)](https://codeclimate.com/github/DavyJonesLocker/client_side_validations/maintainability)
6
6
  [![Coverage Status](https://coveralls.io/repos/github/DavyJonesLocker/client_side_validations/badge.svg?branch=master)](https://coveralls.io/github/DavyJonesLocker/client_side_validations?branch=master)
7
7
 
8
- `ClientSideValidations` made easy for your Rails 5 applications!
8
+ `ClientSideValidations` made easy for your Rails 5.x / Rails 6 applications!
9
9
 
10
10
  ## Project Goals ##
11
11
 
12
- 1. Follow the best practices for client side validations developed by [Luke Wroblewski](http://alistapart.com/article/inline-validation-in-web-forms)
12
+ 1. Follow the best practices for client side validations developed by [Luke Wroblewski](https://alistapart.com/article/inline-validation-in-web-forms)
13
13
  2. Automatically extract and apply validation rules defined on the
14
14
  server to the client.
15
15
  3. In the cases where a server-side validation rule would not work on
@@ -143,7 +143,7 @@ individual validators:
143
143
 
144
144
  In the above case only the `presence` validator will be passed to the client.
145
145
 
146
- This is also the case with [other supported conditional validations](http://guides.rubyonrails.org/v4.2.0/active_record_validations.html#conditional-validation) (such as Procs, Arrays or Strings).
146
+ This is also the case with [other supported conditional validations](https://guides.rubyonrails.org/v5.2.3/active_record_validations.html#conditional-validation) (such as Procs, Arrays or Strings).
147
147
 
148
148
  **NOTE:** when `:if` conditional includes a symbol or a string with
149
149
  `changed?` in it or start with `will_save_change_to`, validator will forced automatically.
@@ -460,7 +460,7 @@ $('#myInputField').trigger('focusout');
460
460
 
461
461
  ## Versioning ##
462
462
 
463
- This gem follows [Semantic Versioning](http://semver.org)
463
+ This gem follows [Semantic Versioning](https://semver.org)
464
464
 
465
465
  ## Want to help? ##
466
466
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ClientSideValidations
4
- VERSION = '14.1.0'.freeze
4
+ VERSION = '15.0.0'
5
5
  end
@@ -1,8 +1,8 @@
1
1
 
2
2
  /*!
3
- * Client Side Validations - v14.1.0 (https://github.com/DavyJonesLocker/client_side_validations)
3
+ * Client Side Validations - v15.0.0 (https://github.com/DavyJonesLocker/client_side_validations)
4
4
  * Copyright (c) 2019 Geremia Taglialatela, Brian Cardarella
5
- * Licensed under MIT (http://opensource.org/licenses/mit-license.php)
5
+ * Licensed under MIT (https://opensource.org/licenses/mit-license.php)
6
6
  */
7
7
 
8
8
  (function() {
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: 14.1.0
4
+ version: 15.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: 2019-04-25 00:00:00.000000000 Z
12
+ date: 2019-05-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -169,14 +169,28 @@ dependencies:
169
169
  requirements:
170
170
  - - "~>"
171
171
  - !ruby/object:Gem::Version
172
- version: 0.67.2
172
+ version: 0.69.0
173
173
  type: :development
174
174
  prerelease: false
175
175
  version_requirements: !ruby/object:Gem::Requirement
176
176
  requirements:
177
177
  - - "~>"
178
178
  - !ruby/object:Gem::Version
179
- version: 0.67.2
179
+ version: 0.69.0
180
+ - !ruby/object:Gem::Dependency
181
+ name: rubocop-performance
182
+ requirement: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - "~>"
185
+ - !ruby/object:Gem::Version
186
+ version: '1.3'
187
+ type: :development
188
+ prerelease: false
189
+ version_requirements: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - "~>"
192
+ - !ruby/object:Gem::Version
193
+ version: '1.3'
180
194
  - !ruby/object:Gem::Dependency
181
195
  name: simplecov
182
196
  requirement: !ruby/object:Gem::Requirement
@@ -313,9 +327,9 @@ require_paths:
313
327
  - lib
314
328
  required_ruby_version: !ruby/object:Gem::Requirement
315
329
  requirements:
316
- - - ">="
330
+ - - "~>"
317
331
  - !ruby/object:Gem::Version
318
- version: '0'
332
+ version: '2.3'
319
333
  required_rubygems_version: !ruby/object:Gem::Requirement
320
334
  requirements:
321
335
  - - ">="