RubyApp 0.0.18 → 0.0.19

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.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- RubyApp (0.0.18)
4
+ RubyApp (0.0.19)
5
5
  BlueCloth
6
6
  chronic
7
7
  chronic_duration
@@ -32,6 +32,10 @@ module RubyApp
32
32
  @statements = []
33
33
  end
34
34
 
35
+ def today
36
+ @now.send(:to_date)
37
+ end
38
+
35
39
  def process!
36
40
  source.send(:on_event, self)
37
41
  end
@@ -42,7 +42,7 @@ module RubyApp
42
42
  RubyApp::Session.show(event, RubyApp::Elements::Dialogs::MessageDialog.new(self.translate.message_dialog.message.title,
43
43
  self.translate.message_dialog.message.message))
44
44
  when 'do_month_dialog'
45
- RubyApp::Session.show(event, RubyApp::Elements::Dialogs::Calendars::MonthDialog.new(self.translate.month_dialog.title)) do |_event, response|
45
+ RubyApp::Session.show(event, RubyApp::Elements::Dialogs::Calendars::MonthDialog.new(self.translate.month_dialog.title, event.today)) do |_event, response|
46
46
  RubyApp::Session.show(_event, RubyApp::Elements::Dialogs::MessageDialog.new(self.translate.month_dialog.message_dialog.title,
47
47
  self.translate.month_dialog.message_dialog.message(response))) do |__event, _response|
48
48
  __event.execute("$('#last_value').text('#{response}');")
@@ -1,4 +1,4 @@
1
1
  module RubyApp
2
- VERSION = "0.0.18"
2
+ VERSION = "0.0.19"
3
3
  ROOT = File.expand_path(File.dirname(__FILE__))
4
4
  end
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: 59
4
+ hash: 57
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 18
10
- version: 0.0.18
9
+ - 19
10
+ version: 0.0.19
11
11
  platform: ruby
12
12
  authors:
13
13
  - Frank G. Ficnar
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-12-06 00:00:00 Z
18
+ date: 2011-12-07 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  version_requirements: &id001 !ruby/object:Gem::Requirement