peerflixrb 5.2.0 → 5.2.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: bfac2d0e23e7f8cedbf7b36f1453f9912b9645f5
4
- data.tar.gz: 5975ecbb732372f750f722b7ea44083345e98f14
3
+ metadata.gz: 9fc135398c0e7148b8375d5cd679b0ab4031f6e5
4
+ data.tar.gz: cada989c0ed7bab5dc0064298f9bfd05ac3b6b18
5
5
  SHA512:
6
- metadata.gz: fc9fb70e3e861cce8f2256a0522c64328d5b50946dd0149b658e5aee7b2ab4e1fa596b5de5f727743cb3cf81c0245e5e7a09021818f1238c49469a800f80e804
7
- data.tar.gz: c83008d59990916ad17ca524528aec587e9c27febd98c1e5785e89959615c9ea3811eba928ab0db6fdc36e164b6a1220fcd27c9849563a787b9bd75d9f8076a5
6
+ metadata.gz: c4f8091f408150e1f2a4dc7067843b80665ac0bab778aad0e6beaf61df2f6fb5a77acaf0d7681375f1a0dd0b6a1ce5739b96116e3575e611eb743d63c6e7896e
7
+ data.tar.gz: abaa9940a440598f715e6a88363346cf917364ff208a06d33acf5b99a7b96ed06b5562725ca23aeb28b8a9d2b6dae34253526f6871ae0a46507a2c7613802582
@@ -1,6 +1,8 @@
1
1
  require 'addic7ed_downloader'
2
2
  require 'highline'
3
3
 
4
+ BINARY_PATH = File.join(File.dirname(__FILE__), %w(.. .. bin))
5
+
4
6
  module Peerflixrb
5
7
  class Commands
6
8
  attr_reader :cli
@@ -23,7 +25,7 @@ module Peerflixrb
23
25
  end
24
26
 
25
27
  def webtorrent
26
- return "bin/webtorrent-cli-#{os}" if os
28
+ return "#{BINARY_PATH}/webtorrent-cli-#{os}" if os
27
29
  return 'webtorrent' if check_requirements
28
30
  end
29
31
 
@@ -1,3 +1,3 @@
1
1
  module Peerflixrb
2
- VERSION = '5.2.0'.freeze
2
+ VERSION = '5.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peerflixrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0
4
+ version: 5.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Marchante
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-09 00:00:00.000000000 Z
11
+ date: 2017-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addic7ed_downloader