ajax-datatables-rails.gemspec in ajax-datatables-rails-0.3.1 vs ajax-datatables-rails.gemspec in ajax-datatables-rails-0.4.0
- old
+ new
@@ -1,30 +1,37 @@
-# -*- encoding: utf-8 -*-
-lib = File.expand_path('../lib', __FILE__)
-$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+# coding: utf-8
+$:.push File.expand_path('../lib', __FILE__)
require 'ajax-datatables-rails/version'
-Gem::Specification.new do |gem|
- gem.name = "ajax-datatables-rails"
- gem.version = AjaxDatatablesRails::VERSION
- gem.authors = ["Joel Quenneville"]
- gem.email = ["joel.quenneville@collegeplus.org"]
- gem.description = %q{A gem that simplifies using datatables and hundreds of records via ajax}
- gem.summary = %q{A wrapper around datatable's ajax methods that allow synchronization with server-side pagination in a rails app}
- gem.homepage = ""
- gem.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
+Gem::Specification.new do |s|
+ s.name = 'ajax-datatables-rails'
+ s.version = AjaxDatatablesRails::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.authors = ['Joel Quenneville', 'Antonio Antillon']
+ s.email = ['joel.quenneville@collegeplus.org', 'antillas21@gmail.com']
+ s.homepage = 'https://github.com/jbox-web/ajax-datatables-rails'
+ s.summary = %q{A gem that simplifies using datatables and hundreds of records via ajax}
+ s.description = %q{A wrapper around datatable's ajax methods that allow synchronization with server-side pagination in a rails app}
+ s.license = 'MIT'
- gem.files = Dir["{lib,spec}/**/*", "[A-Z]*"] - ["Gemfile.lock"]
- gem.executables = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
- gem.require_path = "lib"
+ s.add_dependency 'railties', '>= 4.0'
- gem.add_dependency 'railties', '>= 3.1'
+ s.add_development_dependency 'rails', '>= 4.0'
+ s.add_development_dependency 'rake'
+ s.add_development_dependency 'pg'
+ s.add_development_dependency 'mysql2'
+ s.add_development_dependency 'sqlite3'
+ s.add_development_dependency 'activerecord-oracle_enhanced-adapter'
+ s.add_development_dependency 'rspec'
+ s.add_development_dependency 'generator_spec'
+ s.add_development_dependency 'pry'
+ s.add_development_dependency 'simplecov'
+ s.add_development_dependency 'database_cleaner'
+ s.add_development_dependency 'factory_girl'
+ s.add_development_dependency 'faker'
+ s.add_development_dependency 'appraisal'
- gem.add_development_dependency "rspec"
- gem.add_development_dependency "generator_spec"
- gem.add_development_dependency "pry"
- gem.add_development_dependency "rake"
- gem.add_development_dependency "sqlite3"
- gem.add_development_dependency "rails", ">= 3.1.0"
- gem.add_development_dependency "activerecord", ">= 4.1.6"
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ['lib']
end