sportsflix 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd7ec5c71729b4aa9385032df26998139d54e1c9
4
- data.tar.gz: 3a9faa2b861c78917ef7ee66e42adb32bcc552fc
3
+ metadata.gz: ab875fb4cea428df2326513d643cfe01d4a5d408
4
+ data.tar.gz: 1ddc915f45c262ee95b6b71a21bb5a42edc69d3b
5
5
  SHA512:
6
- metadata.gz: 2803dcdc2eee196546c1f4057223b57d90877c3a44be2af4880a7f3b6e704f6041b8a3a30247ad5f34b758b16df1297c68db0ae160e369d1c483b96fef8354b7
7
- data.tar.gz: 37712bba003af41363a33bbc968276df8b673756cc164e7b4f41179fed5b0e2c08946f57af5ff1a0c3d84b272cb940fcd756f50d10154004526feed3817fb70e
6
+ metadata.gz: dd303bd3c51135c388a91899a730fea4fc497e776f4c5a877144eca9f6c064733e5f14fa618e83ab69abb8486406f3ce0e00f0bf6d3c0112a25fafd4064c75dc
7
+ data.tar.gz: c0ecd3bf0e9ff1c37296a2adb3727bc2f4fcf626a2cfaaf7f7623854d05467baa95ddfd3830a923fd1efc6e2c86755b7a89c56f65d36aa22f8e5270e1cc0522c
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sportsflix (1.1.0)
4
+ sportsflix (1.1.1)
5
5
  oga (~> 2.8)
6
6
  thor (~> 0.19.4)
7
7
 
@@ -37,11 +37,11 @@ module Sportsflix
37
37
  puts "Waiting for proxy to start (#{@proxy_delay})..."
38
38
  sleep(@proxy_delay)
39
39
 
40
- unless @server_only
41
- video_player = find_video_player
42
- stream_final_url = proxy.url(stream[:uri])
40
+ stream_final_url = proxy.url(stream[:uri])
41
+ puts "Playing #{stream_final_url}"
43
42
 
44
- puts "Playing #{stream_final_url}"
43
+ unless @server_only
44
+ video_player = find_video_player
45
45
  @executor.run %{#{video_player} #{stream_final_url}}
46
46
 
47
47
  proxy.stop
@@ -72,7 +72,7 @@ module Sportsflix
72
72
  def which(cmd)
73
73
  exts = ENV['PATHEXT'] ? ENV['PATHEXT'].split(';') : ['']
74
74
  ENV['PATH'].split(File::PATH_SEPARATOR).each do |path|
75
- exts.each { |ext|
75
+ exts.each {|ext|
76
76
  bin = File.join(path, "#{cmd}#{ext}")
77
77
  return File.executable?(bin) && !File.directory?(bin)
78
78
  }
@@ -1,3 +1,3 @@
1
1
  module Sportsflix
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sportsflix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Fernandes