forked from girishso/pluck_to_hash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pluck_to_hash.gemspec
30 lines (26 loc) · 1.26 KB
/
pluck_to_hash.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
28
29
30
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'pluck_to_hash/version'
Gem::Specification.new do |spec|
spec.name = "pluck_to_hash"
spec.version = PluckToHash::VERSION
spec.authors = ["Girish S"]
spec.email = ["[email protected]"]
spec.summary = %q{Extend ActiveRecord pluck to return hash}
spec.description = %q{Extend ActiveRecord pluck to return hash instead of an array. Useful when plucking multiple columns.}
spec.homepage = "https://github.com/girishso/pluck_to_hash"
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.7"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "sqlite3", "~> 1.3"
spec.add_development_dependency "pg", "~> 0.19.0"
spec.add_development_dependency "rspec", "~> 3.2"
spec.add_development_dependency "values", "~> 1.8"
spec.add_dependency "activerecord", ">= 4.0.2"
spec.add_dependency "activesupport", ">= 4.0.2"
end