nap 1.2.0.pre → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/lib/rest.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 372f9ccca23797bdb8dde8429fac744ded57d5f1066c251db602be523ecd0f52
|
|
4
|
+
data.tar.gz: 87fa4ba4e8cfb430eb0ade704f8e359989d96e6bdf0a4976dbae47df57116ceb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: acbb8ecde2065bfc980a63d0c2d1ec4468e8f141e218c428d21d357fb0e558c3b2d409beab2c6a02e757c218bfb80eab00e3b350fc93d7be954e6773cd0f596d
|
|
7
|
+
data.tar.gz: 0bbd1e6678132a6d60a47a19f1a68ddf432947d81272f95c0f321b029af341041a38a1c67a21af66a15bd0fd179a3c83ce1d9f75d6987a12c73646eeeb9acde9
|
data/README.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# Nap
|
|
2
2
|
|
|
3
|
-
Nap
|
|
4
|
-
|
|
3
|
+
> Please don't use Nap in new projects. I know that the net/http looks scary but it's better in the long run to stay closer to Ruby's stdlib. Thanks, and have a nice day 🙂.
|
|
4
|
+
|
|
5
|
+
Nap is an extremely simple REST client for Ruby. It was built to quickly fire off HTTP requests without having to research net/http internals.
|
|
5
6
|
|
|
6
7
|
## Example
|
|
7
8
|
|
data/lib/rest.rb
CHANGED
|
@@ -9,7 +9,7 @@ require 'uri'
|
|
|
9
9
|
# requests. See REST::Error for a complete discussion of options.
|
|
10
10
|
module REST
|
|
11
11
|
# Library version
|
|
12
|
-
VERSION = '1.2.0
|
|
12
|
+
VERSION = '1.2.0'
|
|
13
13
|
|
|
14
14
|
# Performs a GET on a resource. See REST::Request.new for a complete discussion of options.
|
|
15
15
|
#
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.0
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Manfred Stienstra
|
|
@@ -45,7 +45,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
46
|
version: '0'
|
|
47
47
|
requirements: []
|
|
48
|
-
rubygems_version: 4.0.
|
|
48
|
+
rubygems_version: 4.0.20
|
|
49
49
|
specification_version: 4
|
|
50
50
|
summary: Nap is a really simple REST library.
|
|
51
51
|
test_files: []
|