lita 3.3.0 → 3.3.1

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: 845ed36dd80800a50d3ae7bde6d4a4bf1050beb5
4
- data.tar.gz: a0c53a123d9ce7f9c62ac9e78f3804c8901df54d
3
+ metadata.gz: a3fb362ba4822b42cb6cd4a6b662d39fd23d94da
4
+ data.tar.gz: 98201ad5cf62ba5a964ce1ea80b93e298fad4b02
5
5
  SHA512:
6
- metadata.gz: bc1f3239cde3d0997f65a53cfae703f3c361fb5881630bdd4261268560350b953289e8144bebe60d07fecbe68230b71c28316e35afdfd9caac550a3ce69d446e
7
- data.tar.gz: 0750dc9bf141a7f1b36a23fb4cbf2e04386c7f58757fa0cd72db279ee4b5a3accc9f9d6d3b42a1b1a4b0995930506a6d4f8390f2ba075c49dd960a61f58ffcc1
6
+ metadata.gz: d4afd73a337dcf17183156546037c762d8e7c7d27870c55532f98d9228c83f4c11608352f1ccc71947e7ec072e9a6e523351eaf321a7a25f2540d432e34758ca
7
+ data.tar.gz: 3629b9e414f35a09444017aff288126ec737adc9d64695bf520497f7e59bbb43e757e56e3c40bde26f35caf40a260253404870fff3ad86c89263af0c51762eb9
@@ -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
- Ready to submit a pull request? Great! Contributions are most welcome. To get your contributions accepted, make sure:
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`.
@@ -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
@@ -1,4 +1,4 @@
1
1
  module Lita
2
2
  # The current version of Lita.
3
- VERSION = "3.3.0"
3
+ VERSION = "3.3.1"
4
4
  end
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.0
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-06-19 00:00:00.000000000 Z
11
+ date: 2014-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler