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 +5 -5
- data/.gitignore +2 -0
- data/.travis.yml +6 -1
- data/LICENSE.txt +1 -1
- data/README.md +9 -3
- data/lib/remove_emoji/version.rb +1 -1
- data/remove_emoji.gemspec +5 -5
- metadata +23 -19
- data/Gemfile.lock +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2d92c9c586ac5e8f436c8037a4b6d085c70054c122b84ac8acd9ed8ea39c3070
|
4
|
+
data.tar.gz: 64cc337b3e7abf952d3674b553558c72d770ecdc4015c32bf5886bffbbc2b47f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 376b0e93223820a209ac3ed2dcf16c351c78c19142123e03f9e333913222f4c149485e98e4a0d3450a3dff8ff3b8694b297e5f6edd5073722fe819fe9870cc51
|
7
|
+
data.tar.gz: 7a57682cdf3d4bea4fcfbff6cfdb52ea09708b9fccead96515bcf6c6a588c61f90a66a8b4730a50abde5778a80ad3efa96a2c39075289fba4dcbf44b0ecc69f8
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -15,10 +15,16 @@ Remove Emoji
|
|
15
15
|
Installation / 安裝方式
|
16
16
|
--------
|
17
17
|
|
18
|
-
|
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
|
```
|
data/lib/remove_emoji/version.rb
CHANGED
data/remove_emoji.gemspec
CHANGED
@@ -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 😈🚫😱 (
|
12
|
-
spec.description = %q{ Remove Emoji 😈🚫😱 (
|
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 = '
|
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", "
|
35
|
-
spec.add_development_dependency "rake", "
|
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:
|
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:
|
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:
|
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:
|
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 (
|
56
|
-
2.x / Rails 4 ~
|
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
|
-
|
97
|
-
|
98
|
-
signing_key:
|
101
|
+
rubygems_version: 3.2.3
|
102
|
+
signing_key:
|
99
103
|
specification_version: 4
|
100
|
-
summary: "Remove Emoji \U0001F608\U0001F6AB\U0001F631 (
|
101
|
-
/ Rails 4 ~
|
104
|
+
summary: "Remove Emoji \U0001F608\U0001F6AB\U0001F631 ( 2021 version, for Ruby 2.x
|
105
|
+
~ 3 / Rails 4 ~ 6.x )"
|
102
106
|
test_files: []
|
data/Gemfile.lock
DELETED
@@ -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
|