model_mill 0.1.0 → 0.1.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.rdoc → README.md} +4 -4
- data/VERSION +1 -1
- data/lib/generators/model_mill/models/models_generator.rb +1 -0
- data/model_mill.gemspec +3 -3
- metadata +5 -5
data/{README.rdoc → README.md}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
# Model Mill #
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## What it Does
|
|
4
4
|
|
|
5
5
|
This bad boy will crank out models based on tables in an existing database.
|
|
6
6
|
|
|
7
7
|
If you provide the namespace option, it will generate models in that namespace that inherit from a common base class. What's more, that base class will get it's connection information from the namespace name in database.yml. This means you can connect to both database at once to migrate data from one to the other.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
## Contributing to model_mill
|
|
10
10
|
|
|
11
11
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
|
12
12
|
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
|
|
@@ -16,7 +16,7 @@ If you provide the namespace option, it will generate models in that namespace t
|
|
|
16
16
|
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
|
17
17
|
* 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.
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
## Copyright
|
|
20
20
|
|
|
21
21
|
Copyright (c) 2011 Joe Martinez. See LICENSE.txt for
|
|
22
22
|
further details.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.1
|
data/model_mill.gemspec
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{model_mill}
|
|
8
|
-
s.version = "0.1.
|
|
8
|
+
s.version = "0.1.1"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Joe Martinez"]
|
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
|
14
14
|
s.email = %q{joe@joemartinez.name}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
16
16
|
"LICENSE.txt",
|
|
17
|
-
"README.
|
|
17
|
+
"README.md"
|
|
18
18
|
]
|
|
19
19
|
s.files = [
|
|
20
20
|
".document",
|
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
|
|
|
22
22
|
"Gemfile",
|
|
23
23
|
"Gemfile.lock",
|
|
24
24
|
"LICENSE.txt",
|
|
25
|
-
"README.
|
|
25
|
+
"README.md",
|
|
26
26
|
"Rakefile",
|
|
27
27
|
"VERSION",
|
|
28
28
|
"lib/generators/model_mill/models/models_generator.rb",
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: model_mill
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.1.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Joe Martinez
|
|
@@ -163,14 +163,14 @@ extensions: []
|
|
|
163
163
|
|
|
164
164
|
extra_rdoc_files:
|
|
165
165
|
- LICENSE.txt
|
|
166
|
-
- README.
|
|
166
|
+
- README.md
|
|
167
167
|
files:
|
|
168
168
|
- .document
|
|
169
169
|
- .rspec
|
|
170
170
|
- Gemfile
|
|
171
171
|
- Gemfile.lock
|
|
172
172
|
- LICENSE.txt
|
|
173
|
-
- README.
|
|
173
|
+
- README.md
|
|
174
174
|
- Rakefile
|
|
175
175
|
- VERSION
|
|
176
176
|
- lib/generators/model_mill/models/models_generator.rb
|