app_rail-airtable 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 66fa38f57c975b6de65ce8ab4548421e8063e50774245f37c9ed38ef13802747
4
- data.tar.gz: a13a5199edac840e26ed2e70676c3eff4f36c000c4af80cdf710cf3a47fad56a
3
+ metadata.gz: b2222da161b570e211092bd349e148d95a4101bfb927ec04af296b6bf3037adf
4
+ data.tar.gz: 8d040716239e2321007c4f4d534002f42ba0f5ee8995739be252365911949330
5
5
  SHA512:
6
- metadata.gz: 002c107e9dd70908b323f836240ec3c4253f9fa8393a2ce2312812d189804618fe0070a0a47485833111299ec6a8d0e6168ccc427d953eb6137cf367bc708e61
7
- data.tar.gz: b5b4ff1a93cb0608a08a64bc2197f7b2961a5eadc876a9564d2d3a5e285ddf38b4185d03d68ba5c894f90ad974e32de93c0852b86a1dd34c28388e6b364003d3
6
+ metadata.gz: b3844eb828e7aefe01844aedd2d934c72d9956d32e68f2f37747513d65947912b453e7f02f5ff7efae502fec6a9fbf66996d603ceabfe6c3fe352a6d628c5433
7
+ data.tar.gz: 142a3e8d514df35ffd9d52d3904ae370c3be998437115aad786d4770c3664fd933dd337468441c665e7e32eb85a5a66b0bb849447254934f09b1ee13e7f06533
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- app_rail-airtable (0.3.4)
4
+ app_rail-airtable (0.3.5)
5
5
  activesupport
6
6
  airrecord
7
7
  bcrypt
@@ -19,6 +19,8 @@ module AppRail
19
19
 
20
20
  def create_session_as_json(email:, password:)
21
21
  user = find_by_email_and_password(email, password)
22
+ return nil unless user
23
+
22
24
  user["Access Token"] = next_access_token
23
25
  user.save
24
26
  user&.oauth_session
@@ -1,5 +1,5 @@
1
1
  module AppRail
2
2
  module Airtable
3
- VERSION = "0.3.4"
3
+ VERSION = "0.3.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_rail-airtable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brooke-Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-19 00:00:00.000000000 Z
11
+ date: 2022-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport