client_side_validations-mongoid 8.2.0 → 8.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cdda7a23c657676e14a6b1bc2c649d3b841d50ff
4
- data.tar.gz: 7618125a5c7b3b5fea6c2751d79e798afd4a1b58
3
+ metadata.gz: b8ac061ab351f7101c0f76a9975a45bb568c6de7
4
+ data.tar.gz: ff0ed8c7ba1f209bd0f931a8a42f811de7603818
5
5
  SHA512:
6
- metadata.gz: 86aeff6caf1d8a7ebdd97e1bc1a28458958a7caa43e58bcf987f55f910383dac3cd844fa8b36c0541b71a4cff5af2b4055bd5a76f77d1fea28b92a1b1271396a
7
- data.tar.gz: ce3cd0b03aeffcef040ea0bc3528fee076b7495b0f2bc8e0e616c4556ed4448bd7b179afe1ac6c6de76ca37c99917b5503c2cebb69a0210bfd5a06a6d8f8513f
6
+ metadata.gz: a6b1bcee59c5dbcf2df96735e9de1df00a6130318dfcd2bcbfb3f0d96d468944ff5e3a899026ddd45818a69fc50ad27f82883887e7b916ce0aa625e2193261c8
7
+ data.tar.gz: 232640c0184101e1d1a92595fb3eaa0c8cafae04b5e4f2803cb930cc87a958c65f29c8af40cd65014b404fe64f5ed6347c2b5444b0e6ea13406dfe2f6bce70a0
data/CHANGELOG.md CHANGED
@@ -1,19 +1,26 @@
1
1
  # Changelog
2
2
 
3
- ## 8.2.0 (2017-01-31)
3
+ ## 8.3.0 / 2017-04-24
4
4
 
5
- * ClientSideValidations 9.0 compatibility
6
- * Include license in the gem
5
+ * [ENHANCEMENT] Code cleanup
6
+ * [ENHANCEMENT] Test against Ruby 2.2.7, 2.3.4 and 2.4.1
7
+ * [ENHANCEMENT] Use Ruby 2.3's Frozen String Literal Pragma
8
+ * [ENHANCEMENT] Follow Vandamme's changelog conventions
7
9
 
8
- ## 8.1.0 (2017-01-22)
10
+ ## 8.2.0 / 2017-01-31
9
11
 
10
- * ClientSideValidations 8.0 compatibility
12
+ * [FEATURE] ClientSideValidations 9.0 compatibility
13
+ * [ENHANCEMENT] Include license in the gem
11
14
 
12
- ## 8.0.0 (2017-01-22)
15
+ ## 8.1.0 / 2017-01-22
13
16
 
14
- * ClientSideValidations 7.0 compatibility
17
+ * [FEATURE] ClientSideValidations 8.0 compatibility
15
18
 
16
- ## 7.0.0 (2017-01-20)
19
+ ## 8.0.0 / 2017-01-22
17
20
 
18
- * ClientSideValidations 6.0 compatibility
19
- * Mongoid 6 compatibility
21
+ * [FEATURE] ClientSideValidations 7.0 compatibility
22
+
23
+ ## 7.0.0 / 2017-01-20
24
+
25
+ * [FEATURE] ClientSideValidations 6.0 compatibility
26
+ * [FEATURE] Mongoid 6 compatibility
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ClientSideValidations
2
4
  module Mongoid
3
5
  module Presence
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ClientSideValidations
2
4
  module Mongoid
3
5
  module Uniqueness
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module ClientSideValidations
3
4
  module Mongoid
4
- VERSION = '8.2.0'.freeze
5
+ VERSION = '8.3.0'.freeze
5
6
  end
6
7
  end
@@ -1,6 +1,8 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'client_side_validations/active_model'
2
4
 
3
- %w(Presence Uniqueness).each do |validator|
5
+ %w[Presence Uniqueness].each do |validator|
4
6
  require "client_side_validations/mongoid/#{validator.downcase}"
5
7
  Mongoid::Validatable.const_get("#{validator}Validator").send :include, ClientSideValidations::Mongoid.const_get(validator)
6
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: client_side_validations-mongoid
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.2.0
4
+ version: 8.3.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: 2017-01-31 00:00:00.000000000 Z
12
+ date: 2017-04-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: client_side_validations
@@ -51,14 +51,14 @@ dependencies:
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '2.1'
54
+ version: '2.2'
55
55
  type: :development
56
56
  prerelease: false
57
57
  version_requirements: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.1'
61
+ version: '2.2'
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: byebug
64
64
  requirement: !ruby/object:Gem::Requirement
@@ -79,14 +79,14 @@ dependencies:
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.8.19
82
+ version: 0.8.20
83
83
  type: :development
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.8.19
89
+ version: 0.8.20
90
90
  - !ruby/object:Gem::Dependency
91
91
  name: database_cleaner
92
92
  requirement: !ruby/object:Gem::Requirement
@@ -163,28 +163,28 @@ dependencies:
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 0.47.1
166
+ version: 0.48.1
167
167
  type: :development
168
168
  prerelease: false
169
169
  version_requirements: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 0.47.1
173
+ version: 0.48.1
174
174
  - !ruby/object:Gem::Dependency
175
175
  name: simplecov
176
176
  requirement: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 0.12.0
180
+ version: 0.14.1
181
181
  type: :development
182
182
  prerelease: false
183
183
  version_requirements: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 0.12.0
187
+ version: 0.14.1
188
188
  description: Mongoid Plugin for ClientSideValidations
189
189
  email:
190
190
  - tagliala.dev@gmail.com
@@ -220,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  version: '0'
221
221
  requirements: []
222
222
  rubyforge_project:
223
- rubygems_version: 2.6.9
223
+ rubygems_version: 2.6.11
224
224
  signing_key:
225
225
  specification_version: 4
226
226
  summary: ClientSideValidations Mongoid