slow_blink 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/ext/slow_blink/ext_schema_parser/lexer.c +168 -177
  3. data/ext/slow_blink/ext_schema_parser/lexer.h +1 -1
  4. data/ext/slow_blink/ext_schema_parser/parser.c +303 -306
  5. data/ext/slow_blink/ext_schema_parser/parser.h +11 -12
  6. data/ext/slow_blink/{ext_compact_encoder → message/ext_compact_encoder}/ext_compact_encoder.c +3 -1
  7. data/ext/slow_blink/message/ext_compact_encoder/extconf.rb +4 -0
  8. data/lib/slow_blink/error.rb +1 -1
  9. data/lib/slow_blink/message/binary.rb +19 -26
  10. data/lib/slow_blink/message/boolean.rb +17 -17
  11. data/lib/slow_blink/message/date.rb +24 -0
  12. data/lib/slow_blink/message/decimal.rb +34 -0
  13. data/lib/slow_blink/message/enumeration.rb +24 -23
  14. data/lib/slow_blink/message/field.rb +45 -6
  15. data/lib/slow_blink/message/fixed.rb +35 -25
  16. data/lib/slow_blink/message/floating_point.rb +16 -17
  17. data/lib/slow_blink/message/group.rb +242 -136
  18. data/lib/slow_blink/message/integer.rb +77 -51
  19. data/lib/slow_blink/message/model.rb +121 -85
  20. data/lib/slow_blink/message/sequence.rb +43 -28
  21. data/lib/slow_blink/message/string.rb +17 -31
  22. data/lib/slow_blink/message/time.rb +55 -17
  23. data/lib/slow_blink/message/time_of_day.rb +40 -50
  24. data/lib/slow_blink/schema.rb +17 -6
  25. data/lib/slow_blink/version.rb +1 -1
  26. data/rakefile +12 -7
  27. data/test/tc_incr_annote.rb +16 -0
  28. data/test/tc_inputs.rb +2 -2
  29. data/test/tc_model_dynamic_group.rb +105 -0
  30. data/test/tc_model_extension.rb +143 -0
  31. data/test/tc_model_static_group.rb +27 -36
  32. data/test/tc_model_think_blink.rb +18 -35
  33. metadata +12 -9
  34. data/ext/slow_blink/ext_compact_encoder/extconf.rb +0 -4
  35. /data/ext/slow_blink/{ext_compact_encoder → message/ext_compact_encoder}/compact_encoder.c +0 -0
  36. /data/ext/slow_blink/{ext_compact_encoder → message/ext_compact_encoder}/compact_encoder.h +0 -0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slow_blink
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Harper
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-08 00:00:00.000000000 Z
11
+ date: 2016-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler
@@ -57,19 +57,19 @@ email: contact@cjh.id.au
57
57
  executables: []
58
58
  extensions:
59
59
  - ext/slow_blink/ext_schema_parser/extconf.rb
60
- - ext/slow_blink/ext_compact_encoder/extconf.rb
60
+ - ext/slow_blink/message/ext_compact_encoder/extconf.rb
61
61
  extra_rdoc_files: []
62
62
  files:
63
- - ext/slow_blink/ext_compact_encoder/compact_encoder.c
64
- - ext/slow_blink/ext_compact_encoder/compact_encoder.h
65
- - ext/slow_blink/ext_compact_encoder/ext_compact_encoder.c
66
- - ext/slow_blink/ext_compact_encoder/extconf.rb
67
63
  - ext/slow_blink/ext_schema_parser/common.h
68
64
  - ext/slow_blink/ext_schema_parser/extconf.rb
69
65
  - ext/slow_blink/ext_schema_parser/lexer.c
70
66
  - ext/slow_blink/ext_schema_parser/lexer.h
71
67
  - ext/slow_blink/ext_schema_parser/parser.c
72
68
  - ext/slow_blink/ext_schema_parser/parser.h
69
+ - ext/slow_blink/message/ext_compact_encoder/compact_encoder.c
70
+ - ext/slow_blink/message/ext_compact_encoder/compact_encoder.h
71
+ - ext/slow_blink/message/ext_compact_encoder/ext_compact_encoder.c
72
+ - ext/slow_blink/message/ext_compact_encoder/extconf.rb
73
73
  - lib/slow_blink.rb
74
74
  - lib/slow_blink/annotatable.rb
75
75
  - lib/slow_blink/annotation.rb
@@ -123,6 +123,8 @@ files:
123
123
  - test/tc_group.rb
124
124
  - test/tc_incr_annote.rb
125
125
  - test/tc_inputs.rb
126
+ - test/tc_model_dynamic_group.rb
127
+ - test/tc_model_extension.rb
126
128
  - test/tc_model_static_group.rb
127
129
  - test/tc_model_think_blink.rb
128
130
  - test/tc_namespace.rb
@@ -147,12 +149,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
149
  version: '0'
148
150
  requirements: []
149
151
  rubyforge_project:
150
- rubygems_version: 2.5.1
152
+ rubygems_version: 2.4.8
151
153
  signing_key:
152
154
  specification_version: 4
153
155
  summary: Blink Protocol in Ruby
154
156
  test_files:
155
157
  - test/tc_model_static_group.rb
158
+ - test/tc_model_extension.rb
156
159
  - test/tc_compact_encoder.rb
157
160
  - test/tc_group.rb
158
161
  - test/tc_inputs.rb
@@ -161,5 +164,5 @@ test_files:
161
164
  - test/capture_stderr.rb
162
165
  - test/tc_model_think_blink.rb
163
166
  - test/tc_field.rb
167
+ - test/tc_model_dynamic_group.rb
164
168
  - test/tc_incr_annote.rb
165
- has_rdoc: yard
@@ -1,4 +0,0 @@
1
- require 'mkmf'
2
- $CFLAGS += " -std=c99"
3
- create_makefile('slow_blink/ext_compact_encoder')
4
-