forked from take-five/activerecord-hierarchical_query
-
Notifications
You must be signed in to change notification settings - Fork 0
/
activerecord-hierarchical_query.gemspec
27 lines (23 loc) · 1.19 KB
/
activerecord-hierarchical_query.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'active_record/hierarchical_query/version'
Gem::Specification.new do |spec|
spec.name = 'activerecord-hierarchical_query'
spec.version = ActiveRecord::HierarchicalQuery::VERSION
spec.authors = ['Alexei Mikhailov']
spec.email = %w([email protected])
spec.summary = %q{Recursively traverse trees using a single SQL query}
spec.homepage = 'https://github.com/take-five/activerecord-hierarchical_query'
spec.license = 'MIT'
spec.files = `git ls-files -z {lib,bin,spec}`.split("\x0") + %w(README.md LICENSE.txt)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = %w(lib)
spec.add_dependency 'activerecord', '>= 3.1.0'
spec.add_development_dependency 'bundler', '~> 1.5'
spec.add_development_dependency 'rake', '~> 10.4.2'
spec.add_development_dependency 'rspec', '~> 3.1.0'
spec.add_development_dependency 'database_cleaner', '~> 1.3.0'
spec.add_development_dependency 'simplecov', '~> 0.9.1'
end