diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..03567af --- /dev/null +++ b/Gemfile @@ -0,0 +1,12 @@ +source 'https://rubygems.org' + +# Specify your gem's dependencies in sqids.gemspec +gemspec + +group :development do + gem "rake" +end + +group :test do + gem "rspec" +end \ No newline at end of file diff --git a/hashids.gemspec b/hashids.gemspec new file mode 100644 index 0000000..1849d2e --- /dev/null +++ b/hashids.gemspec @@ -0,0 +1,18 @@ +# encoding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'sqids' + +Gem::Specification.new do |gem| + gem.name = "sqids" + gem.version = "0.1.0" + gem.summary = %q{Generate YouTube-like ids from numbers.} + gem.homepage = "https://sqids.org/ruby" + gem.license = "MIT" + + gem.required_ruby_version = '>= 3.1' + + gem.files = `git ls-files`.split($/) + gem.test_files = gem.files.grep(%r{^(spec)/}) + gem.require_paths = ["lib"] +end \ No newline at end of file