schema_comments 0.2.0.alpha5 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile DELETED
@@ -1,44 +0,0 @@
1
- # encoding: utf-8
2
-
3
- require 'rubygems'
4
- require 'bundler'
5
- begin
6
- Bundler.setup(:default, :development)
7
- rescue Bundler::BundlerError => e
8
- $stderr.puts e.message
9
- $stderr.puts "Run `bundle install` to install missing gems"
10
- exit e.status_code
11
- end
12
- require 'rake'
13
-
14
- require 'jeweler'
15
- Jeweler::Tasks.new do |gem|
16
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
- gem.name = "schema_comments"
18
- gem.homepage = "http://github.com/akm/schema_comments"
19
- gem.license = "Ruby License"
20
- gem.summary = "schema_comments generates extra methods dynamically"
21
- gem.description = "schema_comments generates extra methods dynamically for attribute which has options"
22
- gem.email = "akm2000@gmail.com"
23
- gem.authors = ["akimatter"]
24
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
25
- gem.test_files = Dir.glob('spec/**/*.rb') + Dir.glob('spec/**/*.yml')
26
- # dependencies defined in Gemfile
27
- end
28
- Jeweler::RubygemsDotOrgTasks.new
29
-
30
- require 'rspec/core'
31
- require 'rspec/core/rake_task'
32
- RSpec::Core::RakeTask.new(:spec) do |spec|
33
- spec.pattern = FileList['spec/**/*_spec.rb']
34
- end
35
-
36
- RSpec::Core::RakeTask.new(:rcov) do |spec|
37
- spec.pattern = 'spec/**/*_spec.rb'
38
- spec.rcov = true
39
- end
40
-
41
- task :default => :spec
42
-
43
- require 'yard'
44
- YARD::Rake::YardocTask.new
@@ -1,120 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = "schema_comments"
8
- s.version = "0.2.0.alpha5"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["akimatter"]
12
- s.date = "2012-04-18"
13
- s.description = "schema_comments generates extra methods dynamically for attribute which has options"
14
- s.email = "akm2000@gmail.com"
15
- s.extra_rdoc_files = [
16
- "LICENSE.txt",
17
- "README.rdoc"
18
- ]
19
- s.files = [
20
- ".rspec",
21
- "Gemfile",
22
- "Gemfile.lock",
23
- "LICENSE.txt",
24
- "README.rdoc",
25
- "Rakefile",
26
- "VERSION",
27
- "init.rb",
28
- "lib/annotate_models.rb",
29
- "lib/hash_key_orderable.rb",
30
- "lib/schema_comments.rb",
31
- "lib/schema_comments/base.rb",
32
- "lib/schema_comments/connection_adapters.rb",
33
- "lib/schema_comments/migration.rb",
34
- "lib/schema_comments/migrator.rb",
35
- "lib/schema_comments/schema.rb",
36
- "lib/schema_comments/schema_comment.rb",
37
- "lib/schema_comments/schema_dumper.rb",
38
- "lib/schema_comments/task.rb",
39
- "schema_comments.gemspec",
40
- "spec/.gitignore",
41
- "spec/annotate_models_spec.rb",
42
- "spec/database.yml",
43
- "spec/fake_app.rb",
44
- "spec/fixtures/.gitignore",
45
- "spec/hash_key_orderable_spec.rb",
46
- "spec/i18n_export_spec.rb",
47
- "spec/migration_spec.rb",
48
- "spec/migrations/valid/001_create_products.rb",
49
- "spec/migrations/valid/002_rename_products.rb",
50
- "spec/migrations/valid/003_rename_products_again.rb",
51
- "spec/migrations/valid/004_remove_price.rb",
52
- "spec/migrations/valid/005_change_products_name.rb",
53
- "spec/migrations/valid/006_change_products_name_with_comment.rb",
54
- "spec/migrations/valid/007_change_comments.rb",
55
- "spec/migrations/valid/008_create_users_without_comment.rb",
56
- "spec/rcov.opts",
57
- "spec/resources/models/product.rb",
58
- "spec/resources/models/product_name.rb",
59
- "spec/schema.rb",
60
- "spec/schema_comments/.gitignore",
61
- "spec/schema_comments/connection_adapters_spec.rb",
62
- "spec/schema_comments/schema_comment_spec.rb",
63
- "spec/schema_comments/schema_comments_broken_column_comments.yml",
64
- "spec/schema_comments/schema_comments_broken_column_hash.yml",
65
- "spec/schema_comments/schema_comments_broken_table_comments.yml",
66
- "spec/schema_comments/schema_comments_users_without_column_hash.yml",
67
- "spec/schema_comments/schema_dumper_spec.rb",
68
- "spec/spec.opts",
69
- "spec/spec_helper.rb",
70
- "spec/yaml_export_spec.rb",
71
- "tasks/annotate_models_tasks.rake",
72
- "tasks/schema_comments.rake"
73
- ]
74
- s.homepage = "http://github.com/akm/schema_comments"
75
- s.licenses = ["Ruby License"]
76
- s.require_paths = ["lib"]
77
- s.rubygems_version = "1.8.15"
78
- s.summary = "schema_comments generates extra methods dynamically"
79
- s.test_files = ["spec/annotate_models_spec.rb", "spec/fake_app.rb", "spec/hash_key_orderable_spec.rb", "spec/i18n_export_spec.rb", "spec/migration_spec.rb", "spec/migrations/valid/001_create_products.rb", "spec/migrations/valid/002_rename_products.rb", "spec/migrations/valid/003_rename_products_again.rb", "spec/migrations/valid/004_remove_price.rb", "spec/migrations/valid/005_change_products_name.rb", "spec/migrations/valid/006_change_products_name_with_comment.rb", "spec/migrations/valid/007_change_comments.rb", "spec/migrations/valid/008_create_users_without_comment.rb", "spec/resources/models/product.rb", "spec/resources/models/product_name.rb", "spec/schema.rb", "spec/schema_comments/connection_adapters_spec.rb", "spec/schema_comments/schema_comment_spec.rb", "spec/schema_comments/schema_dumper_spec.rb", "spec/spec_helper.rb", "spec/yaml_export_spec.rb", "spec/database.yml", "spec/human_readable_schema_comments.yml", "spec/schema_comments/schema_comments.yml", "spec/schema_comments/schema_comments_broken_column_comments.yml", "spec/schema_comments/schema_comments_broken_column_hash.yml", "spec/schema_comments/schema_comments_broken_table_comments.yml", "spec/schema_comments/schema_comments_users_without_column_hash.yml", "spec/schema_comments.yml"]
80
-
81
- if s.respond_to? :specification_version then
82
- s.specification_version = 3
83
-
84
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
85
- s.add_runtime_dependency(%q<activesupport>, [">= 3.0.0"])
86
- s.add_runtime_dependency(%q<activerecord>, [">= 3.0.0"])
87
- s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
88
- s.add_development_dependency(%q<rspec-rails>, ["~> 2.8.1"])
89
- s.add_development_dependency(%q<yard>, ["~> 0.7"])
90
- s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
91
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
92
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
93
- s.add_development_dependency(%q<simplecov>, [">= 0"])
94
- s.add_development_dependency(%q<ZenTest>, [">= 0"])
95
- else
96
- s.add_dependency(%q<activesupport>, [">= 3.0.0"])
97
- s.add_dependency(%q<activerecord>, [">= 3.0.0"])
98
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
99
- s.add_dependency(%q<rspec-rails>, ["~> 2.8.1"])
100
- s.add_dependency(%q<yard>, ["~> 0.7"])
101
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
102
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
103
- s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
104
- s.add_dependency(%q<simplecov>, [">= 0"])
105
- s.add_dependency(%q<ZenTest>, [">= 0"])
106
- end
107
- else
108
- s.add_dependency(%q<activesupport>, [">= 3.0.0"])
109
- s.add_dependency(%q<activerecord>, [">= 3.0.0"])
110
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
111
- s.add_dependency(%q<rspec-rails>, ["~> 2.8.1"])
112
- s.add_dependency(%q<yard>, ["~> 0.7"])
113
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
114
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
115
- s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
116
- s.add_dependency(%q<simplecov>, [">= 0"])
117
- s.add_dependency(%q<ZenTest>, [">= 0"])
118
- end
119
- end
120
-
data/spec/.gitignore DELETED
@@ -1,3 +0,0 @@
1
- /human_readable_schema_comments.yml
2
- /schema_comments.yml
3
- /schema_comments_test.sqlite3.db
File without changes
data/spec/rcov.opts DELETED
@@ -1 +0,0 @@
1
- --exclude "spec/*,gems/*"
@@ -1,2 +0,0 @@
1
- /human_readable_schema_comments.yml
2
- /schema_comments.yml
data/spec/spec.opts DELETED
@@ -1,6 +0,0 @@
1
- --colour
2
- --format
3
- progress
4
- --loadby
5
- mtime
6
- --reverse