opal-sid 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +17 -1
- data/README.md +1 -1
- data/opal-sid.gemspec +1 -1
- data/opal/sid.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5391b0780739ef47ab6b54888c517d46a5385148
|
4
|
+
data.tar.gz: 50ffa1b7720372818470d821ccbd1b24b0a6de13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b9e13fd7f45df41980082702160e25a65c7128aed82294e3e5204c8e2d0bb3d27d90e233395b5fe5f73e5720acb6912e2c46b9c97fa9263c88b02c29f3725f0
|
7
|
+
data.tar.gz: fa0580a8290a44fcb71a049a8fef9397d053c6fd23d9e67656904de1ddc2797515eec311e0fc1b64d55af9243af1192eb13ef92ab8301bbc5a9fac80d70b8e62
|
data/.codeclimate.yml
CHANGED
@@ -1,2 +1,18 @@
|
|
1
|
+
---
|
2
|
+
engines:
|
3
|
+
duplication:
|
4
|
+
enabled: true
|
5
|
+
config:
|
6
|
+
languages:
|
7
|
+
- ruby
|
8
|
+
fixme:
|
9
|
+
enabled: true
|
10
|
+
rubocop:
|
11
|
+
enabled: true
|
12
|
+
reek:
|
13
|
+
enabled: true
|
14
|
+
ratings:
|
15
|
+
paths:
|
16
|
+
- "**.rb"
|
1
17
|
exclude_paths:
|
2
|
-
|
18
|
+
- opal/vendor/*
|
data/README.md
CHANGED
data/opal-sid.gemspec
CHANGED
data/opal/sid.rb
CHANGED
@@ -27,8 +27,8 @@ class SID
|
|
27
27
|
alias_native :setstartcallback
|
28
28
|
alias_native :setendcallback
|
29
29
|
|
30
|
-
def initialize(buffersize =
|
31
|
-
@native = `new jsSID(buffersize, background_noise)`
|
30
|
+
def initialize(buffersize = 16384, background_noise = 0.0005)
|
31
|
+
@native = `new jsSID(#{buffersize}, #{background_noise})`
|
32
32
|
end
|
33
33
|
|
34
34
|
def on_load(&block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opal-sid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michał Kalbarczyk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal
|