truty 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +0 -0
- data/README.md +0 -0
- data/lib/truty/conversion.rb +0 -0
- data/lib/truty/czech.rb +0 -0
- data/lib/truty/english.rb +0 -0
- data/lib/truty/french.rb +0 -0
- data/lib/truty/general.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 080332e4678793bf8e77f0a3b6eefadc9c9ca0bf
|
4
|
+
data.tar.gz: 956124b59a6e80751a65340be94aa0f231582309
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0ddbe026033cfb1dd327e73688821bd5513776abcdef24827b49a90361ba506eb8cb39753acbe6d7c4d30006d24d4f3bd0d11468b2b60100455afe5f408872d
|
7
|
+
data.tar.gz: 3a9edb8e6f4e69596a97112c4be53fca808aa2ac4c326698d3c8d00fbbc3265811a6ae5aba935987d0700e5f68112bc665c214ebf23f028dba6ef3de192bd4e3
|
data/LICENSE
CHANGED
File without changes
|
data/README.md
CHANGED
File without changes
|
data/lib/truty/conversion.rb
CHANGED
File without changes
|
data/lib/truty/czech.rb
CHANGED
File without changes
|
data/lib/truty/english.rb
CHANGED
File without changes
|
data/lib/truty/french.rb
CHANGED
File without changes
|
data/lib/truty/general.rb
CHANGED
@@ -74,7 +74,7 @@ module Truty
|
|
74
74
|
words = input.split(/[ ]+/m)
|
75
75
|
result = []
|
76
76
|
words.each_with_index do |w, n|
|
77
|
-
if !(w.length < 6 || n == words.size - 1 || w =~ URI::
|
77
|
+
if !(w.length < 6 || n == words.size - 1 || w =~ URI::REGEXP || w =~ /\A[\w+\-.]+@[a-z\d\-]+(\.[a-z]+)*\.[a-z]+\z/i)
|
78
78
|
w = l.visualise(w, char)
|
79
79
|
end
|
80
80
|
result << w
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: truty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matěj Kašpar Jirásek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: text-hyphen
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0.
|
75
|
+
version: '0.9'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0.
|
82
|
+
version: '0.9'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rubygems-tasks
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -113,7 +113,8 @@ files:
|
|
113
113
|
homepage: https://github.com/mkj-is/Truty
|
114
114
|
licenses:
|
115
115
|
- MIT
|
116
|
-
metadata:
|
116
|
+
metadata:
|
117
|
+
yard.run: yri
|
117
118
|
post_install_message:
|
118
119
|
rdoc_options: []
|
119
120
|
require_paths:
|
@@ -130,9 +131,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
131
|
version: '0'
|
131
132
|
requirements: []
|
132
133
|
rubyforge_project:
|
133
|
-
rubygems_version: 2.4.
|
134
|
+
rubygems_version: 2.4.8
|
134
135
|
signing_key:
|
135
136
|
specification_version: 4
|
136
137
|
summary: True typography converter
|
137
138
|
test_files: []
|
138
|
-
has_rdoc:
|