pg_failover 1.0.0.pre.alpha → 1.0.0

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
2
  SHA256:
3
- metadata.gz: 940fc1e1a1faf10f7dbc18910a51f53a724b276dc5ad4e377251bc205dcf3291
4
- data.tar.gz: 7b888845de98b57b6724cc0144c946ec27df321d02e025310dd7c04ed2a87cdf
3
+ metadata.gz: 7165a4aee2751c99cbbcdf92a60e57c0015fce1bb9d714840fa60f24e7755239
4
+ data.tar.gz: f60669765090584b6f792200cde5248d29490f02bc4777fb0a84473b52621c71
5
5
  SHA512:
6
- metadata.gz: 32d0f7a5aee56766df278c53bba22ab439ec5914f96cd4c4aaeca97c5279aa9447fdfb1457f77015d15ca280f74ab01a2e17d8b7972660e6fc50618e7f512478
7
- data.tar.gz: e0dc8a6d86ab6c6902dd37435a601a7095a4da366ce9da69001ead7ad3e257ae693d7ea66b82a051b6eb459bffe4cac525e43a705ca57eb8bcace829b9f5c962
6
+ metadata.gz: af8359d882cadde831c9695c24cd3609c47e0afe3b13e092417d8bbde5e8c7530671c43bba56e0efad0218d147132723342b13862499246396e11e179fef8f54
7
+ data.tar.gz: c220e6922b14249ba58dd4e4c3e3977143d3c44ef783e6ce08c1f7c857dcb6e05c724d105735d88b49def4f302dd498b73f9d85ee627ebf8dd91703b1ca66744
data/.circleci/config.yml CHANGED
@@ -16,7 +16,9 @@ commands:
16
16
  steps:
17
17
  - run:
18
18
  name: Run unit tests
19
- command: bundle exec rspec
19
+ command: bundle exec rspec --format progress --format RspecJunitFormatter -o spec/reports/junit.xml
20
+ - store_test_results:
21
+ path: spec/reports
20
22
 
21
23
  executors:
22
24
  ruby:
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'logger'
4
+
3
5
  module PgFailover
4
6
  Config = Struct.new(:enabled, :logger, :max_retries, :throttle_interval) do
5
7
  def logger
data/pg_failover.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "pg_failover"
3
- spec.version = "1.0.0-alpha"
3
+ spec.version = "1.0.0"
4
4
  spec.authors = ["Aleksandar Ivanov", "Andy Chambers", "Sasha Gerrand"]
5
5
  spec.email = ["engineering+pg_failover@fundingcircle.com"]
6
6
  spec.license = "BSD-3-Clause"
@@ -31,4 +31,5 @@ Gem::Specification.new do |spec|
31
31
  spec.add_development_dependency "bundler", "~> 1.17"
32
32
  spec.add_development_dependency "rake", "~> 10.0"
33
33
  spec.add_development_dependency "rspec", "~> 3.0"
34
+ spec.add_development_dependency "rspec_junit_formatter", "~> 0.4"
34
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_failover
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.alpha
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aleksandar Ivanov
@@ -54,6 +54,20 @@ dependencies:
54
54
  - - "~>"
55
55
  - !ruby/object:Gem::Version
56
56
  version: '3.0'
57
+ - !ruby/object:Gem::Dependency
58
+ name: rspec_junit_formatter
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '0.4'
64
+ type: :development
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - "~>"
69
+ - !ruby/object:Gem::Version
70
+ version: '0.4'
57
71
  description: Handle Postgres failover events gracefully using your favourite ORM.
58
72
  email:
59
73
  - engineering+pg_failover@fundingcircle.com
@@ -96,9 +110,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
96
110
  version: '0'
97
111
  required_rubygems_version: !ruby/object:Gem::Requirement
98
112
  requirements:
99
- - - ">"
113
+ - - ">="
100
114
  - !ruby/object:Gem::Version
101
- version: 1.3.1
115
+ version: '0'
102
116
  requirements: []
103
117
  rubygems_version: 3.0.1
104
118
  signing_key: