servicesnapshot 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/snapshot/fluiddb.rb +2 -2
- metadata +45 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6562fe78513b7eaa2fc797be0cc6b378fdc44289
|
4
|
+
data.tar.gz: 9690a2c3cc63eeaa80ac25358b34c51019f39cf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a841788bc3401108c1bb63b3c356d507d29186eb41cfbb2eb6265d23698223b6280c15757acf5e005101bdc0761e1c55f617fce424136f81bbf653c965766cc
|
7
|
+
data.tar.gz: 1c42780e7bdf69dc7c3e38070f4b92e669b067a3cb0bbca481691a4469930881a1c47f3cd092d2be5eec9f2e8acab49f878bbdd3cee1a080bae0a35dae70b537
|
data/lib/snapshot/fluiddb.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
1
|
+
require 'fluiddb2'
|
2
2
|
|
3
3
|
def pad_string_with_white_space(string, length)
|
4
4
|
while string.length <= length + 1
|
@@ -12,7 +12,7 @@ def fluiddb(params)
|
|
12
12
|
uri_string = get_param(params, :uri, usage)
|
13
13
|
sql_string = get_param(params, :sql, usage)
|
14
14
|
|
15
|
-
db =
|
15
|
+
db = FluidDb2.Db(URI.parse(uri_string))
|
16
16
|
list = db.queryForResultset(sql_string, [])
|
17
17
|
content = ''
|
18
18
|
if list.count == 0
|
metadata
CHANGED
@@ -1,15 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: servicesnapshot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guy Irvine
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
12
|
-
dependencies:
|
11
|
+
date: 2016-08-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: parse-cron
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: beanstalk-client
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: fluiddb
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
13
55
|
description: The fastest way to get a snapshot of your system.
|
14
56
|
email: guy@guyirvine.com
|
15
57
|
executables:
|