skype_bot 0.0.3 → 0.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
  SHA1:
3
- metadata.gz: d3d9b5126b4cde9b2cdd812112532f7d99222389
4
- data.tar.gz: fe10629998d37c84b413bd6c62d18ceec70fe8bb
3
+ metadata.gz: d90c1fc3afdfa2bf7dee9eeacb362f8a8be38c3d
4
+ data.tar.gz: 59a0a83945a4c508568787b55f2a01fb8e6d9376
5
5
  SHA512:
6
- metadata.gz: b02f3f75ca4ca16f8a60f81f2ae535d3675db7f4378c5eb735b5bc50c88d24879ebae2342636a22354d0bf9e972f5452c4b9e1a29a38c029ea82601a90b9ee9f
7
- data.tar.gz: bbe441f731945e907798865c950de0242dd1e9887555d0b87a0cb021eec02f507b5984205af7486abba5927b689503aa07f7bedc3a020c5222b7c16385121953
6
+ metadata.gz: a841e56c2c277d2de4c1eef651a4eca082f58d3cf19f30719482ddde52dd1ad9046bb1919586206b1961cad16c6b6a62d90f2cdea8fa5b22b9e9a728f443a48f
7
+ data.tar.gz: 2de28dae426d6b060408be17c24feab53601233150a4c928dd561f19d4ce83130f3b9a8cbe1f036b288961f6b02e0af9b916f092ddcc33193664a306e0e0bfc7
@@ -6,7 +6,7 @@ module SkypeBot
6
6
 
7
7
  # NOTE: minus 5 seconds to prevent token expire
8
8
  def get_token
9
- if @token && @valid_until && @valid_until > Time.current - 5.seconds
9
+ if @token && @valid_until && @valid_until > Time.current + 10.seconds
10
10
  @token
11
11
  else
12
12
  renew_token
@@ -1,3 +1,3 @@
1
1
  module SkypeBot
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skype_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - MQuy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-12 00:00:00.000000000 Z
11
+ date: 2016-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler