-
Notifications
You must be signed in to change notification settings - Fork 0
/
persistent_open_struct.gemspec
26 lines (23 loc) · 1.27 KB
/
persistent_open_struct.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'persistent_open_struct/version'
Gem::Specification.new do |spec|
spec.name = "persistent_open_struct"
spec.version = PersistentOpenStruct::VERSION
spec.authors = ["amcaplan"]
spec.email = ["[email protected]"]
spec.summary = %q{A variant of OpenStruct that persists defined methods}
spec.description = %q{Unlike OpenStruct, which defines singleton methods on an object, PersistentOpenStruct defines methods on the class. This is useful when storing many hashes with the same keys as OpenStructs.}
spec.homepage = "http://github.com/amcaplan/persistent_open_struct"
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.required_ruby_version = '>= 2.1.0'
spec.add_development_dependency "bundler", "~> 1.6"
spec.add_development_dependency 'rake', '~> 10.4', '>= 10.4.2'
spec.add_development_dependency 'minitest', '~> 5.4', '>= 5.4.3'
spec.add_development_dependency 'benchmark-ips', '~> 2.6'
end