lita-discord_oauth 0.1.2.alpha.49 → 0.1.2.alpha.50

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
  SHA1:
3
- metadata.gz: e14675a2f966a4f5013655a128b38761f147302b
4
- data.tar.gz: 0772731e0d8871d742660625d9b35bad377ff118
3
+ metadata.gz: 83611585f04b5691290e1cd20dfe3bdb79e1a7e5
4
+ data.tar.gz: 0bee0f46686f1ab83bed2bc29475abacfd63a7a4
5
5
  SHA512:
6
- metadata.gz: b5f98ec1f6940900a234591d7723ff500fddc465159eabde6e65d14e69de526b93ff84c90f404b902912c476c54c7ae51de27d003d5589295187bce5e44d33b5
7
- data.tar.gz: 948ec8b7e0fe2cd6514c22b3d827eaaddc743f2fb35d9d6b925c56d421f73901d66802d90262a8f23bc077037b17d30632e3aa6e2ef33e6a2b4b38bb9d4e886e
6
+ metadata.gz: c5026c77c36c3793179c681e55f03f442861f1db163355d87e8945db8521035b2836f5cec0969e7d091cb580aa1d9d57aaa52ac55cc5cf76a4b4a8d9341f51ee
7
+ data.tar.gz: 1bb5dc73917f3b01ace47d16ed2646876364a7135166f346d7bed31d025344d5413c5558b0aa5f6508eb811f15e24eb1bb0c47e4a3a3c1fc1a68ac59104fe2f9
@@ -36,8 +36,7 @@ module Lita
36
36
 
37
37
  if user != nil
38
38
  Lita.logger.debug("User #{author_id} found, updating name to #{author_name}")
39
- user.name = author_name
40
- user.save
39
+ user = Lita::User.create(author_id, {name: author_name})
41
40
  end
42
41
 
43
42
  Lita.logger.debug("User #{author_id} not found, creating now")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-discord_oauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.alpha.49
4
+ version: 0.1.2.alpha.50
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cas Eliëns