validates-correios-cep 0.1.0 → 0.1.1

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
- SHA1:
3
- metadata.gz: bb20df2b7029387821c5993e1454d0eeaa2cb52b
4
- data.tar.gz: 6613876482cdfba84d3b1da856d91ffc07f72cc9
2
+ SHA256:
3
+ metadata.gz: 294608a8516eec45e8556f9be41888da4f37798219a1dca990a3474d2911bcf9
4
+ data.tar.gz: 7377ebdb01bfd864510d5028e88314a9b0da4959d90da77a67ecb72ff538dc68
5
5
  SHA512:
6
- metadata.gz: 6a0f49bf0ad5b029a84644b5e4106d91a6ac354751dd7b8017866bed389cf9c065085ba72769bc7285ce2da2014a9c4f8301b314469b9165506e83642e0e00c9
7
- data.tar.gz: 759c2a4ec6508f18e788a84cd7c25219e88a707675cd723a06064438f0397f5c008fe1ec51ea80e2e0bf5df366f75cc23648efdec21f46184a4af8a4ffef4864
6
+ metadata.gz: 522b2f10ed388add4c547954a28b8fa515ad47cb945c7f0c9dafe46c774beeb032bb81e7e72b1b9f54d8cdb298e80a61f03d67afe36d16b3bac259bd487043dc
7
+ data.tar.gz: e25e8d5c7824e841c738408ac839c9c2a94f103eff5efe39dcf01e61d15d65cda237e94febcce159d4ef587c85ad1733a742cade8b2d1a88dffc88b18882f437
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/validates-correios-cep.svg)](https://badge.fury.io/rb/validates-correios-cep)
4
4
  [![Gem](https://img.shields.io/gem/dt/validates-correios-cep.svg)]()
5
+ [![Build Status](https://travis-ci.org/pedrofurtado/validates-correios-cep.svg?branch=master)](https://travis-ci.org/pedrofurtado/validates-correios-cep)
5
6
  [![license](https://img.shields.io/github/license/pedrofurtado/validates-correios-cep.svg)]()
6
7
 
7
8
  ## Installation
@@ -17,7 +17,7 @@ module ActiveModel
17
17
  "#{CORREIOS_CEP_I18N_SCOPE}.timeouted"
18
18
  end
19
19
 
20
- record.errors.add(attribute, error_message_scope, zipcode: value) if error_message_scope.present?
20
+ record.errors.add(attribute, I18n.t(error_message_scope, zipcode: value)) if error_message_scope.present?
21
21
  end
22
22
  end
23
23
 
@@ -1,3 +1,3 @@
1
1
  module ValidatesCorreiosCep
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validates-correios-cep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedro Furtado
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-01 00:00:00.000000000 Z
11
+ date: 2020-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -123,8 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  requirements: []
126
- rubyforge_project:
127
- rubygems_version: 2.5.1
126
+ rubygems_version: 3.1.2
128
127
  signing_key:
129
128
  specification_version: 4
130
129
  summary: Brazilian zipcode validations for ActiveRecord, integrated with correios-cep