-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyper.gemspec
25 lines (22 loc) · 1.31 KB
/
pyper.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
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/pyper/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["boris"]
gem.email = ["\"[email protected]\""]
gem.description = %q{Ruby extension of Lispy #car/#cdr methods.}
gem.summary = %q{Methods car, cdr, caar, cadr, cdar, caaar, caadr, ... are well known from Lisp.
Here, 'a' means first element of a collection, 'd' means rest of the collection. Now, imagine that there
would also be 'b' and 'c', meaning 2nd and 3rd element, 'e', 'f', meaning rest minus first 2, resp. first
3 elements. Imagine that instead of starting 'c' and ending 'r', Greek letter τ would be used: τaτ, τdτ, ...
to distinguish Pyper methods in the namespace. Imagine more more letters for more methods, imagine that
these methods can have arity higher than 0, imagine double-barrel pipeline instead of just single-barrel,
and you are getting to the spirit of Pyper (and APL).}
gem.homepage = ""
gem.files = `git ls-files`.split($\)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = "pyper"
gem.require_paths = ["lib"]
gem.version = Pyper::VERSION
gem.add_development_dependency "shoulda"
end