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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 850131686c6638f3c48c8441ab13c2b4a6220b752aaaab56e89fe19a274715fc
4
- data.tar.gz: 2a026d497598b7303b6ee54b0d9f46b10d7015fff20ed2ad80b060448f638b42
3
+ metadata.gz: 1f56e5660dbb7639bb9ef70628cd7ecbcfc2c7bc7ae7bdb69e2a8ab2e5c9638e
4
+ data.tar.gz: 54bd414076246db4389c6646200c59eebd1372c445f3813b723ab29da3634dde
5
5
  SHA512:
6
- metadata.gz: dc135100fc86657bd4538ce6a9081a8e02e279d4903b52361b99b88d5d517a6247c08b2590abdbf726e3e27d4c77afb9036bdc2163cc1d1afc2ff541fafb895a
7
- data.tar.gz: a52a5e96a933058c774dc4e35b5a12f9982597cdf3511a6e3db9c6d299f07e337e24ad5455e3cf5e2f33caf270ec0e4426230ef589ec5d022216724b0fb52a87
6
+ metadata.gz: 9d8a3cfb89f5771db43ebf2aefa0e767d4777ebf762fe4847af25966df9b2cf69da28ddebc7f3c158bf8d069eba77f01174021e22b9dc267e8ddeb2334e31b28
7
+ data.tar.gz: 65937e76c7d787b76cd4d7a5509469ac00d6abfa6ceadb825b031c5b15ba9533c97de71439c46a73e34e58ae46f9ccb9a026622d1333e1779161ab42c04403cd
@@ -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).
@@ -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{B0C}",
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{B0F}",
5064
+ "\u{2109}" => "\u{B0}F",
5065
5065
 
5066
5066
  # 210A SCRIPT SMALL G
5067
5067
  # -> 0067 LATIN SMALL LETTER G
@@ -3,6 +3,7 @@
3
3
  require 'unaccent'
4
4
 
5
5
  module Unaccent
6
+ # Extend the String class with unaccent method.
6
7
  module String
7
8
  def unaccent
8
9
  Unaccent.unaccent(self)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Unaccent
4
- VERSION = '0.3.0'
4
+ VERSION = '0.4.0'
5
5
  end
data/lib/unaccent.rb CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  require 'unaccent/version'
4
4
 
5
+ # Replace accented characters with unaccented characters in a string.
5
6
  module Unaccent
6
7
  autoload :ACCENTMAP, 'unaccent/accentmap'
7
8
 
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.3.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-28 00:00:00.000000000 Z
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.14
89
+ rubygems_version: 3.3.7
89
90
  signing_key:
90
91
  specification_version: 4
91
92
  summary: Replace accented characters with unaccented characters