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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 56f6be0584d7415dcb76a9841f6a7d66fa92ad9c
4
- data.tar.gz: 06301cf52bdf9c6147beaa6b15f56c4d5dca9101
3
+ metadata.gz: deffbfe6227e772be37c15193f278374203f84da
4
+ data.tar.gz: 63b4b27adfa76e905afc9cb8722a33864ae6adfc
5
5
  SHA512:
6
- metadata.gz: 46fb9a664f5f406f4fc87870501e1f52b667eb8b77ad9381a8af2d82a08747dc5270c913a54756a66890de8fe8f4c898f8176193bf414ac2ee8f7bd9edc3dcf4
7
- data.tar.gz: 25eac367ab1f9a6864be53323d97de6e0c1c7a5f6a69c4a67299e1eb421d3ea7d9a9935a03a1e112888f618850207152d4af4a05abc94e1ae7b8ad897c75f46f
6
+ metadata.gz: 2191c4b91fb5c481df6df5e81bf23e404e47944631af29dd6a336078522710c41b5729919142245572d98030a1a8e35437c1ccb74c0933af478fef30de6dc21d
7
+ data.tar.gz: 35f0d9970ef29706e19d62dd811efa2f9f88521e926661ef8ba00c40b54f68defaf6b73e9ee39d24da503532d51129e53e26e458911d05c3d05c8b27cf2ca4e4
@@ -1,3 +1,3 @@
1
1
  module TelegramMeetupBot
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
@@ -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) { '/cancel 21.01.16' }
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) { '/date 21.01.16' }
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) { '/list 21.01.16' }
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)
@@ -24,5 +24,5 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency "timecop"
25
25
 
26
26
  spec.add_dependency 'redis'
27
- spec.add_dependency 'telegram-bot-ruby', ">= 0.3.11"
27
+ spec.add_dependency 'telegram-bot-ruby', "~> 0.5.2"
28
28
  end
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.8
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: 2015-12-07 00:00:00.000000000 Z
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.3.11
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.3.11
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.5
182
+ rubygems_version: 2.4.8
183
183
  signing_key:
184
184
  specification_version: 4
185
185
  summary: Telegram bot for meetups organisation