|
1 | | - |
2 | | -lib = File.expand_path("../lib", __FILE__) |
3 | | -$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) |
4 | | -require "remove_emoji/version" |
| 1 | +# frozen_string_literal: true |
5 | 2 |
|
6 | 3 | Gem::Specification.new do |spec| |
7 | | - spec.name = "remove_emoji" |
8 | | - spec.version = RemoveEmoji::VERSION |
9 | | - spec.authors = ["Guanting Chen"] |
10 | | - spec.email = ["cgt886@gmail.com"] |
11 | | - spec.summary = %q{ Remove Emoji 😈🚫😱 ( 2021 version, for Ruby 2.x ~ 3 / Rails 4 ~ 6.x )} |
12 | | - spec.description = %q{ Remove Emoji 😈🚫😱 ( 2021 version, for Ruby 2.x ~ 3 / Rails 4 ~ 6.x )} |
13 | | - spec.homepage = "https://github.com/guanting112/remove_emoji" |
14 | | - spec.license = "MIT" |
15 | | - spec.platform = Gem::Platform::RUBY |
16 | | - spec.required_ruby_version = '>= 2' |
| 4 | + spec.name = "remove_emoji" |
| 5 | + spec.version = "4.0.0" |
| 6 | + spec.authors = ["Guanting112"] |
17 | 7 |
|
18 | | - # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host' |
19 | | - # to allow pushing to a single host or delete this section to allow pushing to any host. |
20 | | - if spec.respond_to?(:metadata) |
21 | | - spec.metadata['allowed_push_host'] = "https://rubygems.org" |
22 | | - else |
23 | | - raise "RubyGems 2.0 or newer is required to protect against " \ |
24 | | - "public gem pushes." |
25 | | - end |
| 8 | + spec.summary = %q{ Remove Emoji 🚫😱 ( for Ruby 2.x ~ 4 / Rails 4 ~ 8 )} |
| 9 | + spec.description = %q{ Remove Emoji 🚫😱 ( for Ruby 2.x ~ 4 / Rails 4 ~ 8 )} |
| 10 | + spec.homepage = "https://github.com/guanting112/remove_emoji" |
| 11 | + spec.license = "MIT" |
| 12 | + spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") |
26 | 13 |
|
27 | | - spec.files = `git ls-files -z`.split("\x0").reject do |f| |
28 | | - f.match(%r{^(test|spec|features)/}) |
| 14 | + spec.files = Dir.chdir(File.expand_path(__dir__)) do |
| 15 | + Dir["{lib}/**/*", "LICENSE", "README.md"] |
29 | 16 | end |
30 | | - spec.bindir = "exe" |
31 | | - spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } |
32 | 17 | spec.require_paths = ["lib"] |
33 | 18 |
|
34 | | - spec.add_development_dependency "bundler", "<3.0", ">=1.7" |
35 | | - spec.add_development_dependency "rake", ">= 12.3.3" |
36 | | - spec.add_development_dependency 'minitest', '~> 5.0' |
| 19 | + spec.add_development_dependency "rspec", "~> 3.0" |
37 | 20 | end |
0 commit comments