telegram_meetup_bot 0.1.7 → 0.1.8

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: 16ad2ffb6a84e883548fba023e8d84fa21a2dc63
4
- data.tar.gz: 57ec211d5bc0b5913172250058270d8393a4d89b
3
+ metadata.gz: 56f6be0584d7415dcb76a9841f6a7d66fa92ad9c
4
+ data.tar.gz: 06301cf52bdf9c6147beaa6b15f56c4d5dca9101
5
5
  SHA512:
6
- metadata.gz: afc655b8e9ab2ea0556578b0b620cbb4c74fa79d3a737c5cd74459e9e742b69bbb11d0fd2e59d482670f4e15f0448e7fca88a377cdbb576e719409905aa7972f
7
- data.tar.gz: b753c521d5a1d6e72b0dc2596e3ab73cbc14ed851d2ec6f7fab6ab4327e30e37ffd38d59bac536800976eff3d259b043096a6ee52093ae813b466ec200d6944d
6
+ metadata.gz: 46fb9a664f5f406f4fc87870501e1f52b667eb8b77ad9381a8af2d82a08747dc5270c913a54756a66890de8fe8f4c898f8176193bf414ac2ee8f7bd9edc3dcf4
7
+ data.tar.gz: 25eac367ab1f9a6864be53323d97de6e0c1c7a5f6a69c4a67299e1eb421d3ea7d9a9935a03a1e112888f618850207152d4af4a05abc94e1ae7b8ad897c75f46f
@@ -10,7 +10,7 @@ module TelegramMeetupBot
10
10
  private
11
11
 
12
12
  def username
13
- params.first.sub('@', '') || author.username
13
+ (params.first || author.username).sub('@', '')
14
14
  end
15
15
  end
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module TelegramMeetupBot
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telegram_meetup_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timur Yanberdin