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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08e1a7061a00946e499902c0eab2b4a9ab51971a69ab722626b89047aa4c1eca'
4
- data.tar.gz: e7696455f9372bdb90b889fb8193a499f992a6ecc3b1a6c51fc2c1cf732ca0ce
3
+ metadata.gz: fc5d01abe5b221725298172f873ef0a4e75c916435c9f84c7bf032e05e3a41ce
4
+ data.tar.gz: 06f3e0a0ac89a58876a216779086fe3fc92c043dd8e9ff5a35df7a38843ec71d
5
5
  SHA512:
6
- metadata.gz: e9a5c7b6147226624d4492df51bde93d1ae3c35f3da48a3f2e5730f8e649011e1108e13bdf2469e32feae23e722140721907a029d9343c3d8d52f9aef653cc3f
7
- data.tar.gz: 52038f683d0fa478446c4a04d1a74aa545bac6f75b54d9bc98a5827855374ca88383e9deb32ae3479269e742765bb06b75dca6249f7dad786ce601cb69f480ed
6
+ metadata.gz: 2efa488b87a55cd0a3b3f333314426a44ebce95ebeb352672de62fad299bcf2d75a4c351bda96cb78cab69ce1bc1a60693f2ba3f9658c9e7a00c46388b5b4a95
7
+ data.tar.gz: b1b4ffcd3151a711e284117ef387b6124c9b788cc71655387150c9cfca9e6a2f604b9cd72f54fd3deadf4676c915ad20718be7d4a1dd93e383f74373f7c166e4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.4.0 (2024-10-22)
2
+
3
+ - Dropped support for Ruby < 3.1
4
+
5
+ ## 0.3.0 (2022-10-09)
6
+
7
+ - Dropped support for Ruby < 2.7
8
+
1
9
  ## 0.2.3 (2022-02-08)
2
10
 
3
11
  - Added `lookup` option
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?branch=master)](https://github.com/ankane/mainstreet/actions)
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
- encrypts :street, :postal_code
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)
@@ -1,3 +1,3 @@
1
1
  module MainStreet
2
- VERSION = "0.2.3"
2
+ VERSION = "0.4.0"
3
3
  end
data/lib/mainstreet.rb CHANGED
@@ -2,8 +2,8 @@
2
2
  require "geocoder"
3
3
 
4
4
  # modules
5
- require "mainstreet/address_verifier"
6
- require "mainstreet/version"
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
- require "mainstreet/model"
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.2.3
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: 2022-02-08 00:00:00.000000000 Z
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: '2.2'
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.3.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