nabaztag_hack_kit 0.0.3 → 0.1.0.alpha1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. data/.gitignore +2 -0
  2. data/.travis.yml +1 -1
  3. data/CHANGELOG.md +7 -1
  4. data/Rakefile +2 -17
  5. data/{ext/bytecode → bytecode}/Docs.md +2 -1
  6. data/bytecode/Rakefile +7 -0
  7. data/{bin → bytecode/bin}/mtl_comp +9 -0
  8. data/{bin → bytecode/bin}/mtl_merge +2 -2
  9. data/{bin → bytecode/bin}/mtl_simu +9 -0
  10. data/bytecode/lib/buffer.mtl +6 -0
  11. data/bytecode/lib/button.mtl +18 -12
  12. data/bytecode/lib/ear.mtl +3 -3
  13. data/bytecode/lib/led.mtl +1 -1
  14. data/bytecode/lib/ping.mtl +16 -0
  15. data/bytecode/lib/record.mtl +87 -0
  16. data/bytecode/lib/rfid.mtl +3 -21
  17. data/bytecode/main.mtl +86 -29
  18. data/{ext/bytecode → bytecode/src}/lib/http.mtl +15 -3
  19. data/{ext/bytecode → bytecode/src}/lib/udp.mtl +1 -1
  20. data/{ext/bytecode → bytecode/src}/lib/util.mtl +4 -1
  21. data/bytecode/src/lib/wav.mtl +223 -0
  22. data/{ext → bytecode/src}/mtl/README.md +2 -2
  23. data/{ext/bytecode → bytecode/src}/nominal-ping.mtl +123 -124
  24. data/{test/bytecode → bytecode/test}/native.mtl +11 -1
  25. data/{test/bytecode → bytecode/test}/test.mtl +3 -3
  26. data/examples/record/Gemfile +5 -0
  27. data/examples/record/config.ru.example +19 -0
  28. data/examples/record/server.rb +112 -0
  29. data/examples/simple/Gemfile +6 -0
  30. data/examples/simple/Procfile +3 -0
  31. data/{config.ru → examples/simple/config.ru} +3 -1
  32. data/lib/nabaztag_hack_kit/message/api.rb +8 -0
  33. data/lib/nabaztag_hack_kit/message/helper.rb +26 -2
  34. data/lib/nabaztag_hack_kit/message.rb +11 -5
  35. data/lib/nabaztag_hack_kit/public/index.html +5 -0
  36. data/lib/nabaztag_hack_kit/server.rb +54 -8
  37. data/lib/nabaztag_hack_kit/version.rb +1 -1
  38. data/nabaztag_hack_kit.gemspec +4 -3
  39. data/spec/integration/server_spec.rb +50 -0
  40. data/{test → spec}/spec_helper.rb +1 -1
  41. data/{test → spec}/unit/message_spec.rb +2 -2
  42. data/spec/unit/server_spec.rb +40 -0
  43. metadata +140 -119
  44. data/public/bytecode.bin +0 -0
  45. /data/{ext/bytecode → bytecode}/Commands.md +0 -0
  46. /data/{ext/bytecode → bytecode/src}/README.md +0 -0
  47. /data/{ext/bytecode → bytecode/src}/lib/arp.mtl +0 -0
  48. /data/{ext/bytecode → bytecode/src}/lib/cfg.mtl +0 -0
  49. /data/{ext/bytecode → bytecode/src}/lib/choreos.mtl +0 -0
  50. /data/{ext/bytecode → bytecode/src}/lib/dhcp.mtl +0 -0
  51. /data/{ext/bytecode → bytecode/src}/lib/dns.mtl +0 -0
  52. /data/{ext/bytecode → bytecode/src}/lib/tcp.mtl +0 -0
  53. /data/{ext/bytecode → bytecode/src}/lib/var.mtl +0 -0
  54. /data/{ext/bytecode → bytecode/src}/lib/wifi.mtl +0 -0
  55. /data/{ext → bytecode/src}/mtl/Makefile +0 -0
  56. /data/{ext → bytecode/src}/mtl/bc.cpp +0 -0
  57. /data/{ext → bytecode/src}/mtl/conf.bin.sans_password +0 -0
  58. /data/{ext → bytecode/src}/mtl/config.txt +0 -0
  59. /data/{ext → bytecode/src}/mtl/dumpbc.c +0 -0
  60. /data/{ext → bytecode/src}/mtl/extconf.rb +0 -0
  61. /data/{ext → bytecode/src}/mtl/linux_simu.c +0 -0
  62. /data/{ext → bytecode/src}/mtl/linux_simuaudio.c +0 -0
  63. /data/{ext → bytecode/src}/mtl/linux_simuaudio.h +0 -0
  64. /data/{ext → bytecode/src}/mtl/linux_simunet.c +0 -0
  65. /data/{ext → bytecode/src}/mtl/linux_simunet.h +0 -0
  66. /data/{ext → bytecode/src}/mtl/log.c +0 -0
  67. /data/{ext → bytecode/src}/mtl/log.h +0 -0
  68. /data/{ext → bytecode/src}/mtl/main_compiler.cpp +0 -0
  69. /data/{ext → bytecode/src}/mtl/main_simu.cpp +0 -0
  70. /data/{ext → bytecode/src}/mtl/mp3/GTKANAL.H +0 -0
  71. /data/{ext → bytecode/src}/mtl/mp3/LAYER3.C +0 -0
  72. /data/{ext → bytecode/src}/mtl/mp3/TABINIT.C +0 -0
  73. /data/{ext → bytecode/src}/mtl/mp3/common.c +0 -0
  74. /data/{ext → bytecode/src}/mtl/mp3/dct64_i386.c +0 -0
  75. /data/{ext → bytecode/src}/mtl/mp3/decode_i386.c +0 -0
  76. /data/{ext → bytecode/src}/mtl/mp3/huffman.h +0 -0
  77. /data/{ext → bytecode/src}/mtl/mp3/interface.c +0 -0
  78. /data/{ext → bytecode/src}/mtl/mp3/mpg123.h +0 -0
  79. /data/{ext → bytecode/src}/mtl/mp3/mpglib.h +0 -0
  80. /data/{ext → bytecode/src}/mtl/properties.c +0 -0
  81. /data/{ext → bytecode/src}/mtl/properties.h +0 -0
  82. /data/{ext → bytecode/src}/mtl/simu.c +0 -0
  83. /data/{ext → bytecode/src}/mtl/simuaudio.c +0 -0
  84. /data/{ext → bytecode/src}/mtl/simuaudio.h +0 -0
  85. /data/{ext → bytecode/src}/mtl/simunet.c +0 -0
  86. /data/{ext → bytecode/src}/mtl/simunet.h +0 -0
  87. /data/{ext → bytecode/src}/mtl/utils/correct_const.sh +0 -0
  88. /data/{ext → bytecode/src}/mtl/vaudio.c +0 -0
  89. /data/{ext → bytecode/src}/mtl/vaudio.h +0 -0
  90. /data/{ext → bytecode/src}/mtl/vbc.h +0 -0
  91. /data/{ext → bytecode/src}/mtl/vbc_str.h +0 -0
  92. /data/{ext → bytecode/src}/mtl/vcomp/Makefile +0 -0
  93. /data/{ext → bytecode/src}/mtl/vcomp/bootstrap.cpp +0 -0
  94. /data/{ext → bytecode/src}/mtl/vcomp/compiler.cpp +0 -0
  95. /data/{ext → bytecode/src}/mtl/vcomp/compiler.h +0 -0
  96. /data/{ext → bytecode/src}/mtl/vcomp/compiler_file.cpp +0 -0
  97. /data/{ext → bytecode/src}/mtl/vcomp/compiler_prog.cpp +0 -0
  98. /data/{ext → bytecode/src}/mtl/vcomp/compiler_term.cpp +0 -0
  99. /data/{ext → bytecode/src}/mtl/vcomp/compiler_type.cpp +0 -0
  100. /data/{ext → bytecode/src}/mtl/vcomp/compiler_var.cpp +0 -0
  101. /data/{ext → bytecode/src}/mtl/vcomp/file.cpp +0 -0
  102. /data/{ext → bytecode/src}/mtl/vcomp/file.h +0 -0
  103. /data/{ext → bytecode/src}/mtl/vcomp/filesystem.h +0 -0
  104. /data/{ext → bytecode/src}/mtl/vcomp/interpreter.cpp +0 -0
  105. /data/{ext → bytecode/src}/mtl/vcomp/interpreter.h +0 -0
  106. /data/{ext → bytecode/src}/mtl/vcomp/memory.cpp +0 -0
  107. /data/{ext → bytecode/src}/mtl/vcomp/memory.h +0 -0
  108. /data/{ext → bytecode/src}/mtl/vcomp/param.h +0 -0
  109. /data/{ext → bytecode/src}/mtl/vcomp/parser.cpp +0 -0
  110. /data/{ext → bytecode/src}/mtl/vcomp/parser.h +0 -0
  111. /data/{ext → bytecode/src}/mtl/vcomp/parser_xml.cpp +0 -0
  112. /data/{ext → bytecode/src}/mtl/vcomp/prodbuffer.cpp +0 -0
  113. /data/{ext → bytecode/src}/mtl/vcomp/prodbuffer.h +0 -0
  114. /data/{ext → bytecode/src}/mtl/vcomp/resource.h +0 -0
  115. /data/{ext → bytecode/src}/mtl/vcomp/stdlib_core.cpp +0 -0
  116. /data/{ext → bytecode/src}/mtl/vcomp/terminal.cpp +0 -0
  117. /data/{ext → bytecode/src}/mtl/vcomp/terminal.h +0 -0
  118. /data/{ext → bytecode/src}/mtl/vcomp/util.cpp +0 -0
  119. /data/{ext → bytecode/src}/mtl/vcomp/util.h +0 -0
  120. /data/{ext → bytecode/src}/mtl/vinterp.c +0 -0
  121. /data/{ext → bytecode/src}/mtl/vinterp.h +0 -0
  122. /data/{ext → bytecode/src}/mtl/vloader.c +0 -0
  123. /data/{ext → bytecode/src}/mtl/vloader.h +0 -0
  124. /data/{ext → bytecode/src}/mtl/vlog.c +0 -0
  125. /data/{ext → bytecode/src}/mtl/vlog.h +0 -0
  126. /data/{ext → bytecode/src}/mtl/vmem.c +0 -0
  127. /data/{ext → bytecode/src}/mtl/vmem.h +0 -0
  128. /data/{ext → bytecode/src}/mtl/vnet.c +0 -0
  129. /data/{ext → bytecode/src}/mtl/vnet.h +0 -0
  130. /data/{test/bytecode → bytecode/test}/helper.mtl +0 -0
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nabaztag_hack_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
5
- prerelease:
4
+ version: 0.1.0.alpha1
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - RngTng - Tobias Bielohlawek
9
9
  autorequire:
10
- bindir: bin
10
+ bindir: bytecode/bin
11
11
  cert_chain: []
12
- date: 2012-02-09 00:00:00.000000000Z
12
+ date: 2012-09-10 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sinatra
16
- requirement: &70260847353020 !ruby/object:Gem::Requirement
16
+ requirement: &70137719624480 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70260847353020
24
+ version_requirements: *70137719624480
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &70260847352500 !ruby/object:Gem::Requirement
27
+ requirement: &70137719623940 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70260847352500
35
+ version_requirements: *70137719623940
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &70260847376360 !ruby/object:Gem::Requirement
38
+ requirement: &70137719623480 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,18 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70260847376360
46
+ version_requirements: *70137719623480
47
+ - !ruby/object:Gem::Dependency
48
+ name: rack-test
49
+ requirement: &70137719623020 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *70137719623020
47
58
  description: Sinatra server api framework to run custom bytecode on Nabaztag v1/v2.
48
59
  Sources + Compiler included (linux only)
49
60
  email:
@@ -53,7 +64,7 @@ executables:
53
64
  - mtl_simu
54
65
  - mtl_merge
55
66
  extensions:
56
- - ext/mtl/extconf.rb
67
+ - bytecode/src/mtl/extconf.rb
57
68
  extra_rdoc_files: []
58
69
  files:
59
70
  - .gitignore
@@ -62,121 +73,132 @@ files:
62
73
  - Gemfile
63
74
  - README.md
64
75
  - Rakefile
65
- - bin/mtl_comp
66
- - bin/mtl_merge
67
- - bin/mtl_simu
76
+ - bytecode/Commands.md
77
+ - bytecode/Docs.md
78
+ - bytecode/Rakefile
79
+ - bytecode/bin/mtl_comp
80
+ - bytecode/bin/mtl_merge
81
+ - bytecode/bin/mtl_simu
68
82
  - bytecode/lib/buffer.mtl
69
83
  - bytecode/lib/button.mtl
70
84
  - bytecode/lib/data_helper.mtl
71
85
  - bytecode/lib/ear.mtl
72
86
  - bytecode/lib/led.mtl
87
+ - bytecode/lib/ping.mtl
88
+ - bytecode/lib/record.mtl
73
89
  - bytecode/lib/rfid.mtl
74
90
  - bytecode/main.mtl
75
- - config.ru
76
- - ext/bytecode/Commands.md
77
- - ext/bytecode/Docs.md
78
- - ext/bytecode/README.md
79
- - ext/bytecode/lib/arp.mtl
80
- - ext/bytecode/lib/cfg.mtl
81
- - ext/bytecode/lib/choreos.mtl
82
- - ext/bytecode/lib/dhcp.mtl
83
- - ext/bytecode/lib/dns.mtl
84
- - ext/bytecode/lib/http.mtl
85
- - ext/bytecode/lib/tcp.mtl
86
- - ext/bytecode/lib/udp.mtl
87
- - ext/bytecode/lib/util.mtl
88
- - ext/bytecode/lib/var.mtl
89
- - ext/bytecode/lib/wifi.mtl
90
- - ext/bytecode/nominal-ping.mtl
91
- - ext/mtl/Makefile
92
- - ext/mtl/README.md
93
- - ext/mtl/bc.cpp
94
- - ext/mtl/conf.bin.sans_password
95
- - ext/mtl/config.txt
96
- - ext/mtl/dumpbc.c
97
- - ext/mtl/extconf.rb
98
- - ext/mtl/linux_simu.c
99
- - ext/mtl/linux_simuaudio.c
100
- - ext/mtl/linux_simuaudio.h
101
- - ext/mtl/linux_simunet.c
102
- - ext/mtl/linux_simunet.h
103
- - ext/mtl/log.c
104
- - ext/mtl/log.h
105
- - ext/mtl/main_compiler.cpp
106
- - ext/mtl/main_simu.cpp
107
- - ext/mtl/mp3/GTKANAL.H
108
- - ext/mtl/mp3/LAYER3.C
109
- - ext/mtl/mp3/TABINIT.C
110
- - ext/mtl/mp3/common.c
111
- - ext/mtl/mp3/dct64_i386.c
112
- - ext/mtl/mp3/decode_i386.c
113
- - ext/mtl/mp3/huffman.h
114
- - ext/mtl/mp3/interface.c
115
- - ext/mtl/mp3/mpg123.h
116
- - ext/mtl/mp3/mpglib.h
117
- - ext/mtl/properties.c
118
- - ext/mtl/properties.h
119
- - ext/mtl/simu.c
120
- - ext/mtl/simuaudio.c
121
- - ext/mtl/simuaudio.h
122
- - ext/mtl/simunet.c
123
- - ext/mtl/simunet.h
124
- - ext/mtl/utils/correct_const.sh
125
- - ext/mtl/vaudio.c
126
- - ext/mtl/vaudio.h
127
- - ext/mtl/vbc.h
128
- - ext/mtl/vbc_str.h
129
- - ext/mtl/vcomp/Makefile
130
- - ext/mtl/vcomp/bootstrap.cpp
131
- - ext/mtl/vcomp/compiler.cpp
132
- - ext/mtl/vcomp/compiler.h
133
- - ext/mtl/vcomp/compiler_file.cpp
134
- - ext/mtl/vcomp/compiler_prog.cpp
135
- - ext/mtl/vcomp/compiler_term.cpp
136
- - ext/mtl/vcomp/compiler_type.cpp
137
- - ext/mtl/vcomp/compiler_var.cpp
138
- - ext/mtl/vcomp/file.cpp
139
- - ext/mtl/vcomp/file.h
140
- - ext/mtl/vcomp/filesystem.h
141
- - ext/mtl/vcomp/interpreter.cpp
142
- - ext/mtl/vcomp/interpreter.h
143
- - ext/mtl/vcomp/memory.cpp
144
- - ext/mtl/vcomp/memory.h
145
- - ext/mtl/vcomp/param.h
146
- - ext/mtl/vcomp/parser.cpp
147
- - ext/mtl/vcomp/parser.h
148
- - ext/mtl/vcomp/parser_xml.cpp
149
- - ext/mtl/vcomp/prodbuffer.cpp
150
- - ext/mtl/vcomp/prodbuffer.h
151
- - ext/mtl/vcomp/resource.h
152
- - ext/mtl/vcomp/stdlib_core.cpp
153
- - ext/mtl/vcomp/terminal.cpp
154
- - ext/mtl/vcomp/terminal.h
155
- - ext/mtl/vcomp/util.cpp
156
- - ext/mtl/vcomp/util.h
157
- - ext/mtl/vinterp.c
158
- - ext/mtl/vinterp.h
159
- - ext/mtl/vloader.c
160
- - ext/mtl/vloader.h
161
- - ext/mtl/vlog.c
162
- - ext/mtl/vlog.h
163
- - ext/mtl/vmem.c
164
- - ext/mtl/vmem.h
165
- - ext/mtl/vnet.c
166
- - ext/mtl/vnet.h
91
+ - bytecode/src/README.md
92
+ - bytecode/src/lib/arp.mtl
93
+ - bytecode/src/lib/cfg.mtl
94
+ - bytecode/src/lib/choreos.mtl
95
+ - bytecode/src/lib/dhcp.mtl
96
+ - bytecode/src/lib/dns.mtl
97
+ - bytecode/src/lib/http.mtl
98
+ - bytecode/src/lib/tcp.mtl
99
+ - bytecode/src/lib/udp.mtl
100
+ - bytecode/src/lib/util.mtl
101
+ - bytecode/src/lib/var.mtl
102
+ - bytecode/src/lib/wav.mtl
103
+ - bytecode/src/lib/wifi.mtl
104
+ - bytecode/src/mtl/Makefile
105
+ - bytecode/src/mtl/README.md
106
+ - bytecode/src/mtl/bc.cpp
107
+ - bytecode/src/mtl/conf.bin.sans_password
108
+ - bytecode/src/mtl/config.txt
109
+ - bytecode/src/mtl/dumpbc.c
110
+ - bytecode/src/mtl/extconf.rb
111
+ - bytecode/src/mtl/linux_simu.c
112
+ - bytecode/src/mtl/linux_simuaudio.c
113
+ - bytecode/src/mtl/linux_simuaudio.h
114
+ - bytecode/src/mtl/linux_simunet.c
115
+ - bytecode/src/mtl/linux_simunet.h
116
+ - bytecode/src/mtl/log.c
117
+ - bytecode/src/mtl/log.h
118
+ - bytecode/src/mtl/main_compiler.cpp
119
+ - bytecode/src/mtl/main_simu.cpp
120
+ - bytecode/src/mtl/mp3/GTKANAL.H
121
+ - bytecode/src/mtl/mp3/LAYER3.C
122
+ - bytecode/src/mtl/mp3/TABINIT.C
123
+ - bytecode/src/mtl/mp3/common.c
124
+ - bytecode/src/mtl/mp3/dct64_i386.c
125
+ - bytecode/src/mtl/mp3/decode_i386.c
126
+ - bytecode/src/mtl/mp3/huffman.h
127
+ - bytecode/src/mtl/mp3/interface.c
128
+ - bytecode/src/mtl/mp3/mpg123.h
129
+ - bytecode/src/mtl/mp3/mpglib.h
130
+ - bytecode/src/mtl/properties.c
131
+ - bytecode/src/mtl/properties.h
132
+ - bytecode/src/mtl/simu.c
133
+ - bytecode/src/mtl/simuaudio.c
134
+ - bytecode/src/mtl/simuaudio.h
135
+ - bytecode/src/mtl/simunet.c
136
+ - bytecode/src/mtl/simunet.h
137
+ - bytecode/src/mtl/utils/correct_const.sh
138
+ - bytecode/src/mtl/vaudio.c
139
+ - bytecode/src/mtl/vaudio.h
140
+ - bytecode/src/mtl/vbc.h
141
+ - bytecode/src/mtl/vbc_str.h
142
+ - bytecode/src/mtl/vcomp/Makefile
143
+ - bytecode/src/mtl/vcomp/bootstrap.cpp
144
+ - bytecode/src/mtl/vcomp/compiler.cpp
145
+ - bytecode/src/mtl/vcomp/compiler.h
146
+ - bytecode/src/mtl/vcomp/compiler_file.cpp
147
+ - bytecode/src/mtl/vcomp/compiler_prog.cpp
148
+ - bytecode/src/mtl/vcomp/compiler_term.cpp
149
+ - bytecode/src/mtl/vcomp/compiler_type.cpp
150
+ - bytecode/src/mtl/vcomp/compiler_var.cpp
151
+ - bytecode/src/mtl/vcomp/file.cpp
152
+ - bytecode/src/mtl/vcomp/file.h
153
+ - bytecode/src/mtl/vcomp/filesystem.h
154
+ - bytecode/src/mtl/vcomp/interpreter.cpp
155
+ - bytecode/src/mtl/vcomp/interpreter.h
156
+ - bytecode/src/mtl/vcomp/memory.cpp
157
+ - bytecode/src/mtl/vcomp/memory.h
158
+ - bytecode/src/mtl/vcomp/param.h
159
+ - bytecode/src/mtl/vcomp/parser.cpp
160
+ - bytecode/src/mtl/vcomp/parser.h
161
+ - bytecode/src/mtl/vcomp/parser_xml.cpp
162
+ - bytecode/src/mtl/vcomp/prodbuffer.cpp
163
+ - bytecode/src/mtl/vcomp/prodbuffer.h
164
+ - bytecode/src/mtl/vcomp/resource.h
165
+ - bytecode/src/mtl/vcomp/stdlib_core.cpp
166
+ - bytecode/src/mtl/vcomp/terminal.cpp
167
+ - bytecode/src/mtl/vcomp/terminal.h
168
+ - bytecode/src/mtl/vcomp/util.cpp
169
+ - bytecode/src/mtl/vcomp/util.h
170
+ - bytecode/src/mtl/vinterp.c
171
+ - bytecode/src/mtl/vinterp.h
172
+ - bytecode/src/mtl/vloader.c
173
+ - bytecode/src/mtl/vloader.h
174
+ - bytecode/src/mtl/vlog.c
175
+ - bytecode/src/mtl/vlog.h
176
+ - bytecode/src/mtl/vmem.c
177
+ - bytecode/src/mtl/vmem.h
178
+ - bytecode/src/mtl/vnet.c
179
+ - bytecode/src/mtl/vnet.h
180
+ - bytecode/src/nominal-ping.mtl
181
+ - bytecode/test/helper.mtl
182
+ - bytecode/test/native.mtl
183
+ - bytecode/test/test.mtl
184
+ - examples/record/Gemfile
185
+ - examples/record/config.ru.example
186
+ - examples/record/server.rb
187
+ - examples/simple/Gemfile
188
+ - examples/simple/Procfile
189
+ - examples/simple/config.ru
167
190
  - lib/nabaztag_hack_kit.rb
168
191
  - lib/nabaztag_hack_kit/message.rb
169
192
  - lib/nabaztag_hack_kit/message/api.rb
170
193
  - lib/nabaztag_hack_kit/message/helper.rb
194
+ - lib/nabaztag_hack_kit/public/index.html
171
195
  - lib/nabaztag_hack_kit/server.rb
172
196
  - lib/nabaztag_hack_kit/version.rb
173
197
  - nabaztag_hack_kit.gemspec
174
- - public/bytecode.bin
175
- - test/bytecode/helper.mtl
176
- - test/bytecode/native.mtl
177
- - test/bytecode/test.mtl
178
- - test/spec_helper.rb
179
- - test/unit/message_spec.rb
198
+ - spec/integration/server_spec.rb
199
+ - spec/spec_helper.rb
200
+ - spec/unit/message_spec.rb
201
+ - spec/unit/server_spec.rb
180
202
  homepage: https://github.com/rngtng/nabaztag_hack_kit
181
203
  licenses: []
182
204
  post_install_message:
@@ -192,9 +214,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
192
214
  required_rubygems_version: !ruby/object:Gem::Requirement
193
215
  none: false
194
216
  requirements:
195
- - - ! '>='
217
+ - - ! '>'
196
218
  - !ruby/object:Gem::Version
197
- version: '0'
219
+ version: 1.3.1
198
220
  requirements: []
199
221
  rubyforge_project:
200
222
  rubygems_version: 1.8.15
@@ -202,8 +224,7 @@ signing_key:
202
224
  specification_version: 3
203
225
  summary: Sinatra server to run custom Nabaztag bytecode
204
226
  test_files:
205
- - test/bytecode/helper.mtl
206
- - test/bytecode/native.mtl
207
- - test/bytecode/test.mtl
208
- - test/spec_helper.rb
209
- - test/unit/message_spec.rb
227
+ - spec/integration/server_spec.rb
228
+ - spec/spec_helper.rb
229
+ - spec/unit/message_spec.rb
230
+ - spec/unit/server_spec.rb
data/public/bytecode.bin DELETED
Binary file
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes