boty 0.0.11 → 0.0.12

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: 74d5b3c5eae3f0ce09247e0fd42830d3ec717f27
4
- data.tar.gz: 2b0ef8bcf092a0dcc0d4054761c60e39274b4333
3
+ metadata.gz: 0749389ac8167b5c06f3ee78ec7d4c19808ac002
4
+ data.tar.gz: b325acd68074482902b5c7a4ff07d24036e9dfc3
5
5
  SHA512:
6
- metadata.gz: 3ab94e2b871edade5c5c0b5e6d1780c5a51b60d7cc0cf37896663ed6eb49539d911585904cfe84193dea3af8d2595f0886a13fadcf24cdbaba1f3a382973ef3c
7
- data.tar.gz: df59c71175b656ab20c5944c7be14406e6b06fd7620919d952e84cfc1ce64daa4aa37c5a4ccdf9b979aa773f84731dcc5aee19f7fa736d8645ec8f9932703422
6
+ metadata.gz: de267e986d1510895eac1a16cd1ba3c573b040773e0a8cf81606baae5eb68f3a30583910a2ae232813c791a73bbd033fbdfcba57791c9c9d79f4990020d1768e
7
+ data.tar.gz: ea8eb6e86724a64586a32c39ffcc0149c04c650fbec1585775214302b00dcf6e6881ecab470df679e33bad96baf4300bd76da6c4291a48152a047dff6e4c8842
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- boty (0.0.11)
4
+ boty (0.0.12)
5
5
  eventmachine
6
6
  faye-websocket
7
7
  i18n
data/lib/boty/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Boty
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
data/locale/en.yml CHANGED
@@ -4,7 +4,7 @@ en:
4
4
  hello: "Ohay <@%{user_name}>! I'm here, that's for sure."
5
5
  scripts:
6
6
  knows: "List all the commands known by this bot."
7
- pugme: "Send some nice pug in the channel."
8
- pugbomb: "Send X pugs in the channel."
7
+ pug_me: "Send some nice pug in the channel."
8
+ pug_bomb: "Send X pugs in the channel."
9
9
  remember: "Instructs %{name} about something happening with the user."
10
10
  about: "Retrieves information stored in the brain section :user for \"julian\"."
@@ -6,7 +6,7 @@ Boty.locale = ARGV.pop || :en
6
6
  session = Boty::Session.new
7
7
  session.start do |bot|
8
8
  bot.desc I18n.t "template.presence", bot_name: bot.name
9
- bot.message(/<%= bot.name %>/i) do |message|
9
+ bot.message(/#{bot.name}/i) do |message|
10
10
  next if message.from? self
11
11
  say I18n.t "template.hello", user_name: message.user.name
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Valeriano