Skip to content

Commit

Permalink
0.0.2 release (#11)
Browse files Browse the repository at this point in the history
Some dependency cleanup and rubocop rule changes to release 0.0.2 on rubygems
  • Loading branch information
Sam Bauch authored Dec 27, 2019
1 parent 51f7857 commit 14ada5a
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 20 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ Metrics/BlockLength:
ExcludedMethods: ['describe', 'context']
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: 'consistent_comma'
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: 'consistent_comma'

22 changes: 11 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: .
specs:
workos (0.0.2)
sorbet-runtime (= 0.4.5144)
sorbet-runtime (~> 0.5)

GEM
remote: https://rubygems.org/
Expand All @@ -22,9 +22,9 @@ GEM
jaro_winkler (1.5.4)
json (2.3.0)
parallel (1.19.1)
parser (2.6.5.0)
parser (2.7.0.0)
ast (~> 2.4.0)
public_suffix (4.0.1)
public_suffix (4.0.2)
rainbow (3.0.0)
rake (13.0.1)
rspec (3.9.0)
Expand All @@ -40,7 +40,7 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-support (3.9.0)
rubocop (0.77.0)
rubocop (0.78.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.6)
Expand All @@ -54,10 +54,10 @@ GEM
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
sorbet (0.4.5144)
sorbet-static (= 0.4.5144)
sorbet-runtime (0.4.5144)
sorbet-static (0.4.5144-universal-darwin-14)
sorbet (0.5.5181)
sorbet-static (= 0.5.5181)
sorbet-runtime (0.5.5181)
sorbet-static (0.5.5181-universal-darwin-14)
unicode-display_width (1.6.0)
url (0.3.2)
webmock (3.7.6)
Expand All @@ -69,14 +69,14 @@ PLATFORMS
ruby

DEPENDENCIES
bundler (~> 2.0.1)
bundler (>= 2.0.1)
codecov (~> 0.1.16)
rake
rspec (~> 3.9.0)
rubocop (~> 0.77)
sorbet (= 0.4.5144)
sorbet (~> 0.5)
webmock
workos!

BUNDLED WITH
2.0.2
2.1.2
2 changes: 1 addition & 1 deletion lib/workos/profile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def full_name
[first_name, last_name].compact.join(' ')
end

def to_json
def to_json(*)
{
id: id,
email: email,
Expand Down
10 changes: 5 additions & 5 deletions spec/lib/workos/sso_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
project_id: 'workos-proj-123',
redirect_uri: 'foo.com/auth/callback',
state: {
next_page: '/dashboard/edit'
}
next_page: '/dashboard/edit',
},
}
end

Expand Down Expand Up @@ -48,7 +48,7 @@
{
code: SecureRandom.hex(10),
project_id: 'workos-proj-123',
redirect_uri: 'foo.com/auth/callback'
redirect_uri: 'foo.com/auth/callback',
}
end

Expand All @@ -58,7 +58,7 @@
client_secret: WorkOS.key,
code: args[:code],
grant_type: 'authorization_code',
redirect_uri: args[:redirect_uri]
redirect_uri: args[:redirect_uri],
}
end

Expand Down Expand Up @@ -101,7 +101,7 @@
with(query: query).
to_return(status: 201, body: {
message: "The code '01DVX3C5Z367SFHR8QNDMK7V24'" \
' has expired or is invalid.'
' has expired or is invalid.',
}.to_json,)
end

Expand Down
6 changes: 3 additions & 3 deletions workos.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']

spec.add_dependency 'sorbet-runtime', '0.4.5144'
spec.add_dependency 'sorbet-runtime', '~> 0.5'

spec.add_development_dependency 'bundler', '~> 2.0.1'
spec.add_development_dependency 'bundler', '>= 2.0.1'
spec.add_development_dependency 'codecov', '~> 0.1.16'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec', '~> 3.9.0'
spec.add_development_dependency 'rubocop', '~> 0.77'
spec.add_development_dependency 'sorbet', '0.4.5144'
spec.add_development_dependency 'sorbet', '~> 0.5'
spec.add_development_dependency 'webmock'
end

0 comments on commit 14ada5a

Please sign in to comment.