schema_validations 1.3.0 → 1.3.1

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
  SHA1:
3
- metadata.gz: 6e6588d0c8d748fe24ce334bf2c57678ce35d345
4
- data.tar.gz: 2e49d0ee57215bc100a652834d35196a5a47e33d
3
+ metadata.gz: a23ef37b81324aaf2c339a28090b57a870f14583
4
+ data.tar.gz: baee93aa0e3c28544a09f145ca178456ea1928c7
5
5
  SHA512:
6
- metadata.gz: 9a7899832e98bdaca1f90fa1bb1619d12dbe55fdcce6ccccfea24285d6b20a9ad1f9c63cb904f65a537cebe5196da38c80e53b843f70b6a265c12f6f91e58ebe
7
- data.tar.gz: f64bceebdcf7ee916576abd86be39f7d329c9bd020f6c51b1f33e5faaa32b381902b460a6464717cf4c064815d528eea0a21bd6d577428b96153d18ae23a3cf9
6
+ metadata.gz: 49c6eb9dfacb6b4dda7027f6b37dd21533479d1157ddc10276d957fcbb56962078a35040af02d07815071121bbcff1e5c260c9c82c6cdb96b73e6ee099c3ef50
7
+ data.tar.gz: 37200e9a56008fab775fb0c7b38f638f645ecc447f77184ed09ae96f9385f7f9e2b89e53e5f9a2d284906032133466c214621708770fa2e30f8464bd2518ac36
data/README.md CHANGED
@@ -114,7 +114,7 @@ Data types:
114
114
  ## How do I know what it did?
115
115
  If you're curious (or dubious) about what validations SchemaValidations
116
116
  defines, you can check the log file. For every assocation that
117
- SchemaValidations defines, it generates an info entry such as
117
+ SchemaValidations defines, it generates a debug entry in the log such as
118
118
 
119
119
  [schema_validations] Article.validates_length_of :title, :allow_nil=>true, :maximum=>50
120
120
 
@@ -130,6 +130,10 @@ use case.
130
130
 
131
131
  ## Release Notes
132
132
 
133
+ ### 1.3.1
134
+
135
+ * Change log level from 'info' to 'debug', since there's no need to clutter production logs with this sort of development info. Thanks to [@obduk](https://github.com/obduk)
136
+
133
137
  ### 1.3.0
134
138
 
135
139
  * Add range checks to integer validations. Thanks to [@lowjoel](https://github.com/lowjoel)
@@ -176,7 +176,7 @@ module SchemaValidations
176
176
  if _filter_validation(method, arg)
177
177
  msg = "[schema_validations] #{self.name}.#{method} #{arg.inspect}"
178
178
  msg += ", #{opts.inspect[1...-1]}" if opts.any?
179
- logger.info msg
179
+ logger.debug msg
180
180
  send method, arg, opts
181
181
  end
182
182
  end
@@ -1,3 +1,3 @@
1
1
  module SchemaValidations
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema_validations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ronen Barzel
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-07-22 00:00:00.000000000 Z
12
+ date: 2015-08-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: schema_plus_columns