lhc 3.6.0 → 3.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -0
  3. data/lhc.gemspec +1 -1
  4. data/lib/lhc/version.rb +1 -1
  5. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 115f947aab614d63771827eac4b14455c0233baa
4
- data.tar.gz: a44cfd0e91469c137db12ee78061fa935b61ccec
3
+ metadata.gz: 9ca2e1026c3f06a4352d9dbe01bfe2c43b37ae80
4
+ data.tar.gz: cee1ead64c10ddb0148657cbb5aa195eb87cab1b
5
5
  SHA512:
6
- metadata.gz: cd8e5c6561008f93d3ea4f90a078152512097e769b664dc292a8274d8a988fc63a379d23b7b6ccc0910810e0d406799959d1594023bbcc68c6de5233e30c51dd
7
- data.tar.gz: 7d6826fee6f4e55535017380e84318cb351356167faafbc9fdf31a29640be2344515ee8dbbb9bfbde71e9278252ffe4da22d7555128d02a4520d0b44647188a3
6
+ metadata.gz: 5e439fc2091bdca5ee4a9f3f3ef984e4dcefefa508366cf613300b12c1f53a2308e72f018b15403de09cf33c34b6a11a50eb13b9d140a4fda484182269070ebe
7
+ data.tar.gz: cc8281cbc6e3440bc77113626ae9526e1ba30be0fefd6a547a282440ceb4dae14d1e7e766c5a2d1a6ed8c32728c02b4ab87d9efc6320e5d7fc5356ecbfd2923d
data/README.md CHANGED
@@ -57,6 +57,12 @@ You will get back an array of LHC::Response objects.
57
57
  responses = LHC.request(options)
58
58
  ```
59
59
 
60
+ ## Follow redirects
61
+
62
+ ```ruby
63
+ LHC.get('http://local.ch', followlocation: true)
64
+ ```
65
+
60
66
  ## Transfer data through the body
61
67
 
62
68
  Data that is transfered using the HTTP request body is transfered as you provide it.
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
  s.required_ruby_version = '>= 1.9.2'
23
23
 
24
24
  s.add_dependency 'typhoeus'
25
- s.add_dependency 'activesupport', '~> 4.1'
25
+ s.add_dependency 'activesupport', '>= 4.1'
26
26
 
27
27
  s.add_development_dependency 'rspec-rails', '>= 3.0.0'
28
28
  s.add_development_dependency 'rails', '~> 4.1.1'
@@ -1,3 +1,3 @@
1
1
  module LHC
2
- VERSION = "3.6.0"
2
+ VERSION = "3.6.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lhc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.0
4
+ version: 3.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - local.ch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-25 00:00:00.000000000 Z
11
+ date: 2016-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -28,14 +28,14 @@ dependencies:
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '4.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '4.1'
41
41
  - !ruby/object:Gem::Dependency
@@ -277,7 +277,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
277
277
  requirements:
278
278
  - Ruby >= 1.9.2
279
279
  rubyforge_project:
280
- rubygems_version: 2.2.2
280
+ rubygems_version: 2.4.6
281
281
  signing_key:
282
282
  specification_version: 4
283
283
  summary: LocalHttpClient