websocket_parser 0.1.1 → 0.1.2

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: 335707fc3524a93fd68be3d77cb8d9fa7b3c90d9
4
+ data.tar.gz: 15a83dbd7e48b16b5f50ba5b76261d1cb4baa1bf
5
+ SHA512:
6
+ metadata.gz: cb027ae11b31e48fda204dcec4e58983ca348f63920188bab5f7e84fd290dc24925211a5802045fb7af9318307bb0fe22366a6f2eaaa46dd06ee756c60cac5cd
7
+ data.tar.gz: 0e6f5148b006c1da6d53f6fae26f8b44384d83f13e7351f7c47ffbf4a03f0ecfdd6074bad8b89fce9b9b19c1d4d44d8d3f06e3d6f90cafd14e84a4436be07ff6
data/.travis.yml CHANGED
@@ -4,4 +4,5 @@ rvm:
4
4
  - 1.9.3
5
5
  - jruby-19mode # JRuby in 1.9 mode
6
6
  - rbx-19mode
7
+ - 2.0.0
7
8
  script: bundle exec rspec spec
@@ -55,6 +55,7 @@ module WebSocket
55
55
  # Stores the data in a buffer for later parsing
56
56
  def append(data)
57
57
  @data << data
58
+ @data.force_encoding("ASCII-8BIT")
58
59
  end
59
60
 
60
61
  # Receive data and parse it return an array of parsed messages
@@ -1,3 +1,3 @@
1
1
  module WebSocket
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,64 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: websocket_parser
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.1.1
4
+ version: 0.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Alberto Fernandez-Capel
9
- autorequire:
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-10-27 00:00:00.000000000 Z
11
+ date: 2013-03-09 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: http
16
- version_requirements: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - ! '>='
19
- - !ruby/object:Gem::Version
20
- version: '0'
21
- none: false
22
15
  requirement: !ruby/object:Gem::Requirement
23
16
  requirements:
24
- - - ! '>='
17
+ - - '>='
25
18
  - !ruby/object:Gem::Version
26
19
  version: '0'
27
- none: false
28
- prerelease: false
29
20
  type: :runtime
30
- - !ruby/object:Gem::Dependency
31
- name: rake
21
+ prerelease: false
32
22
  version_requirements: !ruby/object:Gem::Requirement
33
23
  requirements:
34
- - - ! '>='
24
+ - - '>='
35
25
  - !ruby/object:Gem::Version
36
26
  version: '0'
37
- none: false
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
38
29
  requirement: !ruby/object:Gem::Requirement
39
30
  requirements:
40
- - - ! '>='
31
+ - - '>='
41
32
  - !ruby/object:Gem::Version
42
33
  version: '0'
43
- none: false
44
- prerelease: false
45
34
  type: :development
46
- - !ruby/object:Gem::Dependency
47
- name: rspec
35
+ prerelease: false
48
36
  version_requirements: !ruby/object:Gem::Requirement
49
37
  requirements:
50
- - - ! '>='
38
+ - - '>='
51
39
  - !ruby/object:Gem::Version
52
40
  version: '0'
53
- none: false
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
54
43
  requirement: !ruby/object:Gem::Requirement
55
44
  requirements:
56
- - - ! '>='
45
+ - - '>='
57
46
  - !ruby/object:Gem::Version
58
47
  version: '0'
59
- none: false
60
- prerelease: false
61
48
  type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
62
55
  description: WebsocketParser is a RFC6455 compliant parser for websocket messages
63
56
  email:
64
57
  - afcapel@gmail.com
@@ -85,37 +78,29 @@ files:
85
78
  - websocket_parser.gemspec
86
79
  homepage: http://github.com/afcapel/websocket_parser
87
80
  licenses: []
88
- post_install_message:
81
+ metadata: {}
82
+ post_install_message:
89
83
  rdoc_options: []
90
84
  require_paths:
91
85
  - lib
92
86
  required_ruby_version: !ruby/object:Gem::Requirement
93
87
  requirements:
94
- - - ! '>='
88
+ - - '>='
95
89
  - !ruby/object:Gem::Version
96
- segments:
97
- - 0
98
- hash: 2
99
90
  version: '0'
100
- none: false
101
91
  required_rubygems_version: !ruby/object:Gem::Requirement
102
92
  requirements:
103
- - - ! '>='
93
+ - - '>='
104
94
  - !ruby/object:Gem::Version
105
- segments:
106
- - 0
107
- hash: 2
108
95
  version: '0'
109
- none: false
110
96
  requirements: []
111
- rubyforge_project:
112
- rubygems_version: 1.8.24
113
- signing_key:
114
- specification_version: 3
97
+ rubyforge_project:
98
+ rubygems_version: 2.0.0
99
+ signing_key:
100
+ specification_version: 4
115
101
  summary: Parse websockets messages in Ruby
116
102
  test_files:
117
103
  - spec/spec_helper.rb
118
104
  - spec/websocket/handshake_spec.rb
119
105
  - spec/websocket/message_spec.rb
120
106
  - spec/websocket/parser_spec.rb
121
- ...