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 +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +2 -3
- data/lib/sportsflix/providers/arenavision.rb +1 -1
- data/lib/sportsflix/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1098181cb30e1113e86873aef58c5a08508b17ed
|
4
|
+
data.tar.gz: 966fbf8efa3512ba61f4d3efc2eb84434ece01e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dea2ac73946a63eee21ba71d34ab49cd527094c142a74085df67f5f54d22ff57eb2e7d5f6a0b60ffb12b6abc60eaa2337d036f72c642f25f3812da461d34a40
|
7
|
+
data.tar.gz: 380551127bd31184e92048bb6b504540eefc0af55a6552556fc7f89cafc31675bbc03fe932aa7c02d867c5908ede5467f09f44659c25180dfb13973f36056348
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sportsflix (1.2.
|
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.
|
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.
|
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
|
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
|
|
data/lib/sportsflix/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|