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: edec97ac558b50d9f8a584877c28f7eb47cfd540
4
- data.tar.gz: 8f01ea062d5bc69b15473dea885ac0465681c8e6
3
+ metadata.gz: 0a71e149c5f62f378bbbfdb58399d9039525b821
4
+ data.tar.gz: e3c39a3301fdd03ee74ca1dff78a04b8769c3535
5
5
  SHA512:
6
- metadata.gz: 9f02262b6d649a6596a54b2a239e47b2707430934c50303e253b6850c798c72653b829984ba73ad319faa72f609c83d53b00d7ee11a42dffb540a45b39b0d71d
7
- data.tar.gz: edd6604201dd45e0ca641d1b6a17e223dcb6e380c0f52598e67d9c690cebddbd311bfeecba183e22225c0907c9f5983cf14cf6712e5c8d2f886a7ed7fdecb0ba
6
+ metadata.gz: c154c424917d62e284b900b4bd840122cc5399f75672beb819d5d9139bf9d875a4681c7fefcf9d5edb62dd35d3da85f778dc98188bb3d58c08968967911a99af
7
+ data.tar.gz: 562e03f15dcb86c75096a8509881aa559f66edf3ce35178b10ddf0bb596dcaa896e996ea25e1f2bfa0ba481a92327f09ee5584452beb0aa9baf0d9bb8baa0049
@@ -4,6 +4,6 @@ class EditorController < ApplicationController
4
4
  end
5
5
 
6
6
  def demo
7
- @filename = (File.basename(params[:filename]) || 'default') + '.rb.xml'
7
+ @filename = (File.basename(params[:filename]) || 'car_chase') + '.rb.xml'
8
8
  end
9
9
  end
@@ -24,12 +24,12 @@ class SourceCodesController < ApplicationController
24
24
  # TODO: XMLから情報を抽出する
25
25
  res[:demoPrograms] << {
26
26
  title: '車のおいかけっこ',
27
- filename: 'default.rb',
27
+ filename: 'car_chase.rb',
28
28
  imageUrl: '/smalruby/assets/car2.png',
29
29
  }
30
30
  res[:demoPrograms] << {
31
31
  title: 'ライトをぴかっとさせるでよ',
32
- filename: 'rgb_led_anode.rb',
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
- <% if @filename != 'default.xml' %>
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: 'default' }, via: :get
6
+ defaults: { filename: 'car_chase' }, via: :get
7
7
 
8
8
  resources :source_codes, only: [:create, :index]
9
9
  post 'source_codes/check'
@@ -1,3 +1,3 @@
1
1
  module SmalrubyEditor
2
- VERSION = '0.1.8'
2
+ VERSION = '0.1.9'
3
3
  end
@@ -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.15'],
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.8
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-04 00:00:00.000000000 Z
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.15
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.15
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/default.rb.xml
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-5f1777e683ca5d3cf4e0f0374eab6fac.css
578
- - public/assets/application-5f1777e683ca5d3cf4e0f0374eab6fac.css.gz
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