RubyApp 0.0.45 → 0.0.46

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- RubyApp (0.0.45)
4
+ RubyApp (0.0.46)
5
5
  BlueCloth
6
6
  chronic
7
7
  chronic_duration
@@ -2,7 +2,7 @@ Feature: A page
2
2
 
3
3
  Scenario: Rendering a page
4
4
  Given I go to the test pages
5
- When I click "TestPage"
5
+ When I click "_TestPage"
6
6
  Then I should see "Rendered"
7
7
  And I should see "Loaded"
8
8
  When I wait 4 seconds
@@ -11,14 +11,14 @@ Feature: A page
11
11
 
12
12
  Scenario: Saving and retrieving a cookie
13
13
  Given I go to the test pages
14
- When I click "TestPage"
14
+ When I click "_TestPage"
15
15
  Then I should see "Rendered"
16
16
  When I fill in the "Enter a new cookie value" field with "value" and I press enter
17
17
  Then I should see "The cookie value is 'value'."
18
18
  Then I click "Close"
19
19
  Then I quit
20
20
  When I go to the test pages
21
- And I click "TestPage"
21
+ And I click "_TestPage"
22
22
  Then I should see "The cookie value is 'value'."
23
23
  Then I quit
24
24
 
@@ -28,7 +28,7 @@ module RubyApp
28
28
 
29
29
  @today = RubyApp::Elements::Link.new
30
30
  @today.clicked do |element, event|
31
- @response = Date.today
31
+ @response = event.today
32
32
  event.hide(self)
33
33
  end
34
34
 
@@ -30,9 +30,6 @@ module RubyApp
30
30
  self.triggered do |element, event|
31
31
  event.update_text('li#triggered', self.translate.triggered(event.now))
32
32
  end
33
- self.unloaded do |element, event|
34
- event.update_text('li#unloaded', self.translate.unloaded(event.now))
35
- end
36
33
 
37
34
  @input = RubyApp::Elements::Input.new
38
35
  @input.changed do |element, event|
@@ -50,7 +50,7 @@ ruby_app:
50
50
 
51
51
  [`MarkdownTestPage`](RubyApp::Elements::Pages::TestPages::MarkdownTestPage) ... A page with markdown containing a single, clickable link
52
52
 
53
- [`TestPage`](RubyApp::Elements::Pages::TestPages::TestPage) ... A test page showing load, release, and trigger events.
53
+ [`_TestPage`](RubyApp::Elements::Pages::TestPages::TestPage) ... A test page showing load, release, and trigger events.
54
54
 
55
55
  ---
56
56
 
@@ -1,4 +1,4 @@
1
1
  module RubyApp
2
- VERSION = "0.0.45"
2
+ VERSION = "0.0.46"
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: 69
4
+ hash: 67
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 45
10
- version: 0.0.45
9
+ - 46
10
+ version: 0.0.46
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-19 00:00:00 Z
18
+ date: 2011-12-20 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  version_requirements: &id001 !ruby/object:Gem::Requirement