usps-support 0.2.28 → 0.2.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0f7453d723c35564393e1541d13e8ef32d3127096d76f82d34e1d1adf852b14
4
- data.tar.gz: 68bdad2b0fb4feee2c275b90e73c93e815fcbe7026378e5879259335bf6b3214
3
+ metadata.gz: 39ca586f34a780161a24972a3f5507c2a7461ae18b88e9e2b84987004ff37d50
4
+ data.tar.gz: 30f5677f9a5bc127be3efd512cb3909122bdf3c882ae49eeb76fa77f21bf0bb2
5
5
  SHA512:
6
- metadata.gz: f3f7281768325abef203d411fe1bb1d9ee62a4eddc5f04e010608750954732036951a17e73dfd8f12ea2e32806aa9590d66f7829af159e8fe034c152efdab58a
7
- data.tar.gz: 4c349f1983ae38dcc5f99bfe0323506312ee5581d3ac10c95fcc76da65edb18f4f8a87504953f8994529d9e75b9380632aac067ba622a02537adc72602551556
6
+ metadata.gz: 9c87c5d5f8e1349dda6b1cb176da3686fb98b41cb60e2d6f2670aef98d2919f56309ab6e6bccc62de20310312121dd44a5dc5f1a2d801fc43dd8aad4469f993e
7
+ data.tar.gz: c8cdad3ffce8de50038fb921c93f737ae461f5a5fbb796d10c30a012f38917f0237a190b90aebbbd41c12f19a4f538ed2fc52d6f957413232006e4918a05f56e
data/lib/tasks/db.rake CHANGED
@@ -5,9 +5,8 @@ namespace :db do
5
5
  task stamp_auxiliary_test_schemas: :environment do
6
6
  next unless Rails.env.test?
7
7
 
8
- primary_name = ActiveRecord::Base.connection_db_config.name
9
8
  configs = ActiveRecord::Base.configurations.configs_for(env_name: 'test')
10
- primary = configs.find { |c| c.name == primary_name }
9
+ primary = configs.find(&:primary?) || configs.first
11
10
  auxiliary = configs - [primary]
12
11
  next if auxiliary.empty?
13
12
 
@@ -72,7 +72,7 @@ module Usps::Support::Helpers
72
72
  )
73
73
  return image if repo.nil? || suite[:conclusion] == 'success'
74
74
 
75
- link_to("#{GITHUB}/#{repo}/actions/workflows/main.yml", target: :blank) { image }
75
+ link_to("#{GITHUB}/#{repo}/actions?query=branch:#{suite[:head_branch]}", target: :blank) { image }
76
76
  end
77
77
 
78
78
  def suite_badge_color(suite = {})
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Usps
4
4
  module Support
5
- VERSION = '0.2.28'
5
+ VERSION = '0.2.30'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usps-support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.28
4
+ version: 0.2.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Fiander