-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmemoist2.gemspec
29 lines (23 loc) · 905 Bytes
/
memoist2.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'memoist2/version'
Gem::Specification.new do |s|
# Basic details
s.name = "memoist2"
s.version = Memoist2::VERSION
s.authors = ["Matthew Rudy Jacobs"]
s.email = ["matthewrudyjacobs@gmail.com"]
s.summary = "Really simple memoization for ruby 2.0"
s.homepage = "https://github.com/matthewrudy/memoist2"
s.license = "MIT"
# Only works with Ruby 2
s.required_ruby_version = '>= 2.0.0'
# Add any extra files to include in the gem
s.files = `git ls-files`.split
s.require_paths = ["lib"]
s.test_files = s.files.grep(%r{^(test|spec|features)/})
# Dependencies to run tests
s.add_development_dependency("rspec")
s.add_development_dependency("rake")
end