autocorrect-rb 2.1.2.beta4-arm64-darwin → 2.2.0-arm64-darwin

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 49f2cc6ec1cacd4ae9f78c8eb49eb79e6f601ea61ef9bb3f92bfefbb19157720
4
- data.tar.gz: 04b62477401cfe22a1a7679f30a8787273b449f53296d2804bc7c9ce49a5104b
3
+ metadata.gz: 95e633512f093ad7e457d62ba7a47ec067b22e9273c19942f7a8c0997b560d32
4
+ data.tar.gz: 04f7e8726b2370a72b69179e4e24018bd737b743c3561cd33e47e81294d6c54f
5
5
  SHA512:
6
- metadata.gz: b7a82ee2c926636b218df74b271bb83c458410e2decbade5eefb90726abd20d1de7b95ecc9c429a71d1f106a75fe3ab0cc70e05fef287f4aead9cbd77ee60cc6
7
- data.tar.gz: 7468ce5e0a0733d05b234db4b7db769be1a889839d33b9a51edd3eb85b3146235690c2ed7dffc6ad0661bc2e9695b9fb5b3b99ca3b439dfc7161c2c873ffff16
6
+ metadata.gz: 551a422546092fe456a8f50870b3c8deccbfe0ae1d47cd3286f25bbca2e4ce94f980df0143891c958bc56bb2ffaa5b6890e562b332362b089da45548d91df670
7
+ data.tar.gz: dc06cfbcfbb0120360601514bcbcfd84a0b1bbf294d3e9c042ccbc62d2a7b4dc1c6b221eadce183833ccae01409fe0298c0bcd1518e3644011abd6f9d6b0805f
data/README.md CHANGED
@@ -18,7 +18,7 @@ $ bundle add autocorrect-rb
18
18
  ## Usage
19
19
 
20
20
  ```rb
21
- require('autocorrect-rb');
21
+ require('autocorrect-rb')
22
22
 
23
23
  out = AutoCorrect.format('Hello你好.')
24
24
  puts out
@@ -28,7 +28,7 @@ out = AutoCorrect.format_for("title = 'Hello你好。'", 'rb')
28
28
  puts out
29
29
  # title = 'Hello 你好。'
30
30
 
31
- result = AutoCorrect.lint_lor("title = 'Hello你好。'", 'rb')
31
+ result = AutoCorrect.lint_for("title = 'Hello你好。'", 'rb')
32
32
  puts result
33
33
  # {
34
34
  # filepath: 'rb',
@@ -74,3 +74,21 @@ Calculating -------------------------------------
74
74
  format 400 chars 4.946k (± 2.6%) i/s - 24.800k in 5.017711s
75
75
  format_html 1.659k (± 1.7%) i/s - 8.300k in 5.003164s
76
76
  ```
77
+
78
+ ## Know issues
79
+
80
+ Bundler install error:
81
+
82
+ ```
83
+ Could not find gem 'autocorrect-rb' with platform 'ruby' in rubygems repository https://rubygems.org/ or installed locally.
84
+ ```
85
+
86
+ To fix this you can run:
87
+
88
+ ```bash
89
+ $ bundle lock --remove-platform ruby
90
+ ```
91
+
92
+ Because of autocorrect-rb not release the gem for `platform: ruby`, but your `Gemfile.lock` specialed that. This command will remove `ruby` platform from your `Gemfile.lock`
93
+
94
+
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autocorrect-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2.beta4
4
+ version: 2.2.0
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Jason Lee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-13 00:00:00.000000000 Z
11
+ date: 2022-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb_sys
@@ -59,9 +59,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
59
59
  version: 3.2.dev
60
60
  required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  requirements:
62
- - - ">"
62
+ - - ">="
63
63
  - !ruby/object:Gem::Version
64
- version: 1.3.1
64
+ version: '0'
65
65
  requirements: []
66
66
  rubygems_version: 3.4.0.dev
67
67
  signing_key: