dev_training_bot 1.0.2 → 1.0.3

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: cd85931920eb73f9c172b1fc295d275fd833e3aed016375ddd85e2502cdd0594
4
- data.tar.gz: b074ee6446bf1caa939bce4cdb555869461a2c420ca92b914d8b673bf44d0c5c
3
+ metadata.gz: 2c5bacfdef408d5699da932b60a451beb84e26d6181a88a45eb77bbc80f06e48
4
+ data.tar.gz: b2cc5a020dcb55acee4d11905375186d4791be70bd25cd981f8cee190b8eb292
5
5
  SHA512:
6
- metadata.gz: 838bc22740fb72023ccdf0ac71ce8221bb4f97075a0d99ec1a6c8bb19e72aa65d6fbde9b3703bf0013f4d847b57496e96ef7bed53a95f799cecccc043070a8e2
7
- data.tar.gz: d3eea876ad969ed1ca52f4beca9cce3c27d11ad04c2b6f78f512ed04732e41dbdf090f82a5b3f9f3230ba8ca243822323fd9adb19afc614c8dcc368766fdb703
6
+ metadata.gz: 7771953be08180723d580415636affddc5d8d4f093d23d0d2f7a7e423ec70f611af05a1e4ea5bf32bc38b4583ad55836871ebe8f81b05299cc6125a1d790ee69
7
+ data.tar.gz: 2a322e62f579be0bf12d072fa183f078c64347bda13069ae0d8da245bf84b526a9758d9dac3b6be2523076d862f3fc7191a61936e5082db6917d3d7ff0d1344e
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Gem Version](https://badge.fury.io/rb/dev_training_bot.svg)](https://badge.fury.io/rb/dev_training_bot) [![Build Status](https://travis-ci.org/iovis9/dev_training_bot.svg?branch=master)](https://travis-ci.org/iovis9/dev_training_bot)
2
+
1
3
  # DevTrainingBot
2
4
 
3
5
  List, publish or export the Dev Training topics (made for RubiconMD).
data/bin/console CHANGED
@@ -6,5 +6,9 @@ require 'dev_training_bot'
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
8
8
 
9
+ drive_service = DevTrainingBot::GoogleDriveService.new
10
+ topic_service = DevTrainingBot::TopicService.new(drive_service)
11
+ slack_service = DevTrainingBot::SlackService.new
12
+
9
13
  require 'pry'
10
14
  Pry.start
@@ -9,7 +9,7 @@ module DevTrainingBot
9
9
 
10
10
  def to_poll
11
11
  return '' if empty?
12
- "\"#{topics.join('" "')}\""
12
+ "\"#{topics.first(10).join('" "')}\""
13
13
  end
14
14
 
15
15
  def content
@@ -1,3 +1,3 @@
1
1
  module DevTrainingBot
2
- VERSION = '1.0.2'.freeze
2
+ VERSION = '1.0.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev_training_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Marchante
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-01 00:00:00.000000000 Z
11
+ date: 2018-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chronic