riddl 0.99.198 → 0.99.199

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b6b716944053cd0f1b4632586846e86ba49b2aaf
4
- data.tar.gz: e845dd745ec0e9a3e5383b6c11a5c3d41223a627
3
+ metadata.gz: 3d652a220a391aac5d409098c11e8b3fd1751eca
4
+ data.tar.gz: bd48be6547472fe6f4a5ef8dcb9baa476bda6fac
5
5
  SHA512:
6
- metadata.gz: bd91591dbb82304cec50fce6ea9e95633b68860b05d9b2e15bd800ca34440c421092722e84fc644f5ca42e3779d6a4ced2e61c0f8c27483acee3c1ca2b0031c9
7
- data.tar.gz: e7eb83e656158549e184f6aa1d423b49484266668d852db291899bd65076e5537bbbcfb299a574e21880b17d0cc3b34d824265556a6038e83bdf253646f686a7
6
+ metadata.gz: 5ccbbbc6861559ea2021da5cc072be8d2e4f5e0ae3c1bc557e5ea3ddef41a0ed2a99b63f66d4ae5ffbb99f4fea33819f9974f5bbe188ed5b685f7aa344881cfe
7
+ data.tar.gz: 2cca480107181de68fdd7c802b708345382895a8be1650b2d45768fe9b03a155d34dd8e8c8a09b0f680c89339c948b4573c267978ae06063de8d2a55c20d8ddf
File without changes
@@ -5,7 +5,7 @@ require 'base64'
5
5
  module Riddl
6
6
  module Roles
7
7
  module OAuth
8
- DIGEST = OpenSSL::Digest::Digest.new('sha1')
8
+ DIGEST = OpenSSL::Digest::Sha1.new
9
9
  VERSION_MAJOR = 1
10
10
  VERSION_MINOR = 0
11
11
 
@@ -373,7 +373,6 @@ module Riddl
373
373
  end #}}}
374
374
 
375
375
  def __http_call(env) #{{{
376
-
377
376
  @riddl_env = env
378
377
  @riddl_env['rack.logger'] = @riddl_logger if @riddl_logger
379
378
  @riddl_log = @riddl_logger || @riddl_env['rack.errors']
@@ -442,9 +441,7 @@ module Riddl
442
441
  @riddl_status = 404 # client requests wrong path
443
442
  end
444
443
  if @riddl_exe
445
- if @riddl_status >= 200 && @riddl_status < 300
446
- @riddl_res.write Protocols::HTTP::Generator.new(@riddl_exe.response,@riddl_res).generate.read
447
- end
444
+ @riddl_res.write Protocols::HTTP::Generator.new(@riddl_exe.response,@riddl_res).generate.read
448
445
  @riddl_exe.headers.each do |n,h|
449
446
  @riddl_res[n] = h
450
447
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "riddl"
3
- s.version = "0.99.198"
3
+ s.version = "0.99.199"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3"
6
6
  s.summary = "restful interface description and declaration language: tools and client/server libs"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riddl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.198
4
+ version: 0.99.199
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
8
8
  autorequire:
9
9
  bindir: tools
10
10
  cert_chain: []
11
- date: 2015-08-26 00:00:00.000000000 Z
11
+ date: 2015-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xml-smart
@@ -337,7 +337,7 @@ files:
337
337
  - examples/library/rngs/list-of-books.rng
338
338
  - examples/library/rngs/list-of-customers.rng
339
339
  - examples/library/rngs/list-of-loans.rng
340
- - examples/library/server.rb
340
+ - examples/library/server
341
341
  - examples/library/static/info.txt
342
342
  - examples/notifications/implementation/index.html
343
343
  - examples/notifications/implementation/juergen.html
@@ -492,18 +492,18 @@ required_rubygems_version: !ruby/object:Gem::Requirement
492
492
  version: '0'
493
493
  requirements: []
494
494
  rubyforge_project:
495
- rubygems_version: 2.4.5
495
+ rubygems_version: 2.4.8
496
496
  signing_key:
497
497
  specification_version: 4
498
498
  summary: 'restful interface description and declaration language: tools and client/server
499
499
  libs'
500
500
  test_files:
501
- - test/tc_websocket.rb
501
+ - test/tc_properties.rb
502
502
  - test/tc_declaration-hybrid.rb
503
503
  - test/tc_declaration-local.rb
504
- - test/tc_properties.rb
504
+ - test/tc_helloworld.rb
505
505
  - test/tc_library.rb
506
506
  - test/tc_declaration-distributed.rb
507
+ - test/tc_websocket.rb
507
508
  - test/tc_producer.rb
508
- - test/tc_helloworld.rb
509
509
  - test/smartrunner.rb