sportsflix 1.2.6 → 1.2.7

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: c1bf0c526f9d02e73ef7d8df04d262130939fc0d
4
- data.tar.gz: bffeb97fdcaf1438a468ac875b6d7a7710697d95
3
+ metadata.gz: 1098181cb30e1113e86873aef58c5a08508b17ed
4
+ data.tar.gz: 966fbf8efa3512ba61f4d3efc2eb84434ece01e1
5
5
  SHA512:
6
- metadata.gz: 7751da5926e4859fcf116203f68141c7ad9f0f07daeafa929b6a44fc6ea37f573cea9cc83b7c9af0120567a6980531e7338d5540b02179dfb73272a32a154824
7
- data.tar.gz: ccca43608388ec2b20f151d0a0defa0825414dc5ed494bfd90bae56903e51169877f69b59b7f4afff70c94900642265dd666b1fcd8e94cf3df40153133901a4b
6
+ metadata.gz: 1dea2ac73946a63eee21ba71d34ab49cd527094c142a74085df67f5f54d22ff57eb2e7d5f6a0b60ffb12b6abc60eaa2337d036f72c642f25f3812da461d34a40
7
+ data.tar.gz: 380551127bd31184e92048bb6b504540eefc0af55a6552556fc7f89cafc31675bbc03fe932aa7c02d867c5908ede5467f09f44659c25180dfb13973f36056348
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sportsflix (1.2.6)
4
+ sportsflix (1.2.7)
5
5
  execjs-fastnode (~> 0.2.0)
6
6
  oga (~> 2.8)
7
7
  thor (~> 0.19.4)
@@ -19,7 +19,7 @@ GEM
19
19
  execjs-fastnode (0.2.1)
20
20
  execjs (~> 2.0)
21
21
  json (2.0.3)
22
- oga (2.10)
22
+ oga (2.11)
23
23
  ast
24
24
  ruby-ll (~> 2.1)
25
25
  parser (2.3.3.1)
@@ -74,4 +74,4 @@ DEPENDENCIES
74
74
  sportsflix!
75
75
 
76
76
  BUNDLED WITH
77
- 1.15.3
77
+ 1.15.4
data/README.md CHANGED
@@ -11,15 +11,14 @@ Watch the best sports stream in HD from the command line
11
11
  * Docker
12
12
  * Ruby 1.9.3 or newer
13
13
  * VLC player
14
+ * NodeJS
14
15
 
15
16
  ## Installation
16
17
 
17
18
  ```sh
18
- gem install sportsflix --pre
19
+ gem install sportsflix
19
20
  ```
20
21
 
21
- > Notice the `--pre` in the end
22
-
23
22
  ## Usage
24
23
 
25
24
  ### Examples
@@ -47,7 +47,7 @@ module Sportsflix
47
47
  end
48
48
 
49
49
  def get_stream_uri(stream_nr)
50
- stream_raw = get_page_contents("#{BASE_URL}/#{stream_nr}")
50
+ stream_raw = get_page_contents("#{BASE_URL}/#{stream_nr.to_s.rjust(2, '0')}")
51
51
  stream_raw.css('p[class="auto-style1"] a').first.get('href')
52
52
  end
53
53
 
@@ -1,3 +1,3 @@
1
1
  module Sportsflix
2
- VERSION = '1.2.6'
2
+ VERSION = '1.2.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sportsflix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
4
+ version: 1.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Fernandes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-15 00:00:00.000000000 Z
11
+ date: 2017-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler