kenny_speak 1.1.2 → 1.1.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
  SHA256:
3
- metadata.gz: 5fa12f5a9eabbea97569a8d91cacb0309bface1e003ab48f608ca789d02763b0
4
- data.tar.gz: 1b18c17c34d71302e9a0b50741514b9ec76ac7108c2c706d69b3d2bd29554a42
3
+ metadata.gz: f933fbb15f4cb92c0ae33a4feea793a78eb042532d447e0383d88ff0a1bcc0dd
4
+ data.tar.gz: f2d2816649f2dea0c87204167afefe4075e53ea8019eb212104142eb5aa5d069
5
5
  SHA512:
6
- metadata.gz: 3e89b5dfe206bd5c2cd7bc82011619527a081c95c3e235aeb384f62fca915e9a196bee3ec5931d8d1b110498141522151dd7d63f332de6f198e6ae8beda119de
7
- data.tar.gz: 7de5ce60f8eac8b32e5d7f70611ea05d2eec13067cc6a127bb4a4ea41428f65578fbdc83128164f522d7718a0654ac06582903020a3775b48b156c2355bbcb80
6
+ metadata.gz: 470a8c7c704534fad79f88b5d2dd6766172d5abe0d9925a60a247e863bff1aa3d3be36c239581f77b08fabd22a3779f9ca14bcc2d1e101df91092231d282dd3a
7
+ data.tar.gz: 919a6bda4a5bd666a730bef5a6bc7ba8854e50a77d8d5a2f236e9fd6b1bd062fde8be118d30669eedee0438a0cd5c4dd05acc2a8086270495bea036b107b4ddd
@@ -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,9 @@
1
+ ## 1.1.3 (June 28, 2019)
2
+
3
+ IMPROVEMENTS:
4
+
5
+ * Clean up tweaks based on updates to rubocop. ([@TGWolf][])
6
+
1
7
  ## 1.1.2 (March 13, 2019)
2
8
 
3
9
  IMPROVEMENTS:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'kenny_speak/version'
2
4
  require 'kenny_speak/letters'
3
5
  require 'kenny_speak/overloads'
@@ -14,7 +16,7 @@ module KennySpeak
14
16
  result = ''
15
17
 
16
18
  str.split('').each do |c|
17
- result << if c =~ /[[:alpha:]]/
19
+ result += if c =~ /[[:alpha:]]/
18
20
  kenny_from_letter(c)
19
21
  else
20
22
  c
@@ -28,9 +30,9 @@ module KennySpeak
28
30
 
29
31
  str.gsub(/\s+/m, ' ').strip.split(' ').each do |word|
30
32
  word.scan(/.{1,3}/).each do |tuple|
31
- result << letter_from_kenny(tuple)
33
+ result += letter_from_kenny(tuple)
32
34
  end
33
- result << ' '
35
+ result += ' '
34
36
  end
35
37
  result.rstrip
36
38
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module KennySpeak
2
4
  KENNY_LETTERS = ['mmm', 'mmp', 'mmf', 'mpm', 'mpp', 'mpf', 'mfm', 'mfp', 'mff', 'pmm', 'pmp', 'pmf', 'ppm', 'ppp', 'ppf', 'pfm', 'pfp', 'pff', 'fmm', 'fmp', 'fmf', 'fpm', 'fpp', 'fpf', 'ffm', 'ffp'].freeze
3
5
  end
@@ -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 KennySpeak
2
- VERSION = '1.1.2'.freeze
4
+ VERSION = '1.1.3'
3
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kenny_speak
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Gurney aka Wolf
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