rest-more 1.0.2 → 2.0.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/.gitignore +0 -5
- data/.travis.yml +4 -6
- data/CHANGES.md +16 -0
- data/Gemfile +6 -3
- data/README.md +43 -129
- data/Rakefile +2 -3
- data/example/multi.rb +12 -23
- data/example/rails3/Gemfile +2 -1
- data/example/rails3/app/controllers/application_controller.rb +9 -4
- data/example/rails3/test/functional/application_controller_test.rb +1 -1
- data/example/rainbows.rb +48 -7
- data/example/simple.rb +3 -3
- data/example/sinatra/config.ru +1 -1
- data/lib/rest-core/client/dropbox.rb +19 -27
- data/lib/rest-core/client/facebook.rb +28 -51
- data/lib/rest-core/client/facebook/rails_util.rb +13 -11
- data/lib/rest-core/client/github.rb +13 -21
- data/lib/rest-core/client/linkedin.rb +19 -27
- data/lib/rest-core/client/twitter.rb +13 -21
- data/lib/rest-more.rb +0 -2
- data/lib/rest-more/test.rb +11 -0
- data/lib/rest-more/version.rb +1 -1
- data/rest-more.gemspec +7 -41
- data/task/.gitignore +1 -0
- data/task/gemgem.rb +267 -0
- data/test/dropbox/test_api.rb +1 -1
- data/test/facebook/config/rest-core.yaml +1 -1
- data/test/facebook/test_api.rb +10 -14
- data/test/facebook/test_error.rb +2 -2
- data/test/facebook/test_handler.rb +6 -6
- data/test/facebook/test_load_config.rb +4 -4
- data/test/facebook/test_misc.rb +3 -3
- data/test/facebook/test_old.rb +2 -37
- data/test/facebook/test_page.rb +26 -24
- data/test/facebook/test_parse.rb +1 -1
- data/test/facebook/test_serialize.rb +3 -19
- data/test/facebook/test_timeout.rb +6 -2
- data/test/twitter/test_api.rb +1 -1
- metadata +6 -40
- data/doc/ToC.md +0 -9
- data/doc/dependency.md +0 -4
- data/doc/design.md +0 -4
- data/doc/rest-graph.md +0 -4
- data/example/async.rb +0 -89
- data/example/facebook.rb +0 -13
- data/example/rails2/Gemfile +0 -22
- data/example/rails2/README +0 -4
- data/example/rails2/Rakefile +0 -11
- data/example/rails2/app/controllers/application_controller.rb +0 -138
- data/example/rails2/app/views/application/helper.html.erb +0 -1
- data/example/rails2/config/boot.rb +0 -130
- data/example/rails2/config/environment.rb +0 -25
- data/example/rails2/config/environments/development.rb +0 -17
- data/example/rails2/config/environments/production.rb +0 -28
- data/example/rails2/config/environments/test.rb +0 -30
- data/example/rails2/config/initializers/cookie_verification_secret.rb +0 -7
- data/example/rails2/config/initializers/new_rails_defaults.rb +0 -21
- data/example/rails2/config/initializers/session_store.rb +0 -15
- data/example/rails2/config/preinitializer.rb +0 -23
- data/example/rails2/config/rest-core.yaml +0 -12
- data/example/rails2/config/routes.rb +0 -43
- data/example/rails2/log +0 -0
- data/example/rails2/test/functional/application_controller_test.rb +0 -259
- data/example/rails2/test/test_helper.rb +0 -18
- data/example/rails2/test/unit/rails_util_test.rb +0 -49
- data/lib/rest-core/client/bing.rb +0 -102
- data/lib/rest-core/client/bing/rails_util.rb +0 -13
- data/lib/rest-core/client/mixi.rb +0 -60
- data/lib/rest-core/client/mixi/rails_util.rb +0 -13
- data/test/bing/test_api.rb +0 -34
- data/test/facebook/test_cache.rb +0 -58
- data/test/mixi/test_api.rb +0 -20
data/test/facebook/test_error.rb
CHANGED
@@ -57,8 +57,8 @@ describe RC::Facebook::Error do
|
|
57
57
|
stub_request(:get, 'https://graph.facebook.com/me').
|
58
58
|
to_return(:body => '{"error":"wrong"}').times(2)
|
59
59
|
|
60
|
-
rg = RC::Facebook.new(:cache
|
61
|
-
|
60
|
+
rg = RC::Facebook.new(:cache => {},
|
61
|
+
:error_handler => lambda{|env|env})
|
62
62
|
rg.get('me'); rg.get('me')
|
63
63
|
rg.cache.values.should.eq []
|
64
64
|
end
|
@@ -14,9 +14,9 @@ describe RC::Facebook do
|
|
14
14
|
|
15
15
|
logger = []
|
16
16
|
rg = RC::Facebook.new(:log_method => lambda{ |s| logger << [s] })
|
17
|
-
rg.get('me')
|
17
|
+
rg.get('me').tap{}
|
18
18
|
|
19
|
-
logger.size.should.eq
|
19
|
+
logger.size.should.eq 3 # Auto + Future + Requested
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
@@ -24,7 +24,7 @@ describe RC::Facebook do
|
|
24
24
|
before do
|
25
25
|
@id = lambda{ |env| env }
|
26
26
|
@error = '{"error":{"type":"Exception","message":"(#2500)"}}'
|
27
|
-
@error_hash = RC::
|
27
|
+
@error_hash = RC::Json.decode(@error)
|
28
28
|
|
29
29
|
stub_request(:get, 'https://graph.facebook.com/me').
|
30
30
|
to_return(:body => @error)
|
@@ -37,7 +37,7 @@ describe RC::Facebook do
|
|
37
37
|
|
38
38
|
should 'raise ::RC::Facebook::Error in default error_handler' do
|
39
39
|
begin
|
40
|
-
RC::Facebook.new.get('me')
|
40
|
+
RC::Facebook.new.get('me').tap{}
|
41
41
|
rescue ::RC::Facebook::Error => e
|
42
42
|
e.error .should.eq @error_hash
|
43
43
|
e.message.should.eq \
|
@@ -56,7 +56,7 @@ describe RC::Facebook do
|
|
56
56
|
before do
|
57
57
|
@id = lambda{ |env| env }
|
58
58
|
@fql_error = '{"error_code":603,"error_msg":"Unknown table: bad"}'
|
59
|
-
@fql_error_hash = RC::
|
59
|
+
@fql_error_hash = RC::Json.decode(@fql_error)
|
60
60
|
|
61
61
|
@bad_fql_query = 'SELECT name FROM bad_table WHERE uid="12345"'
|
62
62
|
bad_fql_request = "https://api.facebook.com/method/fql.query?" \
|
@@ -72,7 +72,7 @@ describe RC::Facebook do
|
|
72
72
|
|
73
73
|
should 'raise ::RC::Facebook::Error in default error_handler' do
|
74
74
|
begin
|
75
|
-
RC::Facebook.new.fql(@bad_fql_query)
|
75
|
+
RC::Facebook.new.fql(@bad_fql_query).tap{}
|
76
76
|
rescue ::RC::Facebook::Error => e
|
77
77
|
e.error .should.eq @fql_error_hash
|
78
78
|
e.message.should.start_with?(
|
@@ -14,10 +14,10 @@ describe RC::Config do
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def check
|
17
|
-
@klass.default_app_id
|
18
|
-
@klass.default_secret
|
19
|
-
@klass.
|
20
|
-
@klass.default_lang
|
17
|
+
@klass.default_app_id .should.eq 41829
|
18
|
+
@klass.default_secret .should.eq 'r41829'.reverse
|
19
|
+
@klass.default_json_response.should.eq false
|
20
|
+
@klass.default_lang .should.eq 'zh-tw'
|
21
21
|
end
|
22
22
|
|
23
23
|
should 'honor rails config' do
|
data/test/facebook/test_misc.rb
CHANGED
@@ -59,19 +59,19 @@ describe RC::Facebook do
|
|
59
59
|
end
|
60
60
|
|
61
61
|
should 'auto decode json' do
|
62
|
-
rg = RC::Facebook.new(:
|
62
|
+
rg = RC::Facebook.new(:json_response => true)
|
63
63
|
stub_request(:get, rg.site).to_return(:body => '[]')
|
64
64
|
rg.get('').should.eq []
|
65
65
|
end
|
66
66
|
|
67
67
|
should 'not auto decode json' do
|
68
|
-
rg = RC::Facebook.new(:
|
68
|
+
rg = RC::Facebook.new(:json_response => false)
|
69
69
|
stub_request(:get, rg.site).to_return(:body => '[]')
|
70
70
|
rg.get('').should.eq '[]'
|
71
71
|
end
|
72
72
|
|
73
73
|
should 'give attributes' do
|
74
|
-
RC::Facebook.new(:
|
74
|
+
RC::Facebook.new(:json_response => false).attributes.
|
75
75
|
keys.map(&:to_s).sort.should.eq \
|
76
76
|
RC::Facebook.members.map(&:to_s).sort
|
77
77
|
end
|
data/test/facebook/test_old.rb
CHANGED
@@ -44,40 +44,6 @@ describe RC::Facebook do
|
|
44
44
|
RC::Facebook.new.fql_multi(:f0 => f0, :f1 => f1).should.eq []
|
45
45
|
end
|
46
46
|
|
47
|
-
should 'cache fake post in fql' do
|
48
|
-
query = 'select name from user where uid = 4'
|
49
|
-
body = '[{"name":"Mark Zuckerberg"}]'
|
50
|
-
stub_request(:post,
|
51
|
-
'https://api.facebook.com/method/fql.query?format=json').
|
52
|
-
with(:body => {:query => query}).
|
53
|
-
to_return(:body => body)
|
54
|
-
|
55
|
-
RC::Facebook.new(:cache => (cache = {})).
|
56
|
-
fql(query, {}, :post => true).
|
57
|
-
first['name'] .should.eq 'Mark Zuckerberg'
|
58
|
-
cache.size .should.eq 1
|
59
|
-
cache.values.first.should.eq body
|
60
|
-
|
61
|
-
WebMock.reset! # should hit the cache
|
62
|
-
|
63
|
-
RC::Facebook.new(:cache => cache).fql(query, {}, :post => true).
|
64
|
-
first['name'] .should.eq 'Mark Zuckerberg'
|
65
|
-
cache.size .should.eq 1
|
66
|
-
cache.values.first.should.eq body
|
67
|
-
|
68
|
-
# query changed
|
69
|
-
should.raise(WebMock::NetConnectNotAllowedError) do
|
70
|
-
RC::Facebook.new(:cache => cache).
|
71
|
-
fql(query.upcase, {}, :post => true)
|
72
|
-
end
|
73
|
-
|
74
|
-
# cache should work for normal get
|
75
|
-
RC::Facebook.new(:cache => cache).fql(query).
|
76
|
-
first['name'] .should.eq 'Mark Zuckerberg'
|
77
|
-
cache.size .should.eq 1
|
78
|
-
cache.values.first.should.eq body
|
79
|
-
end
|
80
|
-
|
81
47
|
should 'do facebook old rest api' do
|
82
48
|
body = 'hate facebook inconsistent'
|
83
49
|
stub_request(:get,
|
@@ -85,7 +51,7 @@ describe RC::Facebook do
|
|
85
51
|
to_return(:body => body)
|
86
52
|
|
87
53
|
RC::Facebook.new.
|
88
|
-
old_rest('notes.create', {}, :
|
54
|
+
old_rest('notes.create', {}, :json_response => false).should.eq body
|
89
55
|
end
|
90
56
|
|
91
57
|
should 'exchange sessions for access token' do
|
@@ -95,8 +61,7 @@ describe RC::Facebook do
|
|
95
61
|
'sessions=bad%20bed').
|
96
62
|
to_return(:body => '[{"access_token":"bogus"}]')
|
97
63
|
|
98
|
-
RC::Facebook.new(:app_id => 'id',
|
99
|
-
:secret => 'di').
|
64
|
+
RC::Facebook.new(:app_id => 'id', :secret => 'di').
|
100
65
|
exchange_sessions(:sessions => 'bad bed').
|
101
66
|
first['access_token'].should.eq 'bogus'
|
102
67
|
end
|
data/test/facebook/test_page.rb
CHANGED
@@ -8,75 +8,76 @@ describe RC::Facebook do
|
|
8
8
|
end
|
9
9
|
|
10
10
|
should 'get the next/prev page' do
|
11
|
-
|
11
|
+
f = RC::Facebook.new(:site => '', :cache => false)
|
12
12
|
%w[next previous].each{ |type|
|
13
13
|
kind = "#{type}_page"
|
14
|
-
|
15
|
-
|
16
|
-
|
14
|
+
f.send(kind, {}) .should.eq nil
|
15
|
+
f.send(kind, {'paging' => []}).should.eq nil
|
16
|
+
f.send(kind, {'paging' => {}}).should.eq nil
|
17
17
|
|
18
18
|
stub_request(:get, 'zzz').to_return(:body => '["ok"]')
|
19
|
-
|
19
|
+
f.send(kind, {'paging' => {type => 'zzz'}}).should.eq ['ok']
|
20
20
|
}
|
21
21
|
end
|
22
22
|
|
23
23
|
should 'merge all pages into one' do
|
24
|
-
|
24
|
+
f = RC::Facebook.new(:site => '', :cache => false)
|
25
25
|
%w[next previous].each{ |type|
|
26
26
|
kind = "#{type}_page"
|
27
27
|
data = {'paging' => {type => 'zzz'}, 'data' => ['z']}
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
29
|
+
f.for_pages(data, -1, {}, kind).should == nil
|
30
|
+
f.for_pages(data, 0, {}, kind).should == nil
|
31
|
+
f.for_pages(data, 1, {}, kind).should == data
|
32
32
|
|
33
33
|
(2..4).each{ |pages|
|
34
34
|
# merge data
|
35
35
|
stub_request(:get, 'zzz').to_return(:body => '{"data":["y"]}')
|
36
|
-
|
36
|
+
f.for_pages(data, pages, {}, kind).should.eq({'data' => %w[z y]})
|
37
37
|
|
38
38
|
# this data cannot be merged
|
39
39
|
stub_request(:get, 'zzz').to_return(:body => '{"data":"y"}')
|
40
|
-
|
40
|
+
f.for_pages(data, pages, {}, kind).should.eq({'data' => %w[z]})
|
41
41
|
}
|
42
42
|
|
43
43
|
stub_request(:get, 'zzz').to_return(:body =>
|
44
44
|
'{"paging":{"'+type+'":"yyy"},"data":["y"]}')
|
45
45
|
stub_request(:get, 'yyy').to_return(:body => '{"data":["x"]}')
|
46
46
|
|
47
|
-
|
47
|
+
f.for_pages(data, 3, {}, kind).should.eq({'data' => %w[z y x]})
|
48
48
|
}
|
49
49
|
end
|
50
50
|
|
51
51
|
should 'for_pages with callback' do
|
52
|
-
|
52
|
+
t = Thread.current
|
53
|
+
f = RC::Facebook.new(:site => '', :cache => false)
|
53
54
|
%w[next previous].each{ |type|
|
54
55
|
kind = "#{type}_page"
|
55
56
|
data = {'paging' => {type => 'zzz'}, 'data' => ['z']}
|
56
57
|
|
57
58
|
# invalid pages or just the page itself
|
58
|
-
|
59
|
-
|
59
|
+
f.for_pages(data, -1, {}, kind){ |r| r.should.eq nil }.should.eq f
|
60
|
+
f.for_pages(data, 0, {}, kind){ |r| r.should.eq nil }.should.eq f
|
60
61
|
a = []
|
61
|
-
|
62
|
+
f.for_pages(data, 1, {}, kind){ |r| a << r }.should.eq f
|
62
63
|
a.should.eq [data, nil]
|
63
64
|
|
64
65
|
(2..4).each{ |pages|
|
65
66
|
# merge data
|
66
67
|
stub_request(:get, 'zzz').to_return(:body => '{"data":["y"]}')
|
67
68
|
expects = [data, {'data' => %w[y]}, nil]
|
68
|
-
|
69
|
+
f.for_pages(data, pages, {}, kind){ |r|
|
69
70
|
r.should.eq expects.shift
|
70
|
-
}
|
71
|
-
expects.empty
|
71
|
+
}
|
72
|
+
f.wait until expects.empty?
|
72
73
|
|
73
74
|
# this data cannot be merged
|
74
75
|
stub_request(:get, 'zzz').to_return(:body => '{"data":"y"}')
|
75
76
|
expects = [data, {'data' => 'y'}, nil]
|
76
|
-
|
77
|
+
f.for_pages(data, pages, {}, kind){ |r|
|
77
78
|
r.should.eq expects.shift
|
78
|
-
}
|
79
|
-
expects.empty
|
79
|
+
}
|
80
|
+
f.wait until expects.empty?
|
80
81
|
}
|
81
82
|
|
82
83
|
stub_request(:get, 'zzz').to_return(:body =>
|
@@ -85,9 +86,10 @@ describe RC::Facebook do
|
|
85
86
|
|
86
87
|
expects = [data, {'data' => %w[y], 'paging' => {type => 'yyy'}},
|
87
88
|
{'data' => %w[x]}, nil]
|
88
|
-
|
89
|
+
f.for_pages(data, 3, {}, kind){ |r|
|
89
90
|
r.should.eq expects.shift
|
90
|
-
}
|
91
|
+
}
|
92
|
+
f.wait until expects.empty?
|
91
93
|
}
|
92
94
|
end
|
93
95
|
end
|
data/test/facebook/test_parse.rb
CHANGED
@@ -82,7 +82,7 @@ describe RC::Facebook do
|
|
82
82
|
end
|
83
83
|
|
84
84
|
def setup_sr secret, data, sig=nil
|
85
|
-
json_encoded = encode(RC::
|
85
|
+
json_encoded = encode(RC::Json.encode(data))
|
86
86
|
sig ||= OpenSSL::HMAC.digest('sha256', secret, json_encoded)
|
87
87
|
"#{encode(sig)}.#{json_encoded}"
|
88
88
|
end
|
@@ -8,26 +8,10 @@ describe RC::Facebook do
|
|
8
8
|
end
|
9
9
|
|
10
10
|
should 'be serialized with lighten' do
|
11
|
-
|
12
|
-
|
13
|
-
YAML::ENGINE.yamler = 'psych' # TODO: probably a bug?
|
14
|
-
[Psych, YAML, Marshal]
|
15
|
-
rescue LoadError
|
16
|
-
[YAML, Marshal]
|
17
|
-
end
|
18
|
-
|
19
|
-
# sorry, it is marshal in 1.8 is broken
|
20
|
-
if defined?(RUBY_ENGINE)
|
21
|
-
if RUBY_ENGINE == 'ruby' && RUBY_VERSION == '1.8.7'
|
22
|
-
engines.pop # REE 1.8.7
|
23
|
-
end
|
24
|
-
else
|
25
|
-
engines.pop # MRI 1.8.7
|
26
|
-
end
|
27
|
-
|
28
|
-
engines.each{ |engine|
|
11
|
+
require 'yaml'
|
12
|
+
[YAML, Marshal].each{ |engine|
|
29
13
|
test = lambda{ |obj| engine.load(engine.dump(obj)) }
|
30
|
-
rg = RC::Facebook.new(:
|
14
|
+
rg = RC::Facebook.new(:error_handler => lambda{})
|
31
15
|
lambda{ test[rg] }.should.raise(TypeError)
|
32
16
|
test[rg.lighten].should.eq rg.lighten
|
33
17
|
lambda{ test[rg] }.should.raise(TypeError)
|
@@ -10,12 +10,16 @@ describe RC::Facebook do
|
|
10
10
|
should 'respect timeout' do
|
11
11
|
stub_request(:get, 'https://graph.facebook.com/me').
|
12
12
|
to_return(:body => '{}')
|
13
|
-
|
13
|
+
any_instance_of(RC::Timeout::TimerThread){ |timer|
|
14
|
+
mock.proxy(timer).on_timeout
|
15
|
+
}
|
14
16
|
RC::Facebook.new.get('me').should.eq({})
|
15
17
|
end
|
16
18
|
|
17
19
|
should 'override timeout' do
|
18
|
-
|
20
|
+
stub_request(:get, 'https://graph.facebook.com/me').
|
21
|
+
to_return(:body => 'true')
|
22
|
+
mock.proxy(RC::Timeout::TimerThread).new(99, is_a(Timeout::Error))
|
19
23
|
RC::Facebook.new(:timeout => 1).get('me', {}, :timeout => 99).
|
20
24
|
should.eq true
|
21
25
|
end
|
data/test/twitter/test_api.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rest-more
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-10-31 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rest-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: 2.0.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,7 +27,7 @@ dependencies:
|
|
27
27
|
requirements:
|
28
28
|
- - ! '>='
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version:
|
30
|
+
version: 2.0.0
|
31
31
|
description: ! 'Various REST clients such as Facebook and Twitter built with [rest-core][]
|
32
32
|
|
33
33
|
|
@@ -49,34 +49,8 @@ files:
|
|
49
49
|
- Rakefile
|
50
50
|
- TODO.md
|
51
51
|
- bin/rib-rest-core
|
52
|
-
- doc/ToC.md
|
53
|
-
- doc/dependency.md
|
54
|
-
- doc/design.md
|
55
|
-
- doc/rest-graph.md
|
56
52
|
- doc/tutorial/facebook.md
|
57
|
-
- example/async.rb
|
58
|
-
- example/facebook.rb
|
59
53
|
- example/multi.rb
|
60
|
-
- example/rails2/Gemfile
|
61
|
-
- example/rails2/README
|
62
|
-
- example/rails2/Rakefile
|
63
|
-
- example/rails2/app/controllers/application_controller.rb
|
64
|
-
- example/rails2/app/views/application/helper.html.erb
|
65
|
-
- example/rails2/config/boot.rb
|
66
|
-
- example/rails2/config/environment.rb
|
67
|
-
- example/rails2/config/environments/development.rb
|
68
|
-
- example/rails2/config/environments/production.rb
|
69
|
-
- example/rails2/config/environments/test.rb
|
70
|
-
- example/rails2/config/initializers/cookie_verification_secret.rb
|
71
|
-
- example/rails2/config/initializers/new_rails_defaults.rb
|
72
|
-
- example/rails2/config/initializers/session_store.rb
|
73
|
-
- example/rails2/config/preinitializer.rb
|
74
|
-
- example/rails2/config/rest-core.yaml
|
75
|
-
- example/rails2/config/routes.rb
|
76
|
-
- example/rails2/log
|
77
|
-
- example/rails2/test/functional/application_controller_test.rb
|
78
|
-
- example/rails2/test/test_helper.rb
|
79
|
-
- example/rails2/test/unit/rails_util_test.rb
|
80
54
|
- example/rails3/Gemfile
|
81
55
|
- example/rails3/README
|
82
56
|
- example/rails3/Rakefile
|
@@ -99,8 +73,6 @@ files:
|
|
99
73
|
- example/rainbows.rb
|
100
74
|
- example/simple.rb
|
101
75
|
- example/sinatra/config.ru
|
102
|
-
- lib/rest-core/client/bing.rb
|
103
|
-
- lib/rest-core/client/bing/rails_util.rb
|
104
76
|
- lib/rest-core/client/dropbox.rb
|
105
77
|
- lib/rest-core/client/facebook.rb
|
106
78
|
- lib/rest-core/client/facebook/rails_util.rb
|
@@ -108,8 +80,6 @@ files:
|
|
108
80
|
- lib/rest-core/client/github/rails_util.rb
|
109
81
|
- lib/rest-core/client/linkedin.rb
|
110
82
|
- lib/rest-core/client/linkedin/rails_util.rb
|
111
|
-
- lib/rest-core/client/mixi.rb
|
112
|
-
- lib/rest-core/client/mixi/rails_util.rb
|
113
83
|
- lib/rest-core/client/twitter.rb
|
114
84
|
- lib/rest-core/client/twitter/rails_util.rb
|
115
85
|
- lib/rest-core/util/config.rb
|
@@ -119,11 +89,11 @@ files:
|
|
119
89
|
- lib/rest-more/version.rb
|
120
90
|
- lib/rib/app/rest-core.rb
|
121
91
|
- rest-more.gemspec
|
122
|
-
-
|
92
|
+
- task/.gitignore
|
93
|
+
- task/gemgem.rb
|
123
94
|
- test/dropbox/test_api.rb
|
124
95
|
- test/facebook/config/rest-core.yaml
|
125
96
|
- test/facebook/test_api.rb
|
126
|
-
- test/facebook/test_cache.rb
|
127
97
|
- test/facebook/test_default.rb
|
128
98
|
- test/facebook/test_error.rb
|
129
99
|
- test/facebook/test_handler.rb
|
@@ -135,7 +105,6 @@ files:
|
|
135
105
|
- test/facebook/test_parse.rb
|
136
106
|
- test/facebook/test_serialize.rb
|
137
107
|
- test/facebook/test_timeout.rb
|
138
|
-
- test/mixi/test_api.rb
|
139
108
|
- test/twitter/test_api.rb
|
140
109
|
homepage: https://github.com/cardinalblue/rest-more
|
141
110
|
licenses: []
|
@@ -162,10 +131,8 @@ signing_key:
|
|
162
131
|
specification_version: 3
|
163
132
|
summary: Various REST clients such as Facebook and Twitter built with [rest-core][]
|
164
133
|
test_files:
|
165
|
-
- test/bing/test_api.rb
|
166
134
|
- test/dropbox/test_api.rb
|
167
135
|
- test/facebook/test_api.rb
|
168
|
-
- test/facebook/test_cache.rb
|
169
136
|
- test/facebook/test_default.rb
|
170
137
|
- test/facebook/test_error.rb
|
171
138
|
- test/facebook/test_handler.rb
|
@@ -177,6 +144,5 @@ test_files:
|
|
177
144
|
- test/facebook/test_parse.rb
|
178
145
|
- test/facebook/test_serialize.rb
|
179
146
|
- test/facebook/test_timeout.rb
|
180
|
-
- test/mixi/test_api.rb
|
181
147
|
- test/twitter/test_api.rb
|
182
148
|
has_rdoc:
|