char_detector 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +5 -0
- data/Gemfile +0 -2
- data/Gemfile.lock +2 -6
- data/README.md +2 -3
- data/char_detector.gemspec +1 -1
- data/lib/char_detector/engine.rb +1 -1
- data/lib/char_detector/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bee172d7cfc38714ed519dfa6f709ddf52d1ffdc0c40bc23cf0480b545d865e7
|
|
4
|
+
data.tar.gz: 636ba79305d27b11734a4e10644cf226364f0464423a4c4be9b6f75e50829426
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9566d3608f20d782b16e5abc63252c98efebae4436371a730fa47a4417f6dac4e91781f7287febff42793b7ffb5771a0a0f19b2d2bd55437a78e7077527b5182
|
|
7
|
+
data.tar.gz: c16121f0a6b0ec8fc277d718bee151ff34901870a6506c9226fd71231513bbd8e9ac68d6f1834180cd7209d0686fd3b6842bd02ecd1e2d3a45867888b70c922e
|
data/.github/workflows/main.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
char_detector (0.1.
|
|
4
|
+
char_detector (0.1.1)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
@@ -28,8 +28,7 @@ GEM
|
|
|
28
28
|
rspec-support (3.11.0)
|
|
29
29
|
|
|
30
30
|
PLATFORMS
|
|
31
|
-
|
|
32
|
-
x86_64-linux
|
|
31
|
+
ruby
|
|
33
32
|
|
|
34
33
|
DEPENDENCIES
|
|
35
34
|
char_detector!
|
|
@@ -37,8 +36,5 @@ DEPENDENCIES
|
|
|
37
36
|
rake
|
|
38
37
|
rspec
|
|
39
38
|
|
|
40
|
-
RUBY VERSION
|
|
41
|
-
ruby 3.1.1p18
|
|
42
|
-
|
|
43
39
|
BUNDLED WITH
|
|
44
40
|
2.3.7
|
data/README.md
CHANGED
|
@@ -33,14 +33,13 @@ Ref: [ASCII table , ascii codes](https://theasciicode.com.ar/)
|
|
|
33
33
|
|
|
34
34
|
+ TODO refactor
|
|
35
35
|
+ TODO add features(If I have more requirements)
|
|
36
|
-
+ TODO format output(refer to rubocop's output) Thanks Freebird
|
|
36
|
+
+ TODO [format output(refer to rubocop's output) Thanks Freebird](https://github.com/liijunwei/char_detector/issues/5)
|
|
37
|
+
+ TODO [Improve compatibility](https://github.com/liijunwei/char_detector/issues/4)
|
|
37
38
|
|
|
38
39
|
## Installation(WIP)
|
|
39
40
|
|
|
40
41
|
Add this line to your application's Gemfile:
|
|
41
42
|
|
|
42
|
-
+ TODO publish this gem to https://rubygems.org/
|
|
43
|
-
|
|
44
43
|
```ruby
|
|
45
44
|
gem 'char_detector'
|
|
46
45
|
```
|
data/char_detector.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
spec.description = %q{Initially used for detecting control character in markdown/ruby file.}
|
|
11
11
|
spec.homepage = "https://github.com/liijunwei/char_detector"
|
|
12
12
|
spec.license = "MIT"
|
|
13
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
|
13
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
|
14
14
|
|
|
15
15
|
spec.metadata["allowed_push_host"] = "https://rubygems.org/"
|
|
16
16
|
|
data/lib/char_detector/engine.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: char_detector
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- lijunwei
|
|
@@ -96,7 +96,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
96
96
|
requirements:
|
|
97
97
|
- - ">="
|
|
98
98
|
- !ruby/object:Gem::Version
|
|
99
|
-
version: 2.
|
|
99
|
+
version: 2.3.0
|
|
100
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
101
|
requirements:
|
|
102
102
|
- - ">="
|