iuliia-rb 0.2.0 → 0.2.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/CHANGELOG.md +4 -0
- data/README.md +4 -2
- data/iiulia-rb.gemspec +9 -1
- data/lib/iuliia/iuliia.rb +2 -1
- data/lib/iuliia/schema.rb +4 -0
- data/lib/iuliia/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9c05d0cf2dfb143cf6ae07d7584af0a76990074a0e084d70d62bba4bbc705527
|
|
4
|
+
data.tar.gz: 1531b0cb67e34dce7f9adf3fec424cf533be608968f3563d3c34bb441ff2df5b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0167b8f7dda4ca7addfabe709239e9ff97ea17df5af7c5434f1f23a486b1faab4948b5c391f00397bdc2afdcbc2303c82b87c5f85185057ebc68bdffe1a8b952
|
|
7
|
+
data.tar.gz: f402622ec9af55678bec6f9b6cebf9dfb5f22eea0627ea9a1e786602c45e15dc90d79efbeb33b72a866de1de1edb18a3c5ff651f60522393ba54277ae23132c9
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [0.2.1] - 2020-09-14
|
|
8
|
+
Changes:
|
|
9
|
+
* Gem has been renamed to `iuliia`. This is the last version of `iuliia-rb`. Please, use `iuliia` instead.
|
|
10
|
+
|
|
7
11
|
## [0.2.0] - 2020-09-14
|
|
8
12
|
Changes:
|
|
9
13
|
* Moved `lib/schemas` to the git submodule `github.com/nalgeon/iuliia`
|
data/README.md
CHANGED
|
@@ -6,10 +6,12 @@ Small gem to properly transliterate cyrillic to latin. Use https://github.com/na
|
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
|
+
#### Gem has been renamed to `iuliia`. This is the last version of `iuliia-rb`. Please, use `iuliia` instead.
|
|
10
|
+
|
|
9
11
|
Add this line to your application's Gemfile:
|
|
10
12
|
|
|
11
13
|
```ruby
|
|
12
|
-
gem 'iuliia
|
|
14
|
+
gem 'iuliia'
|
|
13
15
|
```
|
|
14
16
|
|
|
15
17
|
And then execute:
|
|
@@ -18,7 +20,7 @@ And then execute:
|
|
|
18
20
|
|
|
19
21
|
Or install it yourself as:
|
|
20
22
|
|
|
21
|
-
$ gem install iuliia
|
|
23
|
+
$ gem install iuliia
|
|
22
24
|
|
|
23
25
|
## Usage
|
|
24
26
|
|
data/iiulia-rb.gemspec
CHANGED
|
@@ -10,9 +10,17 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
spec.authors = ['Andrey Nikiforov']
|
|
11
11
|
spec.email = ['a.d.nikiforov@gmail.com']
|
|
12
12
|
|
|
13
|
-
spec.summary =
|
|
13
|
+
spec.summary = <<~SUMMARY
|
|
14
|
+
Russian transliteration using nalgeon/iuliia schemas
|
|
15
|
+
Gem has been renamed to 'iuliia'. This is the last version of 'iuliia-rb'.
|
|
16
|
+
Please, use 'iuliia' instead.
|
|
17
|
+
SUMMARY
|
|
14
18
|
spec.homepage = 'https://github.com/adnikiforov/iuliia-rb'
|
|
15
19
|
spec.license = 'MIT'
|
|
20
|
+
spec.post_install_message = <<~MESSAGE
|
|
21
|
+
! The 'iuliia-rb' gem has been renamed to 'iuliia'.
|
|
22
|
+
Version 0.2.1 is the last version of 'iuliia-rb'. Please, use 'iuliia' instead.
|
|
23
|
+
MESSAGE
|
|
16
24
|
|
|
17
25
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
|
18
26
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
data/lib/iuliia/iuliia.rb
CHANGED
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
module Iuliia
|
|
4
4
|
class << self
|
|
5
|
-
|
|
6
5
|
# Translit cyrillic string to latin representation
|
|
7
6
|
# @param string [String]
|
|
8
7
|
# @param schema [Iuliia::Schema]
|
|
9
8
|
# @return [String]
|
|
10
9
|
def translit(string, schema:)
|
|
10
|
+
warn "[DEPRECATION] Gem has been renamed to 'iuliia'. Please, use 'iuliia' instead."
|
|
11
|
+
|
|
11
12
|
Iuliia::Translit.new(string, schema).translit
|
|
12
13
|
end
|
|
13
14
|
end
|
data/lib/iuliia/schema.rb
CHANGED
|
@@ -8,6 +8,8 @@ module Iuliia
|
|
|
8
8
|
# @param schema_name [String]
|
|
9
9
|
# @return [Iuliia::Schema]
|
|
10
10
|
def [](schema_name)
|
|
11
|
+
warn "[DEPRECATION] Gem has been renamed to 'iuliia'. Please, use 'iuliia' instead."
|
|
12
|
+
|
|
11
13
|
schemas[schema_name]
|
|
12
14
|
end
|
|
13
15
|
|
|
@@ -16,6 +18,8 @@ module Iuliia
|
|
|
16
18
|
# Return list of available schemas
|
|
17
19
|
# @return [Array<Iuliia::Schema]>]
|
|
18
20
|
def available_schemas
|
|
21
|
+
warn "[DEPRECATION] Gem has been renamed to 'iuliia'. Please, use 'iuliia' instead."
|
|
22
|
+
|
|
19
23
|
load_schemas.transform_values(&:description).to_a
|
|
20
24
|
end
|
|
21
25
|
|
data/lib/iuliia/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: iuliia-rb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrey Nikiforov
|
|
@@ -114,7 +114,8 @@ metadata:
|
|
|
114
114
|
homepage_uri: https://github.com/adnikiforov/iuliia-rb
|
|
115
115
|
source_code_uri: https://github.com/adnikiforov/iuliia-rb
|
|
116
116
|
changelog_uri: https://github.com/adnikiforov/iuliia-rb/blob/master/CHANGELOG.md
|
|
117
|
-
post_install_message:
|
|
117
|
+
post_install_message: "! The 'iuliia-rb' gem has been renamed to 'iuliia'. \nVersion
|
|
118
|
+
0.2.1 is the last version of 'iuliia-rb'. Please, use 'iuliia' instead.\n"
|
|
118
119
|
rdoc_options: []
|
|
119
120
|
require_paths:
|
|
120
121
|
- lib
|
|
@@ -132,5 +133,6 @@ requirements: []
|
|
|
132
133
|
rubygems_version: 3.1.4
|
|
133
134
|
signing_key:
|
|
134
135
|
specification_version: 4
|
|
135
|
-
summary: Russian transliteration using nalgeon/iuliia schemas
|
|
136
|
+
summary: Russian transliteration using nalgeon/iuliia schemas Gem has been renamed
|
|
137
|
+
to 'iuliia'. This is the last version of 'iuliia-rb'. Please, use 'iuliia' instead.
|
|
136
138
|
test_files: []
|