bogeyman 0.0.3 → 0.0.5

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: df5166d0ba9731dba8780d2b9f0b37cebb2fd5e0
4
- data.tar.gz: 6fc5a0c00d01fc76ca5c7a5437c5f23eee4847b6
3
+ metadata.gz: bff9a7830cb9fc3ad88c596cb54bb5f22434dc8e
4
+ data.tar.gz: 6a55a355058559ac8576fd6e873abd0c4f853281
5
5
  SHA512:
6
- metadata.gz: b6e7e76952f65db2fc2fca6975f0dbae2535801b0d1cbdd91abb0d9cb4297450f764c8bca7be72d01aac10a774d7bf2d0ddf3e15e160ba6eab33483e66be1812
7
- data.tar.gz: b24cd3b2ce29ac4fd6aff1a92eab041170960330d861a149124bd46df5b9e426032ff117433c1f2002cedc9499abfe2efc87e258a340e4f2c23dc08e56864f09
6
+ metadata.gz: 83a6120e24a6e4bd3dc5d12f4c7d8da87c97bfd6db0e6dd1887a4a01049f6f2b408ac9a4f7ed71425acee45a2e6ac1e608c04c75c1ab6eeb4c8bc2e88a5efc44
7
+ data.tar.gz: c4d33b84c53ab95e304f45ee1e27eda899725bd1622d90beda6c9634ccca252107412ef1ebe89e43714129f8612dcd1c2c35ea43fca907d0eed623e3e9dd329a
data/README.md CHANGED
@@ -16,7 +16,7 @@ gem install bogeyman
16
16
  Or you can put it in your Gemfile
17
17
 
18
18
  ```ruby
19
- gem 'bogeyman', '~> 0.0.3'
19
+ gem 'bogeyman', '~> 0.0.5'
20
20
  ```
21
21
 
22
22
  ## Usage
@@ -8,5 +8,9 @@ module Bogeyman
8
8
  @code = hash['response']['code']
9
9
  @body = hash['response']['body']
10
10
  end
11
+
12
+ def html
13
+ Nokogiri::HTML(@body)
14
+ end
11
15
  end
12
16
  end
@@ -1,3 +1,3 @@
1
1
  module Bogeyman
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.5'
3
3
  end
data/lib/bogeyman.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
 
3
3
  require 'rest_client'
4
+ require 'nokogiri'
4
5
  require 'json'
5
6
 
6
7
  require 'bogeyman/cookie'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bogeyman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rene Klacan
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: nokogiri
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: json
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -74,7 +88,7 @@ require_paths:
74
88
  - lib
75
89
  required_ruby_version: !ruby/object:Gem::Requirement
76
90
  requirements:
77
- - - ~>
91
+ - - '>='
78
92
  - !ruby/object:Gem::Version
79
93
  version: '1.9'
80
94
  required_rubygems_version: !ruby/object:Gem::Requirement