From b164d854ce08ef72aed3bce142cfdff8d7b8b3ce Mon Sep 17 00:00:00 2001 From: Andrew Nesbitt Date: Tue, 19 Nov 2024 15:38:50 +0000 Subject: [PATCH] [rb][js] Add funding information to package.json and gemspec files (#14774) --- javascript/node/selenium-webdriver/package.json | 12 +++++++++++- rb/selenium-devtools.gemspec | 3 ++- rb/selenium-webdriver.gemspec | 3 ++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/javascript/node/selenium-webdriver/package.json b/javascript/node/selenium-webdriver/package.json index e06d9132c886a..aaa10a9f2a682 100644 --- a/javascript/node/selenium-webdriver/package.json +++ b/javascript/node/selenium-webdriver/package.json @@ -61,5 +61,15 @@ }, "publishConfig": { "registry": "https://registry.npmjs.org/" - } + }, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/SeleniumHQ" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/selenium" + } + ] } diff --git a/rb/selenium-devtools.gemspec b/rb/selenium-devtools.gemspec index 709efc6bcdb2c..ce776dc765631 100644 --- a/rb/selenium-devtools.gemspec +++ b/rb/selenium-devtools.gemspec @@ -23,7 +23,8 @@ Gem::Specification.new do |s| 'changelog_uri' => 'https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES', 'github_repo' => 'ssh://github.com/SeleniumHQ/selenium', 'source_code_uri' => 'https://github.com/SeleniumHQ/selenium/tree/trunk/rb', - 'rubygems_mfa_required' => 'true' + 'rubygems_mfa_required' => 'true', + 'funding_uri' => 'https://github.com/sponsors/SeleniumHQ' } s.required_rubygems_version = Gem::Requirement.new('> 1.3.1') if s.respond_to? :required_rubygems_version= diff --git a/rb/selenium-webdriver.gemspec b/rb/selenium-webdriver.gemspec index b6c09f273c326..183981a1ba634 100644 --- a/rb/selenium-webdriver.gemspec +++ b/rb/selenium-webdriver.gemspec @@ -24,7 +24,8 @@ Gem::Specification.new do |s| 'changelog_uri' => 'https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES', 'github_repo' => 'ssh://github.com/SeleniumHQ/selenium', 'source_code_uri' => 'https://github.com/SeleniumHQ/selenium/tree/trunk/rb', - 'rubygems_mfa_required' => 'true' + 'rubygems_mfa_required' => 'true', + 'funding_uri' => 'https://github.com/sponsors/SeleniumHQ' } s.required_rubygems_version = Gem::Requirement.new('> 1.3.1') if s.respond_to? :required_rubygems_version=