riddl 0.129 → 0.130

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
  SHA256:
3
- metadata.gz: 6316fd15d163902d1742764b42bc4886aaeb270a4957f540c2f617b099c5b15a
4
- data.tar.gz: 35713bac9ab94975e7aa396966443d54c11b45085ad640280faa9fd6e63225e7
3
+ metadata.gz: '0742891c48e4c361fd8b4fdcdf7abfeb0004b87b9459b84833aa5f41ec28a142'
4
+ data.tar.gz: 3a3ccce0767ac8efccb9c8277730e3d669e8a484d33aeb93a62e48032c656778
5
5
  SHA512:
6
- metadata.gz: 268485523d1c71d829e7f9576244d438fd914f89dba9e1c039adf90155e2d0eb2f5bfb784344780f8fd97bc5627579f6ae7174f74629c5632396c438c3bb3137
7
- data.tar.gz: f80e80903d09ae3c4b756ab3dd75897fb3d4586e02e4c04e0c4ffc852b5b694cd7fc79b76d82d03a4e79a512331d5140ab45a2f5d8394f0482ca0edc306bc882
6
+ metadata.gz: 6a781d0b86a3025b5a3273cc6808bd834edbe41a5633880a76b913df90c3ff109a0bc3fd4b326f99d6943ce04a4e8107850b538738ed1cc2dd69d1b420b758ab
7
+ data.tar.gz: 795bdb0f17a9e12b6b1a99ad9fd58e4b2fe845fa4e48f95448ddc3dac8f029a7cf364d5dc287a86221a4178fdd1fd7bb38a95b6f1c644a6c47a356be76aa3636
data/AUTHORS CHANGED
@@ -2,3 +2,4 @@ Jürgen Mangler <juergen.mangler@gmail.com>
2
2
  Florian Stertz <florian.stertz@gmail.com>
3
3
  Sonja Biedermann <s.bdrmnn@gmail.com>
4
4
  Matthias Ehrendorfer <matthias.ehrendorfer@gmail.com>
5
+ Heinrich Fenkart <hnrch02@gmail.com>
@@ -1,15 +1,17 @@
1
- == Ubuntu & Debian
1
+ ## Ubuntu & Debian
2
2
 
3
+ ```bash
3
4
  sudo apt-get install libxml2-dev libxslt1-dev zlib1g-dev ruby-dev build-essential ruby ruby
4
- sudo gem install pkg/riddl.gem
5
+ gem --user install pkg/riddl.gem
6
+ ```
5
7
 
6
8
  If "pkg/riddl.gem" not exists, then create it with "rake gem".
7
9
 
8
- == Others
10
+ ## Others
9
11
 
10
12
  find out yourself
11
13
 
12
- == Gem Dependencies
14
+ ## Gem Dependencies
13
15
 
14
16
  You don't need to care about them, as they will be automatically installed
15
17
  during the installation of the riddl.gem. Here is a list of them just in case
@@ -25,7 +25,7 @@ module Riddl
25
25
  end
26
26
 
27
27
  def key?(key)
28
- @redis.exists(key)
28
+ @redis.exists?(key)
29
29
  end
30
30
 
31
31
  def each
@@ -40,9 +40,9 @@ module Riddl
40
40
 
41
41
  def set(key,value,dur=nil)
42
42
  value = value.is_a?(String) ? value.to_s : (JSON::generate(value) rescue '')
43
- @redis.multi do
44
- @redis.set key, value
45
- @redis.expire key, dur unless dur.nil?
43
+ @redis.multi do |transaction|
44
+ transaction.set key, value
45
+ transaction.expire key, dur unless dur.nil?
46
46
  end
47
47
  nil
48
48
  end
data/riddl.gemspec CHANGED
@@ -1,13 +1,13 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "riddl"
3
- s.version = "0.129"
3
+ s.version = "0.130"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "Restful Interface Description and Declaration Language: tools and client/server libs"
7
7
 
8
8
  s.description = "REST service interface definition, mixing, and evolution. Supports mixed http and xmpp servers."
9
9
 
10
- s.files = Dir['{lib/ruby/riddl/ns/**/*,tools/**/*,ns/**/*,contrib/**/*,lib/ruby/riddl/**/*,examples/**/*}'] + %w(COPYING Rakefile riddl.gemspec README.md TODO AUTHORS INSTALL)
10
+ s.files = Dir['{lib/ruby/riddl/ns/**/*,tools/**/*,ns/**/*,contrib/**/*,lib/ruby/riddl/**/*,examples/**/*}'] + %w(COPYING Rakefile riddl.gemspec README.md TODO AUTHORS INSTALL.md)
11
11
 
12
12
  s.require_path = 'lib/ruby'
13
13
  s.extra_rdoc_files = ['README.md']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riddl
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.129'
4
+ version: '0.130'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen 'eTM' Mangler
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: tools
13
13
  cert_chain: []
14
- date: 2023-03-16 00:00:00.000000000 Z
14
+ date: 2023-03-21 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: daemonite
@@ -261,7 +261,7 @@ extra_rdoc_files:
261
261
  files:
262
262
  - AUTHORS
263
263
  - COPYING
264
- - INSTALL
264
+ - INSTALL.md
265
265
  - README.md
266
266
  - Rakefile
267
267
  - TODO