Fixed some offenses (#423)
Fixed some offenses
Showing
source 'https://rubygems.org' | source 'https://rubygems.org' | ||
gem 'rake', require: false | |||
gem 'activerecord', '>= 4.2.5', require: false | gem 'activerecord', '>= 4.2.5', require: false | ||
gem 'rake', require: false | |||
group :development do | group :development do | ||
gem 'mg', require: false | |||
gem 'bump' | gem 'bump' | ||
gem 'mg', require: false | |||
platforms :mri, :mingw do | platforms :mri, :mingw do | ||
gem 'yard', require: false | gem 'yard', require: false | ||
end | end | ||
... | @@ -13,13 +13,16 @@ end | ... | @@ -13,13 +13,16 @@ end |
group :development, :test do | group :development, :test do | ||
gem 'byebug' | gem 'byebug' | ||
gem 'rspec', require: false | |||
gem 'guard-rspec', require: false | gem 'guard-rspec', require: false | ||
gem 'terminal-notifier-guard', require: false | gem 'rspec', require: false | ||
gem 'simplecov', require: false | |||
gem 'rubocop', '~> 0.46.0', require: false unless RUBY_VERSION =~ /^1.8/ | gem 'rubocop', '~> 0.46.0', require: false unless RUBY_VERSION =~ /^1.8/ | ||
gem 'coveralls' | gem 'simplecov', require: false | ||
gem 'terminal-notifier-guard', require: false | |||
gem 'codeclimate-test-reporter' | gem 'codeclimate-test-reporter' | ||
gem 'coveralls' | |||
gem 'ruby_dep', '1.3.1' | gem 'ruby_dep', '1.3.1' | ||
platforms :mri, :mingw do | platforms :mri, :mingw do | ||
... | @@ -29,6 +32,6 @@ group :development, :test do | ... | @@ -29,6 +32,6 @@ group :development, :test do |
end | end | ||
group :test do | group :test do | ||
gem 'wrong', require: false | |||
gem 'files', require: false | gem 'files', require: false | ||
gem 'wrong', require: false | |||
end | end |
... | @@ -4,36 +4,36 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ... | @@ -4,36 +4,36 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) |
require 'annotate/version' | require 'annotate/version' | ||
Gem::Specification.new do |s| | Gem::Specification.new do |s| | ||
s.name = "annotate" | s.name = 'annotate' | ||
s.version = Annotate.version | s.version = Annotate.version | ||
s.required_ruby_version = '>= 1.9.3' | s.required_ruby_version = '>= 1.9.3' | ||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version= | ||
s.authors = ["Alex Chaffee", "Cuong Tran", "Marcos Piccinini", "Turadg Aleahmad", "Jon Frisby"] | s.authors = ['Alex Chaffee', 'Cuong Tran', 'Marcos Piccinini', 'Turadg Aleahmad', 'Jon Frisby'] | ||
s.description = "Annotates Rails/ActiveRecord Models, routes, fixtures, and others based on the database schema." | s.description = 'Annotates Rails/ActiveRecord Models, routes, fixtures, and others based on the database schema.' | ||
s.email = ["alex@stinky.com", "cuong.tran@gmail.com", "x@nofxx.com", "turadg@aleahmad.net", "jon@cloudability.com"] | s.email = ['alex@stinky.com', 'cuong.tran@gmail.com', 'x@nofxx.com', 'turadg@aleahmad.net', 'jon@cloudability.com'] | ||
s.executables = ["annotate"] | s.executables = ['annotate'] | ||
s.extra_rdoc_files = ["README.rdoc", "CHANGELOG.rdoc", "TODO.rdoc"] | s.extra_rdoc_files = ['README.rdoc', 'CHANGELOG.rdoc', 'TODO.rdoc'] | ||
s.files = ["AUTHORS.rdoc", "CHANGELOG.rdoc", "LICENSE.txt", "README.rdoc", "TODO.rdoc", "annotate.gemspec", "bin/annotate", "lib/annotate.rb", "lib/annotate/active_record_patch.rb", "lib/annotate/annotate_models.rb", "lib/annotate/annotate_routes.rb", "lib/annotate/tasks.rb", "lib/annotate/version.rb", "lib/generators/annotate/USAGE", "lib/generators/annotate/install_generator.rb", "lib/generators/annotate/templates/auto_annotate_models.rake", "lib/tasks/annotate_models.rake", "lib/tasks/annotate_routes.rake", "lib/tasks/migrate.rake"] | s.files = ['AUTHORS.rdoc', 'CHANGELOG.rdoc', 'LICENSE.txt', 'README.rdoc', 'TODO.rdoc', 'annotate.gemspec', 'bin/annotate', 'lib/annotate.rb', 'lib/annotate/active_record_patch.rb', 'lib/annotate/annotate_models.rb', 'lib/annotate/annotate_routes.rb', 'lib/annotate/tasks.rb', 'lib/annotate/version.rb', 'lib/generators/annotate/USAGE', 'lib/generators/annotate/install_generator.rb', 'lib/generators/annotate/templates/auto_annotate_models.rake', 'lib/tasks/annotate_models.rake', 'lib/tasks/annotate_routes.rake', 'lib/tasks/migrate.rake'] | ||
s.homepage = "http://github.com/ctran/annotate_models" | s.homepage = 'http://github.com/ctran/annotate_models' | ||
s.licenses = ["Ruby"] | s.licenses = ['Ruby'] | ||
s.require_paths = ["lib"] | s.require_paths = ['lib'] | ||
s.rubyforge_project = "annotate" | s.rubyforge_project = 'annotate' | ||
s.rubygems_version = "2.1.11" | s.rubygems_version = '2.1.11' | ||
s.summary = "Annotates Rails Models, routes, fixtures, and others based on the database schema." | s.summary = 'Annotates Rails Models, routes, fixtures, and others based on the database schema.' | ||
if s.respond_to? :specification_version then | if s.respond_to? :specification_version | ||
s.specification_version = 4 | s.specification_version = 4 | ||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then | if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') | ||
s.add_runtime_dependency(%q<rake>, [">= 10.4", "< 12.1"]) | s.add_runtime_dependency(%q<rake>, ['>= 10.4', '< 12.1']) | ||
s.add_runtime_dependency(%q<activerecord>, [">= 3.2", "< 6.0"]) | s.add_runtime_dependency(%q<activerecord>, ['>= 3.2', '< 6.0']) | ||
else | else | ||
s.add_dependency(%q<rake>, [">= 10.4", "< 12.1"]) | s.add_dependency(%q<rake>, ['>= 10.4', '< 12.1']) | ||
s.add_dependency(%q<activerecord>, [">= 3.2", "< 6.0"]) | s.add_dependency(%q<activerecord>, ['>= 3.2', '< 6.0']) | ||
end | end | ||
else | else | ||
s.add_dependency(%q<rake>, [">= 0.8.7"]) | s.add_dependency(%q<rake>, ['>= 0.8.7']) | ||
s.add_dependency(%q<activerecord>, [">= 3.2", "< 6.0"]) | s.add_dependency(%q<activerecord>, ['>= 3.2', '< 6.0']) | ||
end | end | ||
end | end |
Please
register
or
sign in
to comment