model_mill 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,12 @@
1
- = model_mill
1
+ # Model Mill #
2
2
 
3
- == What it Does
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
- == Contributing to model_mill
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
- == Copyright
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.0
1
+ 0.1.1
@@ -4,6 +4,7 @@ module ModelMill
4
4
  source_root File.expand_path('../templates', __FILE__)
5
5
 
6
6
  argument :namespace, :type => :string, :required => false, :default => nil
7
+ argument :excludes, :type => :array, :required => false, :default => []
7
8
 
8
9
  def generate_models
9
10
  if namespace
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.0"
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.rdoc"
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.rdoc",
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: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
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.rdoc
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.rdoc
173
+ - README.md
174
174
  - Rakefile
175
175
  - VERSION
176
176
  - lib/generators/model_mill/models/models_generator.rb