cinema 2.0.0 → 2.1.0

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: 4ce1d18103a051c4c254f219fb75481a5428a32d
4
- data.tar.gz: cd3f665f2c78c8cdd4e9e470542c03b78e441b0f
3
+ metadata.gz: a5d225844e5eceadc94ca34949f795de82bacdb5
4
+ data.tar.gz: e563cc3990759300cc0195594388636804cf540d
5
5
  SHA512:
6
- metadata.gz: edec0ccc0659b10ba8c38dd4b59168f3ba4b979b7c92d393e86752d6b1ad7e3e3a3e9c374113701d41d81abd42eb5e19764027669dce01189f84d056aa59c55e
7
- data.tar.gz: 9173da777e32df964b8d196dca177ea435b9574a111c38895eed387fea8f23be70b8d1f8722336c4e6a61f0461df122ca22dd758bc604422e5c20a085e448e65
6
+ metadata.gz: ea4a757678da6db59842ed64c5cf3352deb35c6cf60bd8379903edcfb5c68992e44b1cbd17c7777cf5c7161fa2df36e423220ebfbd4a5ebed5e7273b93b38073
7
+ data.tar.gz: 4767c973f7322eccd6458c36c61880a09191ff021ebb0210e412ffb8577c472cd57e0823192932be39a496516fc15cb31c4e2ac6d252ffd7e252b5c23330b076
data/README.md CHANGED
@@ -1,31 +1,19 @@
1
1
  # Cinema
2
2
 
3
- TODO: Write a gem description
3
+ Select movie from trakt.tv watchlist and stream it from torrents
4
4
 
5
5
  ## Installation
6
6
 
7
- Add this line to your application's Gemfile:
8
-
9
- ```ruby
10
- gem 'cinema'
11
- ```
12
-
13
- And then execute:
14
-
15
- $ bundle
16
-
17
- Or install it yourself as:
18
-
19
7
  $ gem install cinema
20
8
 
21
9
  ## Usage
22
10
 
23
- TODO: Write usage instructions here
11
+ Run `cinema` command.
12
+
13
+ On first run browser will open. Authorize the app
14
+ and enter PIN code.
24
15
 
25
- ## Contributing
16
+ You will be presented with movie list from your
17
+ trakt.tv account. Select movie, quality, app for streaming
18
+ and video player. Enjoy!
26
19
 
27
- 1. Fork it ( https://github.com/[my-github-username]/cinema/fork )
28
- 2. Create your feature branch (`git checkout -b my-new-feature`)
29
- 3. Commit your changes (`git commit -am 'Add some feature'`)
30
- 4. Push to the branch (`git push origin my-new-feature`)
31
- 5. Create a new Pull Request
@@ -48,14 +48,14 @@ module Cinema
48
48
  def watchlist
49
49
  with_unreliable_api do
50
50
  puts "Requesting watchlist..."
51
- trakt_request(:get, "calendars/my/movies/1900-01-01/1000000")
51
+ trakt_request(:get, "sync/watchlist/movies")
52
52
  end
53
53
  end
54
54
 
55
55
  def torrents(imdb_id)
56
56
  with_unreliable_api do
57
57
  puts "Searching torrents..."
58
- response = RestClient.get("http://yts.to/api/v2/list_movies.json?query_term=#{imdb_id}").body
58
+ response = RestClient.get("http://yts.ag/api/v2/list_movies.json?query_term=#{imdb_id}").body
59
59
  JSON.parse(response)["data"]["movies"].first["torrents"]
60
60
  end
61
61
  end
@@ -1,3 +1,3 @@
1
1
  module Cinema
2
- VERSION = "2.0.0"
2
+ VERSION = "2.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cinema
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ales Guzik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-29 00:00:00.000000000 Z
11
+ date: 2016-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -103,8 +103,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  version: '0'
104
104
  requirements: []
105
105
  rubyforge_project:
106
- rubygems_version: 2.4.5
106
+ rubygems_version: 2.6.3
107
107
  signing_key:
108
108
  specification_version: 4
109
109
  summary: Select movie from trakt.tv watchlist and stream it from torrents
110
110
  test_files: []
111
+ has_rdoc: