Merge pull request #23 from crypto-rb/rubocop
Add RuboCop
Showing
.rubocop.yml
0 → 100644
... | ... | @@ -8,5 +8,6 @@ group :development, :test do |
gem "rake", ">= 10" | ||
gem "rake-compiler", "~> 1.0" | ||
gem "rake-compiler-dock", "~> 0.6" | ||
gem "rspec", "~> 3" | ||
gem "rspec", "~> 3.7" | ||
gem "rubocop", "0.52.1" | ||
end |
# coding: utf-8 | ||
lib = File.expand_path('../lib', __FILE__) | ||
# frozen_string_literal: true | ||
lib = File.expand_path("../lib", __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'rbnacl/libsodium/version' | ||
require "rbnacl/libsodium/version" | ||
Gem::Specification.new do |spec| | ||
spec.name = "rbnacl-libsodium" | ||
spec.version = RbNaCl::Libsodium::VERSION | ||
spec.authors = ["Artiom Di", "Tony Arcieri"] | ||
spec.date = Time.now.strftime('%Y-%m-%d') | ||
spec.email = ["kron82@gmail.com", "bascule@gmail.com"] | ||
spec.summary = %q{rbnacl with bundled libsodium} | ||
spec.homepage = "https://github.com/crypto-rb/rbnacl-libsodium" | ||
spec.summary = "rbnacl with bundled libsodium" | ||
spec.homepage = "https://github.com/cryptosphere/rbnacl-libsodium" | ||
spec.license = "MIT" | ||
spec.files = `git ls-files -z`.split("\x0") | ||
spec.files += Dir.glob("vendor/libsodium/**/*") | ||
spec.files = `git ls-files -z`.split("\x0") + Dir.glob("vendor/libsodium/**/*") | ||
spec.require_paths = ["lib"] | ||
spec.extensions = ["ext/rbnacl/extconf.rb"] | ||
spec.extensions = ['ext/rbnacl/extconf.rb'] | ||
spec.required_ruby_version = ">= 2.2.6" | ||
spec.add_runtime_dependency "rbnacl", ">= 5.0.0" | ||
spec.required_ruby_version = '>= 2.2.6' | ||
spec.add_development_dependency "bundler", "~> 1.16" | ||
end |
spec/spec_helper.rb
0 → 100644
Please register or sign in to comment