smalruby-editor 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27f4c696fc7ebd2507f3025d757ac3a956eb3e10
4
- data.tar.gz: 70aec400f0cb75231ab0d19b5250eecab9e64ae5
3
+ metadata.gz: e32a4f92483da4f7d18125220f03f6b492fc1ec0
4
+ data.tar.gz: c6d2caea92f02913e83821b4fcfcdd7021d310fb
5
5
  SHA512:
6
- metadata.gz: 8d2a30f76ea5fbed2ffaf37b38c359641ac148d9a9d73e5bd3aff095eb50beff67a25204fad4d5e895604e5cc13345aadc85255fa7004384dbfc22d764380e93
7
- data.tar.gz: 50ba103b5055f534b8b816ee4d2805f117ec88a3939265844fab51d2f3c15a5e5b1a73c48a039e5ce8731ff19130c9a94c6de7cb3cafa3e2de011efa7686d8d3
6
+ metadata.gz: de31ab2597b992a34657ff7a19cf2cb1d9d93ac66ca70b5d28b3c56159efca7df773f23e9523e78d5df3b434adcab9115276481c6d5611b2f2642a24a80351e3
7
+ data.tar.gz: ef2aa538de9d558d9a893f6f1a32d16657b110b4e187cff4c67a815569e696f8b55ad667cea024de9458126168bb84fd43a9da8a238b9ce214517af526782e5f
data/bin/smalruby-editor CHANGED
@@ -50,9 +50,6 @@ module Rails
50
50
  launchy = Launchy.open(uri) do |exception|
51
51
  puts "Attempted to open #{uri} and failed because #{exception}"
52
52
  end
53
- if launchy.respond_to?(:join)
54
- launchy.join
55
- end
56
53
 
57
54
  super
58
55
  ensure
@@ -1,3 +1,3 @@
1
1
  module SmalrubyEditor
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
3
3
  end
@@ -0,0 +1 @@
1
+ {"files":{"favicon-c7ae857bb9d06de8742ae2d337157e83.ico":{"logical_path":"favicon.ico","mtime":"2013-11-25T21:05:22+09:00","size":16398,"digest":"c7ae857bb9d06de8742ae2d337157e83"},"application-759ce4d1ac1e0e3991e6d350c8f98fc5.js":{"logical_path":"application.js","mtime":"2014-01-05T21:46:48+09:00","size":600971,"digest":"759ce4d1ac1e0e3991e6d350c8f98fc5"},"application-f51ea0e777d97f12a8ce84308f31eb57.css":{"logical_path":"application.css","mtime":"2013-12-24T10:25:38+09:00","size":104182,"digest":"f51ea0e777d97f12a8ce84308f31eb57"},"loading-e8e6dd7833131c92a6c3b9c8ccc6a6ac.gif":{"logical_path":"loading.gif","mtime":"2014-01-03T14:44:55+09:00","size":3897,"digest":"e8e6dd7833131c92a6c3b9c8ccc6a6ac"},"progressbar-82023a146fba2a0f6d925629ed2b09c5.gif":{"logical_path":"progressbar.gif","mtime":"2014-01-03T14:44:55+09:00","size":3323,"digest":"82023a146fba2a0f6d925629ed2b09c5"}},"assets":{"favicon.ico":"favicon-c7ae857bb9d06de8742ae2d337157e83.ico","application.js":"application-759ce4d1ac1e0e3991e6d350c8f98fc5.js","application.css":"application-f51ea0e777d97f12a8ce84308f31eb57.css","loading.gif":"loading-e8e6dd7833131c92a6c3b9c8ccc6a6ac.gif","progressbar.gif":"progressbar-82023a146fba2a0f6d925629ed2b09c5.gif"}}
@@ -1,31 +1,58 @@
1
1
  # coding: utf-8
2
+ require 'english'
3
+
2
4
  lib = File.expand_path('../lib', __FILE__)
3
5
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
6
  require 'smalruby_editor/version'
5
7
 
6
8
  Gem::Specification.new do |spec|
9
+ platform = ENV['GEM_PLATFORM'] || Gem::Platform.local.to_s
10
+ is_windows = /windows|mingw|cygwin/i.match(platform)
11
+
7
12
  spec.name = 'smalruby-editor'
13
+ spec.platform = platform if is_windows
8
14
  spec.version = SmalrubyEditor::VERSION
9
15
 
10
16
  spec.authors = ['Kouji Takao']
11
17
  spec.email = ['kouji.takao@gmail.com']
12
- spec.description = %q{The smalruby-editor is a visual programming editor that can create a Ruby script by combining individual blocks similar to Scratch. It can also enter the program as better than Scratch.}
18
+ spec.description =
19
+ 'The smalruby-editor is a visual programming editor that can create a' \
20
+ 'Ruby script by combining individual blocks similar to Scratch. It can' \
21
+ ' also enter the program as better than Scratch.'
13
22
  spec.summary = %q{A visual programming editor.}
14
23
  spec.homepage = 'https://github.com/smalruby/smalruby-editor'
15
24
  spec.license = 'MIT'
16
25
 
17
26
  spec.files = []
18
27
  if File.exist?(File.expand_path('../.git', __FILE__))
19
- spec.files += `git ls-files`.split($/)
28
+ spec.files += `git ls-files`.split($INPUT_RECORD_SEPARATOR)
20
29
  spec.files -= ['Gemfile', 'Gemfile.lock']
21
30
  end
22
31
  spec.files += Dir.glob('public/assets/**/*')
23
32
  spec.default_executable = 'smalruby-editor'
24
33
  spec.executables = ['smalruby-editor']
25
- spec.extra_rdoc_files = ["README.rdoc", "LICENSE"]
26
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
34
+ spec.extra_rdoc_files = ['README.rdoc', 'LICENSE']
35
+ spec.test_files = spec.files.grep(/^(test|spec|features)\//)
27
36
  spec.require_paths = ['lib']
28
- spec.rdoc_options = ["--title", "Smalruby Editor -- A visual programming editor", "--line-numbers", "--main", "README", "--exclude", "app", "--exclude", "bin", "--exclude", "config", "--exclude", "db", "--exclude", "features", "--exclude", "lib", "--exclude", "log", "--exclude", "pkg", "--exclude", "public", "--exclude", "script", "--exclude", "spec", "--exclude", "test", "--exclude", "tmp", "--exclude", "vendor"]
37
+ spec.rdoc_options = %(
38
+ --title Smalruby\ Editor\ --\ A\ visual\ programming\ editor
39
+ --line-numbers
40
+ --main README
41
+ --exclude app
42
+ --exclude bin
43
+ --exclude config
44
+ --exclude db
45
+ --exclude features
46
+ --exclude lib
47
+ --exclude log
48
+ --exclude pkg
49
+ --exclude public
50
+ --exclude script
51
+ --exclude spec
52
+ --exclude test
53
+ --exclude tmp
54
+ --exclude vendor
55
+ )
29
56
 
30
57
  runtime_dependencies =
31
58
  [
@@ -42,9 +69,11 @@ Gem::Specification.new do |spec|
42
69
  ['jquery-fileupload-rails'],
43
70
  ['shared-mime-info'],
44
71
  ['launchy'],
72
+ ['mime-types', '~> 1.16'],
45
73
  ]
74
+ runtime_dependencies << ['therubyracer'] unless is_windows
46
75
  runtime_dependencies.each do |args|
47
- spec.add_runtime_dependency *args
76
+ spec.add_runtime_dependency(*args)
48
77
  end
49
78
 
50
79
  spec.add_development_dependency 'bundler', '~> 1.3'
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.0.7
4
+ version: 0.0.8
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-01-05 00:00:00.000000000 Z
11
+ date: 2014-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -192,6 +192,34 @@ dependencies:
192
192
  - - '>='
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: mime-types
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ~>
200
+ - !ruby/object:Gem::Version
201
+ version: '1.16'
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ~>
207
+ - !ruby/object:Gem::Version
208
+ version: '1.16'
209
+ - !ruby/object:Gem::Dependency
210
+ name: therubyracer
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - '>='
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :runtime
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - '>='
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
195
223
  - !ruby/object:Gem::Dependency
196
224
  name: bundler
197
225
  requirement: !ruby/object:Gem::Requirement
@@ -220,9 +248,9 @@ dependencies:
220
248
  - - '>='
221
249
  - !ruby/object:Gem::Version
222
250
  version: '0'
223
- description: The smalruby-editor is a visual programming editor that can create a
224
- Ruby script by combining individual blocks similar to Scratch. It can also enter
225
- the program as better than Scratch.
251
+ description: The smalruby-editor is a visual programming editor that can create aRuby
252
+ script by combining individual blocks similar to Scratch. It can also enter the
253
+ program as better than Scratch.
226
254
  email:
227
255
  - kouji.takao@gmail.com
228
256
  executables:
@@ -338,7 +366,7 @@ files:
338
366
  - public/assets/application-f51ea0e777d97f12a8ce84308f31eb57.css.gz
339
367
  - public/assets/favicon-c7ae857bb9d06de8742ae2d337157e83.ico
340
368
  - public/assets/loading-e8e6dd7833131c92a6c3b9c8ccc6a6ac.gif
341
- - public/assets/manifest-3e334cebc159781a2b475049ad366f6a.json
369
+ - public/assets/manifest-f86249f9779f8f4d7c8fc148e4361b4f.json
342
370
  - public/assets/progressbar-82023a146fba2a0f6d925629ed2b09c5.gif
343
371
  homepage: https://github.com/smalruby/smalruby-editor
344
372
  licenses:
@@ -346,39 +374,11 @@ licenses:
346
374
  metadata: {}
347
375
  post_install_message:
348
376
  rdoc_options:
349
- - --title
350
- - Smalruby Editor -- A visual programming editor
351
- - --line-numbers
352
- - --main
353
- - README
354
- - --exclude
355
- - app
356
- - --exclude
357
- - bin
358
- - --exclude
359
- - config
360
- - --exclude
361
- - db
362
- - --exclude
363
- - features
364
- - --exclude
365
- - lib
366
- - --exclude
367
- - log
368
- - --exclude
369
- - pkg
370
- - --exclude
371
- - public
372
- - --exclude
373
- - script
374
- - --exclude
375
- - spec
376
- - --exclude
377
- - test
378
- - --exclude
379
- - tmp
380
- - --exclude
381
- - vendor
377
+ - "\n --title Smalruby Editor -- A visual programming editor\n --line-numbers\n
378
+ \ --main README\n --exclude app\n --exclude bin\n --exclude config\n
379
+ \ --exclude db\n --exclude features\n --exclude lib\n --exclude log\n
380
+ \ --exclude pkg\n --exclude public\n --exclude script\n --exclude spec\n
381
+ \ --exclude test\n --exclude tmp\n --exclude vendor\n "
382
382
  require_paths:
383
383
  - lib
384
384
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -1 +0,0 @@
1
- {"files":{"favicon-c7ae857bb9d06de8742ae2d337157e83.ico":{"logical_path":"favicon.ico","mtime":"2013-11-25T21:05:22+09:00","size":16398,"digest":"c7ae857bb9d06de8742ae2d337157e83"},"application-22f56c5cafd2d6c0cc06c8b3d3780a02.js":{"logical_path":"application.js","mtime":"2014-01-05T02:11:01+09:00","size":599094,"digest":"22f56c5cafd2d6c0cc06c8b3d3780a02"},"application-f51ea0e777d97f12a8ce84308f31eb57.css":{"logical_path":"application.css","mtime":"2013-12-24T10:25:38+09:00","size":104182,"digest":"f51ea0e777d97f12a8ce84308f31eb57"},"loading-e8e6dd7833131c92a6c3b9c8ccc6a6ac.gif":{"logical_path":"loading.gif","mtime":"2014-01-03T14:44:55+09:00","size":3897,"digest":"e8e6dd7833131c92a6c3b9c8ccc6a6ac"},"progressbar-82023a146fba2a0f6d925629ed2b09c5.gif":{"logical_path":"progressbar.gif","mtime":"2014-01-03T14:44:55+09:00","size":3323,"digest":"82023a146fba2a0f6d925629ed2b09c5"},"favicon-c8c37646c0195de43eedb2a2c7c4987c.ico":{"logical_path":"favicon.ico","mtime":"2013-11-25T21:05:22+09:00","size":16398,"digest":"c8c37646c0195de43eedb2a2c7c4987c"},"application-ab3aff4f62672585950aa14e4c806402.js":{"logical_path":"application.js","mtime":"2014-01-05T02:11:01+09:00","size":438289,"digest":"ab3aff4f62672585950aa14e4c806402"},"application-1a1e156141d37f3b8152d936d8688fba.css":{"logical_path":"application.css","mtime":"2013-12-24T10:25:38+09:00","size":83598,"digest":"1a1e156141d37f3b8152d936d8688fba"},"application-52c130d80901a87185f9cb3bcab94b37.js":{"logical_path":"application.js","mtime":"2014-01-05T02:11:01+09:00","size":600005,"digest":"52c130d80901a87185f9cb3bcab94b37"},"application-759ce4d1ac1e0e3991e6d350c8f98fc5.js":{"logical_path":"application.js","mtime":"2014-01-05T21:46:48+09:00","size":600971,"digest":"759ce4d1ac1e0e3991e6d350c8f98fc5"}},"assets":{"favicon.ico":"favicon-c7ae857bb9d06de8742ae2d337157e83.ico","application.js":"application-759ce4d1ac1e0e3991e6d350c8f98fc5.js","application.css":"application-f51ea0e777d97f12a8ce84308f31eb57.css","loading.gif":"loading-e8e6dd7833131c92a6c3b9c8ccc6a6ac.gif","progressbar.gif":"progressbar-82023a146fba2a0f6d925629ed2b09c5.gif"}}