From aff77cb70aeec9ec510ac20aa2afbd38bc55662a Mon Sep 17 00:00:00 2001 From: Andrew Bromwich Date: Sun, 30 Apr 2017 22:54:55 +1000 Subject: [PATCH] Bumped to v0.0.8 Fixed rubocop errors --- lib/rocket_chat/gem_version.rb | 2 +- spec/messages/user_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/rocket_chat/gem_version.rb b/lib/rocket_chat/gem_version.rb index fd9a67f..81fc19e 100644 --- a/lib/rocket_chat/gem_version.rb +++ b/lib/rocket_chat/gem_version.rb @@ -1,3 +1,3 @@ module RocketChat - VERSION = '0.0.7'.freeze + VERSION = '0.0.8'.freeze end diff --git a/spec/messages/user_spec.rb b/spec/messages/user_spec.rb index a8fcc87..e887f87 100644 --- a/spec/messages/user_spec.rb +++ b/spec/messages/user_spec.rb @@ -394,14 +394,14 @@ status = session.users.get_presence(user_id: USER_ID) expect(status.presence).to eq 'offline' expect(status.connection_status).to eq 'offline' - expect(status.last_login).to be_within(1).of DateTime.new(2016, 12, 8, 18, 26, 03) + expect(status.last_login).to be_within(1).of DateTime.new(2016, 12, 8, 18, 26, 3) end it 'should return full presence status for username' do status = session.users.get_presence(username: USERNAME) expect(status.presence).to eq 'offline' expect(status.connection_status).to eq 'offline' - expect(status.last_login).to be_within(1).of DateTime.new(2016, 12, 8, 18, 26, 03) + expect(status.last_login).to be_within(1).of DateTime.new(2016, 12, 8, 18, 26, 3) end context 'requesting a different user' do