telegram_meetup_bot 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/telegram_meetup_bot/version.rb +1 -1
- data/spec/telegram_meetup_bot/commands/cancel_command_spec.rb +1 -1
- data/spec/telegram_meetup_bot/commands/date_command_spec.rb +1 -1
- data/spec/telegram_meetup_bot/commands/list_command_spec.rb +1 -1
- data/telegram_meetup_bot.gemspec +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: deffbfe6227e772be37c15193f278374203f84da
|
4
|
+
data.tar.gz: 63b4b27adfa76e905afc9cb8722a33864ae6adfc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2191c4b91fb5c481df6df5e81bf23e404e47944631af29dd6a336078522710c41b5729919142245572d98030a1a8e35437c1ccb74c0933af478fef30de6dc21d
|
7
|
+
data.tar.gz: 35f0d9970ef29706e19d62dd811efa2f9f88521e926661ef8ba00c40b54f68defaf6b73e9ee39d24da503532d51129e53e26e458911d05c3d05c8b27cf2ca4e4
|
@@ -11,7 +11,7 @@ RSpec.describe TelegramMeetupBot::Commands::CancelCommand do
|
|
11
11
|
subject { described_class.new(message_parser) }
|
12
12
|
|
13
13
|
context 'valid date' do
|
14
|
-
let(:command) {
|
14
|
+
let(:command) { "/cancel #{(Date.today + 1).strftime('%d.%m.%y')}" }
|
15
15
|
|
16
16
|
it 'works' do
|
17
17
|
allow_any_instance_of(TelegramMeetupBot::Calendar).to receive(:delete_user_from_date)
|
@@ -11,7 +11,7 @@ RSpec.describe TelegramMeetupBot::Commands::DateCommand do
|
|
11
11
|
subject { described_class.new(message_parser) }
|
12
12
|
|
13
13
|
context 'valid date' do
|
14
|
-
let(:command) {
|
14
|
+
let(:command) { "/date #{(Date.today + 1).strftime('%d.%m.%y')}" }
|
15
15
|
|
16
16
|
it 'works' do
|
17
17
|
allow_any_instance_of(TelegramMeetupBot::Calendar).to receive(:add_user_to_date)
|
@@ -11,7 +11,7 @@ RSpec.describe TelegramMeetupBot::Commands::ListCommand do
|
|
11
11
|
subject { described_class.new(message_parser) }
|
12
12
|
|
13
13
|
context 'valid date' do
|
14
|
-
let(:command) {
|
14
|
+
let(:command) { "/list #{(Date.today + 1).strftime('%d.%m.%y')}" }
|
15
15
|
|
16
16
|
it 'works' do
|
17
17
|
allow(TelegramMeetupBot::Calendar).to receive(:formated_users_for_date)
|
data/telegram_meetup_bot.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: telegram_meetup_bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Timur Yanberdin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -98,16 +98,16 @@ dependencies:
|
|
98
98
|
name: telegram-bot-ruby
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.
|
103
|
+
version: 0.5.2
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.
|
110
|
+
version: 0.5.2
|
111
111
|
description:
|
112
112
|
email:
|
113
113
|
- yanberdint@gmail.com
|
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
179
|
version: '0'
|
180
180
|
requirements: []
|
181
181
|
rubyforge_project:
|
182
|
-
rubygems_version: 2.4.
|
182
|
+
rubygems_version: 2.4.8
|
183
183
|
signing_key:
|
184
184
|
specification_version: 4
|
185
185
|
summary: Telegram bot for meetups organisation
|