tate 1.2.0 → 1.3.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ea8b14120465041879b3e610dae8d76be0dfa05e164ce05065d5164edccd59a
4
- data.tar.gz: 30b5534ea910440fc86612068e1935d56efaf0ee91964100c8ef34cb5ff4728e
3
+ metadata.gz: 583d7ced6bbb20cc01f8d484d9d3abbaceffa5c3ff2e1fd6d0e70634a10d5052
4
+ data.tar.gz: 832d763a9e915c92340fb6f38a19466eb2e70cd9f027112db696268f5971772f
5
5
  SHA512:
6
- metadata.gz: f69691e66ea1886c24a7de050e8102c3795382de44b0cbabb632be484b2205b8fbf7e8c25dfa2898975bbae5108bae18a67a3e8536d6e5626c53cc17dd287290
7
- data.tar.gz: ac9a6206112ca6fd2b3bb62e6c03737a9fbeda9d2c8046aee88af1cd17e410278cb1ab6cbf47d0efc7d60ab9fb0f6ef0a9872f2029abead8712d4b0fd97f3f66
6
+ metadata.gz: dd713917693bfc540c51a84708ec6f73e436fff4993067b7151d2547dbb8f9c84595a3b5f7d5c9314166e17d99ec4efaea127c7af9288d1266e1e73fad5a166a
7
+ data.tar.gz: 473dfcb8e7d2ad763f38797f5758053afeedebdbfd82c77e7b515bde4ebae288d6a30135c59c05edaefc360c28fa2db48a940a97697f8072ad026a862ec6abdf
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2019 Kerem Bozdas
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/lib/tate/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tate
2
- VERSION = "1.2.0"
2
+ VERSION = "1.3.0"
3
3
  end
data/lib/tate.rb CHANGED
@@ -8,6 +8,7 @@ require 'yaml'
8
8
 
9
9
  I18n.load_path << Dir[File.expand_path("lib/config/locales/*.yml")]
10
10
  I18n.enforce_available_locales = false
11
+ I18n.default_locale = :en
11
12
 
12
13
  module Tate
13
14
  def self.transliterate(string, language = nil, replacement = "?".freeze)
data/tate.gemspec CHANGED
@@ -6,6 +6,7 @@ require 'tate/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'tate'
8
8
  spec.version = Tate::VERSION
9
+ spec.licenses = 'MIT'
9
10
  spec.authors = ['Kerem Bozdas']
10
11
  spec.email = ['krmbzds.github@gmail.com']
11
12
 
@@ -19,9 +20,9 @@ Gem::Specification.new do |spec|
19
20
  spec.executables = ['tate']
20
21
  spec.require_paths = ['lib']
21
22
 
22
- spec.add_runtime_dependency 'i18n'
23
- spec.add_development_dependency 'bundler'
24
- spec.add_development_dependency 'rake'
25
- spec.add_development_dependency 'rspec'
26
- spec.add_development_dependency 'simplecov'
23
+ spec.add_runtime_dependency 'i18n', '~> 1.6'
24
+ spec.add_development_dependency 'bundler', '~> 2.0', '>= 2.0.2'
25
+ spec.add_development_dependency 'rake', '~> 12.3'
26
+ spec.add_development_dependency 'rspec', '~> 3.8'
27
+ spec.add_development_dependency 'simplecov', '~> 0.17.1'
27
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tate
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kerem Bozdas
@@ -14,72 +14,78 @@ dependencies:
14
14
  name: i18n
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '1.6'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.0'
31
34
  - - ">="
32
35
  - !ruby/object:Gem::Version
33
- version: '0'
36
+ version: 2.0.2
34
37
  type: :development
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '2.0'
38
44
  - - ">="
39
45
  - !ruby/object:Gem::Version
40
- version: '0'
46
+ version: 2.0.2
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: rake
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
- - - ">="
51
+ - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '0'
53
+ version: '12.3'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
- - - ">="
58
+ - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '0'
60
+ version: '12.3'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: rspec
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
- - - ">="
65
+ - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: '0'
67
+ version: '3.8'
62
68
  type: :development
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
- - - ">="
72
+ - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: '0'
74
+ version: '3.8'
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: simplecov
71
77
  requirement: !ruby/object:Gem::Requirement
72
78
  requirements:
73
- - - ">="
79
+ - - "~>"
74
80
  - !ruby/object:Gem::Version
75
- version: '0'
81
+ version: 0.17.1
76
82
  type: :development
77
83
  prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
79
85
  requirements:
80
- - - ">="
86
+ - - "~>"
81
87
  - !ruby/object:Gem::Version
82
- version: '0'
88
+ version: 0.17.1
83
89
  description: Convert accented characters and transliterate non-latin alphabets to
84
90
  ASCII.
85
91
  email:
@@ -95,6 +101,7 @@ files:
95
101
  - ".ruby-version"
96
102
  - ".travis.yml"
97
103
  - Gemfile
104
+ - LICENSE.txt
98
105
  - README.md
99
106
  - Rakefile
100
107
  - bin/console
@@ -116,7 +123,8 @@ files:
116
123
  - lib/tate/version.rb
117
124
  - tate.gemspec
118
125
  homepage: https://github.com/krmbzds/tate
119
- licenses: []
126
+ licenses:
127
+ - MIT
120
128
  metadata: {}
121
129
  post_install_message:
122
130
  rdoc_options: []