soundx 1.0.3 → 1.0.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: 70da174fdeb5829dc7ad150b4d3f55ffdc10234e2f3b766fbe0a5b958855fa9f
4
- data.tar.gz: 69fd9ec26626d65efd54ef0ced2112bf1818ea8ce9557c68253e1299abc5b5da
3
+ metadata.gz: 6b6839e528155e45a2816c36a41415dee39106d12dbe409d75274a97d42b1877
4
+ data.tar.gz: 5c06f9d9fd44692d1a5047226bf5de33775760a021d5194be3b205d539d08747
5
5
  SHA512:
6
- metadata.gz: 4045704be2c535c5cf56324e156300217a820e9aa52518c96ff8865906d2c9bb191bb7cb98044842382d96752d871b2acd46cea9c4a91d8b207222d423e3bf78
7
- data.tar.gz: 616866e481e640814594105e59407d200e782ffeabfbde84fd4895189cac7dd3c270f691914bd436d6adf5828674c7747ba2b491dd13c960f52df387ddf35331
6
+ metadata.gz: 72c4ca9bcd78e412e49fbba2368bc04abcdc63907925988338c155bf096928ec37ed2d17e51a69970057b604b21002efe413e7b50288fdc69bbfd704fcfe2947
7
+ data.tar.gz: f0507106a61b5d03fc713d0f54d3bd3c4c7f24a5510a27b50db796417281099793b8e131c79e863c291d26e635834654f0683f10903a06b0bebe7db833c87388
data/ext/soundx/soundx.c CHANGED
@@ -88,6 +88,14 @@ rb_soundx(int argc, VALUE* argv, VALUE self)
88
88
  continue;
89
89
  }
90
90
 
91
+ // The 2nd character must still respect
92
+ // the 'double code number' rule.
93
+ if (1 == i) {
94
+ if (match == mapping[tolower(src[0])]) {
95
+ continue;
96
+ }
97
+ }
98
+
91
99
  // Skip if previous character is the same
92
100
  if (dest[written] == match) {
93
101
  continue;
@@ -1,3 +1,3 @@
1
1
  module SoundX
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soundx
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Cook
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-09 00:00:00.000000000 Z
11
+ date: 2019-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler