ruboty 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/CHANGELOG.md +4 -0
- data/README.md +1 -0
- data/lib/ruboty/command_builder.rb +1 -1
- data/lib/ruboty/commands/generate.rb +1 -1
- data/lib/ruboty/handlers/help.rb +1 -1
- data/lib/ruboty/handlers/ping.rb +1 -1
- data/lib/ruboty/robot.rb +2 -1
- data/lib/ruboty/version.rb +1 -1
- data/ruboty.gemspec +1 -1
- data/spec/ruboty/adapters/shell_spec.rb +1 -1
- data/spec/ruboty/commands/generate_spec.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59eade90e032988902da80763e2d6a44d45ccf86
|
4
|
+
data.tar.gz: 5a47c89da03ec5a73003c44cbde2a2950da088ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c249f94122a8cebaaf3696926c8180bfa7203c29dc3b32147ae7ad97552ee80390afd827ab0b9b918714a2a86d10cab9919fc60b9c413621b6ab6ba4146cb178
|
7
|
+
data.tar.gz: b6a3dde9e78042a5e2b57dc080c0908a77eed510845eeea0c1f7ba1e26c9c236a33ca2861b325a1886b00d69fc972ab0c82aed643cb7c85b0d6c473c166f966b
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -27,6 +27,7 @@ Handler provides various behaviors to your robot.
|
|
27
27
|
* [ruboty-github](https://github.com/r7kamura/ruboty-github)
|
28
28
|
* [ruboty-google_image](https://github.com/r7kamura/ruboty-google_image)
|
29
29
|
* [ruboty-japan_weather](https://github.com/taiki45/ruboty-japan_weather)
|
30
|
+
* [ruboty-kokodeikku](https://github.com/r7kamura/ruboty-kokodeikku)
|
30
31
|
* [ruboty-lgtm](https://github.com/negipo/ruboty-lgtm)
|
31
32
|
* [ruboty-syoboi_calendar](https://github.com/r7kamura/ruboty-syoboi_calendar)
|
32
33
|
* [ruboty-talk](https://github.com/r7kamura/ruboty-talk)
|
@@ -30,7 +30,7 @@ module Ruboty
|
|
30
30
|
options.on("--dotenv", "Load .env before running.")
|
31
31
|
options.on("-g", "--generate", "Generate a new chatterbot with ./ruboty/ directory if specified.")
|
32
32
|
options.on("-h", "--help", "Display this help message.")
|
33
|
-
options.
|
33
|
+
options.string("-l", "--load", "Load a ruby file before running.")
|
34
34
|
end
|
35
35
|
end
|
36
36
|
memoize :options
|
data/lib/ruboty/handlers/help.rb
CHANGED
data/lib/ruboty/handlers/ping.rb
CHANGED
data/lib/ruboty/robot.rb
CHANGED
@@ -32,6 +32,7 @@ module Ruboty
|
|
32
32
|
end
|
33
33
|
|
34
34
|
# @return [true] Because it needs to tell that an action is matched.
|
35
|
+
undef :say
|
35
36
|
def say(*args)
|
36
37
|
adapter.say(*args)
|
37
38
|
true
|
@@ -77,7 +78,7 @@ module Ruboty
|
|
77
78
|
end
|
78
79
|
|
79
80
|
def handlers
|
80
|
-
Ruboty.handlers.map {|handler_class| handler_class.new(self) }
|
81
|
+
Ruboty.handlers.map { |handler_class| handler_class.new(self) }
|
81
82
|
end
|
82
83
|
memoize :handlers
|
83
84
|
|
data/lib/ruboty/version.rb
CHANGED
data/ruboty.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.add_dependency "bundler"
|
21
21
|
spec.add_dependency "dotenv"
|
22
22
|
spec.add_dependency "mem"
|
23
|
-
spec.add_dependency "slop"
|
23
|
+
spec.add_dependency "slop", ">= 4.0.0"
|
24
24
|
spec.add_development_dependency "codeclimate-test-reporter", ">= 0.3.0"
|
25
25
|
spec.add_development_dependency "rake"
|
26
26
|
spec.add_development_dependency "rspec", "2.14.1"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruboty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 4.0.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 4.0.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: codeclimate-test-reporter
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
213
|
version: '0'
|
214
214
|
requirements: []
|
215
215
|
rubyforge_project:
|
216
|
-
rubygems_version: 2.
|
216
|
+
rubygems_version: 2.4.5
|
217
217
|
signing_key:
|
218
218
|
specification_version: 4
|
219
219
|
summary: Ruby + Bot = Ruboty
|