RubyApp 0.5.65 → 0.5.66

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- RubyApp (0.5.65)
4
+ RubyApp (0.5.66)
5
5
  BlueCloth
6
6
  chronic
7
7
  chronic_duration
@@ -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
 
@@ -68,11 +68,11 @@ module RubyApp
68
68
 
69
69
  route(RubyApp::Mixins::RouteMixin::POST, /.*/) do |method, path|
70
70
  begin
71
- #RubyApp::Request.POST.each do |name, value|
72
- # RubyApp::Log.debug("POST #{name.to_sym.inspect}=#{value.inspect}")
73
- #end
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, "POST #{event.class}") do
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))
@@ -1,4 +1,4 @@
1
1
  module RubyApp
2
- VERSION = "0.5.65"
2
+ VERSION = "0.5.66"
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: 137
4
+ hash: 143
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 65
10
- version: 0.5.65
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-11 00:00:00 Z
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/platforms/ios/apple-touch-icon.png
501
- - lib/ruby_app/resources/elements/mobile/platforms/ios/apple-touch-icon.psd
502
- - lib/ruby_app/resources/elements/mobile/platforms/ios/apple-touch-startup-image.png
503
- - lib/ruby_app/resources/elements/mobile/platforms/ios/apple-touch-startup-image.psd
504
- - lib/ruby_app/resources/elements/mobile/platforms/ios/manifest
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
@@ -1,7 +0,0 @@
1
- CACHE MANIFEST
2
- # version 1.0.0
3
-
4
- CACHE:
5
-
6
- NETWORK:
7
- *