remove_emoji 1.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f682b6626e44aacff7c842458fd7d011472e2f7e
4
- data.tar.gz: 2cd7c67cca41070aedc2e7ac4db2dae8536d603c
2
+ SHA256:
3
+ metadata.gz: 2d92c9c586ac5e8f436c8037a4b6d085c70054c122b84ac8acd9ed8ea39c3070
4
+ data.tar.gz: 64cc337b3e7abf952d3674b553558c72d770ecdc4015c32bf5886bffbbc2b47f
5
5
  SHA512:
6
- metadata.gz: 12f5b4675036ac14ef28153a02d899ee5e9b162526b555336f6301e2644a71c50cd9f2b90293c2c65f03965da6cb4e9a53d7960e23f99f8657c32afe526be83d
7
- data.tar.gz: 50f0f2dd7607b70895d919cc2eeb89ff1aa4ceddfa96148f1bf0eabb00f5284331427e890a9930254bc331aaf1465a9ae61fe312a707a6361fa45a91e1e6d02a
6
+ metadata.gz: 376b0e93223820a209ac3ed2dcf16c351c78c19142123e03f9e333913222f4c149485e98e4a0d3450a3dff8ff3b8694b297e5f6edd5073722fe819fe9870cc51
7
+ data.tar.gz: 7a57682cdf3d4bea4fcfbff6cfdb52ea09708b9fccead96515bcf6c6a588c61f90a66a8b4730a50abde5778a80ad3efa96a2c39075289fba4dcbf44b0ecc69f8
data/.gitignore CHANGED
@@ -6,3 +6,5 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+
10
+ /Gemfile.lock
@@ -4,4 +4,9 @@ rvm:
4
4
  - 2.1
5
5
  - 2.2
6
6
  - 2.3.1
7
- - 2.4.2
7
+ - 2.4.6
8
+ - 2.5.1
9
+ - 2.6.3
10
+ - 2.6.5
11
+ - 2.7.0
12
+ - 3.0.0
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2017 Guanting Chen
3
+ Copyright (c) 2017-2021 Guanting Chen
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -15,10 +15,16 @@ Remove Emoji
15
15
  Installation / 安裝方式
16
16
  --------
17
17
 
18
- 請在您的 Ruby 或 Rails 專案裡的 Gemfile 加入以下指令,然後執行 bundle install 更新套件即可
18
+ via Rubygems
19
+
20
+ ```shell
21
+ gem install remove_emoji
22
+ ```
23
+
24
+ In your Gemfile:
19
25
 
20
26
  ```ruby
21
- gem 'remove_emoji'
27
+ gem 'remove_emoji', '~> 3.0.0'
22
28
  ```
23
29
 
24
30
  Usage / 使用方式
@@ -29,7 +35,7 @@ Usage / 使用方式
29
35
  ```ruby
30
36
  require 'remove_emoji'
31
37
 
32
- original_string = "👦🏻👦🏼👦🏽👦🏾👦🏿👧👧🏻👧🏼👧🏽👧🏾👧🏿👨👨🏻"
38
+ original_string = "Remove..😊😍😌🤕👿👹👧👧🏻👧🏼👧🏽🤜🏼👍🏽👌☝🏼🥝🥦🌶🌽🍎..Emoji"
33
39
 
34
40
  puts RemoveEmoji::Sanitize.call(original_string)
35
41
  ```
@@ -1,3 +1,3 @@
1
1
  module RemoveEmoji
2
- VERSION = "1.0.0"
2
+ VERSION = '3.0.1'
3
3
  end
@@ -8,12 +8,12 @@ Gem::Specification.new do |spec|
8
8
  spec.version = RemoveEmoji::VERSION
9
9
  spec.authors = ["Guanting Chen"]
10
10
  spec.email = ["cgt886@gmail.com"]
11
- spec.summary = %q{ Remove Emoji 😈🚫😱 ( 2017 version, for Ruby 2.x / Rails 4 ~ 5.x )}
12
- spec.description = %q{ Remove Emoji 😈🚫😱 ( 2017 version, for Ruby 2.x / Rails 4 ~ 5.x )}
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
13
  spec.homepage = "https://github.com/guanting112/remove_emoji"
14
14
  spec.license = "MIT"
15
15
  spec.platform = Gem::Platform::RUBY
16
- spec.required_ruby_version = '~> 2'
16
+ spec.required_ruby_version = '>= 2'
17
17
 
18
18
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
19
19
  # to allow pushing to a single host or delete this section to allow pushing to any host.
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
32
32
  spec.require_paths = ["lib"]
33
33
 
34
- spec.add_development_dependency "bundler", "~> 1.7"
35
- spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency "bundler", "<3.0", ">=1.7"
35
+ spec.add_development_dependency "rake", ">= 12.3.3"
36
36
  spec.add_development_dependency 'minitest', '~> 5.0'
37
37
  end
metadata CHANGED
@@ -1,43 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remove_emoji
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guanting Chen
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-14 00:00:00.000000000 Z
11
+ date: 2021-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - "<"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.0'
20
+ - - ">="
18
21
  - !ruby/object:Gem::Version
19
22
  version: '1.7'
20
23
  type: :development
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - "<"
28
+ - !ruby/object:Gem::Version
29
+ version: '3.0'
30
+ - - ">="
25
31
  - !ruby/object:Gem::Version
26
32
  version: '1.7'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rake
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - "~>"
37
+ - - ">="
32
38
  - !ruby/object:Gem::Version
33
- version: '10.0'
39
+ version: 12.3.3
34
40
  type: :development
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
- - - "~>"
44
+ - - ">="
39
45
  - !ruby/object:Gem::Version
40
- version: '10.0'
46
+ version: 12.3.3
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: minitest
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -52,8 +58,8 @@ dependencies:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
60
  version: '5.0'
55
- description: " Remove Emoji \U0001F608\U0001F6AB\U0001F631 ( 2017 version, for Ruby
56
- 2.x / Rails 4 ~ 5.x )"
61
+ description: " Remove Emoji \U0001F608\U0001F6AB\U0001F631 ( 2021 version, for Ruby
62
+ 2.x ~ 3 / Rails 4 ~ 6.x )"
57
63
  email:
58
64
  - cgt886@gmail.com
59
65
  executables: []
@@ -63,7 +69,6 @@ files:
63
69
  - ".gitignore"
64
70
  - ".travis.yml"
65
71
  - Gemfile
66
- - Gemfile.lock
67
72
  - LICENSE.txt
68
73
  - README.md
69
74
  - Rakefile
@@ -78,13 +83,13 @@ licenses:
78
83
  - MIT
79
84
  metadata:
80
85
  allowed_push_host: https://rubygems.org
81
- post_install_message:
86
+ post_install_message:
82
87
  rdoc_options: []
83
88
  require_paths:
84
89
  - lib
85
90
  required_ruby_version: !ruby/object:Gem::Requirement
86
91
  requirements:
87
- - - "~>"
92
+ - - ">="
88
93
  - !ruby/object:Gem::Version
89
94
  version: '2'
90
95
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -93,10 +98,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
98
  - !ruby/object:Gem::Version
94
99
  version: '0'
95
100
  requirements: []
96
- rubyforge_project:
97
- rubygems_version: 2.6.13
98
- signing_key:
101
+ rubygems_version: 3.2.3
102
+ signing_key:
99
103
  specification_version: 4
100
- summary: "Remove Emoji \U0001F608\U0001F6AB\U0001F631 ( 2017 version, for Ruby 2.x
101
- / Rails 4 ~ 5.x )"
104
+ summary: "Remove Emoji \U0001F608\U0001F6AB\U0001F631 ( 2021 version, for Ruby 2.x
105
+ ~ 3 / Rails 4 ~ 6.x )"
102
106
  test_files: []
@@ -1,22 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- remove_emoji (0.1.0)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- minitest (5.10.3)
10
- rake (10.5.0)
11
-
12
- PLATFORMS
13
- ruby
14
-
15
- DEPENDENCIES
16
- bundler (~> 1.7)
17
- minitest (~> 5.0)
18
- rake (~> 10.0)
19
- remove_emoji!
20
-
21
- BUNDLED WITH
22
- 1.16.0