turkish_support 1.0.4 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/.rubocop.yml +4 -0
- data/.travis.yml +1 -1
- data/CODE_OF_CONDUCT.md +46 -0
- data/LICENSE.txt +1 -1
- data/README.md +13 -11
- data/lib/turkish_support/array_methods.rb +6 -7
- data/lib/turkish_support/constants.rb +35 -48
- data/lib/turkish_support/helpers.rb +12 -35
- data/lib/turkish_support/string_methods.rb +42 -28
- data/lib/turkish_support/version.rb +1 -1
- data/spec/array_spec.rb +103 -0
- data/spec/helpers_spec.rb +37 -134
- data/spec/string_spec.rb +415 -0
- data/spec/turkish_support_spec.rb +1 -607
- data/turkish_support.gemspec +5 -5
- metadata +25 -15
data/turkish_support.gemspec
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
lib = File.expand_path('
|
1
|
+
lib = File.expand_path('lib', __dir__)
|
2
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
3
|
require 'turkish_support/version'
|
4
4
|
|
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
|
-
spec.required_ruby_version = '>= 2.
|
22
|
-
spec.add_development_dependency 'bundler', '~> 1.
|
23
|
-
spec.add_development_dependency 'rake'
|
24
|
-
spec.add_development_dependency 'rspec'
|
21
|
+
spec.required_ruby_version = '>= 2.7.0'
|
22
|
+
spec.add_development_dependency 'bundler', '~> 2.1', '>= 2.1.2'
|
23
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
24
|
+
spec.add_development_dependency 'rspec', '~> 3.10'
|
25
25
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: turkish_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sıtkı Bağdat
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,42 +16,48 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1
|
19
|
+
version: '2.1'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.1.2
|
20
23
|
type: :development
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
27
|
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1
|
29
|
+
version: '2.1'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 2.1.2
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: rake
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- - "
|
37
|
+
- - "~>"
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
39
|
+
version: '13.0'
|
34
40
|
type: :development
|
35
41
|
prerelease: false
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
37
43
|
requirements:
|
38
|
-
- - "
|
44
|
+
- - "~>"
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
46
|
+
version: '13.0'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: rspec
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
|
-
- - "
|
51
|
+
- - "~>"
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
53
|
+
version: '3.10'
|
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: '
|
60
|
+
version: '3.10'
|
55
61
|
description: |-
|
56
62
|
Turkish character support for core ruby methods
|
57
63
|
like String#upcase, String#gsub, String#match, Array#sort, and etc...)
|
@@ -66,6 +72,7 @@ files:
|
|
66
72
|
- ".rspec"
|
67
73
|
- ".rubocop.yml"
|
68
74
|
- ".travis.yml"
|
75
|
+
- CODE_OF_CONDUCT.md
|
69
76
|
- Gemfile
|
70
77
|
- LICENSE.txt
|
71
78
|
- README.md
|
@@ -76,8 +83,10 @@ files:
|
|
76
83
|
- lib/turkish_support/helpers.rb
|
77
84
|
- lib/turkish_support/string_methods.rb
|
78
85
|
- lib/turkish_support/version.rb
|
86
|
+
- spec/array_spec.rb
|
79
87
|
- spec/helpers_spec.rb
|
80
88
|
- spec/spec_helper.rb
|
89
|
+
- spec/string_spec.rb
|
81
90
|
- spec/turkish_support_spec.rb
|
82
91
|
- turkish_support.gemspec
|
83
92
|
homepage: https://github.com/sbagdat/turkish_support
|
@@ -92,19 +101,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
92
101
|
requirements:
|
93
102
|
- - ">="
|
94
103
|
- !ruby/object:Gem::Version
|
95
|
-
version: 2.
|
104
|
+
version: 2.7.0
|
96
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
106
|
requirements:
|
98
107
|
- - ">="
|
99
108
|
- !ruby/object:Gem::Version
|
100
109
|
version: '0'
|
101
110
|
requirements: []
|
102
|
-
|
103
|
-
rubygems_version: 2.6.13
|
111
|
+
rubygems_version: 3.1.2
|
104
112
|
signing_key:
|
105
113
|
specification_version: 4
|
106
114
|
summary: Turkish character support for core ruby methods.
|
107
115
|
test_files:
|
116
|
+
- spec/array_spec.rb
|
108
117
|
- spec/helpers_spec.rb
|
109
118
|
- spec/spec_helper.rb
|
119
|
+
- spec/string_spec.rb
|
110
120
|
- spec/turkish_support_spec.rb
|