rubydium 0.3.13 → 0.3.14

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: f9f3102dcc6c4c6d9614d286270883a6e66eec4d018be03e8adbf516a3b25b44
4
- data.tar.gz: 012e1733a6cce77c9c90d4840dfd699a1df36f03176ca738780bc3cee34290e5
3
+ metadata.gz: 0dac94f3bb681c7c2cca9cbdba246a0a9f36e5f2624c8d7118d9b80f71845201
4
+ data.tar.gz: fed91db852852a55bf7330b3f58a37b4cddab676218735fe25af739114b03ebf
5
5
  SHA512:
6
- metadata.gz: cb6762c57c855da66dfc6085e2b2402114120b84392a8c115e69c50b17ea33dbc04da83fdc4754d22d2a991a2402ea7cc33f10b6d4fc01734955dd56afec9282
7
- data.tar.gz: e38f463cac02be9d2ed724cee66ca98ecc750fda83171b69dc3c9f3a81d839156461bbea0244250aa27329a8fa1b6de5158a292fb3be7fdd2245bb3e506410da
6
+ metadata.gz: 9100a95fa4a72a1a9651a4dff58b15a0b38f43e2a6345880f4b8514d7079628e1811389946ef46d0bab2c7518486d6040b50fe8fc7b18725e6c60d115b93261e
7
+ data.tar.gz: 36b7d2f276b87fa5e1875e3672825320816e8f80653754bb186acd6a677cb0013db84be17dac139dc8afa952a4fdf8eb3c2081fea2cf99f1caf95d781dd9c5a2
@@ -3,7 +3,7 @@ module Rubydium
3
3
  module RightsChecking
4
4
  def user_info(user_id=config.bot_id)
5
5
  @user_info ||= {}
6
- return info if info = @user_info[user_id]
6
+ return @user_info[user_id] if @user_info[user_id]
7
7
 
8
8
  @user_info[user_id] = @api.get_chat_member(chat_id: @chat.id, user_id: user_id).dig("result")
9
9
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rubydium
4
- VERSION = "0.3.13"
4
+ VERSION = "0.3.14"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubydium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.13
4
+ version: 0.3.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - bulgakke