mainstreet 0.2.3 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +2 -8
- data/lib/mainstreet/version.rb +1 -1
- data/lib/mainstreet.rb +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc5d01abe5b221725298172f873ef0a4e75c916435c9f84c7bf032e05e3a41ce
|
4
|
+
data.tar.gz: 06f3e0a0ac89a58876a216779086fe3fc92c043dd8e9ff5a35df7a38843ec71d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2efa488b87a55cd0a3b3f333314426a44ebce95ebeb352672de62fad299bcf2d75a4c351bda96cb78cab69ce1bc1a60693f2ba3f9658c9e7a00c46388b5b4a95
|
7
|
+
data.tar.gz: b1b4ffcd3151a711e284117ef387b6124c9b788cc71655387150c9cfca9e6a2f604b9cd72f54fd3deadf4676c915ad20718be7d4a1dd93e383f74373f7c166e4
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -4,7 +4,7 @@ Address verification for Ruby and Rails
|
|
4
4
|
|
5
5
|
:earth_americas: Supports international addresses
|
6
6
|
|
7
|
-
[![Build Status](https://github.com/ankane/mainstreet/workflows/build/badge.svg
|
7
|
+
[![Build Status](https://github.com/ankane/mainstreet/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/mainstreet/actions)
|
8
8
|
|
9
9
|
## Installation
|
10
10
|
|
@@ -144,16 +144,10 @@ We recommend encrypting street information and postal code (at the very least) f
|
|
144
144
|
|
145
145
|
```ruby
|
146
146
|
class User < ApplicationRecord
|
147
|
-
|
147
|
+
has_encrypted :street, :postal_code
|
148
148
|
end
|
149
149
|
```
|
150
150
|
|
151
|
-
## Upgrading
|
152
|
-
|
153
|
-
### 0.2.0
|
154
|
-
|
155
|
-
See the [upgrade guide](docs/0-2-Upgrade.md)
|
156
|
-
|
157
151
|
## History
|
158
152
|
|
159
153
|
View the [changelog](https://github.com/ankane/mainstreet/blob/master/CHANGELOG.md)
|
data/lib/mainstreet/version.rb
CHANGED
data/lib/mainstreet.rb
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
require "geocoder"
|
3
3
|
|
4
4
|
# modules
|
5
|
-
|
6
|
-
|
5
|
+
require_relative "mainstreet/address_verifier"
|
6
|
+
require_relative "mainstreet/version"
|
7
7
|
|
8
8
|
module MainStreet
|
9
9
|
class << self
|
@@ -26,7 +26,7 @@ end
|
|
26
26
|
|
27
27
|
if defined?(ActiveSupport.on_load)
|
28
28
|
ActiveSupport.on_load(:active_record) do
|
29
|
-
|
29
|
+
require_relative "mainstreet/model"
|
30
30
|
extend MainStreet::Model
|
31
31
|
end
|
32
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mainstreet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: geocoder
|
@@ -49,14 +49,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
49
49
|
requirements:
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '
|
52
|
+
version: '3.1'
|
53
53
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
55
|
- - ">="
|
56
56
|
- !ruby/object:Gem::Version
|
57
57
|
version: '0'
|
58
58
|
requirements: []
|
59
|
-
rubygems_version: 3.
|
59
|
+
rubygems_version: 3.5.16
|
60
60
|
signing_key:
|
61
61
|
specification_version: 4
|
62
62
|
summary: Address verification for Ruby and Rails
|