rest-builder 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGES.md +4 -0
- data/README.md +1 -1
- data/lib/rest-builder/event_source.rb +1 -0
- data/lib/rest-builder/version.rb +1 -1
- data/rest-builder.gemspec +57 -57
- data/test/test_event_source.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5a80d7a9fd8f641f920acfeace75de0ab11e7e9
|
4
|
+
data.tar.gz: 34decd03355b243e14286515bcfa91613d407081
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3afab745cc747df73b61bba504f5e95ac1e61bbb32175164b70d430308c3bcb85ec783906c24183cdffa45ce96c9f15c2f646fc4f1e8c6c4966d9b5b1e1c384a
|
7
|
+
data.tar.gz: ae7afa259339c3d5376df6f2226f10f773161c33c692316de06130becc0f2c6e5496babac08ef4696a8821cdf343aa933a19164a22b8e5bf23ae1665154fc598
|
data/.travis.yml
CHANGED
data/CHANGES.md
CHANGED
data/README.md
CHANGED
@@ -23,7 +23,7 @@ middleware and [rest-more][] for pre-built clients.
|
|
23
23
|
|
24
24
|
* Modular interface for REST clients similar to WSGI/Rack for servers.
|
25
25
|
* Concurrent requests with synchronous or asynchronous interfaces with
|
26
|
-
threads.
|
26
|
+
threads via [promise_pool][].
|
27
27
|
|
28
28
|
## WHY?
|
29
29
|
|
data/lib/rest-builder/version.rb
CHANGED
data/rest-builder.gemspec
CHANGED
@@ -1,73 +1,73 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: rest-builder 0.9.
|
2
|
+
# stub: rest-builder 0.9.1 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
|
-
s.name = "rest-builder"
|
6
|
-
s.version = "0.9.
|
5
|
+
s.name = "rest-builder".freeze
|
6
|
+
s.version = "0.9.1"
|
7
7
|
|
8
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
|
-
s.require_paths = ["lib"]
|
10
|
-
s.authors = ["Lin Jen-Shin (godfat)"]
|
11
|
-
s.date = "2016-
|
12
|
-
s.description = "Modular Ruby clients interface for REST APIs.\n\nBuild your own API clients for less dependencies, less codes, less memory,\nless conflicts, and run faster. Checkout [rest-core][] for pre-built\nmiddleware and [rest-more][] for pre-built clients.\n\n[rest-core]: https://github.com/godfat/rest-core\n[rest-more]: https://github.com/godfat/rest-more"
|
13
|
-
s.email = ["godfat (XD) godfat.org"]
|
8
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
|
+
s.require_paths = ["lib".freeze]
|
10
|
+
s.authors = ["Lin Jen-Shin (godfat)".freeze]
|
11
|
+
s.date = "2016-03-04"
|
12
|
+
s.description = "Modular Ruby clients interface for REST APIs.\n\nBuild your own API clients for less dependencies, less codes, less memory,\nless conflicts, and run faster. Checkout [rest-core][] for pre-built\nmiddleware and [rest-more][] for pre-built clients.\n\n[rest-core]: https://github.com/godfat/rest-core\n[rest-more]: https://github.com/godfat/rest-more".freeze
|
13
|
+
s.email = ["godfat (XD) godfat.org".freeze]
|
14
14
|
s.files = [
|
15
|
-
".gitignore",
|
16
|
-
".gitmodules",
|
17
|
-
".travis.yml",
|
18
|
-
"CHANGES.md",
|
19
|
-
"Gemfile",
|
20
|
-
"README.md",
|
21
|
-
"Rakefile",
|
22
|
-
"lib/rest-builder.rb",
|
23
|
-
"lib/rest-builder/builder.rb",
|
24
|
-
"lib/rest-builder/client.rb",
|
25
|
-
"lib/rest-builder/engine.rb",
|
26
|
-
"lib/rest-builder/engine/dry.rb",
|
27
|
-
"lib/rest-builder/engine/http-client.rb",
|
28
|
-
"lib/rest-builder/error.rb",
|
29
|
-
"lib/rest-builder/event_source.rb",
|
30
|
-
"lib/rest-builder/middleware.rb",
|
31
|
-
"lib/rest-builder/payload.rb",
|
32
|
-
"lib/rest-builder/promise.rb",
|
33
|
-
"lib/rest-builder/test.rb",
|
34
|
-
"lib/rest-builder/version.rb",
|
35
|
-
"rest-builder.gemspec",
|
36
|
-
"task/README.md",
|
37
|
-
"task/gemgem.rb",
|
38
|
-
"test/test_builder.rb",
|
39
|
-
"test/test_client.rb",
|
40
|
-
"test/test_event_source.rb",
|
41
|
-
"test/test_future.rb",
|
42
|
-
"test/test_httpclient.rb",
|
43
|
-
"test/test_payload.rb"]
|
44
|
-
s.homepage = "https://github.com/godfat/rest-builder"
|
45
|
-
s.licenses = ["Apache License 2.0"]
|
46
|
-
s.rubygems_version = "2.
|
47
|
-
s.summary = "Modular Ruby clients interface for REST APIs."
|
15
|
+
".gitignore".freeze,
|
16
|
+
".gitmodules".freeze,
|
17
|
+
".travis.yml".freeze,
|
18
|
+
"CHANGES.md".freeze,
|
19
|
+
"Gemfile".freeze,
|
20
|
+
"README.md".freeze,
|
21
|
+
"Rakefile".freeze,
|
22
|
+
"lib/rest-builder.rb".freeze,
|
23
|
+
"lib/rest-builder/builder.rb".freeze,
|
24
|
+
"lib/rest-builder/client.rb".freeze,
|
25
|
+
"lib/rest-builder/engine.rb".freeze,
|
26
|
+
"lib/rest-builder/engine/dry.rb".freeze,
|
27
|
+
"lib/rest-builder/engine/http-client.rb".freeze,
|
28
|
+
"lib/rest-builder/error.rb".freeze,
|
29
|
+
"lib/rest-builder/event_source.rb".freeze,
|
30
|
+
"lib/rest-builder/middleware.rb".freeze,
|
31
|
+
"lib/rest-builder/payload.rb".freeze,
|
32
|
+
"lib/rest-builder/promise.rb".freeze,
|
33
|
+
"lib/rest-builder/test.rb".freeze,
|
34
|
+
"lib/rest-builder/version.rb".freeze,
|
35
|
+
"rest-builder.gemspec".freeze,
|
36
|
+
"task/README.md".freeze,
|
37
|
+
"task/gemgem.rb".freeze,
|
38
|
+
"test/test_builder.rb".freeze,
|
39
|
+
"test/test_client.rb".freeze,
|
40
|
+
"test/test_event_source.rb".freeze,
|
41
|
+
"test/test_future.rb".freeze,
|
42
|
+
"test/test_httpclient.rb".freeze,
|
43
|
+
"test/test_payload.rb".freeze]
|
44
|
+
s.homepage = "https://github.com/godfat/rest-builder".freeze
|
45
|
+
s.licenses = ["Apache License 2.0".freeze]
|
46
|
+
s.rubygems_version = "2.6.1".freeze
|
47
|
+
s.summary = "Modular Ruby clients interface for REST APIs.".freeze
|
48
48
|
s.test_files = [
|
49
|
-
"test/test_builder.rb",
|
50
|
-
"test/test_client.rb",
|
51
|
-
"test/test_event_source.rb",
|
52
|
-
"test/test_future.rb",
|
53
|
-
"test/test_httpclient.rb",
|
54
|
-
"test/test_payload.rb"]
|
49
|
+
"test/test_builder.rb".freeze,
|
50
|
+
"test/test_client.rb".freeze,
|
51
|
+
"test/test_event_source.rb".freeze,
|
52
|
+
"test/test_future.rb".freeze,
|
53
|
+
"test/test_httpclient.rb".freeze,
|
54
|
+
"test/test_payload.rb".freeze]
|
55
55
|
|
56
56
|
if s.respond_to? :specification_version then
|
57
57
|
s.specification_version = 4
|
58
58
|
|
59
59
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
60
|
-
s.add_runtime_dependency(%q<promise_pool
|
61
|
-
s.add_runtime_dependency(%q<httpclient
|
62
|
-
s.add_runtime_dependency(%q<mime-types
|
60
|
+
s.add_runtime_dependency(%q<promise_pool>.freeze, [">= 0"])
|
61
|
+
s.add_runtime_dependency(%q<httpclient>.freeze, [">= 0"])
|
62
|
+
s.add_runtime_dependency(%q<mime-types>.freeze, [">= 0"])
|
63
63
|
else
|
64
|
-
s.add_dependency(%q<promise_pool
|
65
|
-
s.add_dependency(%q<httpclient
|
66
|
-
s.add_dependency(%q<mime-types
|
64
|
+
s.add_dependency(%q<promise_pool>.freeze, [">= 0"])
|
65
|
+
s.add_dependency(%q<httpclient>.freeze, [">= 0"])
|
66
|
+
s.add_dependency(%q<mime-types>.freeze, [">= 0"])
|
67
67
|
end
|
68
68
|
else
|
69
|
-
s.add_dependency(%q<promise_pool
|
70
|
-
s.add_dependency(%q<httpclient
|
71
|
-
s.add_dependency(%q<mime-types
|
69
|
+
s.add_dependency(%q<promise_pool>.freeze, [">= 0"])
|
70
|
+
s.add_dependency(%q<httpclient>.freeze, [">= 0"])
|
71
|
+
s.add_dependency(%q<mime-types>.freeze, [">= 0"])
|
72
72
|
end
|
73
73
|
end
|
data/test/test_event_source.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rest-builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lin Jen-Shin (godfat)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: promise_pool
|
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
version: '0'
|
117
117
|
requirements: []
|
118
118
|
rubyforge_project:
|
119
|
-
rubygems_version: 2.
|
119
|
+
rubygems_version: 2.6.1
|
120
120
|
signing_key:
|
121
121
|
specification_version: 4
|
122
122
|
summary: Modular Ruby clients interface for REST APIs.
|