lucid_http 1.1.0 → 1.1.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
  SHA256:
3
- metadata.gz: 12e62ee94cac510a96bc7ea3193be7e0c56a8d5aad3832141a870bb9ee5c1c02
4
- data.tar.gz: de38b31034e053b7b2675c35ed65a7425feae29c746dfa26fe1d91f9cdb79023
3
+ metadata.gz: a5b444d1938d426fbaa55d09925bab0bf625c68c1e1e36addab60ea0076dfcec
4
+ data.tar.gz: abfac0e6f2ba7675977c5f16c85dc8f2f9168c14fe5c115cfeb26749db6be6e3
5
5
  SHA512:
6
- metadata.gz: ae325f21b42b39254a2240408e7a3e7ed19519f9e5e7fef361140daa67146997e4503ea7e170cc4cb67a06d5661251d8249badd21eb4226dba36d42cecc3f13e
7
- data.tar.gz: 0f426752fae717c5d95efc68039b1e84569250a39a4b7c5b9e618c1f1b56e1f6634628c08a1b7d73a62b8b0a537b251b31e95746cdd77f9fad9923ca751154cf
6
+ metadata.gz: 7aa1f8e42199b43a98070c56bb196be08bd3b898c436b6d35a5c0776f35fedc3cbb18a671633e0de0cf89180d1eebbfa46267f61ab31ed30e7f79ad532e368d3
7
+ data.tar.gz: 05b720a710fa490ee93c787c9b23d0881ce947b40890cf662eaa175761432235c08eb844b50d46ea84b9b24a0bcd5ef887e899f52ba3f78ef5673efd8b032c0d
data/README.md CHANGED
@@ -22,7 +22,7 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- TODO: Write usage instructions here
25
+ An explanation of the usage for this gem is on the book Mastering Roda, you can follow [this link](https://fiachetti.gitlab.io/mastering-roda/#a-quick-introduction-to-lucid_http) to find it
26
26
 
27
27
  ## Development
28
28
 
@@ -31,7 +31,7 @@ module LucidHttp
31
31
  end
32
32
 
33
33
  def error
34
- body.split("\n").first
34
+ body.split("\n").first || "No error found"
35
35
  end
36
36
 
37
37
  def verb
@@ -1,3 +1,3 @@
1
1
  module LucidHttp
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
data/lucid_http.gemspec CHANGED
@@ -23,9 +23,11 @@ Gem::Specification.new do |spec|
23
23
 
24
24
  spec.add_runtime_dependency "http"
25
25
 
26
+ spec.add_development_dependency "bundler", "~> 2.4.8"
26
27
  spec.add_development_dependency "rackup", "~> 2.1.0"
27
28
  spec.add_development_dependency "rake", "~> 13.0.6"
28
29
  spec.add_development_dependency "roda", "~> 3.66.0"
29
30
  spec.add_development_dependency "rspec", "~> 3.12.0"
30
- spec.add_development_dependency "bundler", "~> 2.4.8"
31
+ spec.add_development_dependency "vcr", "~> 6.1.0"
32
+ spec.add_development_dependency "webmock", "~> 3.18.1"
31
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lucid_http
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Federico Iachetti
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 2.4.8
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 2.4.8
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rackup
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -81,19 +95,33 @@ dependencies:
81
95
  - !ruby/object:Gem::Version
82
96
  version: 3.12.0
83
97
  - !ruby/object:Gem::Dependency
84
- name: bundler
98
+ name: vcr
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
101
  - - "~>"
88
102
  - !ruby/object:Gem::Version
89
- version: 2.4.8
103
+ version: 6.1.0
90
104
  type: :development
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
108
  - - "~>"
95
109
  - !ruby/object:Gem::Version
96
- version: 2.4.8
110
+ version: 6.1.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: webmock
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 3.18.1
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 3.18.1
97
125
  description: Lucid Http wraps the http.rb gem in a simple DSL. Is particularly useful
98
126
  for screencasts and simple presentations.
99
127
  email: