perus 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 37e1c51c3bab8abeb45d421f14394ab1d25ffeb5
4
- data.tar.gz: 3e901ab89a86654c25bb9994417f7c7215abbcd0
2
+ SHA256:
3
+ metadata.gz: 6292b82a1b79e8a769b29604878ff21b52f47481b6431b0068ed37cb561105e4
4
+ data.tar.gz: 705ee99f8be8a0bbd42e64e1977384a5fff1d3a8829fed429fb54793338f5cd9
5
5
  SHA512:
6
- metadata.gz: 7eccd4d1670dac2c14245eb6b36cc735572954d57abdba4e98487ee0dbe336d66ba3d90915a94e31e691dc9d2a4b27f4a3c689d3c99e4e07ce12dd3ce7ae51fb
7
- data.tar.gz: abf1bca5b58023019d28ca794462b2f3246be68f1d8466ace6c761d9e9a376f0b9d2f4a4480404b26f20540acbdaa654b0b37910a52397f8bb58411adaa2e076
6
+ metadata.gz: fcd3c9c3c95dfee66c271b45460190a6d55640448a8812497d3ef952b4cd6d900bd8c1af6c7e7711f543fd8d61302126395cc66543710a9748985024c2d5332d
7
+ data.tar.gz: c9e49fa6b5c719fa2792d3fcd755484e1e71ca4065f2b66f23ff3c737453c8ef83c8ace5c0c559337639dfca7e83767a6c2824de2c90294c5534c7af952b3436
@@ -4,5 +4,13 @@ Sequel.migration do
4
4
  execute("ALTER TABLE errors ALTER COLUMN timestamp TYPE bigint")
5
5
  execute("ALTER TABLE actions ALTER COLUMN timestamp TYPE bigint")
6
6
  execute("ALTER TABLE active_alerts ALTER COLUMN timestamp TYPE bigint")
7
+
8
+ execute("ALTER TABLE values ALTER COLUMN id TYPE bigint")
9
+ execute("ALTER TABLE metrics ALTER COLUMN id TYPE bigint")
10
+ execute("ALTER TABLE alerts ALTER COLUMN id TYPE bigint")
11
+ execute("ALTER TABLE active_alerts ALTER COLUMN id TYPE bigint")
12
+
13
+ # If a reset needs to be made due to ID limit
14
+ # "ALTER SEQUENCE values_id_seq RESTART WITH 1;"
7
15
  end
8
16
  end
data/lib/perus/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Perus
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
data/perus.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_dependency 'concurrent-ruby', '~> 0.8'
26
26
  spec.add_dependency 'faye-websocket', '~> 0.10'
27
27
  spec.add_dependency 'websocket-driver', '>= 0.6.4'
28
- spec.add_dependency 'rest-client', '~> 1.8'
28
+ spec.add_dependency 'rest-client', '~> 2.1.0'
29
29
  spec.add_dependency 'sinatra', '~> 1.4'
30
30
  spec.add_dependency 'sinatra-contrib', '~> 1.4'
31
31
  spec.add_dependency 'sequel', '~> 4.23'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will Cannings
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-10 00:00:00.000000000 Z
11
+ date: 2020-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '1.8'
103
+ version: 2.1.0
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '1.8'
110
+ version: 2.1.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: sinatra
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -348,8 +348,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
348
348
  - !ruby/object:Gem::Version
349
349
  version: '0'
350
350
  requirements: []
351
- rubyforge_project:
352
- rubygems_version: 2.6.14
351
+ rubygems_version: 3.0.3
353
352
  signing_key:
354
353
  specification_version: 4
355
354
  summary: Simple system overview server