smalruby-editor 0.0.10-x86-mingw32 → 0.0.11-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: 227967b79529c780ac51de668f8a4dd982376611
4
- data.tar.gz: 4e00ecaa6e1c0e9f890fb33abce0339d38fd750c
3
+ metadata.gz: bbea0a7411b8f2b3c2dcf08f040feaae227e74c2
4
+ data.tar.gz: 4f3617b0fd03e31360f5b78e2e10556ea4660d58
5
5
  SHA512:
6
- metadata.gz: 532d04589149e09a656e342a6b4584e3f0f900ebc70b98a8e5219e1bbfcbdb4b7500bcd1d15666f3356e2eaabbfb771540ceb294edb17dd6c0a99b6823882283
7
- data.tar.gz: fa0733b78b50d186afd1801cf9af3f86cef0f4aff43f132ba2221b80c14c5af7782e4f02119554dd07dec15cd64c12c6e027090b7bd0ab529aa44fb0f5881af3
6
+ metadata.gz: 9323ce294d6cacf81d6023db4dc43c893b6f5214c2dc6f3d7b6fd941cfdf43d6160f6a38837f14bbd3a86e654d7bd62229d72fd63060e05a25051a1ce647a481
7
+ data.tar.gz: 740a42a21c35f7aa92cbe9a34eb3563c3cd451fa8b4b626ce2b7b326ea3e320b468ac55dc61b0a3b87709a948ea776822774f150c6e6fe75f52df7b1cc1729ad
@@ -19,9 +19,7 @@ errorMessage = (msg, selector = '#messages') ->
19
19
  .append('<h4><i class="icon-exclamation-sign"></i>エラー</h4>')
20
20
  .append(msg)
21
21
  $(selector).append(html)
22
- html.fadeIn('slow')
23
- .delay(10000)
24
- .fadeOut('slow')
22
+ html.fadeIn('fast')
25
23
 
26
24
  $ ->
27
25
  saving = false
data/bin/smalruby-editor CHANGED
@@ -46,11 +46,6 @@ module Rails
46
46
  end
47
47
  end
48
48
 
49
- uri = "http://localhost:#{options[:Port]}"
50
- launchy = Launchy.open(uri) do |exception|
51
- puts "Attempted to open #{uri} and failed because #{exception}"
52
- end
53
-
54
49
  super
55
50
  ensure
56
51
  # The '-h' option calls exit before @options is set.
@@ -69,6 +64,20 @@ module Rails
69
64
  config: File.expand_path("config.ru")
70
65
  })
71
66
  end
67
+
68
+ private
69
+
70
+ def parse_options_with_start_callback(args)
71
+ options = parse_options_without_start_callback(args)
72
+ options[:StartCallback] = -> {
73
+ uri = "http://localhost:#{options[:Port]}"
74
+ launchy = Launchy.open(uri) do |exception|
75
+ puts "Attempted to open #{uri} and failed because #{exception}"
76
+ end
77
+ }
78
+ options
79
+ end
80
+ alias_method_chain :parse_options, :start_callback
72
81
  end
73
82
  end
74
83
 
@@ -1,3 +1,3 @@
1
1
  module SmalrubyEditor
2
- VERSION = '0.0.10'
2
+ VERSION = '0.0.11'
3
3
  end
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.10
4
+ version: 0.0.11
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-01-13 00:00:00.000000000 Z
11
+ date: 2014-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -347,8 +347,8 @@ files:
347
347
  - spec/turnip_helper.rb
348
348
  - vendor/assets/javascripts/.keep
349
349
  - vendor/assets/stylesheets/.keep
350
- - public/assets/application-a50281f6a3e2eef79882cacb6d107c26.js
351
- - public/assets/application-a50281f6a3e2eef79882cacb6d107c26.js.gz
350
+ - public/assets/application-eff4fb09a71dae23dc9b3962bcd44fa8.js
351
+ - public/assets/application-eff4fb09a71dae23dc9b3962bcd44fa8.js.gz
352
352
  - public/assets/application-f51ea0e777d97f12a8ce84308f31eb57.css
353
353
  - public/assets/application-f51ea0e777d97f12a8ce84308f31eb57.css.gz
354
354
  - public/assets/favicon-c7ae857bb9d06de8742ae2d337157e83.ico