ircp 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 325ad24d14526e4b8b7f642681496182b1e1c239
4
+ data.tar.gz: 699101bcc5fe8ade1b70227deb7fac03405ef842
5
+ SHA512:
6
+ metadata.gz: 8714231e1138b04a722638ac03d641f2119e138520a38a3043bc129ef004a1daa5b0c661dbe99889972695e1517d650ed4b55312a47515a3b561fc6571018d1d
7
+ data.tar.gz: ed4fa02393840e67ad815b3bb19ca86fe2810c027c3eae21878da400ba09b027278a893d54696e1ba3660823ae5ecd1785fff1df2b3c9399ff3df23a25c6336d
data/lib/ircp/message.rb CHANGED
@@ -28,12 +28,13 @@ module Ircp
28
28
  tokens << ":#{@prefix}" if @prefix
29
29
  tokens << command
30
30
 
31
- unless @params.empty?
32
- last = @params.pop.to_s
31
+ new_params = @params.dup
32
+ unless new_params.empty?
33
+ last = new_params.pop.to_s
33
34
  last.insert 0, ':' if !last.start_with?(':') && last.include?(' ')
34
- @params << last
35
+ new_params << last
35
36
  end
36
- tokens += @params
37
+ tokens += new_params
37
38
 
38
39
  msg = tokens.map { |token| token.to_s }.reject { |token| token.empty? }.join(' ')
39
40
  msg << CRLF unless msg.end_with?(CRLF)
data/lib/ircp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ircp
2
- VERSION = "1.1.5"
2
+ VERSION = "1.1.6"
3
3
  end
metadata CHANGED
@@ -1,62 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ircp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
5
- prerelease:
4
+ version: 1.1.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - mashiro
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-15 00:00:00.000000000 Z
11
+ date: 2013-05-13 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: treetop
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rspec
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  description: IRC minimal parser
@@ -87,32 +80,25 @@ files:
87
80
  - spec/support/shared_helpers.rb
88
81
  homepage: https://github.com/mashiro/ircp-ruby
89
82
  licenses: []
83
+ metadata: {}
90
84
  post_install_message:
91
85
  rdoc_options: []
92
86
  require_paths:
93
87
  - lib
94
88
  required_ruby_version: !ruby/object:Gem::Requirement
95
- none: false
96
89
  requirements:
97
- - - ! '>='
90
+ - - '>='
98
91
  - !ruby/object:Gem::Version
99
92
  version: '0'
100
- segments:
101
- - 0
102
- hash: 2075054529239101246
103
93
  required_rubygems_version: !ruby/object:Gem::Requirement
104
- none: false
105
94
  requirements:
106
- - - ! '>='
95
+ - - '>='
107
96
  - !ruby/object:Gem::Version
108
97
  version: '0'
109
- segments:
110
- - 0
111
- hash: 2075054529239101246
112
98
  requirements: []
113
99
  rubyforge_project:
114
- rubygems_version: 1.8.24
100
+ rubygems_version: 2.0.0
115
101
  signing_key:
116
- specification_version: 3
102
+ specification_version: 4
117
103
  summary: IRC minimal parser for ruby
118
104
  test_files: []