diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7fa6129e..b2d92dbd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,11 +29,28 @@ jobs: with: bundler-cache: true ruby-version: ${{ matrix.ruby }} - - name: Test and Lint + + - name: Custom cache gems + uses: actions/cache@v2 + with: + path: vendor/bundle + key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}-${{ matrix.ruby }} + restore-keys: | + ${{ runner.os }}-gems-${{ matrix.ruby }} + + - name: Install gems + run: | + BUNDLE_GEMFILE=Gemfile.${{ matrix.ruby }} bundle install --jobs 4 --retry 3 --path vendor/bundle + + - name: Test + run: | + BUNDLE_GEMFILE=Gemfile.${{ matrix.ruby }} bundle exec rake + + - name: Lint + if: matrix.ruby == '2.7' run: | - bundle install - bundle exec rake - bundle exec rubocop + BUNDLE_GEMFILE=Gemfile.2.7 bundle exec rubocop + spec-live: name: Spec live if: github.repository == 'zendesk/zendesk_api_client_rb' @@ -52,7 +69,7 @@ jobs: ruby-version: 3.1 - name: spec:live run: | - bundle install - bundle exec rake clean_live set_ci_credentials spec:live || - bundle exec rake clean_live && - bundle exec rspec spec/live --only-failures + BUNDLE_GEMFILE=Gemfile.3.1 bundle install --jobs 4 --retry 3 --path vendor/bundle + BUNDLE_GEMFILE=Gemfile.3.1 bundle exec rake clean_live set_ci_credentials spec:live || + BUNDLE_GEMFILE=Gemfile.3.1 bundle exec rake clean_live && + BUNDLE_GEMFILE=Gemfile.3.1 bundle exec rspec spec/live --only-failures diff --git a/.gitignore b/.gitignore index e34dc540..d87ee591 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,6 @@ spec/fixtures/cassettes spec/fixtures/credentials.yml coverage/** .yardoc/** -Gemfile.lock .ruby-version vendor/bundle/** pkg/** diff --git a/Gemfile.2.7 b/Gemfile.2.7 new file mode 100644 index 00000000..c114c24e --- /dev/null +++ b/Gemfile.2.7 @@ -0,0 +1 @@ +eval_gemfile('common.rb') \ No newline at end of file diff --git a/Gemfile.2.7.lock b/Gemfile.2.7.lock new file mode 100644 index 00000000..5e2c96fa --- /dev/null +++ b/Gemfile.2.7.lock @@ -0,0 +1,162 @@ +PATH + remote: . + specs: + zendesk_api (3.0.5) + faraday (> 2.0.0) + faraday-multipart + hashie (>= 3.5.2, < 6.0.0) + inflection + mini_mime + multipart-post (~> 2.0) + +GEM + remote: https://rubygems.org/ + specs: + actionpack (7.1.3.2) + actionview (= 7.1.3.2) + activesupport (= 7.1.3.2) + nokogiri (>= 1.8.5) + racc + rack (>= 2.2.4) + rack-session (>= 1.0.1) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + actionview (7.1.3.2) + activesupport (= 7.1.3.2) + builder (~> 3.1) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activesupport (7.1.3.2) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + minitest (>= 5.1) + mutex_m + tzinfo (~> 2.0) + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) + ast (2.4.2) + base64 (0.2.0) + bigdecimal (3.1.8) + builder (3.2.4) + bump (0.10.0) + byebug (11.1.3) + concurrent-ruby (1.2.3) + connection_pool (2.4.1) + crack (1.0.0) + bigdecimal + rexml + crass (1.0.6) + diff-lcs (1.5.1) + drb (2.2.1) + erubi (1.12.0) + faraday (2.8.1) + base64 + faraday-net_http (>= 2.0, < 3.1) + ruby2_keywords (>= 0.0.4) + faraday-multipart (1.0.4) + multipart-post (~> 2) + faraday-net_http (3.0.2) + hashdiff (1.1.0) + hashie (5.0.0) + i18n (1.14.5) + concurrent-ruby (~> 1.0) + inflection (1.0.0) + jaro_winkler (1.5.6) + json (2.7.2) + loofah (2.22.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mini_mime (1.1.5) + mini_portile2 (2.8.6) + minitest (5.22.3) + multipart-post (2.4.1) + mutex_m (0.2.0) + nokogiri (1.15.6) + mini_portile2 (~> 2.8.2) + racc (~> 1.4) + parallel (1.24.0) + parser (3.3.1.0) + ast (~> 2.4.1) + racc + public_suffix (5.0.5) + racc (1.7.3) + rack (3.0.10) + rack-session (2.0.0) + rack (>= 3.0.0) + rack-test (2.1.0) + rack (>= 1.3) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + rainbow (3.1.1) + rake (13.2.1) + rexml (3.2.6) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.3) + rubocop (0.79.0) + jaro_winkler (~> 1.5.1) + parallel (~> 1.10) + parser (>= 2.7.0.1) + rainbow (>= 2.2.2, < 4.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 1.7) + ruby-progressbar (1.13.0) + ruby2_keywords (0.0.5) + scrub_rb (1.0.1) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (1.6.1) + vcr (6.2.0) + webmock (3.23.0) + addressable (>= 2.8.0) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + yard (0.9.36) + +PLATFORMS + ruby + +DEPENDENCIES + actionpack (>= 5.2.4.6) + addressable (>= 2.8.0) + bump + byebug + jruby-openssl + json (>= 2.3.0) + mini_mime + rake + rspec (= 3.10.0) + rspec-core (= 3.10.1) + rspec-expectations (= 3.10.2) + rspec-mocks (= 3.10.2) + rspec-support (= 3.10.3) + rubocop (~> 0.79.0) + scrub_rb + vcr (~> 6.0) + webmock + yard + zendesk_api! + +BUNDLED WITH + 2.1.4 diff --git a/Gemfile.3.0 b/Gemfile.3.0 new file mode 100644 index 00000000..c114c24e --- /dev/null +++ b/Gemfile.3.0 @@ -0,0 +1 @@ +eval_gemfile('common.rb') \ No newline at end of file diff --git a/Gemfile.3.0.lock b/Gemfile.3.0.lock new file mode 100644 index 00000000..23e2e0e7 --- /dev/null +++ b/Gemfile.3.0.lock @@ -0,0 +1,165 @@ +PATH + remote: . + specs: + zendesk_api (3.0.5) + faraday (> 2.0.0) + faraday-multipart + hashie (>= 3.5.2, < 6.0.0) + inflection + mini_mime + multipart-post (~> 2.0) + +GEM + remote: https://rubygems.org/ + specs: + actionpack (7.1.3.2) + actionview (= 7.1.3.2) + activesupport (= 7.1.3.2) + nokogiri (>= 1.8.5) + racc + rack (>= 2.2.4) + rack-session (>= 1.0.1) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + actionview (7.1.3.2) + activesupport (= 7.1.3.2) + builder (~> 3.1) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activesupport (7.1.3.2) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + minitest (>= 5.1) + mutex_m + tzinfo (~> 2.0) + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) + ast (2.4.2) + base64 (0.2.0) + bigdecimal (3.1.8) + builder (3.2.4) + bump (0.10.0) + byebug (11.1.3) + concurrent-ruby (1.2.3) + connection_pool (2.4.1) + crack (1.0.0) + bigdecimal + rexml + crass (1.0.6) + diff-lcs (1.5.1) + drb (2.2.1) + erubi (1.12.0) + faraday (2.9.0) + faraday-net_http (>= 2.0, < 3.2) + faraday-multipart (1.0.4) + multipart-post (~> 2) + faraday-net_http (3.1.0) + net-http + hashdiff (1.1.0) + hashie (5.0.0) + i18n (1.14.5) + concurrent-ruby (~> 1.0) + inflection (1.0.0) + json (2.7.2) + loofah (2.22.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mini_mime (1.1.5) + minitest (5.22.3) + multipart-post (2.4.1) + mutex_m (0.2.0) + net-http (0.4.1) + uri + nokogiri (1.16.4-arm64-darwin) + racc (~> 1.4) + parallel (1.24.0) + parser (3.3.1.0) + ast (~> 2.4.1) + racc + public_suffix (5.0.5) + racc (1.7.3) + rack (3.0.10) + rack-session (2.0.0) + rack (>= 3.0.0) + rack-test (2.1.0) + rack (>= 1.3) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + rainbow (3.1.1) + rake (13.2.1) + regexp_parser (2.9.0) + rexml (3.2.6) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.3) + rubocop (1.13.0) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.2.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.31.3) + parser (>= 3.3.1.0) + ruby-progressbar (1.13.0) + scrub_rb (1.0.1) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (2.5.0) + uri (0.13.0) + vcr (6.2.0) + webmock (3.23.0) + addressable (>= 2.8.0) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + yard (0.9.36) + +PLATFORMS + arm64-darwin-23 + +DEPENDENCIES + actionpack (>= 5.2.4.6) + addressable (>= 2.8.0) + bump + byebug + jruby-openssl + json (>= 2.3.0) + mini_mime + rake + rspec (= 3.10.0) + rspec-core (= 3.10.1) + rspec-expectations (= 3.10.2) + rspec-mocks (= 3.10.2) + rspec-support (= 3.10.3) + rubocop (~> 1.13.0) + scrub_rb + vcr (~> 6.0) + webmock + yard + zendesk_api! + +BUNDLED WITH + 2.2.33 diff --git a/Gemfile.3.1 b/Gemfile.3.1 new file mode 100644 index 00000000..c114c24e --- /dev/null +++ b/Gemfile.3.1 @@ -0,0 +1 @@ +eval_gemfile('common.rb') \ No newline at end of file diff --git a/Gemfile.3.1.lock b/Gemfile.3.1.lock new file mode 100644 index 00000000..e72aba21 --- /dev/null +++ b/Gemfile.3.1.lock @@ -0,0 +1,165 @@ +PATH + remote: . + specs: + zendesk_api (3.0.5) + faraday (> 2.0.0) + faraday-multipart + hashie (>= 3.5.2, < 6.0.0) + inflection + mini_mime + multipart-post (~> 2.0) + +GEM + remote: https://rubygems.org/ + specs: + actionpack (7.1.3.2) + actionview (= 7.1.3.2) + activesupport (= 7.1.3.2) + nokogiri (>= 1.8.5) + racc + rack (>= 2.2.4) + rack-session (>= 1.0.1) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + actionview (7.1.3.2) + activesupport (= 7.1.3.2) + builder (~> 3.1) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activesupport (7.1.3.2) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + minitest (>= 5.1) + mutex_m + tzinfo (~> 2.0) + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) + ast (2.4.2) + base64 (0.2.0) + bigdecimal (3.1.8) + builder (3.2.4) + bump (0.10.0) + byebug (11.1.3) + concurrent-ruby (1.2.3) + connection_pool (2.4.1) + crack (1.0.0) + bigdecimal + rexml + crass (1.0.6) + diff-lcs (1.5.1) + drb (2.2.1) + erubi (1.12.0) + faraday (2.9.0) + faraday-net_http (>= 2.0, < 3.2) + faraday-multipart (1.0.4) + multipart-post (~> 2) + faraday-net_http (3.1.0) + net-http + hashdiff (1.1.0) + hashie (5.0.0) + i18n (1.14.5) + concurrent-ruby (~> 1.0) + inflection (1.0.0) + json (2.7.2) + loofah (2.22.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mini_mime (1.1.5) + minitest (5.22.3) + multipart-post (2.4.1) + mutex_m (0.2.0) + net-http (0.4.1) + uri + nokogiri (1.16.4-arm64-darwin) + racc (~> 1.4) + parallel (1.24.0) + parser (3.3.1.0) + ast (~> 2.4.1) + racc + public_suffix (5.0.5) + racc (1.7.3) + rack (3.0.10) + rack-session (2.0.0) + rack (>= 3.0.0) + rack-test (2.1.0) + rack (>= 1.3) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + rainbow (3.1.1) + rake (13.2.1) + regexp_parser (2.9.0) + rexml (3.2.6) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.3) + rubocop (1.13.0) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.2.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.31.3) + parser (>= 3.3.1.0) + ruby-progressbar (1.13.0) + scrub_rb (1.0.1) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (2.5.0) + uri (0.13.0) + vcr (6.2.0) + webmock (3.23.0) + addressable (>= 2.8.0) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + yard (0.9.36) + +PLATFORMS + arm64-darwin-23 + +DEPENDENCIES + actionpack (>= 5.2.4.6) + addressable (>= 2.8.0) + bump + byebug + jruby-openssl + json (>= 2.3.0) + mini_mime + rake + rspec (= 3.10.0) + rspec-core (= 3.10.1) + rspec-expectations (= 3.10.2) + rspec-mocks (= 3.10.2) + rspec-support (= 3.10.3) + rubocop (~> 1.13.0) + scrub_rb + vcr (~> 6.0) + webmock + yard + zendesk_api! + +BUNDLED WITH + 2.3.26 diff --git a/Gemfile.3.2 b/Gemfile.3.2 new file mode 100644 index 00000000..c114c24e --- /dev/null +++ b/Gemfile.3.2 @@ -0,0 +1 @@ +eval_gemfile('common.rb') \ No newline at end of file diff --git a/Gemfile.3.2.lock b/Gemfile.3.2.lock new file mode 100644 index 00000000..64701360 --- /dev/null +++ b/Gemfile.3.2.lock @@ -0,0 +1,180 @@ +PATH + remote: . + specs: + zendesk_api (3.0.5) + faraday (> 2.0.0) + faraday-multipart + hashie (>= 3.5.2, < 6.0.0) + inflection + mini_mime + multipart-post (~> 2.0) + +GEM + remote: https://rubygems.org/ + specs: + actionpack (7.1.3.2) + actionview (= 7.1.3.2) + activesupport (= 7.1.3.2) + nokogiri (>= 1.8.5) + racc + rack (>= 2.2.4) + rack-session (>= 1.0.1) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + actionview (7.1.3.2) + activesupport (= 7.1.3.2) + builder (~> 3.1) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activesupport (7.1.3.2) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + minitest (>= 5.1) + mutex_m + tzinfo (~> 2.0) + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) + ast (2.4.2) + base64 (0.2.0) + bigdecimal (3.1.8) + builder (3.2.4) + bump (0.10.0) + byebug (11.1.3) + concurrent-ruby (1.2.3) + connection_pool (2.4.1) + crack (1.0.0) + bigdecimal + rexml + crass (1.0.6) + diff-lcs (1.5.1) + drb (2.2.1) + erubi (1.12.0) + faraday (2.9.0) + faraday-net_http (>= 2.0, < 3.2) + faraday-multipart (1.0.4) + multipart-post (~> 2) + faraday-net_http (3.1.0) + net-http + hashdiff (1.1.0) + hashie (5.0.0) + i18n (1.14.5) + concurrent-ruby (~> 1.0) + inflection (1.0.0) + json (2.7.2) + loofah (2.22.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mini_mime (1.1.5) + minitest (5.22.3) + multipart-post (2.4.1) + mutex_m (0.2.0) + net-http (0.4.1) + uri + nokogiri (1.16.4-aarch64-linux) + racc (~> 1.4) + nokogiri (1.16.4-arm-linux) + racc (~> 1.4) + nokogiri (1.16.4-arm64-darwin) + racc (~> 1.4) + nokogiri (1.16.4-x86-linux) + racc (~> 1.4) + nokogiri (1.16.4-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.16.4-x86_64-linux) + racc (~> 1.4) + parallel (1.24.0) + parser (3.3.1.0) + ast (~> 2.4.1) + racc + public_suffix (5.0.5) + racc (1.7.3) + rack (3.0.10) + rack-session (2.0.0) + rack (>= 3.0.0) + rack-test (2.1.0) + rack (>= 1.3) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + rainbow (3.1.1) + rake (13.2.1) + regexp_parser (2.9.0) + rexml (3.2.6) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.3) + rubocop (1.13.0) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.2.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.31.3) + parser (>= 3.3.1.0) + ruby-progressbar (1.13.0) + scrub_rb (1.0.1) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (2.5.0) + uri (0.13.0) + vcr (6.2.0) + webmock (3.23.0) + addressable (>= 2.8.0) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + yard (0.9.36) + +PLATFORMS + aarch64-linux + arm-linux + arm64-darwin + x86-linux + x86_64-darwin + x86_64-linux + +DEPENDENCIES + actionpack (>= 5.2.4.6) + addressable (>= 2.8.0) + bump + byebug + jruby-openssl + json (>= 2.3.0) + mini_mime + rake + rspec (= 3.10.0) + rspec-core (= 3.10.1) + rspec-expectations (= 3.10.2) + rspec-mocks (= 3.10.2) + rspec-support (= 3.10.3) + rubocop (~> 1.13.0) + scrub_rb + vcr (~> 6.0) + webmock + yard + zendesk_api! + +BUNDLED WITH + 2.5.3 diff --git a/Gemfile.3.3 b/Gemfile.3.3 new file mode 100644 index 00000000..c114c24e --- /dev/null +++ b/Gemfile.3.3 @@ -0,0 +1 @@ +eval_gemfile('common.rb') \ No newline at end of file diff --git a/Gemfile.3.3.lock b/Gemfile.3.3.lock new file mode 100644 index 00000000..64701360 --- /dev/null +++ b/Gemfile.3.3.lock @@ -0,0 +1,180 @@ +PATH + remote: . + specs: + zendesk_api (3.0.5) + faraday (> 2.0.0) + faraday-multipart + hashie (>= 3.5.2, < 6.0.0) + inflection + mini_mime + multipart-post (~> 2.0) + +GEM + remote: https://rubygems.org/ + specs: + actionpack (7.1.3.2) + actionview (= 7.1.3.2) + activesupport (= 7.1.3.2) + nokogiri (>= 1.8.5) + racc + rack (>= 2.2.4) + rack-session (>= 1.0.1) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + actionview (7.1.3.2) + activesupport (= 7.1.3.2) + builder (~> 3.1) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activesupport (7.1.3.2) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + minitest (>= 5.1) + mutex_m + tzinfo (~> 2.0) + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) + ast (2.4.2) + base64 (0.2.0) + bigdecimal (3.1.8) + builder (3.2.4) + bump (0.10.0) + byebug (11.1.3) + concurrent-ruby (1.2.3) + connection_pool (2.4.1) + crack (1.0.0) + bigdecimal + rexml + crass (1.0.6) + diff-lcs (1.5.1) + drb (2.2.1) + erubi (1.12.0) + faraday (2.9.0) + faraday-net_http (>= 2.0, < 3.2) + faraday-multipart (1.0.4) + multipart-post (~> 2) + faraday-net_http (3.1.0) + net-http + hashdiff (1.1.0) + hashie (5.0.0) + i18n (1.14.5) + concurrent-ruby (~> 1.0) + inflection (1.0.0) + json (2.7.2) + loofah (2.22.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mini_mime (1.1.5) + minitest (5.22.3) + multipart-post (2.4.1) + mutex_m (0.2.0) + net-http (0.4.1) + uri + nokogiri (1.16.4-aarch64-linux) + racc (~> 1.4) + nokogiri (1.16.4-arm-linux) + racc (~> 1.4) + nokogiri (1.16.4-arm64-darwin) + racc (~> 1.4) + nokogiri (1.16.4-x86-linux) + racc (~> 1.4) + nokogiri (1.16.4-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.16.4-x86_64-linux) + racc (~> 1.4) + parallel (1.24.0) + parser (3.3.1.0) + ast (~> 2.4.1) + racc + public_suffix (5.0.5) + racc (1.7.3) + rack (3.0.10) + rack-session (2.0.0) + rack (>= 3.0.0) + rack-test (2.1.0) + rack (>= 1.3) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + rainbow (3.1.1) + rake (13.2.1) + regexp_parser (2.9.0) + rexml (3.2.6) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.3) + rubocop (1.13.0) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.2.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.31.3) + parser (>= 3.3.1.0) + ruby-progressbar (1.13.0) + scrub_rb (1.0.1) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (2.5.0) + uri (0.13.0) + vcr (6.2.0) + webmock (3.23.0) + addressable (>= 2.8.0) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + yard (0.9.36) + +PLATFORMS + aarch64-linux + arm-linux + arm64-darwin + x86-linux + x86_64-darwin + x86_64-linux + +DEPENDENCIES + actionpack (>= 5.2.4.6) + addressable (>= 2.8.0) + bump + byebug + jruby-openssl + json (>= 2.3.0) + mini_mime + rake + rspec (= 3.10.0) + rspec-core (= 3.10.1) + rspec-expectations (= 3.10.2) + rspec-mocks (= 3.10.2) + rspec-support (= 3.10.3) + rubocop (~> 1.13.0) + scrub_rb + vcr (~> 6.0) + webmock + yard + zendesk_api! + +BUNDLED WITH + 2.5.3 diff --git a/Gemfile.jruby-9.4 b/Gemfile.jruby-9.4 new file mode 100644 index 00000000..c114c24e --- /dev/null +++ b/Gemfile.jruby-9.4 @@ -0,0 +1 @@ +eval_gemfile('common.rb') \ No newline at end of file diff --git a/Gemfile.jruby-9.4.lock b/Gemfile.jruby-9.4.lock new file mode 100644 index 00000000..f98e34d8 --- /dev/null +++ b/Gemfile.jruby-9.4.lock @@ -0,0 +1,164 @@ +PATH + remote: . + specs: + zendesk_api (3.0.5) + faraday (> 2.0.0) + faraday-multipart + hashie (>= 3.5.2, < 6.0.0) + inflection + mini_mime + multipart-post (~> 2.0) + +GEM + remote: https://rubygems.org/ + specs: + actionpack (7.1.3.2) + actionview (= 7.1.3.2) + activesupport (= 7.1.3.2) + nokogiri (>= 1.8.5) + racc + rack (>= 2.2.4) + rack-session (>= 1.0.1) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + actionview (7.1.3.2) + activesupport (= 7.1.3.2) + builder (~> 3.1) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activesupport (7.1.3.2) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + minitest (>= 5.1) + mutex_m + tzinfo (~> 2.0) + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) + ast (2.4.2) + base64 (0.2.0) + bigdecimal (3.1.8-java) + builder (3.2.4) + bump (0.10.0) + concurrent-ruby (1.2.3) + connection_pool (2.4.1) + crack (1.0.0) + bigdecimal + rexml + crass (1.0.6) + diff-lcs (1.5.1) + drb (2.2.1) + erubi (1.12.0) + faraday (2.9.0) + faraday-net_http (>= 2.0, < 3.2) + faraday-multipart (1.0.4) + multipart-post (~> 2) + faraday-net_http (3.1.0) + net-http + hashdiff (1.1.0) + hashie (5.0.0) + i18n (1.14.5) + concurrent-ruby (~> 1.0) + inflection (1.0.0) + jruby-openssl (0.14.5-java) + loofah (2.22.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mini_mime (1.1.5) + minitest (5.22.3) + multipart-post (2.4.1) + mutex_m (0.2.0) + net-http (0.4.1) + uri + nokogiri (1.16.4-java) + racc (~> 1.4) + parallel (1.24.0) + parser (3.3.1.0) + ast (~> 2.4.1) + racc + public_suffix (5.0.5) + racc (1.7.3-java) + rack (3.0.10) + rack-session (2.0.0) + rack (>= 3.0.0) + rack-test (2.1.0) + rack (>= 1.3) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + rainbow (3.1.1) + rake (13.2.1) + regexp_parser (2.9.0) + rexml (3.2.6) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.3) + rubocop (1.13.0) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.2.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.31.3) + parser (>= 3.3.1.0) + ruby-progressbar (1.13.0) + scrub_rb (1.0.1) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (2.5.0) + uri (0.13.0) + vcr (6.2.0) + webmock (3.23.0) + addressable (>= 2.8.0) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + yard (0.9.36) + +PLATFORMS + universal-java-17 + +DEPENDENCIES + actionpack (>= 5.2.4.6) + addressable (>= 2.8.0) + bump + byebug + jruby-openssl + json (>= 2.3.0) + mini_mime + rake + rspec (= 3.10.0) + rspec-core (= 3.10.1) + rspec-expectations (= 3.10.2) + rspec-mocks (= 3.10.2) + rspec-support (= 3.10.3) + rubocop (~> 1.13.0) + scrub_rb + vcr (~> 6.0) + webmock + yard + zendesk_api! + +BUNDLED WITH + 2.3.26 diff --git a/README.md b/README.md index 5588f0da..ae461742 100644 --- a/README.md +++ b/README.md @@ -446,8 +446,8 @@ ZendeskAPI::AppInstallation.destroy!(client, :id => 123) See `.github/workflows/main.yml` to understand the CI process. ``` -bundle exec rake # Runs the tests -bundle exec rubocop # Runs the lint (use `--fix` for autocorrect) +BUNDLE_GEMFILE=Gemfile.2.7 bundle exec rake # Runs the tests, assuming Ruby 2.7 is chosen +BUNDLE_GEMFILE=Gemfile.2.7 bundle exec rubocop # Runs the lint (use `--fix` for autocorrect), assuming Ruby 2.7 is chosen ``` ## Releasing a new gem version diff --git a/Gemfile b/common.rb similarity index 100% rename from Gemfile rename to common.rb