phonetic_encoder 1.1.2 → 1.1.4

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: 626d8d160cf39f6abbadca8f415893e426038fea4e7b279b1fb5eabee2da7b6a
4
- data.tar.gz: acff9bc3c24af3a341ce931421926b151f68361cc8d62fcb1464bc5ab4e137cd
3
+ metadata.gz: 27172d3ab0a273df664b88f6129a70a7b0b2675a1141f072b85736d92cb6d12d
4
+ data.tar.gz: e3f69817aaef904be5b7e4b3284dadb745812a881f204c167d3862ba2359341b
5
5
  SHA512:
6
- metadata.gz: 925cef77d6e7ba0faf197fab135336a1aee2ac8200f5f36d269f920b9d1f8a0c93e732f89bd273643efb0ce7cd3688fc88c909f0143bd096d20467c525f607fd
7
- data.tar.gz: 26f6ef4ace8560837ea738d20db01e63bc0ffb386f26482c8fe21472403758c86d7eae7db87971903a3440813326b26169ef4df61fbadcff6162cc25720a0d6d
6
+ metadata.gz: 776a53e6450303258f129680df29522b82213ef07600ded2ae63d112070b5bff5466d16b1b401167156541820bef2a5caddc11c39b90e9696cb61fd67a3b770f
7
+ data.tar.gz: db9db3e1c90192c3a48ee5757591348efe734baa257a1ca4c9a46b9d057ad55ee2437510b95727d1598b7b522f0a9c1b24e84b0a4cdf0c133d80c5b217eb9216
@@ -1,23 +1,27 @@
1
- sudo: required
2
1
  matrix:
3
2
  include:
4
3
  - language: ruby
4
+ name: "Bundler (rvm 2.4.4 & bundler 1.17.3)"
5
5
  rvm: 2.4.4
6
6
  before_install:
7
7
  - gem install bundler -v 1.17.3
8
8
  - language: ruby
9
+ name: "Bundler (rvm 2.4.4 & bundler 2.0.1)"
9
10
  rvm: 2.4.4
10
11
  before_install:
11
12
  - gem install bundler -v 2.0.1
12
13
  - language: ruby
14
+ name: "Bundler (rvm 2.5.3 & bundler 2.0.1)"
13
15
  rvm: 2.5.3
14
16
  before_install:
15
17
  - gem install bundler -v 2.0.1
16
18
  - language: ruby
19
+ name: "Bundler (rvm 2.6.1 & bundler 2.0.1)"
17
20
  rvm: 2.6.1
18
21
  before_install:
19
22
  - gem install bundler -v 2.0.1
20
23
  - language: ruby
24
+ name: "Rubocop (rvm 2.4.4)"
21
25
  env: SKIP_INTERPRETER=true
22
26
  rvm: 2.4.4
23
27
  before_install:
@@ -27,6 +31,7 @@ matrix:
27
31
  script:
28
32
  - ./rubocop-travis/scan.sh
29
33
  - language: ruby
34
+ name: "Rubocop (rvm 2.5.3)"
30
35
  env: SKIP_INTERPRETER=true
31
36
  rvm: 2.5.3
32
37
  before_install:
@@ -36,6 +41,7 @@ matrix:
36
41
  script:
37
42
  - ./rubocop-travis/scan.sh
38
43
  - language: ruby
44
+ name: "Rubocop (rvm 2.6.1)"
39
45
  env: SKIP_INTERPRETER=true
40
46
  rvm: 2.6.1
41
47
  before_install:
@@ -45,6 +51,7 @@ matrix:
45
51
  script:
46
52
  - ./rubocop-travis/scan.sh
47
53
  - language: ruby
54
+ name: "Link Checker (rvm 2.6.1)"
48
55
  rvm: 2.6.1
49
56
  before_install:
50
57
  - mkdir travis
@@ -1,3 +1,15 @@
1
+ ## 1.1.4 (June 28, 2019)
2
+
3
+ IMPROVEMENTS:
4
+
5
+ * Had to yank 1.1.3 and couldn't overwrite so forced to up one version. ([@TGWolf][])
6
+
7
+ ## 1.1.3 (June 28, 2019)
8
+
9
+ IMPROVEMENTS:
10
+
11
+ * Clean up tweaks based on updates to rubocop. ([@TGWolf][])
12
+
1
13
  ## 1.1.2 (March 13, 2019)
2
14
 
3
15
  IMPROVEMENTS:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative 'phonetic_encoder/version'
2
4
  require_relative 'phonetic_encoder/overloads'
3
5
  require_relative 'phonetic_encoder/dicts/nato'
@@ -36,7 +38,7 @@ module PhoneticEncoder
36
38
  result = ''
37
39
 
38
40
  text.downcase.split('').each do |letter|
39
- result << format('%<word>s ', word: letter_from_dictionary(letter, $dict[dict_name]))
41
+ result += format('%<word>s ', word: letter_from_dictionary(letter, $dict[dict_name]))
40
42
  end
41
43
  result.rstrip
42
44
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module PhoneticEncoder
2
4
  NATO = { 'a' => 'alpha',
3
5
  'b' => 'bravo',
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module PhoneticEncoder
2
4
  SOUNDS = { 'a' => 'aye',
3
5
  'b' => 'bee',
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  #
2
4
  # Overload the string class
3
5
  #
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module PhoneticEncoder
2
- VERSION = '1.1.2'.freeze
4
+ VERSION = '1.1.4'
3
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phonetic_encoder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Gurney
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-13 00:00:00.000000000 Z
11
+ date: 2019-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler