diff --git a/.circleci/config.yml b/.circleci/config.yml index 8320dd3..986ef17 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,6 +2,7 @@ version: 2.1 orbs: gem-tool: appfolio/gem-tool@volatile + public-packages: https://raw.githubusercontent.com/appfolio/public-packages/v1/orbs/public-packages.yml workflows: rc: @@ -9,6 +10,8 @@ workflows: - gem-tool/rake_test: name: test_ruby-<< matrix.ruby_version >> executor_tag: ruby + after-checkout-steps: + - public-packages/setup matrix: parameters: ruby_version: diff --git a/Appraisals b/Appraisals index 1a1e78d..eb58aef 100644 --- a/Appraisals +++ b/Appraisals @@ -2,13 +2,13 @@ if Gem::Requirement.new(['>= 3.3', '< 4.1']).satisfied_by?(Gem::Version.new(RUBY_VERSION)) appraise "ruby-#{RUBY_VERSION}_rack2" do - source 'https://rubygems.org' do + source 'https://appfolio.jfrog.io/artifactory/api/gems/appfolio-ae_reverse_proxy-gem/' do gem 'rack', '~> 2.2' end end appraise "ruby-#{RUBY_VERSION}_rack3" do - source 'https://rubygems.org' do + source 'https://appfolio.jfrog.io/artifactory/api/gems/appfolio-ae_reverse_proxy-gem/' do gem 'rack', '~> 3.0' end end diff --git a/Gemfile b/Gemfile index 92635c6..6567d19 100644 --- a/Gemfile +++ b/Gemfile @@ -1,8 +1,8 @@ # frozen_string_literal: true -source 'https://rubygems.org' # global source +source 'https://appfolio.jfrog.io/artifactory/api/gems/appfolio-ae_reverse_proxy-gem/' # global source -source 'https://rubygems.org' do +source 'https://appfolio.jfrog.io/artifactory/api/gems/appfolio-ae_reverse_proxy-gem/' do gem 'appraisal', '>= 2.5', '< 3' gem 'bundler', '>= 2.6', '< 5' gem 'debug', '>= 1.10', '< 2' diff --git a/ae_reverse_proxy.gemspec b/ae_reverse_proxy.gemspec index f7f0bf5..a22b16d 100644 --- a/ae_reverse_proxy.gemspec +++ b/ae_reverse_proxy.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.require_paths = ['lib'] spec.required_ruby_version = Gem::Requirement.new('< 4.1') - spec.metadata['allowed_push_host'] = 'https://rubygems.org' + spec.metadata['allowed_push_host'] = 'https://appfolio.jfrog.io/artifactory/api/gems/appfolio-ae_reverse_proxy-gem/' spec.add_dependency('addressable', ['>= 2.3.6', '< 3']) spec.add_dependency('rack', ['>= 2.2.3', '< 4']) diff --git a/catalog-info.yaml b/catalog-info.yaml index a73c5be..e49e9da 100644 --- a/catalog-info.yaml +++ b/catalog-info.yaml @@ -5,7 +5,7 @@ metadata: description: Implementation of a rack compliant reverse proxy. tags: [] annotations: - appfolio.com/package-location: https://rubygems.org/gems/ae_reverse_proxy + appfolio.com/package-location: https://appfolio.jfrog.io/artifactory/api/gems/appfolio-ae_reverse_proxy-gem/ appfolio.com/package-type: gem circleci.com/project-slug: github/appfolio/ae_reverse_proxy name: ae-reverse-proxy