RubyApp 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock
CHANGED
data/lib/ruby_app/element.rb
CHANGED
@@ -67,7 +67,7 @@ module RubyApp
|
|
67
67
|
execute("RubyApp.go(#{url.to_json});")
|
68
68
|
end
|
69
69
|
|
70
|
-
def set_cookie(name, value, expires)
|
70
|
+
def set_cookie(name, value, expires = Time.now + 365*24*60*60)
|
71
71
|
execute("RubyApp.setCookie(#{name.to_json}, #{value.to_json}, new Date(#{expires.year}, #{expires.month - 1}, #{expires.day}, #{expires.hour}, #{expires.min}, #{expires.sec}));")
|
72
72
|
end
|
73
73
|
|
@@ -36,7 +36,7 @@ module RubyApp
|
|
36
36
|
|
37
37
|
@input = RubyApp::Elements::Input.new
|
38
38
|
@input.changed do |element, event|
|
39
|
-
event.set_cookie('_cookie', @input.value
|
39
|
+
event.set_cookie('_cookie', @input.value)
|
40
40
|
RubyApp::Session.show(event, RubyApp::Elements::Dialogs::MessageDialog.new(self.translate.message_dialog.message.title,
|
41
41
|
self.translate.message_dialog.message.message(@input.value)))
|
42
42
|
end
|
data/lib/ruby_app/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: RubyApp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 63
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 16
|
10
|
+
version: 0.0.16
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Frank G. Ficnar
|