async_sinatra 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
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=
2
+ SHA1:
3
+ metadata.gz: 936be7542ca92ea77fc6d33777319324e09c85be
4
+ data.tar.gz: 84e9708650bcff0416f174b530dd8f46ca6742f2
5
+ SHA512:
6
+ metadata.gz: fbb3a889be58cb2d704fb7d7d2af1dbe44569ce23dc2ca0247c3aa9ebf0bf5a2a4cae1509bcd6159a4ae7b04d3706b1b5c2060f8f07940141ede44545affe6a1
7
+ data.tar.gz: 61264687edd7200f62557c94692bad22f80ffb2984607ddd4e1937852dd405dbf74445782252c947a0e39fea047b3568ebf6bc13a5f49ce86fae707a5004f13c
@@ -1,3 +1,8 @@
1
+ === 1.2.0 / 2015-05-09
2
+
3
+ * Added apatch, alink, aunlink for PATCH, LINK, UNLINK (thanks dalehamel)
4
+ * Cleaned up build files, updated dev/test dependencies
5
+
1
6
  === 1.0.0 / 2012-02-20
2
7
 
3
8
  * Fixed basic usage of #params inside route blocks.
@@ -1,7 +1,6 @@
1
1
  = async_sinatra
2
2
 
3
3
  http://github.com/raggi/async_sinatra
4
- http://libraggi.rubyforge.org/async_sinatra
5
4
 
6
5
  == DESCRIPTION:
7
6
 
@@ -40,7 +39,7 @@ See Sinatra::Async for more details.
40
39
 
41
40
  == REQUIREMENTS:
42
41
 
43
- * Sinatra (>= 0.9)
42
+ * Sinatra (>= 1.3.2)
44
43
  * An async webserver
45
44
 
46
45
  == INSTALL:
@@ -70,4 +69,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
70
69
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
71
70
  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
72
71
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
73
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
72
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile CHANGED
@@ -1,10 +1,11 @@
1
1
  #!/usr/bin/env rake
2
2
 
3
3
  require 'hoe'
4
- Hoe.plugin :doofus, :git, :minitest, :gemspec2, :rubyforge
4
+ Hoe.plugin :doofus, :git, :minitest, :gemspec2
5
5
 
6
6
  Hoe.spec 'async_sinatra' do
7
- developer 'raggi', 'raggi@rubyforge.org'
7
+ developer 'raggi', 'jftucker@gmail.com'
8
+ license "MIT"
8
9
 
9
10
  extra_deps << %w[rack >=1.4.1]
10
11
  extra_deps << %w[sinatra >=1.3.2]
@@ -19,5 +20,4 @@ Hoe.spec 'async_sinatra' do
19
20
  self.extra_rdoc_files = FileList["**/*.rdoc"]
20
21
  self.history_file = "CHANGELOG.rdoc"
21
22
  self.readme_file = "README.rdoc"
22
- self.rubyforge_name = 'libraggi'
23
23
  end
@@ -2,5 +2,5 @@ require 'sinatra/async'
2
2
  # This is just a stub module for documentation and versioning. Please see
3
3
  # Sinatra::Async.
4
4
  module AsyncSinatra
5
- VERSION = '1.1.0'
5
+ VERSION = '1.2.0'
6
6
  end
@@ -58,6 +58,13 @@ module Sinatra #:nodoc:
58
58
  def ahead(path, opts={}, &bk); aroute 'HEAD', path, opts, &bk; end
59
59
  # See #aget
60
60
  def aoptions(path, opts={}, &bk); aroute 'OPTIONS', path, opts, &bk; end
61
+ # See #aget
62
+ def apatch(path, opts={}, &bk); aroute 'PATCH', path, opts, &bk; end
63
+ # See #aget
64
+ def alink(path, opts={}, &bk); aroute 'LINK', path, opts, &bk; end
65
+ # See #aget
66
+ def aunlink(path, opts={}, &bk); aroute 'UNLINK', path, opts, &bk; end
67
+
61
68
 
62
69
  private
63
70
  def aroute(verb, path, opts = {}, &block) #:nodoc:
metadata CHANGED
@@ -1,175 +1,169 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async_sinatra
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - raggi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-31 00:00:00.000000000 Z
11
+ date: 2015-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.4.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.4.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sinatra
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.3.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.3.2
41
41
  - !ruby/object:Gem::Dependency
42
- name: rubyforge
42
+ name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.0.4
47
+ version: '5.6'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 2.0.4
54
+ version: '5.6'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rdoc
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '3.10'
61
+ version: '4.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '3.10'
68
+ version: '4.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: hoe-doofus
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: hoe-seattlerb
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ! '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '1.2'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ! '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '1.2'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: hoe-git
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ! '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '1.3'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ! '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '1.3'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: hoe-gemspec2
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ! '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '1.0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ! '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '1.0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: eventmachine
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ! '>='
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
131
  version: 0.12.11
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ! '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: 0.12.11
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: hoe
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ~>
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '3.5'
145
+ version: '3.13'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ~>
150
+ - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '3.5'
153
- description: ! 'A Sinatra plugin to provide convenience whilst performing asynchronous
154
-
152
+ version: '3.13'
153
+ description: |-
154
+ A Sinatra plugin to provide convenience whilst performing asynchronous
155
155
  responses inside of the Sinatra framework running under async webservers.
156
156
 
157
-
158
157
  To properly utilise this package, some knowledge of EventMachine and/or
159
-
160
158
  asynchronous patterns is recommended.
161
159
 
162
-
163
160
  Currently, supporting servers include:
164
161
 
165
-
166
162
  * Thin
167
-
168
163
  * Rainbows
169
-
170
- * Zbatery'
164
+ * Zbatery
171
165
  email:
172
- - raggi@rubyforge.org
166
+ - jftucker@gmail.com
173
167
  executables: []
174
168
  extensions: []
175
169
  extra_rdoc_files:
@@ -177,7 +171,7 @@ extra_rdoc_files:
177
171
  - Manifest.txt
178
172
  - README.rdoc
179
173
  files:
180
- - .gemtest
174
+ - ".gemtest"
181
175
  - CHANGELOG.rdoc
182
176
  - Manifest.txt
183
177
  - README.rdoc
@@ -189,30 +183,30 @@ files:
189
183
  - test/gemloader.rb
190
184
  - test/test_async.rb
191
185
  homepage: http://github.com/raggi/async_sinatra
192
- licenses: []
186
+ licenses:
187
+ - MIT
193
188
  metadata: {}
194
189
  post_install_message:
195
190
  rdoc_options:
196
- - --main
191
+ - "--main"
197
192
  - README.rdoc
198
193
  require_paths:
199
194
  - lib
200
195
  required_ruby_version: !ruby/object:Gem::Requirement
201
196
  requirements:
202
- - - ! '>='
197
+ - - ">="
203
198
  - !ruby/object:Gem::Version
204
199
  version: '0'
205
200
  required_rubygems_version: !ruby/object:Gem::Requirement
206
201
  requirements:
207
- - - ! '>='
202
+ - - ">="
208
203
  - !ruby/object:Gem::Version
209
204
  version: '0'
210
205
  requirements: []
211
- rubyforge_project: libraggi
212
- rubygems_version: 2.0.3
206
+ rubyforge_project:
207
+ rubygems_version: 2.4.4
213
208
  signing_key:
214
209
  specification_version: 4
215
210
  summary: A Sinatra plugin to provide convenience whilst performing asynchronous responses
216
211
  inside of the Sinatra framework running under async webservers
217
- test_files:
218
- - test/test_async.rb
212
+ test_files: []