lita 3.3.0 → 3.3.1
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/CONTRIBUTING.md +5 -1
- data/lib/lita/adapters/shell.rb +4 -1
- data/lib/lita/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3fb362ba4822b42cb6cd4a6b662d39fd23d94da
|
|
4
|
+
data.tar.gz: 98201ad5cf62ba5a964ce1ea80b93e298fad4b02
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d4afd73a337dcf17183156546037c762d8e7c7d27870c55532f98d9228c83f4c11608352f1ccc71947e7ec072e9a6e523351eaf321a7a25f2540d432e34758ca
|
|
7
|
+
data.tar.gz: 3629b9e414f35a09444017aff288126ec737adc9d64695bf520497f7e59bbb43e757e56e3c40bde26f35caf40a260253404870fff3ad86c89263af0c51762eb9
|
data/CONTRIBUTING.md
CHANGED
|
@@ -6,7 +6,11 @@ Found a bug in Lita? Open an issue on [GitHub Issues](https://github.com/jimmycu
|
|
|
6
6
|
|
|
7
7
|
## Pull requests
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Interested in contributing to Lita? That's great, and thank you for your interest!
|
|
10
|
+
|
|
11
|
+
In order to keep Lita's codebase from growing too large, you're encouraged to implement new functionality via a [plugin](https://www.lita.io/plugin-authoring). If you're not able to achieve what you want with a plugin, then a pull request may be in order. Out of respect for your time, open an issue to discuss any non-trivial changes you intend to make before starting to write code. If you are planning a pull request to improve documentation, fix a bug, or improve performance, then feel free to proceed without opening an issue for discussion.
|
|
12
|
+
|
|
13
|
+
To get your contributions accepted, make sure:
|
|
10
14
|
|
|
11
15
|
* All the tests pass. Run `rspec`.
|
|
12
16
|
* No code quality warnings are generated by [RuboCop](https://github.com/bbatsov/rubocop). Run `rubocop`.
|
data/lib/lita/adapters/shell.rb
CHANGED
|
@@ -54,7 +54,10 @@ module Lita
|
|
|
54
54
|
end
|
|
55
55
|
|
|
56
56
|
def read_input
|
|
57
|
-
Readline.readline("#{robot.name} > ", true)
|
|
57
|
+
input = Readline.readline("#{robot.name} > ", true)
|
|
58
|
+
# Input read via rb-readline will always be encoded as US-ASCII.
|
|
59
|
+
# @see https://github.com/luislavena/rb-readline/blob/master/lib/readline.rb#L1
|
|
60
|
+
input.force_encoding(Encoding.default_external)
|
|
58
61
|
end
|
|
59
62
|
|
|
60
63
|
def run_loop
|
data/lib/lita/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lita
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.3.
|
|
4
|
+
version: 3.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jimmy Cuadra
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-07-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|