simple_address 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 168781df615fc12003babcbc9c9f40e3a9a16ea8
4
+ data.tar.gz: de1d6d87e5c26d0204a9c03ca43889b757ba6472
5
+ SHA512:
6
+ metadata.gz: 12ae2f2c44960fa7f7f2da6a93b071faf3bd61f611b6b1727fff6a7ebb93f055583319f50a8aa076c04f273001cfc57be45e7a5384d396bd429256851ee0d3b3
7
+ data.tar.gz: 6266857f16068d3ebaf74ccc075bfd247545c67d47b5b83b5d8454d58c21a9ba34495ffc5c773b802a92088caea0347c01ef14f85c6d3d4ddf7bc5f3117c645a
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2013 YOURNAME
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile ADDED
@@ -0,0 +1,17 @@
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ require 'rdoc/task'
8
+
9
+ RDoc::Task.new(:rdoc) do |rdoc|
10
+ rdoc.rdoc_dir = 'rdoc'
11
+ rdoc.title = 'SimpleAddress'
12
+ rdoc.options << '--line-numbers'
13
+ rdoc.rdoc_files.include('README.rdoc')
14
+ rdoc.rdoc_files.include('lib/**/*.rb')
15
+ end
16
+
17
+ Bundler::GemHelper.install_tasks
@@ -0,0 +1,41 @@
1
+ find_item = (input_name, prev_item_name) ->
2
+ item = $("#simple_address_address_#{input_name}_name")
3
+ prev_name = if prev_item_name == 'country'
4
+ 'address_country'
5
+ else
6
+ prev_item_name
7
+ prev_item = $("#simple_address_#{prev_name}_id")
8
+ item_id = $("#simple_address_#{input_name}_id")
9
+ item.autocomplete({
10
+ source: [],
11
+ focus: (event, ui) ->
12
+ item.val(ui.item.label)
13
+ false
14
+ select: (event, ui) ->
15
+ item.val(ui.item.label)
16
+ item_id.val(ui.item.value)
17
+ false
18
+ })
19
+ item.keyup ->
20
+ name = @.value
21
+ prev_item_id = prev_item.val()
22
+ data = { name: name }
23
+ data["#{prev_item_name}_id"] = prev_item_id
24
+ $.ajax(
25
+ url: item.data('path'),
26
+ data: data,
27
+ dataType: 'json',
28
+ method: 'get'
29
+ ).done (data) ->
30
+ item.autocomplete({ source: data_parser(data) })
31
+
32
+ data_parser = (data) ->
33
+ array = []
34
+ for key, value of data
35
+ array[key] = { value: value.id, label: value.name }
36
+ array
37
+
38
+ jQuery ->
39
+ find_item('region', 'country')
40
+ find_item('city', 'region')
41
+ find_item('street', 'city')
@@ -0,0 +1 @@
1
+ //= require ./autocomplete
@@ -0,0 +1,48 @@
1
+ module SimpleAddress
2
+ class AddressesController < ApplicationController
3
+ before_action :set_address, only: [:show, :edit, :update]
4
+
5
+ def show
6
+ end
7
+
8
+ def new
9
+ @address = Address.new
10
+ end
11
+
12
+ def create
13
+ @address = Address.create(address_params)
14
+ respond_to do |format|
15
+ format.html { redirect_to @address }
16
+ format.json { render json: { address_id: @address.id } }
17
+ end
18
+ end
19
+
20
+ def edit
21
+ end
22
+
23
+ def update
24
+ @address.update(address_params)
25
+ respond_to do |format|
26
+ format.html { redirect_to @address }
27
+ format.json { render json: { address_id: @address.id } }
28
+ end
29
+ end
30
+
31
+ private
32
+
33
+ def set_address
34
+ @address = Address.find(params[:id])
35
+ end
36
+
37
+ def address_params
38
+ params.require(:simple_address_address).permit(
39
+ :city_name,
40
+ :country_id,
41
+ :number,
42
+ :region_name,
43
+ :street_name,
44
+ :zipcode
45
+ )
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,9 @@
1
+ module SimpleAddress
2
+ class CitiesController < ApplicationController
3
+
4
+ def index
5
+ @cities = City.search(params)
6
+ render json: @cities.as_json(only: [:id, :name])
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,8 @@
1
+ module SimpleAddress
2
+ class CountriesController < ApplicationController
3
+ # GET /countries
4
+ def index
5
+ @countries = Country.all
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ module SimpleAddress
2
+ class RegionsController < ApplicationController
3
+ def index
4
+ @regions = Region.search(params)
5
+ render json: @regions.as_json(only: [:id, :name])
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ module SimpleAddress
2
+ class StreetsController < ApplicationController
3
+ def index
4
+ @streets = Street.search(params)
5
+ render json: @streets.as_json(only: [:id, :name])
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,25 @@
1
+ module AddressesHelper
2
+ def address_form(address, options = {})
3
+ render partial: 'simple_address/addresses/form',
4
+ locals: {
5
+ address: address,
6
+ path: address_path(address, options),
7
+ countries: SimpleAddress::Country.all.map { |c| [c.name, c.id] },
8
+ form_class: options[:form_class] || 'simple_address_form',
9
+ label_class: options[:label_class] || 'simple_address_label',
10
+ field_class: options[:field_class] || 'simple_address_field',
11
+ data: options[:data] || {}
12
+ }
13
+ end
14
+
15
+ private
16
+
17
+ def address_path(address, options)
18
+ format = options[:format]
19
+ if address.new_record?
20
+ simple_address_addresses_path(format: format)
21
+ else
22
+ simple_address_address_path(address, format: format)
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,71 @@
1
+ module SimpleAddress
2
+ class Address < ActiveRecord::Base
3
+ belongs_to :street
4
+
5
+ def city_name
6
+ value_of :city_name
7
+ end
8
+
9
+ def city_name=(value)
10
+ set_street city_name: value
11
+ end
12
+
13
+ def country_id=(value)
14
+ set_street country_id: value
15
+ end
16
+
17
+ def country_id
18
+ value_of :country_id
19
+ end
20
+
21
+ def country_name
22
+ value_of :country_name
23
+ end
24
+
25
+ def region_name
26
+ value_of :region_name
27
+ end
28
+
29
+ def region_name=(value)
30
+ set_street region_name: value
31
+ end
32
+
33
+ def street_name
34
+ value_of :name
35
+ end
36
+
37
+ def street_name=(value)
38
+ if street
39
+ street.update(name: value)
40
+ else
41
+ self.street = Street.where(name: value).first_or_create
42
+ end
43
+ end
44
+
45
+ def to_s
46
+ I18n.t(
47
+ '.simple_address.address.formats.default',
48
+ country_name: country_name,
49
+ region_name: region_name,
50
+ city_name: city_name,
51
+ street_name: street_name,
52
+ number: number,
53
+ zipcode: zipcode
54
+ )
55
+ end
56
+
57
+ private
58
+
59
+ def value_of(field)
60
+ street.send(field.to_sym) if street
61
+ end
62
+
63
+ def set_street(params)
64
+ if street
65
+ street.update(params)
66
+ else
67
+ self.street = Street.create(params)
68
+ end
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,47 @@
1
+ module SimpleAddress
2
+ class City < ActiveRecord::Base
3
+ belongs_to :region
4
+
5
+ has_many :streets
6
+
7
+ def self.search(params)
8
+ where(region_id: params[:region_id]).where(
9
+ 'name LIKE ?', "#{params[:name]}%"
10
+ )
11
+ end
12
+
13
+ def country_id=(value)
14
+ if region
15
+ region.update(country_id: value)
16
+ else
17
+ self.region = Region.create(country_id: value)
18
+ end
19
+ end
20
+
21
+ def country_id
22
+ region.country_id if region
23
+ end
24
+
25
+ def country_name
26
+ value_of :country_name
27
+ end
28
+
29
+ def region_name
30
+ value_of :name
31
+ end
32
+
33
+ def region_name=(value)
34
+ if region
35
+ region.update(name: value)
36
+ else
37
+ self.region = Region.where(name: value).first_or_create
38
+ end
39
+ end
40
+
41
+ private
42
+
43
+ def value_of(field)
44
+ region.send(field.to_sym) if region
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,5 @@
1
+ module SimpleAddress
2
+ class Country < ActiveRecord::Base
3
+ has_many :regions
4
+ end
5
+ end
@@ -0,0 +1,17 @@
1
+ module SimpleAddress
2
+ class Region < ActiveRecord::Base
3
+ belongs_to :country
4
+
5
+ has_many :cities
6
+
7
+ def self.search(params)
8
+ where(country_id: params[:country_id]).where(
9
+ 'name LIKE ?', "#{params[:name]}%"
10
+ )
11
+ end
12
+
13
+ def country_name
14
+ country.name if country
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,59 @@
1
+ module SimpleAddress
2
+ class Street < ActiveRecord::Base
3
+ belongs_to :city
4
+
5
+ has_many :addresses
6
+
7
+ def self.search(params)
8
+ where(city_id: params[:city_id]).where(
9
+ 'name LIKE ?', "#{params[:name]}%"
10
+ )
11
+ end
12
+
13
+ def city_name
14
+ value_of :name
15
+ end
16
+
17
+ def city_name=(value)
18
+ if city
19
+ city.update(name: value)
20
+ else
21
+ self.city = City.where(name: value).first_or_create
22
+ end
23
+ end
24
+
25
+ def country_id=(value)
26
+ set_city country_id: value
27
+ end
28
+
29
+ def country_id
30
+ value_of :country_id
31
+ end
32
+
33
+ def country_name
34
+ value_of :country_name
35
+ end
36
+
37
+ def region_name
38
+ value_of :region_name
39
+ end
40
+
41
+ def region_name=(value)
42
+ set_city region_name: value
43
+ end
44
+
45
+ private
46
+
47
+ def value_of(field)
48
+ city.send(field.to_sym) if city
49
+ end
50
+
51
+ def set_city(params)
52
+ if city
53
+ city.update(params)
54
+ else
55
+ self.city = City.create(params)
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,51 @@
1
+ <%= form_for address,
2
+ url: path,
3
+ html: { class: form_class } do |f|
4
+ %>
5
+ <div class='field'>
6
+ <%= f.label :country, class: label_class %>
7
+ <%= f.select :country_id,
8
+ countries,
9
+ class: field_class
10
+ %>
11
+ </div>
12
+
13
+ <div class='field'>
14
+ <%= f.label :region, class: label_class %>
15
+ <%= f.text_field :region_name,
16
+ data: { path: simple_address_regions_path },
17
+ class: field_class
18
+ %>
19
+ <%= hidden_field_tag :simple_address_region_id %>
20
+ </div>
21
+
22
+ <div class='field'>
23
+ <%= f.label :city, class: label_class %>
24
+ <%= f.text_field :city_name,
25
+ data: { path: simple_address_cities_path },
26
+ class: field_class
27
+ %>
28
+ <%= hidden_field_tag :simple_address_city_id %>
29
+ </div>
30
+
31
+ <div class='field'>
32
+ <%= f.label :street, class: label_class %>
33
+ <%= f.text_field :street_name,
34
+ data: { path: simple_address_streets_path },
35
+ class: field_class
36
+ %>
37
+ <%= hidden_field_tag :simple_address_street_id %>
38
+ </div>
39
+
40
+ <div class='field'>
41
+ <%= f.label :number, class: label_class %>
42
+ <%= f.text_field :number, class: field_class %>
43
+ </div>
44
+
45
+ <div class='field'>
46
+ <%= f.label :zipcode, class: label_class %>
47
+ <%= f.text_field :zipcode, class: field_class %>
48
+ </div>
49
+
50
+ <%= f.submit class: 'submit' %>
51
+ <% end %>
@@ -0,0 +1 @@
1
+ <%= address_form @address, format: :html %>
@@ -0,0 +1 @@
1
+ <%= address_form @address, format: :html %>
@@ -0,0 +1,11 @@
1
+ <%= @address.country_name %>
2
+ <br>
3
+ <%= @address.region_name %>
4
+ <br>
5
+ <%= @address.city_name %>
6
+ <br>
7
+ <%= @address.street_name %>
8
+ <br>
9
+ <%= @address.number %>
10
+ <br>
11
+ <%= @address.zipcode %>
@@ -0,0 +1,23 @@
1
+ <h1>Listing countries</h1>
2
+
3
+ <table>
4
+ <thead>
5
+ <tr>
6
+ <th>Iso2 code</th>
7
+ <th>Iso3 code</th>
8
+ <th>Name</th>
9
+ <th>Numeric code</th>
10
+ </tr>
11
+ </thead>
12
+
13
+ <tbody>
14
+ <% @countries.each do |country| %>
15
+ <tr>
16
+ <td><%= country.iso2_code %></td>
17
+ <td><%= country.iso3_code %></td>
18
+ <td><%= country.name %></td>
19
+ <td><%= country.numeric_code %></td>
20
+ </tr>
21
+ <% end %>
22
+ </tbody>
23
+ </table>
@@ -0,0 +1,5 @@
1
+ en-GB:
2
+ simple_address:
3
+ address:
4
+ formats:
5
+ default: "%{number} %{street_name}\n%{city_name}\n%{zipcode}\n%{country_name}"
@@ -0,0 +1,5 @@
1
+ en-US:
2
+ simple_address:
3
+ address:
4
+ formats:
5
+ default: "%{number} %{street_name}\n%{city_name} %{region_name} %{zipcode}\n%{country_name}"
@@ -0,0 +1,5 @@
1
+ en:
2
+ simple_address:
3
+ address:
4
+ formats:
5
+ default: "%{number} %{street_name}\n%{city_name}\n%{zipcode}\n%{country_name}"
@@ -0,0 +1,5 @@
1
+ pl:
2
+ simple_address:
3
+ address:
4
+ formats:
5
+ default: "ul. %{street_name} %{number}\n%{zipcode} %{city_name}\n%{country_name}"
data/config/routes.rb ADDED
@@ -0,0 +1,9 @@
1
+ Rails.application.routes.draw do
2
+ namespace :simple_address, path: 'simple-address' do
3
+ resources :countries, only: [:index]
4
+ resources :regions, only: [:index]
5
+ resources :cities, only: [:index]
6
+ resources :streets, only: [:index]
7
+ resources :addresses, only: [:new, :edit, :show, :create, :update]
8
+ end
9
+ end
@@ -0,0 +1,47 @@
1
+ class CreateSimpleAddress < ActiveRecord::Migration
2
+ def change
3
+ create_table :countries do |t|
4
+ t.string :iso2_code
5
+ t.string :iso3_code
6
+ t.string :name
7
+ t.string :numeric_code
8
+
9
+ t.timestamps
10
+ end
11
+
12
+ create_table :regions do |t|
13
+ t.string :iso_code
14
+ t.string :name
15
+ t.references :country, index: true
16
+ t.boolean :verified
17
+
18
+ t.timestamps
19
+ end
20
+
21
+ create_table :cities do |t|
22
+ t.string :name
23
+ t.references :region, index: true
24
+ t.boolean :verified
25
+
26
+ t.timestamps
27
+ end
28
+
29
+ create_table :streets do |t|
30
+ t.string :name
31
+ t.references :city, index: true
32
+ t.boolean :verified
33
+
34
+ t.timestamps
35
+ end
36
+
37
+ create_table :addresses do |t|
38
+ t.string :name
39
+ t.string :number
40
+ t.references :street, index: true
41
+ t.boolean :verified
42
+ t.string :zipcode
43
+
44
+ t.timestamps
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,4 @@
1
+ module SimpleAddress
2
+ class Engine < ::Rails::Engine
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ module SimpleAddress
2
+ VERSION = '1.0.0'
3
+ end
@@ -0,0 +1,5 @@
1
+ require 'simple_address/engine'
2
+ require 'simple_address/version'
3
+
4
+ module SimpleAddress
5
+ end
metadata ADDED
@@ -0,0 +1,199 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: simple_address
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Agnieszka Matysek
8
+ - Aleksander Malaszkiewicz
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2015-06-30 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '4.2'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '4.2'
28
+ - !ruby/object:Gem::Dependency
29
+ name: coffee-rails
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '4.1'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '4.1'
42
+ - !ruby/object:Gem::Dependency
43
+ name: rails-i18n
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '4.0'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '4.0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: sqlite3
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '1.3'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '1.3'
70
+ - !ruby/object:Gem::Dependency
71
+ name: rspec-rails
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '3.1'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '3.1'
84
+ - !ruby/object:Gem::Dependency
85
+ name: selenium-webdriver
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '2.0'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '2.0'
98
+ - !ruby/object:Gem::Dependency
99
+ name: capybara-webkit
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: '1.6'
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: '1.6'
112
+ - !ruby/object:Gem::Dependency
113
+ name: capybara
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - "~>"
117
+ - !ruby/object:Gem::Version
118
+ version: '2.4'
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - "~>"
124
+ - !ruby/object:Gem::Version
125
+ version: '2.4'
126
+ - !ruby/object:Gem::Dependency
127
+ name: database_cleaner
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - "<"
131
+ - !ruby/object:Gem::Version
132
+ version: 1.1.0
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - "<"
138
+ - !ruby/object:Gem::Version
139
+ version: 1.1.0
140
+ description:
141
+ email:
142
+ - info@fractalsoft.org
143
+ executables: []
144
+ extensions: []
145
+ extra_rdoc_files: []
146
+ files:
147
+ - MIT-LICENSE
148
+ - Rakefile
149
+ - app/assets/javascripts/simple_address/autocomplete.js.coffee
150
+ - app/assets/javascripts/simple_address/index.js
151
+ - app/controllers/simple_address/addresses_controller.rb
152
+ - app/controllers/simple_address/cities_controller.rb
153
+ - app/controllers/simple_address/countries_controller.rb
154
+ - app/controllers/simple_address/regions_controller.rb
155
+ - app/controllers/simple_address/streets_controller.rb
156
+ - app/helpers/addresses_helper.rb
157
+ - app/models/simple_address/address.rb
158
+ - app/models/simple_address/city.rb
159
+ - app/models/simple_address/country.rb
160
+ - app/models/simple_address/region.rb
161
+ - app/models/simple_address/street.rb
162
+ - app/views/simple_address/addresses/_form.html.erb
163
+ - app/views/simple_address/addresses/edit.html.erb
164
+ - app/views/simple_address/addresses/new.html.erb
165
+ - app/views/simple_address/addresses/show.html.erb
166
+ - app/views/simple_address/countries/index.html.erb
167
+ - config/locales/en-GB.yml
168
+ - config/locales/en-US.yml
169
+ - config/locales/en.yml
170
+ - config/locales/pl.yml
171
+ - config/routes.rb
172
+ - db/migrate/20130923133203_create_simple_address.rb
173
+ - lib/simple_address.rb
174
+ - lib/simple_address/engine.rb
175
+ - lib/simple_address/version.rb
176
+ homepage: ''
177
+ licenses: []
178
+ metadata: {}
179
+ post_install_message:
180
+ rdoc_options: []
181
+ require_paths:
182
+ - lib
183
+ required_ruby_version: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ required_rubygems_version: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
193
+ requirements: []
194
+ rubyforge_project:
195
+ rubygems_version: 2.4.7
196
+ signing_key:
197
+ specification_version: 4
198
+ summary: Simple Address.
199
+ test_files: []