restify 0.3.2.1.b70 → 0.3.2.1.b71
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/restify.rb +1 -1
- data/spec/restify_spec.rb +1 -1
- data/spec/spec_helper.rb +3 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MzE5Y2RlNjAwNTE5ZjI4YjA5MGY3NWRjNWI4ZjcwMTMxYTNlZGEwNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NmFmOWJmMGY3YmI2NzI2OGVmM2UxNDZjMThjNTc0NDQ1NmM3YzNkNA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NmU5NmQxYjMwMDBmNWJiNjNlMjhkYzIzM2VmZTkwMDdjMTYzNDAzMTRlMzZi
|
10
|
+
NGJiYWYyMWZmY2NmMWE0MzZiZDM3NzJmNWFiOWY3MDZiOTQ2YTBhMTMxOTQ2
|
11
|
+
YWU4YTcxODQ2NGEyZjAzZjdmZjdjNTViMDQwNzBjMmY3MTUzNjA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YTI1OTA5MWZkOTU1NmNmNjFhZDU1NmU2ZDMwMTliYjg1ZWViY2E1OTI0MGE1
|
14
|
+
ZWFmOWFjOTQwNTJlYjkwY2MzZTViOWYxYzI5ZTE1ZGQwMWFlZTdkNDY4OWVm
|
15
|
+
ZjdhYjE3OTYyYzUxZjNlYTU2YmQzOWMzZGE5OGI3ZGUyMGQ5Nzg=
|
data/lib/restify.rb
CHANGED
data/spec/restify_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -10,7 +10,7 @@ end
|
|
10
10
|
|
11
11
|
require 'restify'
|
12
12
|
|
13
|
-
case ENV['ADAPTER'].downcase
|
13
|
+
case ENV['ADAPTER'].to_s.downcase
|
14
14
|
when 'em-http-request'
|
15
15
|
require 'restify/adapter/em'
|
16
16
|
Restify.adapter = Restify::Adapter::EM.new
|
@@ -22,9 +22,8 @@ case ENV['ADAPTER'].downcase
|
|
22
22
|
Restify.adapter = Restify::Adapter::Celluloid.new
|
23
23
|
else
|
24
24
|
raise "Invalid adapter: #{ENV['ADAPTER']}"
|
25
|
-
end
|
25
|
+
end if ENV['ADAPTER']
|
26
26
|
|
27
|
-
require 'eventmachine'
|
28
27
|
require 'rspec/collection_matchers'
|
29
28
|
|
30
29
|
Dir[File.expand_path('spec/support/**/*.rb')].each {|f| require f }
|
@@ -33,6 +32,6 @@ RSpec.configure do |config|
|
|
33
32
|
config.order = 'random'
|
34
33
|
|
35
34
|
config.after(:each) do
|
36
|
-
EventMachine.stop if EventMachine.reactor_running?
|
35
|
+
EventMachine.stop if defined?(EventMachine) && EventMachine.reactor_running?
|
37
36
|
end
|
38
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.2.1.
|
4
|
+
version: 0.3.2.1.b71
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Graichen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08
|
11
|
+
date: 2015-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: obligation
|