iuliia-rb 0.2.0 → 0.2.1

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: cf7054429bbf45777a898982dbbf5efa5a1690d3656b5486d04adb80a27a6a77
4
- data.tar.gz: ce0d3f3f87719303dfcfbdf3599feb89991f8d9eac115be2575d73f8ee1fe2e1
3
+ metadata.gz: 9c05d0cf2dfb143cf6ae07d7584af0a76990074a0e084d70d62bba4bbc705527
4
+ data.tar.gz: 1531b0cb67e34dce7f9adf3fec424cf533be608968f3563d3c34bb441ff2df5b
5
5
  SHA512:
6
- metadata.gz: 3b0934133b04fbe07076949c02d89475e69faee3b009de8a597feb62af38dbb769e991356047ab618b1759737e663d876126ad07e695e320a671f0cd3612a222
7
- data.tar.gz: 6832a81554d55ee79415a0780485b3a7cb0f52de638f7086e45e454187cddc6dd33f9ac51a88d7210ef7255d4fce336663fa2ddd981afeea6ad9360eb92dec17
6
+ metadata.gz: 0167b8f7dda4ca7addfabe709239e9ff97ea17df5af7c5434f1f23a486b1faab4948b5c391f00397bdc2afdcbc2303c82b87c5f85185057ebc68bdffe1a8b952
7
+ data.tar.gz: f402622ec9af55678bec6f9b6cebf9dfb5f22eea0627ea9a1e786602c45e15dc90d79efbeb33b72a866de1de1edb18a3c5ff651f60522393ba54277ae23132c9
@@ -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-rb'
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-rb
23
+ $ gem install iuliia
22
24
 
23
25
  ## Usage
24
26
 
@@ -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 = 'Russian transliteration using nalgeon/iuliia schemas'
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.
@@ -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
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Iuliia
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
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.0
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: []