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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec0c8b8fbf93742d880fab533d65bdc4708dbaab
4
- data.tar.gz: 83d2d9052a5364b7539dd363c6d4d021cdff8554
3
+ metadata.gz: 080332e4678793bf8e77f0a3b6eefadc9c9ca0bf
4
+ data.tar.gz: 956124b59a6e80751a65340be94aa0f231582309
5
5
  SHA512:
6
- metadata.gz: b4fdb1b4805de12e993924a4a0d5cb0bb18e269acf5f6a6234b4f84ce7014f907541372b4038054b5b4dccb749260f696019b33dbd17cea32b1271f375a9d557
7
- data.tar.gz: 0fb664733ef8d75cee09c0f471b396396a82788ba5d41c9b0d96995b46bde84c96b9fa964bf8500fa7d8daeeb85a56cb5b22192799c14642234248b4ce632ec3
6
+ metadata.gz: f0ddbe026033cfb1dd327e73688821bd5513776abcdef24827b49a90361ba506eb8cb39753acbe6d7c4d30006d24d4f3bd0d11468b2b60100455afe5f408872d
7
+ data.tar.gz: 3a9edb8e6f4e69596a97112c4be53fca808aa2ac4c326698d3c8d00fbbc3265811a6ae5aba935987d0700e5f68112bc665c214ebf23f028dba6ef3de192bd4e3
data/LICENSE CHANGED
File without changes
data/README.md CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -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::regexp || w =~ /\A[\w+\-.]+@[a-z\d\-]+(\.[a-z]+)*\.[a-z]+\z/i)
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.2
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: 2016-03-10 00:00:00.000000000 Z
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.8'
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.8'
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.5.1
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: