smalruby-editor 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of smalruby-editor might be problematic. Click here for more details.

Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.rdoc +16 -1
  3. data/app/assets/javascripts/blocks/character.js.coffee.erb +8 -1
  4. data/app/assets/javascripts/blocks/hardware.js.coffee.erb +59 -7
  5. data/app/assets/javascripts/blocks/motion.js.coffee.erb +1 -2
  6. data/app/assets/javascripts/models/character.js.coffee +27 -0
  7. data/app/assets/javascripts/smalruby.js.coffee +4 -0
  8. data/app/assets/javascripts/views/character_modal_view.js.coffee +22 -1
  9. data/app/assets/javascripts/views/character_selector_view.js.coffee +7 -6
  10. data/app/assets/stylesheets/application.css +8 -0
  11. data/app/assets/stylesheets/editor.css.scss +15 -5
  12. data/app/controllers/application_controller.rb +4 -7
  13. data/app/models/concerns/ruby_to_block/block/character.rb +14 -6
  14. data/app/models/concerns/ruby_to_block/block/hardware_two_wheel_drive_car.rb +1 -1
  15. data/app/models/concerns/ruby_to_block/block/hardware_two_wheel_drive_car_commands.rb +15 -0
  16. data/app/models/concerns/ruby_to_block/block/hardware_two_wheel_drive_car_run.rb +19 -0
  17. data/app/models/concerns/ruby_to_block/block/motion_set_x.rb +1 -24
  18. data/app/models/concerns/ruby_to_block/block/motion_set_x_y.rb +21 -0
  19. data/app/models/source_code.rb +9 -6
  20. data/app/views/editor/_block_tab.html.haml +3 -1
  21. data/app/views/editor/_character_modal.html.haml +14 -5
  22. data/app/views/editor/_toolbox.html.haml +91 -78
  23. data/bin/smalruby-editor +15 -0
  24. data/lib/smalruby_editor/version.rb +1 -1
  25. data/lib/smalruby_editor.rb +39 -4
  26. data/public/assets/{application-51ab300acd1779bfba20b099e7000b7e.css → application-7f560d8d6d224f87269691c57ca9a376.css} +23 -9
  27. data/public/assets/{application-51ab300acd1779bfba20b099e7000b7e.css.gz → application-7f560d8d6d224f87269691c57ca9a376.css.gz} +0 -0
  28. data/public/assets/{application-dc485e2270d6c5fce20c149d1e2c4f8d.js → application-842ac8f5aa3fcc87bbb0e8b3a0fef5d7.js} +148 -21
  29. data/public/assets/{application-dc485e2270d6c5fce20c149d1e2c4f8d.js.gz → application-842ac8f5aa3fcc87bbb0e8b3a0fef5d7.js.gz} +0 -0
  30. data/public/assets/manifest-332a5a1668194028b55103e0ea45c054.json +1 -1
  31. data/smalruby-editor.gemspec +1 -1
  32. data/spec/acceptance/block_mode/blocks/motion/set_x_y.feature +2 -4
  33. data/spec/lib/smalruby_editor_spec.rb +12 -0
  34. data/spec/models/concerns/ruby_to_block/block/hardware_spec.rb +90 -10
  35. data/spec/models/concerns/ruby_to_block/block/motion_spec.rb +3 -6
  36. metadata +11 -8
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smalruby-editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouji Takao
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-01 00:00:00.000000000 Z
11
+ date: 2014-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - ~>
186
186
  - !ruby/object:Gem::Version
187
- version: 0.0.23
187
+ version: 0.0.25
188
188
  type: :runtime
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - ~>
193
193
  - !ruby/object:Gem::Version
194
- version: 0.0.23
194
+ version: 0.0.25
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: therubyracer
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -332,6 +332,8 @@ files:
332
332
  - app/models/concerns/ruby_to_block/block/hardware_rgb_led_on.rb
333
333
  - app/models/concerns/ruby_to_block/block/hardware_sensor_value.rb
334
334
  - app/models/concerns/ruby_to_block/block/hardware_two_wheel_drive_car.rb
335
+ - app/models/concerns/ruby_to_block/block/hardware_two_wheel_drive_car_commands.rb
336
+ - app/models/concerns/ruby_to_block/block/hardware_two_wheel_drive_car_run.rb
335
337
  - app/models/concerns/ruby_to_block/block/looks_hide.rb
336
338
  - app/models/concerns/ruby_to_block/block/looks_say.rb
337
339
  - app/models/concerns/ruby_to_block/block/looks_show.rb
@@ -350,6 +352,7 @@ files:
350
352
  - app/models/concerns/ruby_to_block/block/motion_self_y.rb
351
353
  - app/models/concerns/ruby_to_block/block/motion_set_angle.rb
352
354
  - app/models/concerns/ruby_to_block/block/motion_set_x.rb
355
+ - app/models/concerns/ruby_to_block/block/motion_set_x_y.rb
353
356
  - app/models/concerns/ruby_to_block/block/motion_set_y.rb
354
357
  - app/models/concerns/ruby_to_block/block/motion_turn.rb
355
358
  - app/models/concerns/ruby_to_block/block/motion_turn_if_reach_wall.rb
@@ -601,10 +604,10 @@ files:
601
604
  - vendor/assets/javascripts/blockly/msg/js/ja.js
602
605
  - vendor/assets/javascripts/jquery.blockUI.js
603
606
  - vendor/assets/stylesheets/.keep
604
- - public/assets/application-51ab300acd1779bfba20b099e7000b7e.css
605
- - public/assets/application-51ab300acd1779bfba20b099e7000b7e.css.gz
606
- - public/assets/application-dc485e2270d6c5fce20c149d1e2c4f8d.js
607
- - public/assets/application-dc485e2270d6c5fce20c149d1e2c4f8d.js.gz
607
+ - public/assets/application-7f560d8d6d224f87269691c57ca9a376.css
608
+ - public/assets/application-7f560d8d6d224f87269691c57ca9a376.css.gz
609
+ - public/assets/application-842ac8f5aa3fcc87bbb0e8b3a0fef5d7.js
610
+ - public/assets/application-842ac8f5aa3fcc87bbb0e8b3a0fef5d7.js.gz
608
611
  - public/assets/favicon-a37c90b368fd8ed436cb8f9e9396465c.ico
609
612
  - public/assets/jquery-ui/animated-overlay-c48c87b7a95316f4698484e3b85ee4aa.gif
610
613
  - public/assets/jquery-ui/ui-bg_flat_0_aaaaaa_40x100-58b63faadd031ca3db096dfdffd90224.png