riddl 0.129 → 0.130
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHORS +1 -0
- data/{INSTALL → INSTALL.md} +6 -4
- data/lib/ruby/riddl/utils/oauth2-helper.rb +4 -4
- data/riddl.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0742891c48e4c361fd8b4fdcdf7abfeb0004b87b9459b84833aa5f41ec28a142'
|
4
|
+
data.tar.gz: 3a3ccce0767ac8efccb9c8277730e3d669e8a484d33aeb93a62e48032c656778
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a781d0b86a3025b5a3273cc6808bd834edbe41a5633880a76b913df90c3ff109a0bc3fd4b326f99d6943ce04a4e8107850b538738ed1cc2dd69d1b420b758ab
|
7
|
+
data.tar.gz: 795bdb0f17a9e12b6b1a99ad9fd58e4b2fe845fa4e48f95448ddc3dac8f029a7cf364d5dc287a86221a4178fdd1fd7bb38a95b6f1c644a6c47a356be76aa3636
|
data/AUTHORS
CHANGED
data/{INSTALL → INSTALL.md}
RENAMED
@@ -1,15 +1,17 @@
|
|
1
|
-
|
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
|
-
|
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
|
-
|
10
|
+
## Others
|
9
11
|
|
10
12
|
find out yourself
|
11
13
|
|
12
|
-
|
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
|
-
|
45
|
-
|
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.
|
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.
|
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-
|
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
|