Skip to content

Commit

Permalink
slim down gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Nov 19, 2018
1 parent 2577e52 commit 31fc59f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ source 'https://rubygems.org'
gemspec

gem "rake"
gem "rspec"
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env rake
require "bundler/setup"
require "bundler/gem_tasks"

require "rspec/core/rake_task"
RSpec::Core::RakeTask.new("spec")
RSpec::Core::RakeTask.new(:default)
14 changes: 3 additions & 11 deletions cld.gemspec
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/cld/version', __FILE__)

Gem::Specification.new do |gem|
Gem::Specification.new "cld", CLD::VERSION do |gem|
gem.authors = ["Jason Toy"]
gem.email = ["jtoy@jtoy.net"]
gem.description = %q{Compact Language Detection for Ruby}
gem.summary = %q{Compact Language Detection for Ruby}
gem.homepage = "http://github.com/jtoy/cld"
gem.homepage = "https://github.com/jtoy/cld"

gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
gem.files = `git ls-files`.split("\n")
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
gem.files = `git ls-files -- {ext,lib}/*`.split("\n") + ["LICENSE", "README.md"]
gem.extensions = ["ext/cld/extconf.rb"]
gem.name = "cld"
gem.require_paths = ["lib"]
gem.version = CLD::VERSION

gem.add_dependency "ffi"

gem.add_development_dependency "rspec"
end

0 comments on commit 31fc59f

Please sign in to comment.