address_engine 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +13 -0
- data/VERSION +1 -1
- data/address_engine.gemspec +2 -2
- data/app/models/{configurable.rb → address.rb} +0 -0
- metadata +4 -4
data/README.md
CHANGED
@@ -2,6 +2,19 @@
|
|
2
2
|
|
3
3
|
An `Address` model for your Rails 3 apps. Fields inspired from Amazon.com:
|
4
4
|
|
5
|
+
# Installation #
|
6
|
+
|
7
|
+
Add `address_engine` to your `Gemfile`:
|
8
|
+
|
9
|
+
gem 'address_engine'
|
10
|
+
|
11
|
+
then run the generator to create your addresses table:
|
12
|
+
|
13
|
+
rails generate address_engine:install
|
14
|
+
rake db:migrate
|
15
|
+
|
16
|
+
Your'e done! You now have an `Address` model with some sensible validations and fields that will go a long long way:
|
17
|
+
|
5
18
|
create_table "addresses", :force => true do |t|
|
6
19
|
t.string "email"
|
7
20
|
t.string "firstname"
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/address_engine.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{address_engine}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Paul Campbell"]
|
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
|
|
25
25
|
"Rakefile",
|
26
26
|
"VERSION",
|
27
27
|
"address_engine.gemspec",
|
28
|
-
"app/models/
|
28
|
+
"app/models/address.rb",
|
29
29
|
"lib/address_engine.rb",
|
30
30
|
"lib/address_engine/engine.rb",
|
31
31
|
"lib/generators/address_engine/install_generator.rb",
|
File without changes
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: address_engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Paul Campbell
|
@@ -122,7 +122,7 @@ files:
|
|
122
122
|
- Rakefile
|
123
123
|
- VERSION
|
124
124
|
- address_engine.gemspec
|
125
|
-
- app/models/
|
125
|
+
- app/models/address.rb
|
126
126
|
- lib/address_engine.rb
|
127
127
|
- lib/address_engine/engine.rb
|
128
128
|
- lib/generators/address_engine/install_generator.rb
|