my_shows 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,9 +4,10 @@ require 'hashie'
4
4
 
5
5
  class ThePirateBayClient
6
6
  def connection
7
- @connection ||= Faraday.new url: 'http://thepiratebay.is' do |conn|
7
+ @connection ||= Faraday.new url: 'http://thepiratebay.org' do |conn|
8
8
  conn.headers[:user_agent] = 'libcurl-agent/1.0'
9
9
  conn.request :url_encoded
10
+ conn.response :follow_redirects
10
11
  conn.response :logger, MyShows.logger
11
12
  conn.adapter Faraday.default_adapter
12
13
  end
@@ -1,3 +1,3 @@
1
1
  module MyShows
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_shows
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-29 00:00:00.000000000 Z
12
+ date: 2013-05-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hashie
@@ -162,18 +162,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
162
162
  - - ! '>='
163
163
  - !ruby/object:Gem::Version
164
164
  version: '0'
165
- segments:
166
- - 0
167
- hash: 3563414062259935485
168
165
  required_rubygems_version: !ruby/object:Gem::Requirement
169
166
  none: false
170
167
  requirements:
171
168
  - - ! '>='
172
169
  - !ruby/object:Gem::Version
173
170
  version: '0'
174
- segments:
175
- - 0
176
- hash: 3563414062259935485
177
171
  requirements: []
178
172
  rubyforge_project:
179
173
  rubygems_version: 1.8.25