conventional_models 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/.document DELETED
@@ -1,5 +0,0 @@
1
- README.rdoc
2
- lib/**/*.rb
3
- bin/*
4
- features/**/*.feature
5
- LICENSE
data/.gitignore DELETED
@@ -1,22 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC
22
- tmp
data/Rakefile DELETED
@@ -1,86 +0,0 @@
1
- require 'rubygems'
2
- require 'bundler'
3
- Bundler.setup
4
- require 'rake'
5
-
6
- begin
7
- require 'jeweler'
8
- Jeweler::Tasks.new do |gem|
9
- gem.name = "conventional_models"
10
- gem.description = %Q{Generate ActiveRecord models automatically with basic relationships based on conventions.}
11
- gem.summary = %Q{Generate ActiveRecord models. For lazy people.}
12
- gem.email = "steve@hodgkiss.me.uk"
13
- gem.homepage = "http://github.com/stevehodgkiss/conventional_models"
14
- gem.authors = ["Steve Hodgkiss"]
15
- gem.add_development_dependency "rspec", ">= 1.3.0"
16
- gem.add_development_dependency "cucumber", ">= 0.6.4"
17
- gem.add_development_dependency "aruba", ">= 0.1.7"
18
- gem.add_dependency "activerecord", ">= 2.3.5"
19
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
20
- end
21
- Jeweler::GemcutterTasks.new
22
- rescue LoadError
23
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
24
- end
25
-
26
- require 'spec/rake/spectask'
27
- Spec::Rake::SpecTask.new(:spec) do |spec|
28
- spec.libs << 'lib' << 'spec'
29
- spec.spec_files = FileList['spec/**/*_spec.rb']
30
- end
31
-
32
- Spec::Rake::SpecTask.new(:rcov) do |spec|
33
- spec.libs << 'lib' << 'spec'
34
- spec.pattern = 'spec/**/*_spec.rb'
35
- spec.rcov = true
36
- end
37
-
38
- task :spec => :check_dependencies
39
-
40
- begin
41
- require 'cucumber/rake/task'
42
- Cucumber::Rake::Task.new(:features)
43
-
44
- task :features => :check_dependencies
45
- rescue LoadError
46
- task :features do
47
- abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
48
- end
49
- end
50
-
51
- begin
52
- require 'reek/adapters/rake_task'
53
- Reek::RakeTask.new do |t|
54
- t.fail_on_error = true
55
- t.verbose = false
56
- t.source_files = 'lib/**/*.rb'
57
- end
58
- rescue LoadError
59
- task :reek do
60
- abort "Reek is not available. In order to run reek, you must: sudo gem install reek"
61
- end
62
- end
63
-
64
- begin
65
- require 'roodi'
66
- require 'roodi_task'
67
- RoodiTask.new do |t|
68
- t.verbose = false
69
- end
70
- rescue LoadError
71
- task :roodi do
72
- abort "Roodi is not available. In order to run roodi, you must: sudo gem install roodi"
73
- end
74
- end
75
-
76
- task :default => :spec
77
-
78
- require 'rake/rdoctask'
79
- Rake::RDocTask.new do |rdoc|
80
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
81
-
82
- rdoc.rdoc_dir = 'rdoc'
83
- rdoc.title = "conventional_models #{version}"
84
- rdoc.rdoc_files.include('README*')
85
- rdoc.rdoc_files.include('lib/**/*.rb')
86
- end
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.2.0
@@ -1,97 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{conventional_models}
8
- s.version = "0.2.0"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Steve Hodgkiss"]
12
- s.date = %q{2010-04-11}
13
- s.default_executable = %q{cmconsole}
14
- s.description = %q{Generate ActiveRecord models automatically with basic relationships based on conventions.}
15
- s.email = %q{steve@hodgkiss.me.uk}
16
- s.executables = ["cmconsole"]
17
- s.extra_rdoc_files = [
18
- "LICENSE",
19
- "README.rdoc"
20
- ]
21
- s.files = [
22
- ".document",
23
- ".gitignore",
24
- "Gemfile",
25
- "Gemfile.lock",
26
- "LICENSE",
27
- "README.rdoc",
28
- "Rakefile",
29
- "VERSION",
30
- "bin/cmconsole",
31
- "conventional_models.gemspec",
32
- "features/cmconsole.feature",
33
- "features/conventional_models.feature",
34
- "features/output_model_code.feature",
35
- "features/step_definitions/cmconsole_steps.rb",
36
- "features/step_definitions/conventional_models_steps.rb",
37
- "features/step_definitions/output_model_code_steps.rb",
38
- "features/support/env.rb",
39
- "lib/conventional_models.rb",
40
- "lib/conventional_models/active_record_base_model_for.rb",
41
- "lib/conventional_models/cli.rb",
42
- "lib/conventional_models/column.rb",
43
- "lib/conventional_models/conventions.rb",
44
- "lib/conventional_models/database.rb",
45
- "lib/conventional_models/option_parser.rb",
46
- "lib/conventional_models/options.rb",
47
- "lib/conventional_models/table.rb",
48
- "lib/conventional_models/version.rb",
49
- "spec/conventional_models/cli_spec.rb",
50
- "spec/conventional_models/conventions_spec.rb",
51
- "spec/conventional_models/database_spec.rb",
52
- "spec/conventional_models/option_parser_spec.rb",
53
- "spec/conventional_models/options_spec.rb",
54
- "spec/conventional_models/table_spec.rb",
55
- "spec/conventional_models_spec.rb",
56
- "spec/spec.opts",
57
- "spec/spec_helper.rb"
58
- ]
59
- s.homepage = %q{http://github.com/stevehodgkiss/conventional_models}
60
- s.rdoc_options = ["--charset=UTF-8"]
61
- s.require_paths = ["lib"]
62
- s.rubygems_version = %q{1.3.6}
63
- s.summary = %q{Generate ActiveRecord models. For lazy people.}
64
- s.test_files = [
65
- "spec/conventional_models/cli_spec.rb",
66
- "spec/conventional_models/conventions_spec.rb",
67
- "spec/conventional_models/database_spec.rb",
68
- "spec/conventional_models/option_parser_spec.rb",
69
- "spec/conventional_models/options_spec.rb",
70
- "spec/conventional_models/table_spec.rb",
71
- "spec/conventional_models_spec.rb",
72
- "spec/spec_helper.rb"
73
- ]
74
-
75
- if s.respond_to? :specification_version then
76
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
77
- s.specification_version = 3
78
-
79
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
80
- s.add_development_dependency(%q<rspec>, [">= 1.3.0"])
81
- s.add_development_dependency(%q<cucumber>, [">= 0.6.4"])
82
- s.add_development_dependency(%q<aruba>, [">= 0.1.7"])
83
- s.add_runtime_dependency(%q<activerecord>, [">= 2.3.5"])
84
- else
85
- s.add_dependency(%q<rspec>, [">= 1.3.0"])
86
- s.add_dependency(%q<cucumber>, [">= 0.6.4"])
87
- s.add_dependency(%q<aruba>, [">= 0.1.7"])
88
- s.add_dependency(%q<activerecord>, [">= 2.3.5"])
89
- end
90
- else
91
- s.add_dependency(%q<rspec>, [">= 1.3.0"])
92
- s.add_dependency(%q<cucumber>, [">= 0.6.4"])
93
- s.add_dependency(%q<aruba>, [">= 0.1.7"])
94
- s.add_dependency(%q<activerecord>, [">= 2.3.5"])
95
- end
96
- end
97
-
data/spec/spec.opts DELETED
@@ -1 +0,0 @@
1
- --color