hector 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,6 +42,8 @@ module Hector
42
42
  line.push(command)
43
43
  line.concat(args)
44
44
  line.push(":#{text}") if text
45
+ end.map do |arg|
46
+ if arg.respond_to?(:force_encoding) then arg.force_encoding("UTF-8") else arg end
45
47
  end.join(" ")[0, 510] + "\r\n"
46
48
  end
47
49
  end
@@ -1,3 +1,3 @@
1
1
  module Hector
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hector
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-17 00:00:00.000000000 Z
12
+ date: 2011-09-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: eventmachine
16
- requirement: &70326738713840 !ruby/object:Gem::Requirement
16
+ requirement: &70106826795640 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.12.10
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70326738713840
24
+ version_requirements: *70106826795640
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: mocha
27
- requirement: &70326738713280 !ruby/object:Gem::Requirement
27
+ requirement: &70106826792960 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 0.9.9
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70326738713280
35
+ version_requirements: *70106826792960
36
36
  description: A private group chat server for people you trust. Implements a limited
37
37
  subset of the IRC protocol.
38
38
  email: