-
-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathhashids.gemspec
More file actions
27 lines (24 loc) · 863 Bytes
/
hashids.gemspec
File metadata and controls
27 lines (24 loc) · 863 Bytes
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
# encoding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'hashids'
Gem::Specification.new do |gem|
gem.name = "hashids"
gem.version = Hashids::VERSION
gem.authors = ["Peter Hellberg"]
gem.email = ["peter@c7.se"]
gem.summary = %q{Generate YouTube-like hashes from one or many numbers.}
gem.description = %q{Use hashids when you do not want to expose your database ids to the user.}
gem.homepage = "https://github.com/peterhellberg/hashids.rb"
gem.license = "MIT"
gem.required_ruby_version = '>= 1.9.3'
gem.files = Dir.glob('lib/**/*') + [
'Gemfile',
'LICENSE.txt',
'Rakefile',
'README.md',
'hashids.gemspec'
]
gem.test_files = gem.files.grep(%r{^(spec)/})
gem.require_paths = ["lib"]
end