unaccent 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +1 -1
- data/.yardopts +2 -0
- data/LICENSE.txt +1 -0
- data/lib/unaccent/string.rb +3 -1
- data/lib/unaccent/version.rb +1 -1
- data/lib/unaccent.rb +2 -2
- data/unaccent.gemspec +1 -0
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9659e66d5944e31de52b6ae6127f839eafffe2f0647705135d5d292913d5f0a0
|
4
|
+
data.tar.gz: d7c141e5078de647653ddcb88f21acd9fdcce8bc49f5e4f618d0371f159f00a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8791eb553569a93862373effcd0a3be832c05a85526c5b7d9d97218eab245b06c371eef607110958f1f8a12feef3af01d94f3b90bf892aa8c7e41c155d9d1bf
|
7
|
+
data.tar.gz: d3555caf43ca4d7d7e7ebbc526bd745482003d856cbc449183e031c30f53a3d33f975dc0070f17c9c85fd22068036e84617ded5031e063c19582272834aa8321
|
data/.github/workflows/build.yml
CHANGED
data/.yardopts
ADDED
data/LICENSE.txt
CHANGED
data/lib/unaccent/string.rb
CHANGED
data/lib/unaccent/version.rb
CHANGED
data/lib/unaccent.rb
CHANGED
@@ -6,8 +6,8 @@ module Unaccent
|
|
6
6
|
# Replace a string's accented characters with unaccented characters.
|
7
7
|
#
|
8
8
|
# @example
|
9
|
-
#
|
10
|
-
# Unaccent.unaccent(
|
9
|
+
# str = 'Å Ç ß'
|
10
|
+
# Unaccent.unaccent(str) = > 'AA C ss'
|
11
11
|
#
|
12
12
|
# @return [String] a string that has no accents
|
13
13
|
|
data/unaccent.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unaccent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonian Guveli
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '5.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '13.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '13.0'
|
41
55
|
description: Replace accented characters with unaccented characters.
|
42
56
|
email:
|
43
57
|
- jonian@hardpixel.eu
|
@@ -48,6 +62,7 @@ files:
|
|
48
62
|
- ".github/workflows/build.yml"
|
49
63
|
- ".gitignore"
|
50
64
|
- ".ruby-version"
|
65
|
+
- ".yardopts"
|
51
66
|
- Gemfile
|
52
67
|
- LICENSE.txt
|
53
68
|
- README.md
|
@@ -79,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
94
|
- !ruby/object:Gem::Version
|
80
95
|
version: '0'
|
81
96
|
requirements: []
|
82
|
-
rubygems_version: 3.3.
|
97
|
+
rubygems_version: 3.3.7
|
83
98
|
signing_key:
|
84
99
|
specification_version: 4
|
85
100
|
summary: Replace accented characters with unaccented characters
|