async_sinatra 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/async_sinatra.rb +1 -1
- data/lib/sinatra/async/test.rb +3 -1
- metadata +66 -60
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
M2Q1ZTMzZDgzZGRkZDgxZDdhNmY0MTc0ODEyOTgyZmZhNDBmMDZlMA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZjI4MTE1MjBkNGRmODE2OWEzZjRjZDUwODhiYmI5MTZlMjRkNjY4YQ==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NWU2NDAyMDc2OTdmMmZiMmY0NGQ4MWQxMzZlZjZjZDQ5MjBkYzUxYTVkNGM4
|
10
|
+
NWJjZTE1NGRhODA5ODJjODBjZDg2YzZiNzA5NTk0ODcwN2RkNzZmYWVjZTIz
|
11
|
+
M2E2NzJlMGRkZjdmZTFhMWM0MGM5ZmM2ZTg4NGIxMmM0NzdmNjI=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
M2U2Y2M0ZjJlZWNhZmI3YmFlMDQ4MTYyN2Y1OWI1YjhmYTU3NTdlNzhiYTYz
|
14
|
+
OGNkOTE2NjFmMjhlN2IzYTBiNTdmZWZmYzcxOTgxY2FhY2FhOTk0MTJiM2Qz
|
15
|
+
NjM0NmE2Y2YzMTNiNjBhZTgzZGY2N2EyNDU4NjI0YjdjODZkY2Y=
|
data/lib/async_sinatra.rb
CHANGED
data/lib/sinatra/async/test.rb
CHANGED
@@ -87,7 +87,9 @@ class Sinatra::Async::Test
|
|
87
87
|
# This hack exists because sinatra is now returning a proper rack stack.
|
88
88
|
# We might need to consider alternative approaches in future.
|
89
89
|
app = app()
|
90
|
-
|
90
|
+
app = app.app if app.is_a?(Sinatra::ExtendedRack)
|
91
|
+
|
92
|
+
until app.nil? || app.is_a?(Sinatra::Base) || app.is_a?(Sinatra::Wrapper)
|
91
93
|
app = app.instance_variable_get(:@app)
|
92
94
|
end
|
93
95
|
raise "Cannot determine sinatra application from #{app()}" unless app
|
metadata
CHANGED
@@ -1,148 +1,155 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async_sinatra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- raggi
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-03-31 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rack
|
16
|
-
requirement:
|
17
|
-
none: false
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 1.4.1
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
|
-
version_requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ! '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.4.1
|
25
27
|
- !ruby/object:Gem::Dependency
|
26
28
|
name: sinatra
|
27
|
-
requirement:
|
28
|
-
none: false
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
31
|
- - ! '>='
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: 1.3.2
|
33
34
|
type: :runtime
|
34
35
|
prerelease: false
|
35
|
-
version_requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.3.2
|
36
41
|
- !ruby/object:Gem::Dependency
|
37
|
-
name:
|
38
|
-
requirement:
|
39
|
-
none: false
|
42
|
+
name: rubyforge
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
40
44
|
requirements:
|
41
45
|
- - ! '>='
|
42
46
|
- !ruby/object:Gem::Version
|
43
|
-
version: 2.
|
47
|
+
version: 2.0.4
|
44
48
|
type: :development
|
45
49
|
prerelease: false
|
46
|
-
version_requirements:
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: rubyforge
|
49
|
-
requirement: &70275016990980 !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 2.0.4
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rdoc
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.10'
|
55
62
|
type: :development
|
56
63
|
prerelease: false
|
57
|
-
version_requirements:
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.10'
|
58
69
|
- !ruby/object:Gem::Dependency
|
59
70
|
name: hoe-doofus
|
60
|
-
requirement:
|
61
|
-
none: false
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
62
72
|
requirements:
|
63
73
|
- - ! '>='
|
64
74
|
- !ruby/object:Gem::Version
|
65
75
|
version: '1.0'
|
66
76
|
type: :development
|
67
77
|
prerelease: false
|
68
|
-
version_requirements:
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ! '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: hoe-seattlerb
|
71
|
-
requirement:
|
72
|
-
none: false
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
73
86
|
requirements:
|
74
87
|
- - ! '>='
|
75
88
|
- !ruby/object:Gem::Version
|
76
89
|
version: '1.2'
|
77
90
|
type: :development
|
78
91
|
prerelease: false
|
79
|
-
version_requirements:
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ! '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.2'
|
80
97
|
- !ruby/object:Gem::Dependency
|
81
98
|
name: hoe-git
|
82
|
-
requirement:
|
83
|
-
none: false
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
84
100
|
requirements:
|
85
101
|
- - ! '>='
|
86
102
|
- !ruby/object:Gem::Version
|
87
103
|
version: '1.3'
|
88
104
|
type: :development
|
89
105
|
prerelease: false
|
90
|
-
version_requirements:
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.3'
|
91
111
|
- !ruby/object:Gem::Dependency
|
92
112
|
name: hoe-gemspec2
|
93
|
-
requirement:
|
94
|
-
none: false
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
95
114
|
requirements:
|
96
115
|
- - ! '>='
|
97
116
|
- !ruby/object:Gem::Version
|
98
117
|
version: '1.0'
|
99
118
|
type: :development
|
100
119
|
prerelease: false
|
101
|
-
version_requirements:
|
102
|
-
- !ruby/object:Gem::Dependency
|
103
|
-
name: rdoc
|
104
|
-
requirement: &70275017002960 !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
121
|
requirements:
|
107
122
|
- - ! '>='
|
108
123
|
- !ruby/object:Gem::Version
|
109
|
-
version: '0'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: *70275017002960
|
124
|
+
version: '1.0'
|
113
125
|
- !ruby/object:Gem::Dependency
|
114
126
|
name: eventmachine
|
115
|
-
requirement:
|
116
|
-
none: false
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
117
128
|
requirements:
|
118
129
|
- - ! '>='
|
119
130
|
- !ruby/object:Gem::Version
|
120
131
|
version: 0.12.11
|
121
132
|
type: :development
|
122
133
|
prerelease: false
|
123
|
-
version_requirements:
|
124
|
-
- !ruby/object:Gem::Dependency
|
125
|
-
name: rdoc
|
126
|
-
requirement: &70275016999680 !ruby/object:Gem::Requirement
|
127
|
-
none: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
128
135
|
requirements:
|
129
|
-
- -
|
136
|
+
- - ! '>='
|
130
137
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: *70275016999680
|
138
|
+
version: 0.12.11
|
135
139
|
- !ruby/object:Gem::Dependency
|
136
140
|
name: hoe
|
137
|
-
requirement:
|
138
|
-
none: false
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
139
142
|
requirements:
|
140
143
|
- - ~>
|
141
144
|
- !ruby/object:Gem::Version
|
142
|
-
version: '
|
145
|
+
version: '3.5'
|
143
146
|
type: :development
|
144
147
|
prerelease: false
|
145
|
-
version_requirements:
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ~>
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '3.5'
|
146
153
|
description: ! 'A Sinatra plugin to provide convenience whilst performing asynchronous
|
147
154
|
|
148
155
|
responses inside of the Sinatra framework running under async webservers.
|
@@ -166,8 +173,8 @@ email:
|
|
166
173
|
executables: []
|
167
174
|
extensions: []
|
168
175
|
extra_rdoc_files:
|
169
|
-
- Manifest.txt
|
170
176
|
- CHANGELOG.rdoc
|
177
|
+
- Manifest.txt
|
171
178
|
- README.rdoc
|
172
179
|
files:
|
173
180
|
- .gemtest
|
@@ -183,6 +190,7 @@ files:
|
|
183
190
|
- test/test_async.rb
|
184
191
|
homepage: http://github.com/raggi/async_sinatra
|
185
192
|
licenses: []
|
193
|
+
metadata: {}
|
186
194
|
post_install_message:
|
187
195
|
rdoc_options:
|
188
196
|
- --main
|
@@ -190,22 +198,20 @@ rdoc_options:
|
|
190
198
|
require_paths:
|
191
199
|
- lib
|
192
200
|
required_ruby_version: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
201
|
requirements:
|
195
202
|
- - ! '>='
|
196
203
|
- !ruby/object:Gem::Version
|
197
204
|
version: '0'
|
198
205
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
199
|
-
none: false
|
200
206
|
requirements:
|
201
207
|
- - ! '>='
|
202
208
|
- !ruby/object:Gem::Version
|
203
209
|
version: '0'
|
204
210
|
requirements: []
|
205
211
|
rubyforge_project: libraggi
|
206
|
-
rubygems_version:
|
212
|
+
rubygems_version: 2.0.3
|
207
213
|
signing_key:
|
208
|
-
specification_version:
|
214
|
+
specification_version: 4
|
209
215
|
summary: A Sinatra plugin to provide convenience whilst performing asynchronous responses
|
210
216
|
inside of the Sinatra framework running under async webservers
|
211
217
|
test_files:
|