Sha256: d196162a21cb8f7c6ff0e872f7cfb2e6e89b0a9c856e59fbcdc7ff770d958833
Contents?: true
Size: 1.33 KB
Versions: 3
Compression:
Stored size: 1.33 KB
Contents
# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'hashid/rails/version' Gem::Specification.new do |spec| spec.name = 'hashid-rails' spec.version = Hashid::Rails::VERSION spec.authors = ['Justin Cypret'] spec.email = ['jcypret@gmail.com'] spec.summary = %q{Use Hashids in your Rails app models.} spec.description = <<-EOM This gem allows you to easily use [Hashids](http://hashids.org/ruby/) in your Rails app. Instead of your models using sequential numbers like 1, 2, 3, they will instead have unique short hashes like "yLA6m0oM", "5bAyD0LO", and "wz3MZ49l". The database will still use integers under the hood, so this gem can be added or removed at any time. EOM spec.homepage = 'https://github.com/jcypret/hashid-rails' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_development_dependency 'bundler', '~> 1.9' spec.add_development_dependency 'rake', '~> 10.0' spec.add_runtime_dependency 'activerecord', '~> 4.0' spec.add_runtime_dependency 'hashids', '~> 1.0' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hashid-rails-0.1.2 | hashid-rails.gemspec |
hashid-rails-0.1.1 | hashid-rails.gemspec |
hashid-rails-0.1 | hashid-rails.gemspec |