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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 90b78869f8bf4ee151f47bdfed4fd6487c73b0e4
4
- data.tar.gz: baff76483b4de48526be7f0f5f10cd3176668bda
3
+ metadata.gz: 5391b0780739ef47ab6b54888c517d46a5385148
4
+ data.tar.gz: 50ffa1b7720372818470d821ccbd1b24b0a6de13
5
5
  SHA512:
6
- metadata.gz: 5e1f80b7c9b70782c161fa1441176762becd65946b8b45d2edbf7a57489acd7056b6e16c4d4d916d796919b39f185a7fc206d6201e808300dff6f4577a5a10c9
7
- data.tar.gz: 9e6ed750c7ef543a0b81d22cbfdb26e5465c1ee2ba8aca2b2ed9e881bf2c7321b3005cbe6eeee13705a4dbbfbc21b34cfe268c16cf56a3eedc80d16afe91cd9d
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
- - opal/vendor/*
18
+ - opal/vendor/*
data/README.md CHANGED
@@ -17,7 +17,7 @@ Gemfile
17
17
  gem 'opal-sid'
18
18
  ```
19
19
 
20
- ### Usage
20
+ ### Browser side
21
21
 
22
22
  ```ruby
23
23
  require 'sid'
data/opal-sid.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'opal-sid'
3
- s.version = '0.0.1'
3
+ s.version = '0.0.2'
4
4
  s.authors = ['Michał Kalbarczyk']
5
5
  s.email = 'fazibear@gmail.com'
6
6
  s.homepage = 'http://github.com/fazibear/opal-sid'
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 = 1024, background_noise = 0.0005)
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.1
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-01 00:00:00.000000000 Z
11
+ date: 2016-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal