pili 1.3.0 → 1.3.1

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: 4c9ad3f0d7a527077a1be8337686196970d09b3c
4
- data.tar.gz: fe80a2ee4d91cc42d3304f9cb3e9ad719f97a816
3
+ metadata.gz: 9865e9866575afe5e7d4237d81e632fd7000a919
4
+ data.tar.gz: e9c96dd71f418ce1d5d5b4fc71610b00210a0833
5
5
  SHA512:
6
- metadata.gz: 93e45a37baf9469419688a4a3d2271f146d0d80f1cb2820e8651938bf5db7720ff155ee5b7b2e7d706f86fc89317cd29f5b8f5759691287e8ad32de55023ab7e
7
- data.tar.gz: 05c23c3493dc459abc033a8f8c1cf9f064591cd43d4b34c2da6388753c8a1cc338c5de50985c09bd2fe4ae28a254888240443bf79a17e38a9ad5ee9587de97aa
6
+ metadata.gz: 53caacf8ab81601fe91c5e710b78e0da2757f362d75ab4c02296f4568b0ff12da9ef9b6da9b9301450bdead75c06ed13d4543fecdded02cded17227db36914d7
7
+ data.tar.gz: 99f70ed7c9180b8c3c38bd6dbf6ed1c2c747b803f9753f450dc3279bb322f6a65bd0129e20031c2be85b9233723d5be4097110e66ceea5307ba0dc86fae4b4ba
data/lib/pili/stream.rb CHANGED
@@ -76,7 +76,7 @@ module Pili
76
76
  if @publish_security == "static"
77
77
  return "rtmp://#{rtmp_publish_host}/#{@hub}/#{@title}?key=#{@publish_key}"
78
78
  else
79
- nonce = (Time.now.to_f * 1000.0).to_i
79
+ nonce = Time.now.to_i
80
80
  token = Auth.sign(publish_key, "/#{@hub}/#{@title}?nonce=#{nonce}")
81
81
  return "rtmp://#{rtmp_publish_host}/#{@hub}/#{@title}?nonce=#{nonce}&token=#{token}"
82
82
  end
data/lib/pili/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pili
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pili
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miclle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-13 00:00:00.000000000 Z
11
+ date: 2015-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler