smalruby-editor 0.0.10-x86-mingw32 → 0.0.11-x86-mingw32
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.
Potentially problematic release.
This version of smalruby-editor might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/assets/javascripts/editor.js.coffee.erb +1 -3
- data/bin/smalruby-editor +14 -5
- data/lib/smalruby_editor/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbea0a7411b8f2b3c2dcf08f040feaae227e74c2
|
4
|
+
data.tar.gz: 4f3617b0fd03e31360f5b78e2e10556ea4660d58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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('
|
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
|
|
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.
|
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-
|
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-
|
351
|
-
- public/assets/application-
|
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
|