RubyApp 0.5.65 → 0.5.66
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 +1 -1
- data/lib/ruby_app/elements/mobile/document.rb +2 -2
- data/lib/ruby_app/elements/mobile/platforms/ios/document.rb +2 -3
- data/lib/ruby_app/rack/route.rb +4 -4
- data/lib/ruby_app/resources/elements/mobile/{document.js → document/document.js} +0 -0
- data/lib/ruby_app/resources/{jquery.ui.touch-punch.min.js → elements/mobile/document/jquery.ui.touch-punch.min.js} +0 -0
- data/lib/ruby_app/resources/elements/mobile/platforms/ios/{apple-touch-icon.png → document/apple-touch-icon.png} +0 -0
- data/lib/ruby_app/resources/elements/mobile/platforms/ios/{apple-touch-icon.psd → document/apple-touch-icon.psd} +0 -0
- data/lib/ruby_app/resources/elements/mobile/platforms/ios/{apple-touch-startup-image.png → document/apple-touch-startup-image.png} +0 -0
- data/lib/ruby_app/resources/elements/mobile/platforms/ios/{apple-touch-startup-image.psd → document/apple-touch-startup-image.psd} +0 -0
- data/lib/ruby_app/version.rb +1 -1
- metadata +10 -11
- data/lib/ruby_app/resources/elements/mobile/platforms/ios/manifest +0 -7
data/Gemfile.lock
CHANGED
@@ -47,8 +47,8 @@ module RubyApp
|
|
47
47
|
|
48
48
|
@scripts.push('http://code.jquery.com/jquery-1.7.1.min.js')
|
49
49
|
@scripts.push('http://code.jquery.com/ui/1.8.21/jquery-ui.min.js')
|
50
|
-
@scripts.push('/ruby_app/resources/jquery.ui.touch-punch.min.js')
|
51
|
-
@scripts.push('/ruby_app/resources/elements/mobile/document.js')
|
50
|
+
@scripts.push('/ruby_app/resources/elements/mobile/document/jquery.ui.touch-punch.min.js')
|
51
|
+
@scripts.push('/ruby_app/resources/elements/mobile/document/document.js')
|
52
52
|
@scripts.push('http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js')
|
53
53
|
|
54
54
|
end
|
@@ -15,12 +15,11 @@ module RubyApp
|
|
15
15
|
|
16
16
|
def initialize
|
17
17
|
super
|
18
|
-
self.attributes.merge!('manifest' => '/ruby_app/resources/elements/mobile/platforms/ios/manifest')
|
19
18
|
|
20
19
|
self.metadata.merge!('apple-mobile-web-app-capable' => 'yes',
|
21
20
|
'apple-mobile-web-app-status-bar-style' => 'black')
|
22
|
-
self.links.merge!('apple-touch-icon' => '/ruby_app/resources/elements/mobile/platforms/ios/apple-touch-icon.png',
|
23
|
-
'apple-touch-startup-image' => '/ruby_app/resources/elements/mobile/platforms/ios/apple-touch-startup-image.png')
|
21
|
+
self.links.merge!('apple-touch-icon' => '/ruby_app/resources/elements/mobile/platforms/ios/document/apple-touch-icon.png',
|
22
|
+
'apple-touch-startup-image' => '/ruby_app/resources/elements/mobile/platforms/ios/document/apple-touch-startup-image.png')
|
24
23
|
|
25
24
|
end
|
26
25
|
|
data/lib/ruby_app/rack/route.rb
CHANGED
@@ -68,11 +68,11 @@ module RubyApp
|
|
68
68
|
|
69
69
|
route(RubyApp::Mixins::RouteMixin::POST, /.*/) do |method, path|
|
70
70
|
begin
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
RubyApp::Request.POST.each do |name, value|
|
72
|
+
RubyApp::Log.debug("POST #{name.to_sym.inspect}=#{value.inspect}")
|
73
|
+
end
|
74
74
|
event = RubyApp::Element::Event.from_hash(RubyApp::Request.POST)
|
75
|
-
RubyApp::Log.duration(RubyApp::Log::INFO, "
|
75
|
+
RubyApp::Log.duration(RubyApp::Log::INFO, "EVENT #{event.class}") do
|
76
76
|
RubyApp::Session.process_event!(event)
|
77
77
|
RubyApp::Response['Content-Type'] = 'application/json'
|
78
78
|
RubyApp::Response.write(Yajl::Encoder.new.encode(event.to_hash))
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
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: 143
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 66
|
10
|
+
version: 0.5.66
|
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: 2012-07-
|
18
|
+
date: 2012-07-13 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
@@ -496,14 +496,13 @@ files:
|
|
496
496
|
- lib/ruby_app/rack/route.rb
|
497
497
|
- lib/ruby_app/rack/session.rb
|
498
498
|
- lib/ruby_app/request.rb
|
499
|
-
- lib/ruby_app/resources/elements/mobile/document.js
|
500
|
-
- lib/ruby_app/resources/elements/mobile/
|
501
|
-
- lib/ruby_app/resources/elements/mobile/platforms/ios/apple-touch-icon.
|
502
|
-
- lib/ruby_app/resources/elements/mobile/platforms/ios/apple-touch-
|
503
|
-
- lib/ruby_app/resources/elements/mobile/platforms/ios/apple-touch-startup-image.
|
504
|
-
- lib/ruby_app/resources/elements/mobile/platforms/ios/
|
499
|
+
- lib/ruby_app/resources/elements/mobile/document/document.js
|
500
|
+
- lib/ruby_app/resources/elements/mobile/document/jquery.ui.touch-punch.min.js
|
501
|
+
- lib/ruby_app/resources/elements/mobile/platforms/ios/document/apple-touch-icon.png
|
502
|
+
- lib/ruby_app/resources/elements/mobile/platforms/ios/document/apple-touch-icon.psd
|
503
|
+
- lib/ruby_app/resources/elements/mobile/platforms/ios/document/apple-touch-startup-image.png
|
504
|
+
- lib/ruby_app/resources/elements/mobile/platforms/ios/document/apple-touch-startup-image.psd
|
505
505
|
- lib/ruby_app/resources/favicon.ico
|
506
|
-
- lib/ruby_app/resources/jquery.ui.touch-punch.min.js
|
507
506
|
- lib/ruby_app/response.rb
|
508
507
|
- lib/ruby_app/scripts/all_continuous.rb
|
509
508
|
- lib/ruby_app/scripts/all_once.rb
|