From 7530e5a51c740b2652d4fc825c9c43143e60f552 Mon Sep 17 00:00:00 2001 From: HArsHA Ellanki Date: Mon, 2 Mar 2026 16:01:20 -0500 Subject: [PATCH 1/3] ruby upgrade and deep merge fix --- .github/workflows/rspec.yml | 4 ++-- .ruby-version | 2 +- lib/event_source.rb | 1 + lib/event_source/configure/config.rb | 2 +- lib/event_source/configure/servers.rb | 2 +- lib/event_source/protocols/http/faraday_queue_proxy.rb | 3 ++- spec/event_source/channel_spec.rb | 2 +- spec/event_source/connection_manager_spec.rb | 2 +- spec/rails_app/spec/railtie_spec.rb | 2 +- 9 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/rspec.yml b/.github/workflows/rspec.yml index 0f1b2a03..ae20d2dc 100644 --- a/.github/workflows/rspec.yml +++ b/.github/workflows/rspec.yml @@ -22,7 +22,7 @@ jobs: strategy: fail-fast: false matrix: - ruby_version: ['2.7.5', '3.0.5', '3.1.4', '3.2.2', '3.3.8', '3.4.4'] + ruby_version: ['2.7.5', '3.0.5', '3.1.4', '3.2.2', '3.3.8', '3.4.4', '3.4.7'] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -51,7 +51,7 @@ jobs: strategy: fail-fast: false matrix: - ruby_version: ['2.7.5', '3.0.5', '3.1.4', '3.2.2', '3.3.8', '3.4.4'] + ruby_version: ['2.7.5', '3.0.5', '3.1.4', '3.2.2', '3.3.8', '3.4.4', '3.4.7'] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.ruby-version b/.ruby-version index 0444f320..81f1b89f 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.2.1 \ No newline at end of file +3.4.7 \ No newline at end of file diff --git a/lib/event_source.rb b/lib/event_source.rb index 7597298e..ced79b12 100644 --- a/lib/event_source.rb +++ b/lib/event_source.rb @@ -11,6 +11,7 @@ require 'dry-struct' require 'oj' require 'active_support/all' # TODO: Remove ActiveSupport dependency +require 'deep_merge/rails_compat' require 'event_source/version' require 'event_source/ruby_versions' diff --git a/lib/event_source/configure/config.rb b/lib/event_source/configure/config.rb index f5cd74f6..42ece278 100644 --- a/lib/event_source/configure/config.rb +++ b/lib/event_source/configure/config.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require 'deep_merge' +require 'deep_merge/rails_compat' module EventSource module Configure diff --git a/lib/event_source/configure/servers.rb b/lib/event_source/configure/servers.rb index efab5baa..657bd9ec 100644 --- a/lib/event_source/configure/servers.rb +++ b/lib/event_source/configure/servers.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require 'deep_merge' +require 'deep_merge/rails_compat' module EventSource module Configure diff --git a/lib/event_source/protocols/http/faraday_queue_proxy.rb b/lib/event_source/protocols/http/faraday_queue_proxy.rb index e290909a..7465165e 100644 --- a/lib/event_source/protocols/http/faraday_queue_proxy.rb +++ b/lib/event_source/protocols/http/faraday_queue_proxy.rb @@ -49,7 +49,8 @@ def actions # @param [Object] subscriber_klass Subscriber class # @return [Queue] Queue instance def subscribe(subscriber_klass, _options) - unique_key = [app_name, formatted_exchange_name].join(delimiter) + subscriber_suffix = subscriber_klass.name.downcase.gsub('::', '_') + unique_key = [app_name, formatted_exchange_name].join(delimiter) + "_#{subscriber_suffix}" subscription_key = [app_name, formatted_exchange_name].join(delimiter) subscriber_suffix = subscriber_klass.name.downcase.gsub('::', '_') unique_key = subscription_key + "_#{subscriber_suffix}" diff --git a/spec/event_source/channel_spec.rb b/spec/event_source/channel_spec.rb index ada8f37e..0303f462 100644 --- a/spec/event_source/channel_spec.rb +++ b/spec/event_source/channel_spec.rb @@ -96,7 +96,7 @@ context '.cancel_consumers' do before do subject.subscribe_operations.values.each do |sub_op| - subscriber_klass = double('SubscriberKlass') + subscriber_klass = double('SubscriberKlass', name: "SubscriberKlass") sub_op.subscribe(subscriber_klass) end end diff --git a/spec/event_source/connection_manager_spec.rb b/spec/event_source/connection_manager_spec.rb index 3d6f14bb..72fac27b 100644 --- a/spec/event_source/connection_manager_spec.rb +++ b/spec/event_source/connection_manager_spec.rb @@ -116,7 +116,7 @@ connection.start unless connection.active? connection.add_channels(async_api_channels) channel.subscribe_operations.values.each do |sub_op| - subscriber_klass = double('SubscriberKlass') + subscriber_klass = double('SubscriberKlass', name: "SubscriberKlass") sub_op.subscribe(subscriber_klass) end end diff --git a/spec/rails_app/spec/railtie_spec.rb b/spec/rails_app/spec/railtie_spec.rb index ce6c8a1f..67172917 100644 --- a/spec/rails_app/spec/railtie_spec.rb +++ b/spec/rails_app/spec/railtie_spec.rb @@ -58,7 +58,7 @@ connection.add_channels(async_api_channels) channel.subscribe_operations.each_value do |subscribe_operation| - subscriber_klass = double('SubscriberKlass') + subscriber_klass = double('SubscriberKlass', name: "SubscriberKlass") subscribe_operation.subscribe(subscriber_klass) end From 0b608e9456f8d4a854535767281de55112c2e977 Mon Sep 17 00:00:00 2001 From: Michael Karamanov Date: Fri, 13 Mar 2026 19:52:05 -0400 Subject: [PATCH 2/3] try bumping faraday to 2 --- Gemfile.lock | 448 ++++++++++++++++++ event_source.gemspec | 4 +- .../protocols/http/faraday_request_proxy.rb | 23 +- lib/event_source/protocols/http_protocol.rb | 3 +- .../example_services/ridp_service_spec.rb | 2 +- spec/rails_app/tmp/local_secret.txt | 1 + 6 files changed, 464 insertions(+), 17 deletions(-) create mode 100644 Gemfile.lock create mode 100644 spec/rails_app/tmp/local_secret.txt diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 00000000..3fa47870 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,448 @@ +PATH + remote: . + specs: + event_source (0.6.0) + addressable (>= 2.8.0) + bunny (>= 2.14) + deep_merge (~> 1.2.0) + dry-configurable (~> 0.12) + dry-events (~> 0.3) + dry-inflector (~> 0.2) + dry-initializer (~> 3.0) + dry-logic (< 1.3) + dry-monads (~> 1.3) + dry-schema (~> 1.6, < 1.10) + dry-struct (~> 1.4) + dry-types (~> 1.5, < 1.6) + dry-validation (~> 1.6, < 1.8) + faraday (>= 2.0) + faraday-retry (~> 2.0) + logging (~> 2.3.0) + mime-types + nokogiri (>= 1.13.0) + oj (~> 3.11) + ox (~> 2.14) + typhoeus (~> 1.4.0) + +GEM + remote: https://rubygems.org/ + specs: + action_text-trix (2.1.17) + railties + actioncable (8.1.2) + actionpack (= 8.1.2) + activesupport (= 8.1.2) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + zeitwerk (~> 2.6) + actionmailbox (8.1.2) + actionpack (= 8.1.2) + activejob (= 8.1.2) + activerecord (= 8.1.2) + activestorage (= 8.1.2) + activesupport (= 8.1.2) + mail (>= 2.8.0) + actionmailer (8.1.2) + actionpack (= 8.1.2) + actionview (= 8.1.2) + activejob (= 8.1.2) + activesupport (= 8.1.2) + mail (>= 2.8.0) + rails-dom-testing (~> 2.2) + actionpack (8.1.2) + actionview (= 8.1.2) + activesupport (= 8.1.2) + nokogiri (>= 1.8.5) + rack (>= 2.2.4) + rack-session (>= 1.0.1) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + useragent (~> 0.16) + actiontext (8.1.2) + action_text-trix (~> 2.1.15) + actionpack (= 8.1.2) + activerecord (= 8.1.2) + activestorage (= 8.1.2) + activesupport (= 8.1.2) + globalid (>= 0.6.0) + nokogiri (>= 1.8.5) + actionview (8.1.2) + activesupport (= 8.1.2) + builder (~> 3.1) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activejob (8.1.2) + activesupport (= 8.1.2) + globalid (>= 0.3.6) + activemodel (8.1.2) + activesupport (= 8.1.2) + activerecord (8.1.2) + activemodel (= 8.1.2) + activesupport (= 8.1.2) + timeout (>= 0.4.0) + activestorage (8.1.2) + actionpack (= 8.1.2) + activejob (= 8.1.2) + activerecord (= 8.1.2) + activesupport (= 8.1.2) + marcel (~> 1.0) + activesupport (8.1.2) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.3.1) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + json + logger (>= 1.4.2) + minitest (>= 5.1) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) + addressable (2.8.9) + public_suffix (>= 2.0.2, < 8.0) + amq-protocol (2.5.1) + ast (2.4.3) + aws-eventstream (1.4.0) + aws-partitions (1.1226.0) + aws-sdk-core (3.243.0) + aws-eventstream (~> 1, >= 1.3.0) + aws-partitions (~> 1, >= 1.992.0) + aws-sigv4 (~> 1.9) + base64 + bigdecimal + jmespath (~> 1, >= 1.6.1) + logger + aws-sdk-sns (1.112.0) + aws-sdk-core (~> 3, >= 3.241.4) + aws-sigv4 (~> 1.5) + aws-sigv4 (1.12.1) + aws-eventstream (~> 1, >= 1.0.2) + base64 (0.3.0) + bigdecimal (4.0.1) + bson (5.2.0) + builder (3.3.0) + bunny (2.24.0) + amq-protocol (~> 2.3) + sorted_set (~> 1, >= 1.0.2) + byebug (13.0.0) + reline (>= 0.6.0) + coderay (1.1.3) + concurrent-ruby (1.3.6) + connection_pool (3.0.2) + crack (1.0.1) + bigdecimal + rexml + crass (1.0.6) + database_cleaner (2.1.0) + database_cleaner-active_record (>= 2, < 3) + database_cleaner-active_record (2.2.2) + activerecord (>= 5.a) + database_cleaner-core (~> 2.0) + database_cleaner-core (2.0.1) + date (3.5.1) + deep_merge (1.2.2) + diff-lcs (1.6.2) + drb (2.2.3) + dry-configurable (0.16.1) + dry-core (~> 0.6) + zeitwerk (~> 2.6) + dry-container (0.11.0) + concurrent-ruby (~> 1.0) + dry-core (0.9.1) + concurrent-ruby (~> 1.0) + zeitwerk (~> 2.6) + dry-events (0.4.0) + concurrent-ruby (~> 1.0) + dry-core (~> 0.9, >= 0.9) + dry-inflector (0.3.0) + dry-initializer (3.2.0) + dry-logic (1.2.0) + concurrent-ruby (~> 1.0) + dry-core (~> 0.5, >= 0.5) + dry-monads (1.5.0) + concurrent-ruby (~> 1.0) + dry-core (~> 0.9, >= 0.9) + zeitwerk (~> 2.6) + dry-schema (1.9.3) + concurrent-ruby (~> 1.0) + dry-configurable (~> 0.13, >= 0.13.0) + dry-core (~> 0.5, >= 0.5) + dry-initializer (~> 3.0) + dry-logic (~> 1.0) + dry-types (~> 1.5) + dry-struct (1.4.0) + dry-core (~> 0.5, >= 0.5) + dry-types (~> 1.5) + ice_nine (~> 0.11) + dry-types (1.5.1) + concurrent-ruby (~> 1.0) + dry-container (~> 0.3) + dry-core (~> 0.5, >= 0.5) + dry-inflector (~> 0.1, >= 0.1.2) + dry-logic (~> 1.0, >= 1.0.2) + dry-validation (1.7.0) + concurrent-ruby (~> 1.0) + dry-container (~> 0.7, >= 0.7.1) + dry-core (~> 0.5, >= 0.5) + dry-initializer (~> 3.0) + dry-schema (~> 1.8, >= 1.8.0) + erb (6.0.2) + erubi (1.13.1) + ethon (0.18.0) + ffi (>= 1.15.0) + logger + faker (3.6.1) + i18n (>= 1.8.11, < 2) + faraday (2.14.1) + faraday-net_http (>= 2.0, < 3.5) + json + logger + faraday-net_http (3.4.2) + net-http (~> 0.5) + faraday-retry (2.4.0) + faraday (~> 2.0) + ffi (1.17.3) + globalid (1.3.0) + activesupport (>= 6.1) + hashdiff (1.2.1) + i18n (1.14.8) + concurrent-ruby (~> 1.0) + ice_nine (0.11.2) + io-console (0.8.2) + irb (1.17.0) + pp (>= 0.6.0) + prism (>= 1.3.0) + rdoc (>= 4.0.0) + reline (>= 0.4.2) + jmespath (1.6.2) + json (2.19.1) + json-schema (6.2.0) + addressable (~> 2.8) + bigdecimal (>= 3.1, < 5) + language_server-protocol (3.17.0.5) + lint_roller (1.1.0) + little-plugger (1.1.4) + logger (1.7.0) + logging (2.3.1) + little-plugger (~> 1.1) + multi_json (~> 1.14) + loofah (2.25.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mail (2.9.0) + logger + mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp + marcel (1.1.0) + mcp (0.8.0) + json-schema (>= 4.1) + method_source (1.1.0) + mime-types (3.7.0) + logger + mime-types-data (~> 3.2025, >= 3.2025.0507) + mime-types-data (3.2026.0303) + mini_mime (1.1.5) + mini_portile2 (2.8.9) + minitest (6.0.2) + drb (~> 2.0) + prism (~> 1.5) + mongo (2.23.0) + base64 + bson (>= 4.14.1, < 6.0.0) + mongoid (9.0.10) + activemodel (>= 5.1, < 8.2, != 7.0.0) + concurrent-ruby (>= 1.0.5, < 2.0) + mongo (>= 2.18.0, < 3.0.0) + multi_json (1.19.1) + mustermann (3.0.4) + ruby2_keywords (~> 0.0.1) + net-http (0.9.1) + uri (>= 0.11.1) + net-imap (0.6.3) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.2) + timeout + net-smtp (0.5.1) + net-protocol + nio4r (2.7.5) + nokogiri (1.19.1) + mini_portile2 (~> 2.8.2) + racc (~> 1.4) + oj (3.16.16) + bigdecimal (>= 3.0) + ostruct (>= 0.2) + ostruct (0.6.3) + ox (2.14.23) + bigdecimal (>= 3.0) + parallel (1.27.0) + parser (3.3.10.2) + ast (~> 2.4.1) + racc + pp (0.6.3) + prettyprint + prettyprint (0.2.0) + prism (1.9.0) + pry (0.16.0) + coderay (~> 1.1) + method_source (~> 1.0) + reline (>= 0.6.0) + pry-byebug (3.12.0) + byebug (~> 13.0) + pry (>= 0.13, < 0.17) + psych (5.3.1) + date + stringio + public_suffix (7.0.5) + racc (1.8.1) + rack (2.2.22) + rack-protection (3.2.0) + base64 (>= 0.1.0) + rack (~> 2.2, >= 2.2.4) + rack-session (1.0.2) + rack (< 3) + rack-test (2.2.0) + rack (>= 1.3) + rackup (1.0.1) + rack (< 3) + webrick + rails (8.1.2) + actioncable (= 8.1.2) + actionmailbox (= 8.1.2) + actionmailer (= 8.1.2) + actionpack (= 8.1.2) + actiontext (= 8.1.2) + actionview (= 8.1.2) + activejob (= 8.1.2) + activemodel (= 8.1.2) + activerecord (= 8.1.2) + activestorage (= 8.1.2) + activesupport (= 8.1.2) + bundler (>= 1.15.0) + railties (= 8.1.2) + rails-dom-testing (2.3.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.7.0) + loofah (~> 2.25) + nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0) + railties (8.1.2) + actionpack (= 8.1.2) + activesupport (= 8.1.2) + irb (~> 1.13) + rackup (>= 1.0.0) + rake (>= 12.2) + thor (~> 1.0, >= 1.2.2) + tsort (>= 0.2) + zeitwerk (~> 2.6) + rainbow (3.1.1) + rake (13.3.1) + rbtree (0.4.6) + rdoc (7.2.0) + erb + psych (>= 4.0.0) + tsort + regexp_parser (2.11.3) + reline (0.6.3) + io-console (~> 0.5) + rexml (3.4.4) + rspec-core (3.13.6) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.5) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.8) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-rails (8.0.4) + actionpack (>= 7.2) + activesupport (>= 7.2) + railties (>= 7.2) + rspec-core (>= 3.13.0, < 5.0.0) + rspec-expectations (>= 3.13.0, < 5.0.0) + rspec-mocks (>= 3.13.0, < 5.0.0) + rspec-support (>= 3.13.0, < 5.0.0) + rspec-support (3.13.7) + rubocop (1.85.1) + json (~> 2.3) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.1.0) + mcp (~> 0.6) + parallel (~> 1.10) + parser (>= 3.3.0.2) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 2.9.3, < 3.0) + rubocop-ast (>= 1.49.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.49.1) + parser (>= 3.3.7.2) + prism (~> 1.7) + rubocop-git (0.1.3) + rubocop (>= 0.24.1) + ruby-progressbar (1.13.0) + ruby2_keywords (0.0.5) + securerandom (0.4.1) + sinatra (3.2.0) + mustermann (~> 3.0) + rack (~> 2.2, >= 2.2.4) + rack-protection (= 3.2.0) + tilt (~> 2.0) + sorted_set (1.1.0) + rbtree + stringio (3.2.0) + thor (1.5.0) + tilt (2.7.0) + timeout (0.6.1) + tsort (0.2.0) + typhoeus (1.4.1) + ethon (>= 0.9.0) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (3.2.0) + unicode-emoji (~> 4.1) + unicode-emoji (4.2.0) + uri (1.1.1) + useragent (0.16.11) + webmock (3.26.1) + addressable (>= 2.8.0) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + webrick (1.9.2) + websocket-driver (0.8.0) + base64 + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + yard (0.9.38) + zeitwerk (2.7.5) + +PLATFORMS + ruby + +DEPENDENCIES + aws-sdk-sns + database_cleaner + event_source! + faker + mongoid + pry + pry-byebug + rack + rails (>= 6.1.4) + rspec-rails + rubocop + rubocop-git + sinatra (>= 2, < 4) + webmock + yard + +BUNDLED WITH + 2.4.10 diff --git a/event_source.gemspec b/event_source.gemspec index 3050dde3..5e8e304d 100644 --- a/event_source.gemspec +++ b/event_source.gemspec @@ -48,8 +48,8 @@ Gem::Specification.new do |spec| spec.add_dependency 'dry-validation', '~> 1.6', '< 1.8' spec.add_dependency 'dry-schema', '~> 1.6', '< 1.10' spec.add_dependency 'dry-logic', '< 1.3' - spec.add_dependency 'faraday', '~> 1.4.1' - spec.add_dependency 'faraday_middleware', '~> 1.0' + spec.add_dependency 'faraday', '>= 2.0' + spec.add_dependency 'faraday-retry', '~> 2.0' spec.add_dependency 'logging', '~> 2.3.0' spec.add_dependency 'nokogiri', '>= 1.13.0' spec.add_dependency 'mime-types' diff --git a/lib/event_source/protocols/http/faraday_request_proxy.rb b/lib/event_source/protocols/http/faraday_request_proxy.rb index 5e537896..cda43174 100644 --- a/lib/event_source/protocols/http/faraday_request_proxy.rb +++ b/lib/event_source/protocols/http/faraday_request_proxy.rb @@ -49,6 +49,7 @@ def initialize(channel_proxy, async_api_channel_item) @name = channel_proxy.name @channel_item = async_api_channel_item request_bindings = async_api_channel_item.publish.bindings.http + @request_method = request_bindings ? request_bindings[:method].downcase.to_sym : :get @request_content_type = EventSource::ContentTypeResolver.new( 'application/json', @@ -79,15 +80,14 @@ def publish(payload: nil, publish_bindings: {}, headers: {}) text_payload = (@request_content_type.json? ? payload.to_json : payload) if payload text_payload ||= '' - @subject.body = text_payload - if faraday_publish_bindings[:headers] - @subject.headers.update(faraday_publish_bindings[:headers]) - end - logger.debug "Faraday request headers: #{@subject.headers}" + + merged_headers = faraday_publish_bindings[:headers] || {} + + logger.debug "Faraday request headers: #{merged_headers}" logger.debug "FaradayExchange#publish connection: #{connection.inspect}" - logger.debug "FaradayExchange#publish processing request with headers: #{@subject.headers} body: #{@subject.body}" + logger.debug "FaradayExchange#publish processing request with headers: #{merged_headers} body: #{text_payload}" - response = connection.builder.build_response(connection, @subject) + response = connection.run_request(@request_method, request_path, text_payload, merged_headers) logger.debug "Executed Faraday request...response: #{response.status}" attach_payload_correlation_id(response, text_payload, payload) @@ -125,14 +125,13 @@ def connection end def request_path - channel_proxy.name + channel_proxy.name.to_s.match(%r{/?(.*)})[1] end - def faraday_request_for(bindings) - method = bindings ? bindings[:method].downcase.to_sym : :get + def faraday_request_for(_bindings) request = - connection.build_request(method) do |req| - req.path = request_path.to_s.match(/\/?(.*)/)[1] + connection.build_request(@request_method) do |req| + req.path = request_path end logger.info "Created Faraday request #{request}" diff --git a/lib/event_source/protocols/http_protocol.rb b/lib/event_source/protocols/http_protocol.rb index 5611c0b4..a2a8ef51 100644 --- a/lib/event_source/protocols/http_protocol.rb +++ b/lib/event_source/protocols/http_protocol.rb @@ -1,9 +1,8 @@ # frozen_string_literal: true require 'faraday' -require 'faraday_middleware' +require 'faraday/retry' require 'typhoeus' -require 'typhoeus/adapters/faraday' require 'uri' require_relative 'http/error' diff --git a/spec/event_source/example_services/ridp_service_spec.rb b/spec/event_source/example_services/ridp_service_spec.rb index ad6ecf53..cedebfe8 100644 --- a/spec/event_source/example_services/ridp_service_spec.rb +++ b/spec/event_source/example_services/ridp_service_spec.rb @@ -54,7 +54,7 @@ headers: { 'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', - 'User-Agent' => 'Faraday v1.4.3' + 'User-Agent' => "Faraday v#{Faraday::VERSION}" } ) .with do |request| diff --git a/spec/rails_app/tmp/local_secret.txt b/spec/rails_app/tmp/local_secret.txt new file mode 100644 index 00000000..3a031419 --- /dev/null +++ b/spec/rails_app/tmp/local_secret.txt @@ -0,0 +1 @@ +84b38e19025aa6b16ff064e014d9f463a4f7ed97dfbb4097b1f45bf3d7796023218be2f03a428b0759b2c290eff859408a88365b159809632af2be3f853cb5f7 \ No newline at end of file From 96d7da575a497aeecb334bdc06021328927ca289 Mon Sep 17 00:00:00 2001 From: Michael Karamanov Date: Fri, 13 Mar 2026 19:54:12 -0400 Subject: [PATCH 3/3] clean up file --- spec/rails_app/tmp/local_secret.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 spec/rails_app/tmp/local_secret.txt diff --git a/spec/rails_app/tmp/local_secret.txt b/spec/rails_app/tmp/local_secret.txt deleted file mode 100644 index 3a031419..00000000 --- a/spec/rails_app/tmp/local_secret.txt +++ /dev/null @@ -1 +0,0 @@ -84b38e19025aa6b16ff064e014d9f463a4f7ed97dfbb4097b1f45bf3d7796023218be2f03a428b0759b2c290eff859408a88365b159809632af2be3f853cb5f7 \ No newline at end of file