unaccent 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CODE_OF_CONDUCT.md +37 -0
- data/lib/unaccent/accentmap.rb +2 -2
- data/lib/unaccent/string.rb +1 -0
- data/lib/unaccent/version.rb +1 -1
- data/lib/unaccent.rb +1 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f56e5660dbb7639bb9ef70628cd7ecbcfc2c7bc7ae7bdb69e2a8ab2e5c9638e
|
4
|
+
data.tar.gz: 54bd414076246db4389c6646200c59eebd1372c445f3813b723ab29da3634dde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d8a3cfb89f5771db43ebf2aefa0e767d4777ebf762fe4847af25966df9b2cf69da28ddebc7f3c158bf8d069eba77f01174021e22b9dc267e8ddeb2334e31b28
|
7
|
+
data.tar.gz: 65937e76c7d787b76cd4d7a5509469ac00d6abfa6ceadb825b031c5b15ba9533c97de71439c46a73e34e58ae46f9ccb9a026622d1333e1779161ab42c04403cd
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# Code of Conduct
|
2
|
+
|
3
|
+
All participants of this project are expected to abide by our Code of Conduct, both online and during in-person events that are hosted and/or associated with this project.
|
4
|
+
|
5
|
+
## The Pledge
|
6
|
+
|
7
|
+
In the interest of fostering an open and welcoming environment, we pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
8
|
+
|
9
|
+
## The Standards
|
10
|
+
|
11
|
+
Examples of behavior that contributes to creating a positive environment include:
|
12
|
+
|
13
|
+
* Using welcoming and inclusive language
|
14
|
+
* Being respectful of differing viewpoints and experiences
|
15
|
+
* Referring to people by their preferred pronouns and using gender-neutral pronouns when uncertain
|
16
|
+
* Gracefully accepting constructive criticism
|
17
|
+
* Focusing on what is best for the community
|
18
|
+
* Showing empathy towards other community members
|
19
|
+
|
20
|
+
Examples of unacceptable behavior by participants include:
|
21
|
+
|
22
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
|
23
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
24
|
+
* Public or private harassment
|
25
|
+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
|
26
|
+
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
27
|
+
* Dismissing or attacking inclusion-oriented requests
|
28
|
+
|
29
|
+
## Enforcement
|
30
|
+
|
31
|
+
Violations of the Code of Conduct may be reported by sending an email to info@hardpixel.eu. All reports will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. Further details of specific enforcement policies may be posted separately.
|
32
|
+
|
33
|
+
We hold the right and responsibility to remove comments or other contributions that are not aligned to this Code of Conduct, or to suspend temporarily or permanently any members for other behaviors that are inappropriate, threatening, offensive, or harmful.
|
34
|
+
|
35
|
+
## Attribution
|
36
|
+
|
37
|
+
This Code of Conduct is adapted from [dev.to](https://dev.to/code-of-conduct).
|
data/lib/unaccent/accentmap.rb
CHANGED
@@ -5040,7 +5040,7 @@ module Unaccent
|
|
5040
5040
|
# 2103 DEGREE CELSIUS
|
5041
5041
|
# -> 00B0 DEGREE SIGN
|
5042
5042
|
# + 0043 LATIN CAPITAL LETTER C
|
5043
|
-
"\u{2103}" => "\u{
|
5043
|
+
"\u{2103}" => "\u{B0}C",
|
5044
5044
|
|
5045
5045
|
# 2105 CARE OF
|
5046
5046
|
# -> 0063 LATIN SMALL LETTER C
|
@@ -5061,7 +5061,7 @@ module Unaccent
|
|
5061
5061
|
# 2109 DEGREE FAHRENHEIT
|
5062
5062
|
# -> 00B0 DEGREE SIGN
|
5063
5063
|
# + 0046 LATIN CAPITAL LETTER F
|
5064
|
-
"\u{2109}" => "\u{
|
5064
|
+
"\u{2109}" => "\u{B0}F",
|
5065
5065
|
|
5066
5066
|
# 210A SCRIPT SMALL G
|
5067
5067
|
# -> 0067 LATIN SMALL LETTER G
|
data/lib/unaccent/string.rb
CHANGED
data/lib/unaccent/version.rb
CHANGED
data/lib/unaccent.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unaccent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonian Guveli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -60,6 +60,7 @@ extensions: []
|
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
62
|
- ".yardopts"
|
63
|
+
- CODE_OF_CONDUCT.md
|
63
64
|
- LICENSE.txt
|
64
65
|
- README.md
|
65
66
|
- lib/unaccent.rb
|
@@ -85,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
86
|
- !ruby/object:Gem::Version
|
86
87
|
version: '0'
|
87
88
|
requirements: []
|
88
|
-
rubygems_version: 3.3.
|
89
|
+
rubygems_version: 3.3.7
|
89
90
|
signing_key:
|
90
91
|
specification_version: 4
|
91
92
|
summary: Replace accented characters with unaccented characters
|