diff --git a/Gemfile.lock b/Gemfile.lock index 4bc69ed..544d2ab 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - entitlements-github-plugin (0.3.0) + entitlements-github-plugin (0.4.0) contracts (= 0.17.0) faraday (~> 2.0) faraday-retry (~> 2.0) @@ -10,12 +10,12 @@ PATH GEM remote: https://rubygems.org/ specs: - activesupport (7.0.3.1) + activesupport (7.0.7.2) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) - addressable (2.8.1) + addressable (2.8.5) public_suffix (>= 2.0.2, < 6.0) ast (2.4.2) concurrent-ruby (1.1.9) @@ -30,31 +30,33 @@ GEM net-ldap (~> 0.17) octokit (~> 4.18) optimist (= 3.0.0) - faraday (2.5.2) + faraday (2.7.10) faraday-net_http (>= 2.0, < 3.1) ruby2_keywords (>= 0.0.4) - faraday-net_http (3.0.0) - faraday-retry (2.0.0) + faraday-net_http (3.0.2) + faraday-retry (2.2.0) faraday (~> 2.0) hashdiff (1.0.1) - i18n (1.12.0) + i18n (1.14.1) concurrent-ruby (~> 1.0) - json (2.6.2) - minitest (5.16.3) - net-ldap (0.17.1) + json (2.6.3) + minitest (5.19.0) + net-ldap (0.18.0) octokit (4.25.1) faraday (>= 1, < 3) sawyer (~> 0.9) optimist (3.0.0) - parallel (1.22.1) - parser (3.1.2.1) + parallel (1.23.0) + parser (3.2.2.3) ast (~> 2.4.1) - public_suffix (5.0.0) - rack (2.2.4) + racc + public_suffix (5.0.3) + racc (1.7.1) + rack (3.0.8) rainbow (3.1.1) rake (13.0.6) - regexp_parser (2.5.0) - rexml (3.2.5) + regexp_parser (2.8.1) + rexml (3.2.6) rspec (3.8.0) rspec-core (~> 3.8.0) rspec-expectations (~> 3.8.0) @@ -77,8 +79,8 @@ GEM rubocop-ast (>= 1.17.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.21.0) - parser (>= 3.1.1.0) + rubocop-ast (1.29.0) + parser (>= 3.2.1.0) rubocop-github (0.17.0) rubocop rubocop-performance @@ -90,7 +92,7 @@ GEM activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.7.0, < 2.0) - ruby-progressbar (1.11.0) + ruby-progressbar (1.13.0) ruby2_keywords (0.0.5) rugged (0.27.5) sawyer (0.9.2) @@ -103,9 +105,9 @@ GEM simplecov-erb (1.0.1) simplecov (< 1.0) simplecov-html (0.10.2) - tzinfo (2.0.5) + tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (2.2.0) + unicode-display_width (2.4.2) vcr (4.0.0) webmock (3.4.2) addressable (>= 2.3.6) diff --git a/README.md b/README.md index 4122006..6a81b60 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # entitlements-github-plugin -[![acceptance](https://github.com/github/entitlements-github-plugin/actions/workflows/acceptance.yml/badge.svg)](https://github.com/github/entitlements-github-plugin/actions/workflows/acceptance.yml) [![test](https://github.com/github/entitlements-github-plugin/actions/workflows/test.yml/badge.svg)](https://github.com/github/entitlements-github-plugin/actions/workflows/test.yml) [![lint](https://github.com/github/entitlements-github-plugin/actions/workflows/lint.yml/badge.svg)](https://github.com/github/entitlements-github-plugin/actions/workflows/lint.yml) [![release](https://github.com/github/entitlements-github-plugin/actions/workflows/release.yml/badge.svg)](https://github.com/github/entitlements-github-plugin/actions/workflows/release.yml) [![coverage](https://img.shields.io/badge/coverage-100%25-success)](https://img.shields.io/badge/coverage-100%25-success) [![style](https://img.shields.io/badge/code%20style-rubocop--github-blue)](https://github.com/github/rubocop-github) +[![acceptance](https://github.com/github/entitlements-github-plugin/actions/workflows/acceptance.yml/badge.svg)](https://github.com/github/entitlements-github-plugin/actions/workflows/acceptance.yml) [![test](https://github.com/github/entitlements-github-plugin/actions/workflows/test.yml/badge.svg)](https://github.com/github/entitlements-github-plugin/actions/workflows/test.yml) [![lint](https://github.com/github/entitlements-github-plugin/actions/workflows/lint.yml/badge.svg)](https://github.com/github/entitlements-github-plugin/actions/workflows/lint.yml) [![release](https://github.com/github/entitlements-github-plugin/actions/workflows/release.yml/badge.svg)](https://github.com/github/entitlements-github-plugin/actions/workflows/release.yml) [![build](https://github.com/github/entitlements-github-plugin/actions/workflows/build.yml/badge.svg)](https://github.com/github/entitlements-github-plugin/actions/workflows/build.yml) [![coverage](https://img.shields.io/badge/coverage-100%25-success)](https://img.shields.io/badge/coverage-100%25-success) [![style](https://img.shields.io/badge/code%20style-rubocop--github-blue)](https://github.com/github/rubocop-github) `entitlements-github-plugin` is an [entitlements-app](https://github.com/github/entitlements-app) plugin allowing entitlements configs to be used to manage membership of GitHub.com Organizations and Teams. diff --git a/lib/version.rb b/lib/version.rb index 423f893..77a4604 100644 --- a/lib/version.rb +++ b/lib/version.rb @@ -2,6 +2,6 @@ module Entitlements module Version - VERSION = "0.3.0" + VERSION = "0.4.0" end end diff --git a/spec/unit/entitlements/service/github_spec.rb b/spec/unit/entitlements/service/github_spec.rb index ecf5ebe..50b1bf3 100644 --- a/spec/unit/entitlements/service/github_spec.rb +++ b/spec/unit/entitlements/service/github_spec.rb @@ -338,7 +338,7 @@ it "logs and returns raw text for JSON parsing error" do answer = "mor chicken mor rewardz!" stub_request(:post, "https://github.fake/api/v3/graphql").to_return(status: 200, body: answer) - expect(logger).to receive(:error).with(/JSON::ParserError \d+: unexpected token at 'mor chicken mor rewardz!': \"mor chicken mor rewardz!\"/) + expect(logger).to receive(:error).with("JSON::ParserError unexpected token at 'mor chicken mor rewardz!': \"mor chicken mor rewardz!\"") response = subject.send(:graphql_http_post_real, "nonsense") expect(response).to eq(code: 500, data: { "body" => "mor chicken mor rewardz!" }) end diff --git a/vendor/cache/activesupport-7.0.3.1.gem b/vendor/cache/activesupport-7.0.3.1.gem deleted file mode 100644 index 0c3757a..0000000 Binary files a/vendor/cache/activesupport-7.0.3.1.gem and /dev/null differ diff --git a/vendor/cache/activesupport-7.0.7.2.gem b/vendor/cache/activesupport-7.0.7.2.gem new file mode 100644 index 0000000..a334fb7 Binary files /dev/null and b/vendor/cache/activesupport-7.0.7.2.gem differ diff --git a/vendor/cache/addressable-2.8.1.gem b/vendor/cache/addressable-2.8.1.gem deleted file mode 100644 index 17e4257..0000000 Binary files a/vendor/cache/addressable-2.8.1.gem and /dev/null differ diff --git a/vendor/cache/addressable-2.8.5.gem b/vendor/cache/addressable-2.8.5.gem new file mode 100644 index 0000000..e58bb94 Binary files /dev/null and b/vendor/cache/addressable-2.8.5.gem differ diff --git a/vendor/cache/faraday-2.5.2.gem b/vendor/cache/faraday-2.5.2.gem deleted file mode 100644 index a66f174..0000000 Binary files a/vendor/cache/faraday-2.5.2.gem and /dev/null differ diff --git a/vendor/cache/faraday-2.7.10.gem b/vendor/cache/faraday-2.7.10.gem new file mode 100644 index 0000000..f072d78 Binary files /dev/null and b/vendor/cache/faraday-2.7.10.gem differ diff --git a/vendor/cache/faraday-net_http-3.0.0.gem b/vendor/cache/faraday-net_http-3.0.0.gem deleted file mode 100644 index a990f3a..0000000 Binary files a/vendor/cache/faraday-net_http-3.0.0.gem and /dev/null differ diff --git a/vendor/cache/faraday-net_http-3.0.2.gem b/vendor/cache/faraday-net_http-3.0.2.gem new file mode 100644 index 0000000..f6b5175 Binary files /dev/null and b/vendor/cache/faraday-net_http-3.0.2.gem differ diff --git a/vendor/cache/faraday-retry-2.0.0.gem b/vendor/cache/faraday-retry-2.0.0.gem deleted file mode 100644 index 427363a..0000000 Binary files a/vendor/cache/faraday-retry-2.0.0.gem and /dev/null differ diff --git a/vendor/cache/faraday-retry-2.2.0.gem b/vendor/cache/faraday-retry-2.2.0.gem new file mode 100644 index 0000000..1aad447 Binary files /dev/null and b/vendor/cache/faraday-retry-2.2.0.gem differ diff --git a/vendor/cache/i18n-1.12.0.gem b/vendor/cache/i18n-1.12.0.gem deleted file mode 100644 index c64c068..0000000 Binary files a/vendor/cache/i18n-1.12.0.gem and /dev/null differ diff --git a/vendor/cache/i18n-1.14.1.gem b/vendor/cache/i18n-1.14.1.gem new file mode 100644 index 0000000..27d6d5d Binary files /dev/null and b/vendor/cache/i18n-1.14.1.gem differ diff --git a/vendor/cache/json-2.6.2.gem b/vendor/cache/json-2.6.2.gem deleted file mode 100644 index dfa9204..0000000 Binary files a/vendor/cache/json-2.6.2.gem and /dev/null differ diff --git a/vendor/cache/json-2.6.3.gem b/vendor/cache/json-2.6.3.gem new file mode 100644 index 0000000..f76ee74 Binary files /dev/null and b/vendor/cache/json-2.6.3.gem differ diff --git a/vendor/cache/minitest-5.16.3.gem b/vendor/cache/minitest-5.16.3.gem deleted file mode 100644 index ebdb92e..0000000 Binary files a/vendor/cache/minitest-5.16.3.gem and /dev/null differ diff --git a/vendor/cache/minitest-5.19.0.gem b/vendor/cache/minitest-5.19.0.gem new file mode 100644 index 0000000..2b14e41 Binary files /dev/null and b/vendor/cache/minitest-5.19.0.gem differ diff --git a/vendor/cache/net-ldap-0.17.1.gem b/vendor/cache/net-ldap-0.17.1.gem deleted file mode 100644 index 76462c6..0000000 Binary files a/vendor/cache/net-ldap-0.17.1.gem and /dev/null differ diff --git a/vendor/cache/net-ldap-0.18.0.gem b/vendor/cache/net-ldap-0.18.0.gem new file mode 100644 index 0000000..6b5326f Binary files /dev/null and b/vendor/cache/net-ldap-0.18.0.gem differ diff --git a/vendor/cache/parallel-1.22.1.gem b/vendor/cache/parallel-1.22.1.gem deleted file mode 100644 index 5208c79..0000000 Binary files a/vendor/cache/parallel-1.22.1.gem and /dev/null differ diff --git a/vendor/cache/parallel-1.23.0.gem b/vendor/cache/parallel-1.23.0.gem new file mode 100644 index 0000000..8b23caa Binary files /dev/null and b/vendor/cache/parallel-1.23.0.gem differ diff --git a/vendor/cache/parser-3.1.2.1.gem b/vendor/cache/parser-3.1.2.1.gem deleted file mode 100644 index 7b71167..0000000 Binary files a/vendor/cache/parser-3.1.2.1.gem and /dev/null differ diff --git a/vendor/cache/parser-3.2.2.3.gem b/vendor/cache/parser-3.2.2.3.gem new file mode 100644 index 0000000..4ef12e9 Binary files /dev/null and b/vendor/cache/parser-3.2.2.3.gem differ diff --git a/vendor/cache/public_suffix-5.0.0.gem b/vendor/cache/public_suffix-5.0.0.gem deleted file mode 100644 index 6b6ed52..0000000 Binary files a/vendor/cache/public_suffix-5.0.0.gem and /dev/null differ diff --git a/vendor/cache/public_suffix-5.0.3.gem b/vendor/cache/public_suffix-5.0.3.gem new file mode 100644 index 0000000..2558356 Binary files /dev/null and b/vendor/cache/public_suffix-5.0.3.gem differ diff --git a/vendor/cache/racc-1.7.1.gem b/vendor/cache/racc-1.7.1.gem new file mode 100644 index 0000000..c255295 Binary files /dev/null and b/vendor/cache/racc-1.7.1.gem differ diff --git a/vendor/cache/rack-2.2.4.gem b/vendor/cache/rack-2.2.4.gem deleted file mode 100644 index cff677e..0000000 Binary files a/vendor/cache/rack-2.2.4.gem and /dev/null differ diff --git a/vendor/cache/rack-3.0.8.gem b/vendor/cache/rack-3.0.8.gem new file mode 100644 index 0000000..4edcbc6 Binary files /dev/null and b/vendor/cache/rack-3.0.8.gem differ diff --git a/vendor/cache/regexp_parser-2.5.0.gem b/vendor/cache/regexp_parser-2.5.0.gem deleted file mode 100644 index e2e175e..0000000 Binary files a/vendor/cache/regexp_parser-2.5.0.gem and /dev/null differ diff --git a/vendor/cache/regexp_parser-2.8.1.gem b/vendor/cache/regexp_parser-2.8.1.gem new file mode 100644 index 0000000..58c023a Binary files /dev/null and b/vendor/cache/regexp_parser-2.8.1.gem differ diff --git a/vendor/cache/rexml-3.2.5.gem b/vendor/cache/rexml-3.2.5.gem deleted file mode 100644 index 5680fec..0000000 Binary files a/vendor/cache/rexml-3.2.5.gem and /dev/null differ diff --git a/vendor/cache/rexml-3.2.6.gem b/vendor/cache/rexml-3.2.6.gem new file mode 100644 index 0000000..71a4946 Binary files /dev/null and b/vendor/cache/rexml-3.2.6.gem differ diff --git a/vendor/cache/rubocop-ast-1.21.0.gem b/vendor/cache/rubocop-ast-1.21.0.gem deleted file mode 100644 index 71f1a4d..0000000 Binary files a/vendor/cache/rubocop-ast-1.21.0.gem and /dev/null differ diff --git a/vendor/cache/rubocop-ast-1.29.0.gem b/vendor/cache/rubocop-ast-1.29.0.gem new file mode 100644 index 0000000..0c5b37d Binary files /dev/null and b/vendor/cache/rubocop-ast-1.29.0.gem differ diff --git a/vendor/cache/ruby-progressbar-1.11.0.gem b/vendor/cache/ruby-progressbar-1.11.0.gem deleted file mode 100644 index a9d84e5..0000000 Binary files a/vendor/cache/ruby-progressbar-1.11.0.gem and /dev/null differ diff --git a/vendor/cache/ruby-progressbar-1.13.0.gem b/vendor/cache/ruby-progressbar-1.13.0.gem new file mode 100644 index 0000000..c50b94b Binary files /dev/null and b/vendor/cache/ruby-progressbar-1.13.0.gem differ diff --git a/vendor/cache/tzinfo-2.0.5.gem b/vendor/cache/tzinfo-2.0.5.gem deleted file mode 100644 index 1b28f07..0000000 Binary files a/vendor/cache/tzinfo-2.0.5.gem and /dev/null differ diff --git a/vendor/cache/tzinfo-2.0.6.gem b/vendor/cache/tzinfo-2.0.6.gem new file mode 100644 index 0000000..2c16da8 Binary files /dev/null and b/vendor/cache/tzinfo-2.0.6.gem differ diff --git a/vendor/cache/unicode-display_width-2.2.0.gem b/vendor/cache/unicode-display_width-2.2.0.gem deleted file mode 100644 index bece7fa..0000000 Binary files a/vendor/cache/unicode-display_width-2.2.0.gem and /dev/null differ diff --git a/vendor/cache/unicode-display_width-2.4.2.gem b/vendor/cache/unicode-display_width-2.4.2.gem new file mode 100644 index 0000000..4402c5d Binary files /dev/null and b/vendor/cache/unicode-display_width-2.4.2.gem differ