whereabouts 1.0.0 → 1.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
  SHA1:
3
- metadata.gz: 055bc238769a5c8b7ac7c7ad6032fc619352e413
4
- data.tar.gz: 62d9aa809c7a0ba97ef16ce0f0c8b9c9663ba830
3
+ metadata.gz: 6722c05d1bd73fddac1eeb01aff471c4ca9ec4e6
4
+ data.tar.gz: b0f5039776127641b4d6ecd74708cabee222fc28
5
5
  SHA512:
6
- metadata.gz: 1f1dfbe88f7909cd9fad481f051d6bfb10a8bfab47dee5ed81663c1f85ceacad4b54baff0dc4eb4baab19045cf052f33bbe07b493523322a8f62950695725068
7
- data.tar.gz: 1c8d298efd8261f67bd364dbef039961d89cf43c9830d689218876f5b7b90f0689fa41dbee0d166af1167efa9fde8a63127124b8ee4671b85a61821ec01b4109
6
+ metadata.gz: c586093cc984f69caab3d01310fe990aff8d63e5567765292ad36cf40020c2a90433748c6b70bb04c4cb90b2ade5a4342e2c78c272c411e291142872d7577d3c
7
+ data.tar.gz: 61ac714043271cf4de2e4c6621f0797debe69e2ae3e9d80989ed6210822f983941545718bb20df1ab0276e3dc1c5094e647ec219fbd488301ef8df5217951dab
data/README.markdown CHANGED
@@ -1,20 +1,18 @@
1
1
  # Whereabouts
2
2
 
3
- [![Travis CI Build Status](http://travis-ci.org/yrgoldteeth/whereabouts.png)](http://travis-ci.org/yrgoldteeth/whereabouts)
4
-
5
3
  Whereabouts is a Rails plugin that generates a polymorphic address model
6
- to be associated to ActiveRecord models.
4
+ to be associated to ActiveRecord models.
5
+
6
+ To install on Rails add this to your Gemfile
7
7
 
8
- To install on Rails 3.x add this to your Gemfile
9
-
10
8
  gem 'whereabouts'
11
9
 
12
- Generate the base address class and migration
13
-
10
+ Generate the base address class and migration
11
+
14
12
  rails g address
15
13
 
16
- Run migrations
17
-
14
+ Run migrations
15
+
18
16
  rake db:migrate
19
17
 
20
18
  If you have the [Ruby Geocoder](http://www.rubygeocoder.com) specified in
@@ -24,7 +22,7 @@ longitude fields for the record.
24
22
 
25
23
  # Examples
26
24
 
27
- ## Basic use:
25
+ ## Basic use:
28
26
 
29
27
  class Thing < ActiveRecord::Base
30
28
  has_whereabouts
@@ -33,13 +31,13 @@ longitude fields for the record.
33
31
  t = Thing.new
34
32
  t.build_address
35
33
 
36
- ## Multiple addresses on same model:
34
+ ## Multiple addresses on same model:
37
35
 
38
36
  class Foo < ActiveRecord::Base
39
37
  has_whereabouts :shipping_address
40
38
  has_whereabouts :mailing_address
41
39
  end
42
-
40
+
43
41
  f = Foo.new
44
42
  f.build_shipping_address
45
43
  f.build_mailing_address
@@ -56,7 +54,7 @@ longitude fields for the record.
56
54
 
57
55
  ## Automatic Geocoding
58
56
 
59
- # Must have Ruby Geocoder installed
57
+ # Must have Ruby Geocoder installed
60
58
  # and configured. Will populate the
61
59
  # latitude and longitude attributes
62
60
  # on the Address
@@ -66,7 +64,7 @@ longitude fields for the record.
66
64
 
67
65
  Contributing to whereabouts
68
66
  =========
69
-
67
+
70
68
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
71
69
  * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
72
70
  * Fork the project
@@ -75,5 +73,5 @@ Contributing to whereabouts
75
73
  * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
76
74
  * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
77
75
 
78
- Copyright (c) 2011 [Nicholas Fine](http://ndfine.com), released under the MIT license
76
+ Copyright (c) 2017 [Nicholas Fine](http://ndfine.com), released under the MIT license
79
77
 
@@ -1,3 +1,3 @@
1
1
  module Whereabouts
2
- VERSION="1.0.0"
2
+ VERSION="1.0.1"
3
3
  end
data/whereabouts.gemspec CHANGED
@@ -6,12 +6,12 @@ Gem::Specification.new do |s|
6
6
  s.name = 'whereabouts'
7
7
  s.version = Whereabouts::VERSION
8
8
  s.authors = ['Nicholas Fine']
9
- s.email = 'nicholas.fine@gmail.com'
9
+ s.email = 'nick@ndfine.com'
10
10
  s.homepage = 'http://github.com/yrgoldteeth/whereabouts'
11
11
  s.licenses = ['MIT']
12
12
  s.description = 'Rails plugin for adding associated addresses to Active Record Models'
13
13
  s.summary = 'Whereabouts - has_whereabouts :address'
14
-
14
+
15
15
  s.files = `git ls-files`.split("\n")
16
16
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
17
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whereabouts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Fine
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  description: Rails plugin for adding associated addresses to Active Record Models
98
- email: nicholas.fine@gmail.com
98
+ email: nick@ndfine.com
99
99
  executables: []
100
100
  extensions: []
101
101
  extra_rdoc_files: []