phearb 1.0.0 → 1.0.1

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: f06e119930b57be1783b3db3ae0b0a145e6980c9
4
- data.tar.gz: 6a3bce7762ecd6aca90f9acf574e119425dd302d
3
+ metadata.gz: 22bc3131cddf809780e9a7bdd8d2f3c08e82471c
4
+ data.tar.gz: e0c6d31f128d5ba6513bb3541c7408481fee760e
5
5
  SHA512:
6
- metadata.gz: abf95b843c9e1eb1c327a861abc7f5f8fcdcc91291bece8c31682796ce555bd8b50c26c9b837e03c326ed5f87875a028bf7b3ebab4d7048f9611c7b3ab4821a4
7
- data.tar.gz: 397a8230cfcd59bdb92791df3592d312b815fded5e469546891196194ecf4c184fe49da3841faed51e0690f58a45adfa907256674eedbc44efbeff9568bdb94e
6
+ metadata.gz: 70280d364d983a9e5e7f74546222ca6b5bd05284cb12bd19b97ba3f1f3a6f74791c2e4742c75a6b4753c270c6a359517d64b1a0a1b175310709b279c04f4624e
7
+ data.tar.gz: 5ad2927c60b0002b6b0f8ab94329fe4b3f3121f87078e6f1c82591be8d29321e95237bce82893cf18d0fc2fdd41ae19840443a2bdfe4c1d0fcb549eb45ae6815
data/.gitignore CHANGED
@@ -7,4 +7,3 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
- *.gem
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Phearb
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/phearb.svg)](https://badge.fury.io/rb/phearb)
4
+ [![Build Status](https://travis-ci.org/joaquinrulin/phearb.svg?branch=master)](https://travis-ci.org/joaquinrulin/phearb)
5
+
3
6
  Phearb is a library for handling connections to [**phear**](https://github.com/Tomtomgo/phearjs) servers. It allows ruby apps to easy fetch sites source code using phear.
4
7
 
5
8
  ## Installation
@@ -29,13 +32,13 @@ Phearb.configure do |config|
29
32
  end
30
33
  ```
31
34
 
32
- ## Usage
35
+ ## Usage
33
36
  ```ruby
34
37
  response = Phearb.fetch('http://www.google.com')
35
38
  puts response.content if response.success
36
39
  ```
37
40
 
38
- Simply calling `Phearb.fetch(<url>)` will do the job. It returns an `Phearb::Response` object wrapping the phearb server response with one method per key:
41
+ Simply calling `Phearb.fetch(<url>)` will do the job. It returns an `Phearb::Response` object wrapping the phearb server response with one method per key:
39
42
  ```
40
43
  {
41
44
  "success": true,
@@ -1,3 +1,3 @@
1
1
  module Phearb
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
data/phearb.gemspec CHANGED
@@ -17,6 +17,8 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
18
  spec.require_paths = ["lib"]
19
19
 
20
+ spec.required_ruby_version = '>= 2.0'
21
+
20
22
  spec.add_development_dependency "bundler", "~> 1.12"
21
23
  spec.add_development_dependency "rake", "~> 10.0"
22
24
  spec.add_development_dependency "rspec", "~> 3.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phearb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joaquín Moreira
@@ -140,7 +140,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
140
140
  requirements:
141
141
  - - ">="
142
142
  - !ruby/object:Gem::Version
143
- version: '0'
143
+ version: '2.0'
144
144
  required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  requirements:
146
146
  - - ">="