RubyApp 0.7.5 → 0.7.9

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.
@@ -29,10 +29,6 @@ end
29
29
 
30
30
 
31
31
 
32
- map "#{RubyApp::Application.root_or_nil}/favicon.ico" do
33
- run Rack::File.new(File.join(RubyApp::ROOT, %w[resources favicon.ico]))
34
- end
35
-
36
32
  map "#{RubyApp::Application.root_or_nil}/" do
37
33
  use RubyApp::Rack::Request
38
34
  use RubyApp::Rack::Response
@@ -43,6 +43,8 @@ module RubyApp
43
43
 
44
44
  @metadata.merge!('viewport' => 'width=device-width, initial-scale=1')
45
45
 
46
+ @links.merge!('icon' => "#{RubyApp::Application.root_or_nil}/ruby_app/resources/elements/mobile/document/icon.ico")
47
+
46
48
  @stylesheets.push("#{RubyApp::Application.root_or_nil}/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/jquery.mobile-1.3.0.min.css")
47
49
 
48
50
  @scripts.push("#{RubyApp::Application.root_or_nil}/ruby_app/resources/elements/mobile/document/jquery-1.8.3.min.js")
@@ -16,11 +16,11 @@ page.onAlert = function(message) {
16
16
  };
17
17
  page.onConfirm = function(message) {
18
18
  console.log('FAIL ' + message);
19
- phantom.exit();
19
+ phantom.exit(-1);
20
20
  };
21
21
  page.onClosing = function(page) {
22
22
  console.log('SUCCESS ' + page.url);
23
- phantom.exit();
23
+ phantom.exit(0);
24
24
  };
25
25
 
26
26
  page.open(url);
@@ -29,10 +29,6 @@ map '#{RubyApp::Application.root_or_nil}/_APPLICATION_DOWNCODE_/resources' do
29
29
  run Rack::File.new(File.join(_APPLICATION_UPCODE_::ROOT, %w[resources]))
30
30
  end
31
31
 
32
- map '#{RubyApp::Application.root_or_nil}/favicon.ico' do
33
- run Rack::File.new(File.join(RubyApp::ROOT, %w[resources favicon.ico]))
34
- end
35
-
36
32
  map '#{RubyApp::Application.root_or_nil}/' do
37
33
  use RubyApp::Rack::Request
38
34
  use RubyApp::Rack::Response
@@ -1,4 +1,4 @@
1
1
  module RubyApp
2
- VERSION = "0.7.5"
2
+ VERSION = "0.7.9"
3
3
  ROOT = File.expand_path(File.dirname(__FILE__))
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RubyApp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.7.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-09 00:00:00.000000000 Z
12
+ date: 2013-03-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bluecloth
@@ -604,6 +604,7 @@ files:
604
604
  - lib/ruby_app/rack/session.rb
605
605
  - lib/ruby_app/request.rb
606
606
  - lib/ruby_app/resources/elements/mobile/document/document.js
607
+ - lib/ruby_app/resources/elements/mobile/document/icon.ico
607
608
  - lib/ruby_app/resources/elements/mobile/document/jquery-1.8.3.min.js
608
609
  - lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
609
610
  - lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
@@ -1471,7 +1472,6 @@ files:
1471
1472
  - lib/ruby_app/resources/elements/mobile/platforms/ios/document/apple-touch-icon.psd
1472
1473
  - lib/ruby_app/resources/elements/mobile/platforms/ios/document/apple-touch-startup-image.png
1473
1474
  - lib/ruby_app/resources/elements/mobile/platforms/ios/document/apple-touch-startup-image.psd
1474
- - lib/ruby_app/resources/favicon.ico
1475
1475
  - lib/ruby_app/response.rb
1476
1476
  - lib/ruby_app/scripts/common/features.rb
1477
1477
  - lib/ruby_app/scripts/common/features/authentications.rb
@@ -1545,7 +1545,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1545
1545
  version: '0'
1546
1546
  segments:
1547
1547
  - 0
1548
- hash: -854809488971136124
1548
+ hash: 2814145505473935563
1549
1549
  required_rubygems_version: !ruby/object:Gem::Requirement
1550
1550
  none: false
1551
1551
  requirements:
@@ -1554,7 +1554,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1554
1554
  version: '0'
1555
1555
  segments:
1556
1556
  - 0
1557
- hash: -854809488971136124
1557
+ hash: 2814145505473935563
1558
1558
  requirements: []
1559
1559
  rubyforge_project:
1560
1560
  rubygems_version: 1.8.25