gazouillis 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +21 -0
- data/README.md +45 -0
- data/lib/gazouillis/version.rb +1 -1
- metadata +5 -3
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT LICENSE
|
2
|
+
|
3
|
+
Copyright (c) chatgris <jboyer@af83.com>
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# gazouillis
|
2
|
+
|
3
|
+
Gazouillis aims to be a fast and reliable twitter stream client.
|
4
|
+
|
5
|
+
## Status
|
6
|
+
|
7
|
+
Very early stage. Not ready for production.
|
8
|
+
|
9
|
+
## Usage
|
10
|
+
|
11
|
+
``` ruby
|
12
|
+
require 'gazouillis'
|
13
|
+
|
14
|
+
class Tweets < Gazouillis::Stream
|
15
|
+
def on_message(message)
|
16
|
+
# Do something with streamed message
|
17
|
+
#
|
18
|
+
# Parse message, and outputs.
|
19
|
+
#
|
20
|
+
p MultiJson.decode message
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
options = {
|
25
|
+
auth: {
|
26
|
+
user: 'user',
|
27
|
+
password: 'password'
|
28
|
+
}
|
29
|
+
}
|
30
|
+
Tweets.new('/1/statuses/sample.json', options).open!
|
31
|
+
```
|
32
|
+
|
33
|
+
## Roadmap
|
34
|
+
|
35
|
+
### 0.1.0
|
36
|
+
|
37
|
+
* Reconnector object.
|
38
|
+
|
39
|
+
### 1.0.0
|
40
|
+
|
41
|
+
* Oauth.
|
42
|
+
|
43
|
+
## Copyright
|
44
|
+
|
45
|
+
MIT. See LICENSE for further details.
|
data/lib/gazouillis/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gazouillis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: celluloid-io
|
@@ -50,10 +50,12 @@ executables: []
|
|
50
50
|
extensions: []
|
51
51
|
extra_rdoc_files: []
|
52
52
|
files:
|
53
|
+
- LICENSE
|
54
|
+
- README.md
|
53
55
|
- lib/gazouillis.rb
|
54
56
|
- lib/gazouillis/stream.rb
|
55
57
|
- lib/gazouillis/version.rb
|
56
|
-
homepage:
|
58
|
+
homepage: http://chatgris.github.com/gazouillis
|
57
59
|
licenses: []
|
58
60
|
post_install_message:
|
59
61
|
rdoc_options: []
|