RubyApp 0.5.87 → 0.5.88
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/ruby_app/configuration.yml +2 -2
- data/lib/ruby_app/elements/mobile/pages/information/cookies_page.css.haml +3 -0
- data/lib/ruby_app/elements/mobile/pages/information/cookies_page.html.haml +10 -0
- data/lib/ruby_app/elements/mobile/pages/information/cookies_page.js.haml +3 -0
- data/lib/ruby_app/elements/mobile/pages/information/cookies_page.rb +37 -0
- data/lib/ruby_app/elements/mobile/pages/information_page.html.haml +3 -0
- data/lib/ruby_app/elements/mobile/pages/information_page.rb +6 -0
- data/lib/ruby_app/version.rb +1 -1
- metadata +7 -3
data/Gemfile.lock
CHANGED
@@ -0,0 +1,37 @@
|
|
1
|
+
module RubyApp
|
2
|
+
|
3
|
+
module Elements
|
4
|
+
|
5
|
+
module Mobile
|
6
|
+
|
7
|
+
module Pages
|
8
|
+
|
9
|
+
module Information
|
10
|
+
require 'ruby_app/elements/mobile/hash'
|
11
|
+
require 'ruby_app/elements/mobile/navigation/back_button'
|
12
|
+
require 'ruby_app/elements/mobile/page'
|
13
|
+
|
14
|
+
class CookiesPage < RubyApp::Elements::Mobile::Page
|
15
|
+
|
16
|
+
template_path(:all, File.dirname(__FILE__))
|
17
|
+
|
18
|
+
def initialize
|
19
|
+
super
|
20
|
+
|
21
|
+
@back_button = RubyApp::Elements::Mobile::Navigation::BackButton.new
|
22
|
+
|
23
|
+
@cookies_hash = RubyApp::Elements::Mobile::Hash.new(RubyApp::Request.cookies)
|
24
|
+
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|
32
|
+
|
33
|
+
end
|
34
|
+
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
@@ -45,6 +45,9 @@
|
|
45
45
|
%li
|
46
46
|
= @environment_link.render(:html) do |element|
|
47
47
|
- element.content_for(:html, :link, 'Environment')
|
48
|
+
%li
|
49
|
+
= @cookies_link.render(:html) do |element|
|
50
|
+
- element.content_for(:html, :link, 'Cookies')
|
48
51
|
%li
|
49
52
|
= @configuration_link.render(:html) do |element|
|
50
53
|
- element.content_for(:html, :link) do
|
@@ -9,6 +9,7 @@ module RubyApp
|
|
9
9
|
require 'ruby_app/elements/mobile/navigation/navigation_link'
|
10
10
|
require 'ruby_app/elements/mobile/page'
|
11
11
|
require 'ruby_app/elements/mobile/pages/information/configuration_page'
|
12
|
+
require 'ruby_app/elements/mobile/pages/information/cookies_page'
|
12
13
|
require 'ruby_app/elements/mobile/pages/information/environment_page'
|
13
14
|
require 'ruby_app/elements/mobile/pages/information/sessions_page'
|
14
15
|
require 'ruby_app/elements/mobile/pages/information/scripts_page'
|
@@ -29,6 +30,11 @@ module RubyApp
|
|
29
30
|
RubyApp::Elements::Mobile::Pages::Information::EnvironmentPage.new.show(event, element.options)
|
30
31
|
end
|
31
32
|
|
33
|
+
@cookies_link = RubyApp::Elements::Mobile::Navigation::NavigationLink.new
|
34
|
+
@cookies_link.clicked do |element, event|
|
35
|
+
RubyApp::Elements::Mobile::Pages::Information::CookiesPage.new.show(event, element.options)
|
36
|
+
end
|
37
|
+
|
32
38
|
@configuration_link = RubyApp::Elements::Mobile::Navigation::NavigationLink.new
|
33
39
|
@configuration_link.clicked do |element, event|
|
34
40
|
RubyApp::Elements::Mobile::Pages::Information::ConfigurationPage.new.show(event, element.options)
|
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: 187
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 88
|
10
|
+
version: 0.5.88
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Frank G. Ficnar
|
@@ -461,6 +461,10 @@ files:
|
|
461
461
|
- lib/ruby_app/elements/mobile/pages/information/configuration_page.html.haml
|
462
462
|
- lib/ruby_app/elements/mobile/pages/information/configuration_page.js.haml
|
463
463
|
- lib/ruby_app/elements/mobile/pages/information/configuration_page.rb
|
464
|
+
- lib/ruby_app/elements/mobile/pages/information/cookies_page.css.haml
|
465
|
+
- lib/ruby_app/elements/mobile/pages/information/cookies_page.html.haml
|
466
|
+
- lib/ruby_app/elements/mobile/pages/information/cookies_page.js.haml
|
467
|
+
- lib/ruby_app/elements/mobile/pages/information/cookies_page.rb
|
464
468
|
- lib/ruby_app/elements/mobile/pages/information/document_page.css.haml
|
465
469
|
- lib/ruby_app/elements/mobile/pages/information/document_page.html.haml
|
466
470
|
- lib/ruby_app/elements/mobile/pages/information/document_page.js.haml
|