githu3 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -4
- data/lib/githu3/version.rb +1 -1
- metadata +8 -8
data/README.md
CHANGED
@@ -167,19 +167,19 @@ Githu3 provides a very basic cache mechanism to avoid making duplicate requests
|
|
167
167
|
|
168
168
|
To use them (these are the default options):
|
169
169
|
|
170
|
-
disk_cached_client = Githu3::Client.new('myawesomelyverylongoauth2token', :cache => :disk, :
|
170
|
+
disk_cached_client = Githu3::Client.new('myawesomelyverylongoauth2token', :cache => :disk, :cache_config => {
|
171
171
|
:path => "/tmp/githu3",
|
172
172
|
:namespace => "cache", # or "myawesomelyverylongoauth2token" if you are paranoid...
|
173
|
-
:
|
173
|
+
:expire => 120 # in seconds
|
174
174
|
})
|
175
175
|
|
176
176
|
require 'redis'
|
177
177
|
require 'redis-namespace'
|
178
|
-
redis_cached_client = Githu3::Client.new('myawesomelyverylongoauth2token', :cache => :redis, :
|
178
|
+
redis_cached_client = Githu3::Client.new('myawesomelyverylongoauth2token', :cache => :redis, :cache_config => {
|
179
179
|
:host => "localhost", # defaults to localhost
|
180
180
|
:port => 6379 # defaults to 6379
|
181
181
|
:namespace => "githu3", # or "githu3:myawesomelyverylongoauth2token" if you are paranoid...
|
182
|
-
:
|
182
|
+
:expire => 120 # in seconds
|
183
183
|
})
|
184
184
|
|
185
185
|
|
data/lib/githu3/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: githu3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Stephane Bellity
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-07-
|
13
|
+
date: 2011-07-21 00:00:00 +02:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
requirements:
|
22
22
|
- - ~>
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: 3.0
|
24
|
+
version: "3.0"
|
25
25
|
type: :runtime
|
26
26
|
version_requirements: *id001
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - ~>
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.5
|
35
|
+
version: "0.5"
|
36
36
|
type: :runtime
|
37
37
|
version_requirements: *id002
|
38
38
|
- !ruby/object:Gem::Dependency
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - ~>
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.6
|
46
|
+
version: "0.6"
|
47
47
|
type: :runtime
|
48
48
|
version_requirements: *id003
|
49
49
|
- !ruby/object:Gem::Dependency
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
requirements:
|
55
55
|
- - ~>
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
version: 1.0
|
57
|
+
version: "1.0"
|
58
58
|
type: :runtime
|
59
59
|
version_requirements: *id004
|
60
60
|
- !ruby/object:Gem::Dependency
|
@@ -123,7 +123,7 @@ dependencies:
|
|
123
123
|
version: "0.8"
|
124
124
|
type: :development
|
125
125
|
version_requirements: *id010
|
126
|
-
description: Ruby wrapper for GitHub's v3
|
126
|
+
description: Ruby wrapper for GitHub's v3 API
|
127
127
|
email:
|
128
128
|
- sbellity@gmail.com
|
129
129
|
executables:
|
@@ -197,6 +197,6 @@ rubyforge_project:
|
|
197
197
|
rubygems_version: 1.6.2
|
198
198
|
signing_key:
|
199
199
|
specification_version: 3
|
200
|
-
summary: Ruby wrapper for GitHub's v3
|
200
|
+
summary: Ruby wrapper for GitHub's v3 API
|
201
201
|
test_files: []
|
202
202
|
|