Skip to content

Commit

Permalink
Release 0.2.2 (#43)
Browse files Browse the repository at this point in the history
* bump version

* bump dependencies

* update changelog

* update specs for new error messages
  • Loading branch information
Jammjammjamm authored Feb 3, 2023
1 parent 422ae7b commit 17e3b58
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 23 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.2.2

* Fix typos and launch test description.

# 0.2.1

* Update to support new development workflow. See [the template
Expand Down
60 changes: 41 additions & 19 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
PATH
remote: .
specs:
smart_app_launch_test_kit (0.2.1)
smart_app_launch_test_kit (0.2.2)
inferno_core (>= 0.4.2)
jwt (~> 2.2)
tls_test_kit (~> 0.2.0)

GEM
remote: https://rubygems.org/
specs:
activesupport (6.1.7)
activesupport (6.1.7.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
Expand All @@ -22,7 +22,7 @@ GEM
blueprinter (0.25.2)
byebug (11.1.3)
coderay (1.1.3)
concurrent-ruby (1.1.10)
concurrent-ruby (1.2.0)
connection_pool (2.3.0)
crack (0.4.5)
rexml
Expand Down Expand Up @@ -74,7 +74,7 @@ GEM
dry-logic (~> 1.0, >= 1.0.2)
factory_bot (6.2.1)
activesupport (>= 5.0.0)
faraday (1.10.2)
faraday (1.10.3)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
Expand Down Expand Up @@ -144,7 +144,7 @@ GEM
i18n (1.12.0)
concurrent-ruby (~> 1.0)
ice_nine (0.11.2)
inferno_core (0.4.6)
inferno_core (0.4.8)
activesupport (~> 6.1)
blueprinter (= 0.25.2)
dotenv (~> 2.7)
Expand All @@ -167,30 +167,33 @@ GEM
sidekiq (~> 6.5.6)
sqlite3 (~> 1.4)
thor (~> 1.2.1)
tty-markdown (~> 0.7.1)
io-console (0.5.11)
irb (1.4.2)
reline (>= 0.3.0)
jwt (2.6.0)
jwt (2.7.0)
kramdown (2.4.0)
rexml
method_source (1.0.0)
mime-types (3.4.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2022.0105)
minitest (5.16.3)
minitest (5.17.0)
multi_json (1.15.0)
multi_xml (0.6.0)
multipart-post (2.2.3)
multipart-post (2.3.0)
mustermann (1.1.2)
ruby2_keywords (~> 0.0.1)
mustermann-contrib (1.1.2)
hansi (~> 0.2.0)
mustermann (= 1.1.2)
netrc (0.11.0)
nio4r (2.5.8)
nokogiri (1.13.10-arm64-darwin)
nokogiri (1.14.1-arm64-darwin)
racc (~> 1.4)
nokogiri (1.13.10-x86_64-darwin)
nokogiri (1.14.1-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.13.10-x86_64-linux)
nokogiri (1.14.1-x86_64-linux)
racc (~> 1.4)
oauth2 (1.4.11)
faraday (>= 0.17.3, < 3.0)
Expand All @@ -199,17 +202,19 @@ GEM
multi_xml (~> 0.5)
rack (>= 1.2, < 4)
oj (3.11.0)
pry (0.14.1)
pastel (0.8.0)
tty-color (~> 0.5)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
public_suffix (5.0.0)
public_suffix (5.0.1)
puma (5.6.5)
nio4r (~> 2.0)
racc (1.6.2)
rack (2.2.4)
rack (2.2.6.2)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rake (13.0.6)
Expand All @@ -222,6 +227,7 @@ GEM
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rexml (3.2.5)
rouge (3.30.0)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
Expand All @@ -241,23 +247,39 @@ GEM
connection_pool (>= 2.2.5, < 3)
rack (~> 2.0)
redis (>= 4.5.0, < 5)
sqlite3 (1.5.4-arm64-darwin)
sqlite3 (1.5.4-x86_64-darwin)
sqlite3 (1.5.4-x86_64-linux)
sqlite3 (1.6.0-arm64-darwin)
sqlite3 (1.6.0-x86_64-darwin)
sqlite3 (1.6.0-x86_64-linux)
strings (0.2.1)
strings-ansi (~> 0.2)
unicode-display_width (>= 1.5, < 3.0)
unicode_utils (~> 1.4)
strings-ansi (0.2.0)
thor (1.2.1)
tilt (2.0.11)
tls_test_kit (0.2.0)
inferno_core (>= 0.4.1)
tzinfo (2.0.5)
tty-color (0.6.0)
tty-markdown (0.7.1)
kramdown (>= 1.16.2, < 3.0)
pastel (~> 0.8)
rouge (~> 3.14)
strings (~> 0.2.0)
tty-color (~> 0.5)
tty-screen (~> 0.8)
tty-screen (0.8.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.8.2)
unicode-display_width (2.4.2)
unicode_utils (1.4.0)
webmock (3.18.1)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
zeitwerk (2.6.5)
zeitwerk (2.6.6)

PLATFORMS
arm64-darwin-21
Expand Down
2 changes: 1 addition & 1 deletion lib/smart_app_launch/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module SMARTAppLaunch
VERSION = '0.2.1'.freeze
VERSION = '0.2.2'.freeze
end
2 changes: 1 addition & 1 deletion spec/smart_app_launch/discovery_group_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def capabilities_with_smart(extensions)
result = run(runnable, url: url)

expect(result.result).to eq('fail')
expect(result.result_message).to match(/Bad response status/)
expect(result.result_message).to match(/Unexpected response status/)
end

it 'fails when no SMART extensions are returned' do
Expand Down
2 changes: 1 addition & 1 deletion spec/smart_app_launch/token_exchange_test_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def create_redirect_request(url)
result = run(test, public_inputs)

expect(result.result).to eq('fail')
expect(result.result_message).to match(/Bad response status/)
expect(result.result_message).to match(/Unexpected response status/)
end

it 'skips if the auth request had an error' do
Expand Down
2 changes: 1 addition & 1 deletion spec/smart_app_launch/well_known_endpoint_test_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def run(runnable, inputs = {})
result = run(runnable, url: url)

expect(result.result).to eq('fail')
expect(result.result_message).to match(/Bad response status:/)
expect(result.result_message).to match(/Unexpected response status:/)
end

it 'fails when a Content-Type header is not received' do
Expand Down

0 comments on commit 17e3b58

Please sign in to comment.