stomp_parser 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +33 -0
- data/.rspec +1 -0
- data/.travis.yml +7 -0
- data/Brewfile +2 -0
- data/Gemfile +11 -0
- data/MIT-LICENSE.txt +22 -0
- data/README.md +59 -0
- data/Rakefile +85 -0
- data/ext/java/stomp_parser/JavaParser.java.rl +179 -0
- data/ext/java/stomp_parser/JavaParserService.java +23 -0
- data/ext/stomp_parser/c_parser.c.rl +225 -0
- data/ext/stomp_parser/extconf.rb +15 -0
- data/lib/stomp_parser.rb +46 -0
- data/lib/stomp_parser/error.rb +18 -0
- data/lib/stomp_parser/frame.rb +133 -0
- data/lib/stomp_parser/ruby_parser.rb.rl +155 -0
- data/lib/stomp_parser/version.rb +3 -0
- data/parser_common.rl +25 -0
- data/spec/bench_helper.rb +67 -0
- data/spec/benchmarks/message_bench.rb +50 -0
- data/spec/benchmarks/parser_bench.rb +43 -0
- data/spec/profile.rb +27 -0
- data/spec/spec_helper.rb +6 -0
- data/spec/stomp_parser/c_parser_spec.rb +5 -0
- data/spec/stomp_parser/java_parser_spec.rb +5 -0
- data/spec/stomp_parser/message_spec.rb +50 -0
- data/spec/stomp_parser/ruby_parser_spec.rb +3 -0
- data/spec/stomp_parser_spec.rb +9 -0
- data/spec/support/shared_parser_examples.rb +268 -0
- data/stomp_parser.gemspec +28 -0
- metadata +162 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'stomp_parser/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "stomp_parser"
|
8
|
+
spec.version = StompParser::VERSION
|
9
|
+
spec.authors = ["Kim Burgestrand", "Jonas Nicklas"]
|
10
|
+
spec.email = ["kim@burgestrand.se", "jonas.nicklas@gmail.com"]
|
11
|
+
spec.summary = %q{STOMP frame parser.}
|
12
|
+
spec.homepage = "https://github.com/stompede/stomp_parser"
|
13
|
+
spec.license = "MIT"
|
14
|
+
|
15
|
+
spec.files = `git ls-files`.split($/)
|
16
|
+
spec.files += ["lib/stomp_parser/ruby_parser.rb"]
|
17
|
+
spec.files += ["ext/stomp_parser/c_parser.c"]
|
18
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
spec.extensions = %w[ext/stomp_parser/extconf.rb]
|
22
|
+
|
23
|
+
spec.add_development_dependency "bundler"
|
24
|
+
spec.add_development_dependency "rake"
|
25
|
+
spec.add_development_dependency "rake-compiler"
|
26
|
+
spec.add_development_dependency "rspec"
|
27
|
+
spec.add_development_dependency "pry"
|
28
|
+
end
|
metadata
ADDED
@@ -0,0 +1,162 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: stomp_parser
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kim Burgestrand
|
8
|
+
- Jonas Nicklas
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-02-11 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bundler
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - '>='
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
21
|
+
requirement: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - '>='
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '0'
|
26
|
+
prerelease: false
|
27
|
+
type: :development
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rake
|
30
|
+
version_requirements: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - '>='
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
prerelease: false
|
41
|
+
type: :development
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: rake-compiler
|
44
|
+
version_requirements: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - '>='
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
prerelease: false
|
55
|
+
type: :development
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rspec
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - '>='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
prerelease: false
|
69
|
+
type: :development
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: pry
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - '>='
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
prerelease: false
|
83
|
+
type: :development
|
84
|
+
description:
|
85
|
+
email:
|
86
|
+
- kim@burgestrand.se
|
87
|
+
- jonas.nicklas@gmail.com
|
88
|
+
executables: []
|
89
|
+
extensions:
|
90
|
+
- ext/stomp_parser/extconf.rb
|
91
|
+
extra_rdoc_files: []
|
92
|
+
files:
|
93
|
+
- .gitignore
|
94
|
+
- .rspec
|
95
|
+
- .travis.yml
|
96
|
+
- Brewfile
|
97
|
+
- Gemfile
|
98
|
+
- MIT-LICENSE.txt
|
99
|
+
- README.md
|
100
|
+
- Rakefile
|
101
|
+
- ext/java/stomp_parser/JavaParser.java.rl
|
102
|
+
- ext/java/stomp_parser/JavaParserService.java
|
103
|
+
- ext/stomp_parser/c_parser.c
|
104
|
+
- ext/stomp_parser/c_parser.c.rl
|
105
|
+
- ext/stomp_parser/extconf.rb
|
106
|
+
- lib/stomp_parser.rb
|
107
|
+
- lib/stomp_parser/error.rb
|
108
|
+
- lib/stomp_parser/frame.rb
|
109
|
+
- lib/stomp_parser/ruby_parser.rb
|
110
|
+
- lib/stomp_parser/ruby_parser.rb.rl
|
111
|
+
- lib/stomp_parser/version.rb
|
112
|
+
- parser_common.rl
|
113
|
+
- spec/bench_helper.rb
|
114
|
+
- spec/benchmarks/message_bench.rb
|
115
|
+
- spec/benchmarks/parser_bench.rb
|
116
|
+
- spec/profile.rb
|
117
|
+
- spec/profile/.gitkeep
|
118
|
+
- spec/spec_helper.rb
|
119
|
+
- spec/stomp_parser/c_parser_spec.rb
|
120
|
+
- spec/stomp_parser/java_parser_spec.rb
|
121
|
+
- spec/stomp_parser/message_spec.rb
|
122
|
+
- spec/stomp_parser/ruby_parser_spec.rb
|
123
|
+
- spec/stomp_parser_spec.rb
|
124
|
+
- spec/support/shared_parser_examples.rb
|
125
|
+
- stomp_parser.gemspec
|
126
|
+
homepage: https://github.com/stompede/stomp_parser
|
127
|
+
licenses:
|
128
|
+
- MIT
|
129
|
+
metadata: {}
|
130
|
+
post_install_message:
|
131
|
+
rdoc_options: []
|
132
|
+
require_paths:
|
133
|
+
- lib
|
134
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - '>='
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
requirements: []
|
145
|
+
rubyforge_project:
|
146
|
+
rubygems_version: 2.2.1
|
147
|
+
signing_key:
|
148
|
+
specification_version: 4
|
149
|
+
summary: STOMP frame parser.
|
150
|
+
test_files:
|
151
|
+
- spec/bench_helper.rb
|
152
|
+
- spec/benchmarks/message_bench.rb
|
153
|
+
- spec/benchmarks/parser_bench.rb
|
154
|
+
- spec/profile.rb
|
155
|
+
- spec/profile/.gitkeep
|
156
|
+
- spec/spec_helper.rb
|
157
|
+
- spec/stomp_parser/c_parser_spec.rb
|
158
|
+
- spec/stomp_parser/java_parser_spec.rb
|
159
|
+
- spec/stomp_parser/message_spec.rb
|
160
|
+
- spec/stomp_parser/ruby_parser_spec.rb
|
161
|
+
- spec/stomp_parser_spec.rb
|
162
|
+
- spec/support/shared_parser_examples.rb
|