address_concern 2.0.0 → 2.0.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
  SHA256:
3
- metadata.gz: 54db12d5f83e9438e61c47552eba316511be4cbc69200bee3e51568a10c2c41e
4
- data.tar.gz: 73a84002eeafb49d0536d2bf5de94391410b3b4d873633ba62f2fd3e42df8ab5
3
+ metadata.gz: de8b741d8cd001b4e7f4a8e12895aa623bccaabfa98dbdb41886bc25ab74e8bf
4
+ data.tar.gz: 96b1e6fb186f3941ab8db185b79ad6a56be99868b9950b21742869211b4e2530
5
5
  SHA512:
6
- metadata.gz: ac7f541ac00b56b64c9a6e8f6cc7a49ee423cce621c90a13173ddc7e4c852883d5f5a2ad14bca967b2d7c7fcc9678a7b8062bb580c30baa43bb656e681b7fed9
7
- data.tar.gz: 305160aabeca32990a9aa74aa2519b6b58b54c7354985ccbb1677fc1ec370b5c0f104319541834c33865f86079f10d4f45b31342be2d2656e90ade6eb42a85fa
6
+ metadata.gz: 6a5ca29908ad512f492e510c90a1fc5c1e4ce38a3d193a9156551415da85f503bced92538edf6306615c1884bfadcae9eacffd1bb15204d4aae6cc1e1fc444c4
7
+ data.tar.gz: 833b6c049415afab41e1ba8fb44cf73e69cd9392b6a9b70a0410a68f203f749f4dfd18011c6b52b711e56e3db209365be88d5e7b87d5c69c677485698e721c7f
data/Readme.md CHANGED
@@ -8,16 +8,7 @@ Add `address_concern` to your `Gemfile`:
8
8
 
9
9
  gem 'address_concern'
10
10
 
11
- Then run the generator to create your addresses table:
12
-
13
- rails generate address_concern:install
14
- rake db:migrate
15
-
16
- You now have an `Address` model that you can use in your app just as if it were in your `app/models` directory.
17
-
18
- # Usage
19
-
20
- ## Base usage
11
+ Include the `AddressConcern::Address` concern in your model:
21
12
 
22
13
  ```ruby
23
14
  class Address < ApplicationRecord
@@ -25,6 +16,13 @@ class Address < ApplicationRecord
25
16
  end
26
17
  ```
27
18
 
19
+ Then run the generator to create your addresses table:
20
+
21
+ rails generate address_concern:install
22
+ rake db:migrate
23
+
24
+ # Usage
25
+
28
26
  ## `belongs_to_address`
29
27
 
30
28
  `AddressConcern::AddressAssociations` is automatically included into `ActiveRecord::Base` and
@@ -13,7 +13,6 @@ Gem::Specification.new do |s|
13
13
  s.licenses = ["MIT"]
14
14
 
15
15
  s.add_dependency "rake"
16
- s.add_dependency "cucumber"
17
16
  s.add_dependency "rails", ">= 4.0"
18
17
  s.add_dependency "activerecord", ">= 4.0"
19
18
  s.add_dependency "activesupport", ">= 4.0"
@@ -1,5 +1,5 @@
1
1
  module AddressConcern
2
2
  def self.version
3
- "2.0.0"
3
+ "2.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: address_concern
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Campbell
@@ -25,20 +25,6 @@ dependencies:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
- - !ruby/object:Gem::Dependency
29
- name: cucumber
30
- requirement: !ruby/object:Gem::Requirement
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: '0'
35
- type: :runtime
36
- prerelease: false
37
- version_requirements: !ruby/object:Gem::Requirement
38
- requirements:
39
- - - ">="
40
- - !ruby/object:Gem::Version
41
- version: '0'
42
28
  - !ruby/object:Gem::Dependency
43
29
  name: rails
44
30
  requirement: !ruby/object:Gem::Requirement