yawn 1.0.0 → 1.1.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.
- data/README.rdoc +7 -12
- data/VERSION +1 -1
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -1,18 +1,13 @@
|
|
1
1
|
= yawn
|
2
2
|
|
3
|
-
|
3
|
+
Yawn is asynchronous HTTP. It's suitable for sending requests that you don't want to block your application with. I'm using it to send error notifications and logging information. I just want to send requests without worrying about my app dying if the other side goes down.
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
future version unintentionally.
|
11
|
-
* Commit, do not mess with rakefile, version, or history.
|
12
|
-
(if you want to have your own version, that is fine but
|
13
|
-
bump version in a commit by itself I can ignore when I pull)
|
14
|
-
* Send me a pull request. Bonus points for topic branches.
|
5
|
+
y = Yawn.new
|
6
|
+
y.get "http://google.com"
|
7
|
+
y.post("http://example.com", "some data") do |response|
|
8
|
+
# optional callback does something with response
|
9
|
+
end
|
15
10
|
|
16
11
|
== Copyright
|
17
12
|
|
18
|
-
Copyright (c) 2009 Kyle Maxwell.
|
13
|
+
Copyright (c) 2009 Kyle Maxwell. MIT Licensed.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.1.0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yawn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Maxwell
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-01-21 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|