diff --git a/iex-style.gemspec b/iex-style.gemspec index 92fe032..da8a20e 100644 --- a/iex-style.gemspec +++ b/iex-style.gemspec @@ -1,31 +1,16 @@ # coding: utf-8 -lib = File.expand_path("../lib", __FILE__) -$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require "iex/style/version" - Gem::Specification.new do |spec| - spec.name = "iex-style" - spec.version = IEX::Style::VERSION - spec.authors = ["InterExchange"] - spec.email = ["support@interexchange.org"] - - spec.summary = "InterExchange Rails shared style configurations." - spec.homepage = "https://github.com/interexchange/iex-style" + spec.name = "iex-style" + spec.version = "1.0.0" + spec.authors = ["InterExchange"] + spec.email = ["support@interexchange.org"] - # Prevent pushing this gem to RubyGems.org. To allow pushes either set the "allowed_push_host" - # to allow pushing to a single host or delete this section to allow pushing to any host. - if spec.respond_to?(:metadata) - spec.metadata["allowed_push_host"] = "https://rubygems.org" - else - raise "RubyGems 2.0 or newer is required to protect against public gem pushes." - end + spec.summary = "InterExchange Rails shared style configurations." + spec.homepage = "https://github.com/interexchange/iex-style" - spec.files = `git ls-files -z`.split("\x0").reject do |f| + spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end - spec.bindir = "exe" - spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } - spec.require_paths = ["lib"] spec.add_dependency "rubocop", "~> 0.83.0" # Limited by Hound support spec.add_development_dependency "bundler" diff --git a/lib/iex/style.rb b/lib/iex/style.rb deleted file mode 100644 index a25284d..0000000 --- a/lib/iex/style.rb +++ /dev/null @@ -1,7 +0,0 @@ -require "iex/style/version" - -module IEX - module Style - # Nothing to see here. - end -end diff --git a/lib/iex/style/version.rb b/lib/iex/style/version.rb deleted file mode 100644 index d120c7c..0000000 --- a/lib/iex/style/version.rb +++ /dev/null @@ -1,5 +0,0 @@ -module IEX - module Style - VERSION = "1.0.0".freeze - end -end