ovirt_metrics 2.0.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ovirt_metrics.rb +1 -8
- data/lib/ovirt_metrics/version.rb +1 -1
- metadata +14 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ffd084cdcd5c83f2b33a5f3be6d484bc18e5692dcd25b1733dc4217159fc4b8
|
4
|
+
data.tar.gz: d4c597c0ed52ffd470f5e58409b8002e579c03fd45de8cba1e4e5da38bb1e5dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ff0a5552bb9aba180e47cfe4323d4a339620fdb66d9f599fda37882a54572dcc3821cad58c836995d4ad45cf8cd0213038842d1fb813b177085527a93b297b8
|
7
|
+
data.tar.gz: 76e40dacb3023e84f38710cda3a6a643cac7e82b81ee0c41e543e5b68612504df62d6decea25434ba8c17f00626f27400ee34f3cd9e4ab41aee3ea68e476737d
|
data/lib/ovirt_metrics.rb
CHANGED
@@ -27,14 +27,7 @@ module OvirtMetrics
|
|
27
27
|
opts ||= {}
|
28
28
|
opts[:port] ||= 5432
|
29
29
|
opts[:database] ||= DEFAULT_HISTORY_DATABASE_NAME
|
30
|
-
opts[:adapter] =
|
31
|
-
if ActiveRecord::VERSION::MAJOR > 4
|
32
|
-
require "active_record/connection_adapters/ovirt_legacy_postgresql_adapter"
|
33
|
-
'ovirt_legacy_postgresql'
|
34
|
-
else
|
35
|
-
'postgresql'
|
36
|
-
end
|
37
|
-
end
|
30
|
+
opts[:adapter] = 'postgresql'
|
38
31
|
|
39
32
|
# Don't allow accidental connections to localhost. A blank host will
|
40
33
|
# connect to localhost, so don't allow that at all.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ovirt_metrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oleg Barenboim
|
@@ -9,22 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-07-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '0'
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - "
|
25
|
+
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
27
|
+
version: '0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rake
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -71,16 +71,16 @@ dependencies:
|
|
71
71
|
name: sqlite3
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- - "
|
74
|
+
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
76
|
+
version: 1.3.6
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- - "
|
81
|
+
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version:
|
83
|
+
version: 1.3.6
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: coveralls
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
@@ -99,22 +99,16 @@ dependencies:
|
|
99
99
|
name: activerecord
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
|
-
- - ">="
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: 4.2.3
|
105
102
|
- - "<"
|
106
103
|
- !ruby/object:Gem::Version
|
107
|
-
version: '5.
|
104
|
+
version: '5.3'
|
108
105
|
type: :runtime
|
109
106
|
prerelease: false
|
110
107
|
version_requirements: !ruby/object:Gem::Requirement
|
111
108
|
requirements:
|
112
|
-
- - ">="
|
113
|
-
- !ruby/object:Gem::Version
|
114
|
-
version: 4.2.3
|
115
109
|
- - "<"
|
116
110
|
- !ruby/object:Gem::Version
|
117
|
-
version: '5.
|
111
|
+
version: '5.3'
|
118
112
|
- !ruby/object:Gem::Dependency
|
119
113
|
name: pg
|
120
114
|
requirement: !ruby/object:Gem::Requirement
|
@@ -242,7 +236,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
242
236
|
requirements:
|
243
237
|
- - ">="
|
244
238
|
- !ruby/object:Gem::Version
|
245
|
-
version:
|
239
|
+
version: 2.3.1
|
246
240
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
247
241
|
requirements:
|
248
242
|
- - ">="
|
@@ -250,7 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
250
244
|
version: '0'
|
251
245
|
requirements: []
|
252
246
|
rubyforge_project:
|
253
|
-
rubygems_version: 2.7.2
|
247
|
+
rubygems_version: 2.7.6.2
|
254
248
|
signing_key:
|
255
249
|
specification_version: 4
|
256
250
|
summary: OvirtMetrics is an ActiveRecord-based gem for reading the oVirt History database.
|