smalruby-editor 0.1.8-x86-mingw32 → 0.1.9-x86-mingw32
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a71e149c5f62f378bbbfdb58399d9039525b821
|
4
|
+
data.tar.gz: e3c39a3301fdd03ee74ca1dff78a04b8769c3535
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c154c424917d62e284b900b4bd840122cc5399f75672beb819d5d9139bf9d875a4681c7fefcf9d5edb62dd35d3da85f778dc98188bb3d58c08968967911a99af
|
7
|
+
data.tar.gz: 562e03f15dcb86c75096a8509881aa559f66edf3ce35178b10ddf0bb596dcaa896e996ea25e1f2bfa0ba481a92327f09ee5584452beb0aa9baf0d9bb8baa0049
|
@@ -24,12 +24,12 @@ class SourceCodesController < ApplicationController
|
|
24
24
|
# TODO: XMLから情報を抽出する
|
25
25
|
res[:demoPrograms] << {
|
26
26
|
title: '車のおいかけっこ',
|
27
|
-
filename: '
|
27
|
+
filename: 'car_chase.rb',
|
28
28
|
imageUrl: '/smalruby/assets/car2.png',
|
29
29
|
}
|
30
30
|
res[:demoPrograms] << {
|
31
31
|
title: 'ライトをぴかっとさせるでよ',
|
32
|
-
filename: '
|
32
|
+
filename: 'hardware_led.rb',
|
33
33
|
imageUrl: '/smalruby/assets/frog1.png',
|
34
34
|
}
|
35
35
|
|
@@ -6,10 +6,8 @@
|
|
6
6
|
data = $('<div>').html(data).text();
|
7
7
|
Smalruby.loadXml(data);
|
8
8
|
|
9
|
-
|
10
|
-
var filename = $('<div>').html('<%= escape_javascript(@filename.sub(/\.xml$/, '.rb')) %>').text();
|
9
|
+
var filename = $('<div>').html('<%= escape_javascript(@filename.sub(/\.rb\.xml$/, '.rb')) %>').text();
|
11
10
|
$('#filename').val(filename)
|
12
|
-
<% end %>
|
13
11
|
|
14
12
|
window.changed = false;
|
15
13
|
});
|
data/config/routes.rb
CHANGED
@@ -3,7 +3,7 @@ SmalrubyEditor::Application.routes.draw do
|
|
3
3
|
root 'editor#index'
|
4
4
|
|
5
5
|
match '/demo(/:filename)' => 'editor#demo',
|
6
|
-
defaults: { filename: '
|
6
|
+
defaults: { filename: 'car_chase' }, via: :get
|
7
7
|
|
8
8
|
resources :source_codes, only: [:create, :index]
|
9
9
|
post 'source_codes/check'
|
data/smalruby-editor.gemspec
CHANGED
@@ -68,7 +68,7 @@ Gem::Specification.new do |spec|
|
|
68
68
|
['launchy'],
|
69
69
|
['mime-types', '~> 1.16'],
|
70
70
|
['haml-rails'],
|
71
|
-
['smalruby', '~> 0.0.
|
71
|
+
['smalruby', '~> 0.0.16'],
|
72
72
|
]
|
73
73
|
runtime_dependencies << ['therubyracer'] unless is_windows
|
74
74
|
runtime_dependencies.each do |args|
|
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.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: x86-mingw32
|
6
6
|
authors:
|
7
7
|
- Kouji Takao
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-29 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.
|
187
|
+
version: 0.0.16
|
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.
|
194
|
+
version: 0.0.16
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: bundler
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -389,7 +389,8 @@ files:
|
|
389
389
|
- db/migrate/20131219045113_add_filename_to_source_code.rb
|
390
390
|
- db/schema.rb
|
391
391
|
- db/seeds.rb
|
392
|
-
- demos/
|
392
|
+
- demos/car_chase.rb.xml
|
393
|
+
- demos/hardware_led.rb.xml
|
393
394
|
- demos/rgb_led_anode.rb.xml
|
394
395
|
- lib/assets/.keep
|
395
396
|
- lib/smalruby_editor.rb
|
@@ -574,8 +575,8 @@ files:
|
|
574
575
|
- vendor/assets/stylesheets/.keep
|
575
576
|
- public/assets/application-3ee566927dc437f1406e5e903da1baf5.js
|
576
577
|
- public/assets/application-3ee566927dc437f1406e5e903da1baf5.js.gz
|
577
|
-
- public/assets/application-
|
578
|
-
- public/assets/application-
|
578
|
+
- public/assets/application-53d651da3309caa498cc0ca6616dbead.css
|
579
|
+
- public/assets/application-53d651da3309caa498cc0ca6616dbead.css.gz
|
579
580
|
- public/assets/favicon-a37c90b368fd8ed436cb8f9e9396465c.ico
|
580
581
|
- public/assets/jquery-ui/animated-overlay-c48c87b7a95316f4698484e3b85ee4aa.gif
|
581
582
|
- public/assets/jquery-ui/ui-bg_flat_0_aaaaaa_40x100-58b63faadd031ca3db096dfdffd90224.png
|