RubyApp 0.5.86 → 0.5.87

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.
Files changed (31) hide show
  1. data/Gemfile.lock +12 -2
  2. data/lib/ruby_app/configuration.ru +3 -3
  3. data/lib/ruby_app/configuration.yml +4 -0
  4. data/lib/ruby_app/elements.rb +5 -0
  5. data/lib/ruby_app/elements/mobile/buttons/facebook_button.css.haml +5 -0
  6. data/lib/ruby_app/elements/mobile/buttons/facebook_button.rb +27 -0
  7. data/lib/ruby_app/elements/mobile/buttons/google_button.css.haml +5 -0
  8. data/lib/ruby_app/elements/mobile/buttons/google_button.rb +27 -0
  9. data/lib/ruby_app/elements/mobile/buttons/my_open_id_button.css.haml +5 -0
  10. data/lib/ruby_app/elements/mobile/buttons/my_open_id_button.rb +27 -0
  11. data/lib/ruby_app/elements/mobile/buttons/yahoo_button.css.haml +5 -0
  12. data/lib/ruby_app/elements/mobile/buttons/yahoo_button.rb +27 -0
  13. data/lib/ruby_app/elements/mobile/default/features/authentications/default_page.css.haml +4 -1
  14. data/lib/ruby_app/elements/mobile/default/features/authentications/default_page.html.haml +2 -0
  15. data/lib/ruby_app/elements/mobile/default/features/authentications/default_page.js.haml +4 -1
  16. data/lib/ruby_app/elements/mobile/default/features/authentications/default_page.rb +14 -4
  17. data/lib/ruby_app/elements/mobile/documents/authentication/facebook/authentication_document.rb +69 -0
  18. data/lib/ruby_app/elements/mobile/documents/authentication/facebook/email_authentication_document.rb +39 -0
  19. data/lib/ruby_app/elements/mobile/documents/authentication/open_id/authentication_document.rb +0 -3
  20. data/lib/ruby_app/resources/elements/mobile/buttons/facebook_button.ico +0 -0
  21. data/lib/ruby_app/resources/elements/mobile/buttons/facebook_button.png +0 -0
  22. data/lib/ruby_app/resources/elements/mobile/buttons/google_button.ico +0 -0
  23. data/lib/ruby_app/resources/elements/mobile/buttons/google_button.png +0 -0
  24. data/lib/ruby_app/resources/elements/mobile/buttons/my_open_id_button.ico +0 -0
  25. data/lib/ruby_app/resources/elements/mobile/buttons/my_open_id_button.png +0 -0
  26. data/lib/ruby_app/resources/elements/mobile/buttons/yahoo_button.ico +0 -0
  27. data/lib/ruby_app/resources/elements/mobile/buttons/yahoo_button.png +0 -0
  28. data/lib/ruby_app/templates/application/configuration.ru +2 -2
  29. data/lib/ruby_app/version.rb +1 -1
  30. data/ruby_app.gemspec +2 -0
  31. metadata +60 -14
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- RubyApp (0.5.86)
4
+ RubyApp (0.5.87)
5
5
  BlueCloth
6
6
  chronic
7
7
  chronic_duration
@@ -9,12 +9,14 @@ PATH
9
9
  fileutils
10
10
  haml
11
11
  json
12
+ koala
12
13
  mime-types
13
14
  r18n-core
14
15
  rack
15
16
  ruby-event
16
17
  ruby-openid
17
18
  sass
19
+ system_timer
18
20
  term-ansicolor
19
21
  terminal-table
20
22
  yajl-ruby
@@ -23,15 +25,22 @@ GEM
23
25
  remote: http://rubygems.org/
24
26
  specs:
25
27
  BlueCloth (1.0.1)
26
- chronic (0.7.0)
28
+ chronic (0.8.0)
27
29
  chronic_duration (0.9.6)
28
30
  numerizer (~> 0.1.1)
29
31
  facets (2.9.3)
32
+ faraday (0.8.4)
33
+ multipart-post (~> 1.1)
30
34
  fileutils (0.7)
31
35
  rmagick (>= 2.13.1)
32
36
  haml (3.1.7)
33
37
  json (1.7.5)
38
+ koala (1.5.0)
39
+ faraday (~> 0.7)
40
+ multi_json (~> 1.3)
34
41
  mime-types (1.19)
42
+ multi_json (1.3.6)
43
+ multipart-post (1.1.5)
35
44
  numerizer (0.1.1)
36
45
  r18n-core (1.1.1)
37
46
  rack (1.4.1)
@@ -40,6 +49,7 @@ GEM
40
49
  ruby-event (1.0.0)
41
50
  ruby-openid (2.2.0)
42
51
  sass (3.2.1)
52
+ system_timer (1.2.4)
43
53
  term-ansicolor (1.0.7)
44
54
  terminal-table (1.4.5)
45
55
  yajl-ruby (1.1.0)
@@ -1,4 +1,4 @@
1
- #\ --port 8008 --pid ./rack.pid
1
+ #\ --port 8000 --pid ./rack.pid
2
2
  require 'rubygems'
3
3
  require 'bundler/setup'
4
4
 
@@ -19,8 +19,8 @@ map '/ruby_app/resources' do
19
19
  run Rack::File.new(File.join(RubyApp::ROOT, %w[resources]))
20
20
  end
21
21
 
22
- map '/favicon.ico' do
23
- run Rack::File.new(File.join(RubyApp::ROOT, %w[resources favicon.ico]))
22
+ map '/google_button.ico' do
23
+ run Rack::File.new(File.join(RubyApp::ROOT, %w[resources google_button.ico]))
24
24
  end
25
25
 
26
26
  map '/' do
@@ -10,6 +10,10 @@ default:
10
10
  mobile:
11
11
  documents:
12
12
  authentication:
13
+ facebook:
14
+ authentication_document:
15
+ access_key: '123'
16
+ secret_key: 'abc'
13
17
  open_id:
14
18
  ax_authentication_document:
15
19
  attributes:
@@ -1,5 +1,9 @@
1
1
  require 'ruby_app/element'
2
2
  require 'ruby_app/elements/mobile/button'
3
+ require 'ruby_app/elements/mobile/buttons/facebook_button'
4
+ require 'ruby_app/elements/mobile/buttons/google_button'
5
+ require 'ruby_app/elements/mobile/buttons/my_open_id_button'
6
+ require 'ruby_app/elements/mobile/buttons/yahoo_button'
3
7
  require 'ruby_app/elements/mobile/calendars/month'
4
8
  require 'ruby_app/elements/mobile/click'
5
9
  require 'ruby_app/elements/mobile/dialog'
@@ -10,6 +14,7 @@ require 'ruby_app/elements/mobile/dialogs/exception_dialog'
10
14
  require 'ruby_app/elements/mobile/document'
11
15
  require 'ruby_app/elements/mobile/documents/mail_document'
12
16
  require 'ruby_app/elements/mobile/documents/quit_document'
17
+ require 'ruby_app/elements/mobile/documents/authentication/facebook/email_authentication_document'
13
18
  require 'ruby_app/elements/mobile/documents/authentication/open_id/google_authentication_document'
14
19
  require 'ruby_app/elements/mobile/documents/authentication/open_id/my_open_id_authentication_document'
15
20
  require 'ruby_app/elements/mobile/documents/authentication/open_id/yahoo_authentication_document'
@@ -0,0 +1,5 @@
1
+ :sass
2
+ /* #{__FILE__}
3
+ .ui-icon-facebook
4
+ background-image: url('/ruby_app/resources/elements/mobile/buttons/facebook_button.png')
5
+ = yield
@@ -0,0 +1,27 @@
1
+ module RubyApp
2
+
3
+ module Elements
4
+
5
+ module Mobile
6
+
7
+ module Buttons
8
+ require 'ruby_app/elements/mobile/button'
9
+
10
+ class FacebookButton < RubyApp::Elements::Mobile::Button
11
+
12
+ template_path(:all, File.dirname(__FILE__))
13
+
14
+ def initialize
15
+ super
16
+ self.attributes.merge!('data-icon' => 'facebook')
17
+ end
18
+
19
+ end
20
+
21
+ end
22
+
23
+ end
24
+
25
+ end
26
+
27
+ end
@@ -0,0 +1,5 @@
1
+ :sass
2
+ /* #{__FILE__}
3
+ .ui-icon-google
4
+ background-image: url('/ruby_app/resources/elements/mobile/buttons/google_button.png')
5
+ = yield
@@ -0,0 +1,27 @@
1
+ module RubyApp
2
+
3
+ module Elements
4
+
5
+ module Mobile
6
+
7
+ module Buttons
8
+ require 'ruby_app/elements/mobile/button'
9
+
10
+ class GoogleButton < RubyApp::Elements::Mobile::Button
11
+
12
+ template_path(:all, File.dirname(__FILE__))
13
+
14
+ def initialize
15
+ super
16
+ self.attributes.merge!('data-icon' => 'google')
17
+ end
18
+
19
+ end
20
+
21
+ end
22
+
23
+ end
24
+
25
+ end
26
+
27
+ end
@@ -0,0 +1,5 @@
1
+ :sass
2
+ /* #{__FILE__}
3
+ .ui-icon-myopenid
4
+ background-image: url('/ruby_app/resources/elements/mobile/buttons/my_open_id_button.png')
5
+ = yield
@@ -0,0 +1,27 @@
1
+ module RubyApp
2
+
3
+ module Elements
4
+
5
+ module Mobile
6
+
7
+ module Buttons
8
+ require 'ruby_app/elements/mobile/button'
9
+
10
+ class MyOpenIDButton < RubyApp::Elements::Mobile::Button
11
+
12
+ template_path(:all, File.dirname(__FILE__))
13
+
14
+ def initialize
15
+ super
16
+ self.attributes.merge!('data-icon' => 'myopenid')
17
+ end
18
+
19
+ end
20
+
21
+ end
22
+
23
+ end
24
+
25
+ end
26
+
27
+ end
@@ -0,0 +1,5 @@
1
+ :sass
2
+ /* #{__FILE__}
3
+ .ui-icon-yahoo
4
+ background-image: url('/ruby_app/resources/elements/mobile/buttons/yahoo_button.png')
5
+ = yield
@@ -0,0 +1,27 @@
1
+ module RubyApp
2
+
3
+ module Elements
4
+
5
+ module Mobile
6
+
7
+ module Buttons
8
+ require 'ruby_app/elements/mobile/button'
9
+
10
+ class YahooButton < RubyApp::Elements::Mobile::Button
11
+
12
+ template_path(:all, File.dirname(__FILE__))
13
+
14
+ def initialize
15
+ super
16
+ self.attributes.merge!('data-icon' => 'yahoo')
17
+ end
18
+
19
+ end
20
+
21
+ end
22
+
23
+ end
24
+
25
+ end
26
+
27
+ end
@@ -1,3 +1,6 @@
1
- = RubyApp::Elements::Mobile::Button.render(:css)
1
+ = RubyApp::Elements::Mobile::Buttons::FacebookButton.render(:css)
2
+ = RubyApp::Elements::Mobile::Buttons::GoogleButton.render(:css)
3
+ = RubyApp::Elements::Mobile::Buttons::MyOpenIDButton.render(:css)
4
+ = RubyApp::Elements::Mobile::Buttons::YahooButton.render(:css)
2
5
  = RubyApp::Elements::Mobile::Navigation::BackButton.render(:css)
3
6
  = yield
@@ -12,6 +12,8 @@
12
12
  - else
13
13
  You are not logged in.
14
14
  %div{'data-role' => 'controlgroup'}
15
+ = @facebook_authentication_link.render(:html) do |element|
16
+ - element.content_for(:html, :link, 'Facebook')
15
17
  = @google_authentication_link.render(:html) do |element|
16
18
  - element.content_for(:html, :link, 'Google')
17
19
  = @my_open_id_authentication_link.render(:html) do |element|
@@ -1,3 +1,6 @@
1
- = RubyApp::Elements::Mobile::Button.render(:js)
1
+ = RubyApp::Elements::Mobile::Buttons::FacebookButton.render(:js)
2
+ = RubyApp::Elements::Mobile::Buttons::GoogleButton.render(:js)
3
+ = RubyApp::Elements::Mobile::Buttons::MyOpenIDButton.render(:js)
4
+ = RubyApp::Elements::Mobile::Buttons::YahooButton.render(:js)
2
5
  = RubyApp::Elements::Mobile::Navigation::BackButton.render(:js)
3
6
  = yield
@@ -10,7 +10,11 @@ module RubyApp
10
10
 
11
11
  module Authentications
12
12
  require 'ruby_app'
13
- require 'ruby_app/elements/mobile/button'
13
+ require 'ruby_app/elements/mobile/buttons/facebook_button'
14
+ require 'ruby_app/elements/mobile/buttons/google_button'
15
+ require 'ruby_app/elements/mobile/buttons/my_open_id_button'
16
+ require 'ruby_app/elements/mobile/buttons/yahoo_button'
17
+ require 'ruby_app/elements/mobile/documents/authentication/facebook/email_authentication_document'
14
18
  require 'ruby_app/elements/mobile/documents/authentication/open_id/google_authentication_document'
15
19
  require 'ruby_app/elements/mobile/documents/authentication/open_id/my_open_id_authentication_document'
16
20
  require 'ruby_app/elements/mobile/documents/authentication/open_id/yahoo_authentication_document'
@@ -26,19 +30,25 @@ module RubyApp
26
30
 
27
31
  @back_button = RubyApp::Elements::Mobile::Navigation::BackButton.new
28
32
 
29
- @google_authentication_link = RubyApp::Elements::Mobile::Button.new
33
+ @facebook_authentication_link = RubyApp::Elements::Mobile::Buttons::FacebookButton.new
34
+ @facebook_authentication_link.clicked do |element, event|
35
+ RubyApp::Session.documents.push(RubyApp::Elements::Mobile::Documents::Authentication::Facebook::EmailAuthenticationDocument.new)
36
+ event.refresh_browser
37
+ end
38
+
39
+ @google_authentication_link = RubyApp::Elements::Mobile::Buttons::GoogleButton.new
30
40
  @google_authentication_link.clicked do |element, event|
31
41
  RubyApp::Session.documents.push(RubyApp::Elements::Mobile::Documents::Authentication::OpenId::GoogleAuthenticationDocument.new)
32
42
  event.refresh_browser
33
43
  end
34
44
 
35
- @my_open_id_authentication_link = RubyApp::Elements::Mobile::Button.new
45
+ @my_open_id_authentication_link = RubyApp::Elements::Mobile::Buttons::MyOpenIDButton.new
36
46
  @my_open_id_authentication_link.clicked do |element, event|
37
47
  RubyApp::Session.documents.push(RubyApp::Elements::Mobile::Documents::Authentication::OpenId::MyOpenIdAuthenticationDocument.new)
38
48
  event.refresh_browser
39
49
  end
40
50
 
41
- @yahoo_authentication_link = RubyApp::Elements::Mobile::Button.new
51
+ @yahoo_authentication_link = RubyApp::Elements::Mobile::Buttons::YahooButton.new
42
52
  @yahoo_authentication_link.clicked do |element, event|
43
53
  RubyApp::Session.documents.push(RubyApp::Elements::Mobile::Documents::Authentication::OpenId::YahooAuthenticationDocument.new)
44
54
  event.refresh_browser
@@ -0,0 +1,69 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+
4
+ require 'koala'
5
+
6
+ module RubyApp
7
+
8
+ module Elements
9
+
10
+ module Mobile
11
+
12
+ module Documents
13
+
14
+ module Authentication
15
+
16
+ module Facebook
17
+ require 'ruby_app'
18
+ require 'ruby_app/elements/mobile/document'
19
+
20
+ class AuthenticationDocument < RubyApp::Elements::Mobile::Document
21
+
22
+ template_path(:all, File.dirname(__FILE__))
23
+
24
+ def initialize(permissions)
25
+ super()
26
+
27
+ self.loaded do |element, event|
28
+
29
+ unless @authentication
30
+ @authentication = ::Koala::Facebook::OAuth.new(ENV['FACEBOOK_ACCESS_KEY'] || RubyApp::Elements::Mobile::Documents::Authentication::Facebook::AuthenticationDocument.configuration.access_key,
31
+ ENV['FACEBOOK_SECRET_KEY'] || RubyApp::Elements::Mobile::Documents::Authentication::Facebook::AuthenticationDocument.configuration.secret_key,
32
+ RubyApp::Request.url)
33
+ url = @authentication.url_for_oauth_code(:display => 'touch',
34
+ :permissions => permissions)
35
+ RubyApp::Log.debug("FACEBOOK --> #{url.inspect}")
36
+ event.go(url)
37
+ else
38
+ RubyApp::Log.debug("FACEBOOK <-- #{RubyApp::Request.url.inspect}")
39
+ code = RubyApp::Request.query['code']
40
+ token = @authentication.get_access_token(code)
41
+ RubyApp::Log.debug("FACEBOOK token=#{token.inspect}")
42
+ graph = ::Koala::Facebook::API.new(token)
43
+ me = graph.get_object('me')
44
+ RubyApp::Log.debug("FACEBOOK me=#{me.inspect}")
45
+ RubyApp::Session.identity = self.create_identity_from_me(me)
46
+ RubyApp::Session.documents.pop
47
+ event.go('/')
48
+ end
49
+ end
50
+
51
+ end
52
+
53
+ def create_identity_from_me(me)
54
+ RubyApp::Session::Identity.new(me['email'])
55
+ end
56
+
57
+ end
58
+
59
+ end
60
+
61
+ end
62
+
63
+ end
64
+
65
+ end
66
+
67
+ end
68
+
69
+ end
@@ -0,0 +1,39 @@
1
+ module RubyApp
2
+
3
+ module Elements
4
+
5
+ module Mobile
6
+
7
+ module Documents
8
+
9
+ module Authentication
10
+
11
+ module Facebook
12
+ require 'ruby_app'
13
+ require 'ruby_app/elements/mobile/documents/authentication/facebook/authentication_document'
14
+
15
+ class EmailAuthenticationDocument < RubyApp::Elements::Mobile::Documents::Authentication::Facebook::AuthenticationDocument
16
+
17
+ template_path(:all, File.dirname(__FILE__))
18
+
19
+ def initialize
20
+ super('email')
21
+ end
22
+
23
+ def create_identity_from_me(me)
24
+ RubyApp::Session::Identity.new(me['email'])
25
+ end
26
+
27
+ end
28
+
29
+ end
30
+
31
+ end
32
+
33
+ end
34
+
35
+ end
36
+
37
+ end
38
+
39
+ end
@@ -35,9 +35,6 @@ module RubyApp
35
35
  event.go(url)
36
36
  else
37
37
  RubyApp::Log.debug("OPENID <-- #{RubyApp::Request.url.inspect}")
38
- RubyApp::Request.query.each do |name, value|
39
- RubyApp::Log.debug("OPENID #{name}=#{value}")
40
- end
41
38
  response = @consumer.complete(RubyApp::Request.query, RubyApp::Request.url)
42
39
  case response.status
43
40
  when ::OpenID::Consumer::SUCCESS
@@ -28,8 +28,8 @@ map '/_APPLICATION_DOWNCODE_/resources' do
28
28
  run Rack::File.new(File.join(_APPLICATION_UPCODE_::ROOT, %w[resources]))
29
29
  end
30
30
 
31
- map '/favicon.ico' do
32
- run Rack::File.new(File.join(RubyApp::ROOT, %w[resources favicon.ico]))
31
+ map '/google_button.ico' do
32
+ run Rack::File.new(File.join(RubyApp::ROOT, %w[resources google_button.ico]))
33
33
  end
34
34
 
35
35
  map '/' do
@@ -1,4 +1,4 @@
1
1
  module RubyApp
2
- VERSION = "0.5.86"
2
+ VERSION = "0.5.87"
3
3
  ROOT = File.expand_path(File.dirname(__FILE__))
4
4
  end
data/ruby_app.gemspec CHANGED
@@ -23,12 +23,14 @@ Gem::Specification.new do |s|
23
23
  s.add_dependency 'fileutils'
24
24
  s.add_dependency 'haml'
25
25
  s.add_dependency 'json'
26
+ s.add_dependency 'koala'
26
27
  s.add_dependency 'mime-types'
27
28
  s.add_dependency 'r18n-core'
28
29
  s.add_dependency 'rack'
29
30
  s.add_dependency 'ruby-event'
30
31
  s.add_dependency 'ruby-openid'
31
32
  s.add_dependency 'sass'
33
+ s.add_dependency 'system_timer'
32
34
  s.add_dependency 'term-ansicolor'
33
35
  s.add_dependency 'terminal-table'
34
36
  s.add_dependency 'yajl-ruby'
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: 167
4
+ hash: 165
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 86
10
- version: 0.5.86
9
+ - 87
10
+ version: 0.5.87
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-09-11 00:00:00 Z
18
+ date: 2012-09-18 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  version_requirements: &id001 !ruby/object:Gem::Requirement
@@ -127,7 +127,7 @@ dependencies:
127
127
  version: "0"
128
128
  prerelease: false
129
129
  type: :runtime
130
- name: mime-types
130
+ name: koala
131
131
  requirement: *id008
132
132
  - !ruby/object:Gem::Dependency
133
133
  version_requirements: &id009 !ruby/object:Gem::Requirement
@@ -141,7 +141,7 @@ dependencies:
141
141
  version: "0"
142
142
  prerelease: false
143
143
  type: :runtime
144
- name: r18n-core
144
+ name: mime-types
145
145
  requirement: *id009
146
146
  - !ruby/object:Gem::Dependency
147
147
  version_requirements: &id010 !ruby/object:Gem::Requirement
@@ -155,7 +155,7 @@ dependencies:
155
155
  version: "0"
156
156
  prerelease: false
157
157
  type: :runtime
158
- name: rack
158
+ name: r18n-core
159
159
  requirement: *id010
160
160
  - !ruby/object:Gem::Dependency
161
161
  version_requirements: &id011 !ruby/object:Gem::Requirement
@@ -169,7 +169,7 @@ dependencies:
169
169
  version: "0"
170
170
  prerelease: false
171
171
  type: :runtime
172
- name: ruby-event
172
+ name: rack
173
173
  requirement: *id011
174
174
  - !ruby/object:Gem::Dependency
175
175
  version_requirements: &id012 !ruby/object:Gem::Requirement
@@ -183,7 +183,7 @@ dependencies:
183
183
  version: "0"
184
184
  prerelease: false
185
185
  type: :runtime
186
- name: ruby-openid
186
+ name: ruby-event
187
187
  requirement: *id012
188
188
  - !ruby/object:Gem::Dependency
189
189
  version_requirements: &id013 !ruby/object:Gem::Requirement
@@ -197,7 +197,7 @@ dependencies:
197
197
  version: "0"
198
198
  prerelease: false
199
199
  type: :runtime
200
- name: sass
200
+ name: ruby-openid
201
201
  requirement: *id013
202
202
  - !ruby/object:Gem::Dependency
203
203
  version_requirements: &id014 !ruby/object:Gem::Requirement
@@ -211,7 +211,7 @@ dependencies:
211
211
  version: "0"
212
212
  prerelease: false
213
213
  type: :runtime
214
- name: term-ansicolor
214
+ name: sass
215
215
  requirement: *id014
216
216
  - !ruby/object:Gem::Dependency
217
217
  version_requirements: &id015 !ruby/object:Gem::Requirement
@@ -225,7 +225,7 @@ dependencies:
225
225
  version: "0"
226
226
  prerelease: false
227
227
  type: :runtime
228
- name: terminal-table
228
+ name: system_timer
229
229
  requirement: *id015
230
230
  - !ruby/object:Gem::Dependency
231
231
  version_requirements: &id016 !ruby/object:Gem::Requirement
@@ -239,7 +239,7 @@ dependencies:
239
239
  version: "0"
240
240
  prerelease: false
241
241
  type: :runtime
242
- name: yajl-ruby
242
+ name: term-ansicolor
243
243
  requirement: *id016
244
244
  - !ruby/object:Gem::Dependency
245
245
  version_requirements: &id017 !ruby/object:Gem::Requirement
@@ -252,9 +252,37 @@ dependencies:
252
252
  - 0
253
253
  version: "0"
254
254
  prerelease: false
255
+ type: :runtime
256
+ name: terminal-table
257
+ requirement: *id017
258
+ - !ruby/object:Gem::Dependency
259
+ version_requirements: &id018 !ruby/object:Gem::Requirement
260
+ none: false
261
+ requirements:
262
+ - - ">="
263
+ - !ruby/object:Gem::Version
264
+ hash: 3
265
+ segments:
266
+ - 0
267
+ version: "0"
268
+ prerelease: false
269
+ type: :runtime
270
+ name: yajl-ruby
271
+ requirement: *id018
272
+ - !ruby/object:Gem::Dependency
273
+ version_requirements: &id019 !ruby/object:Gem::Requirement
274
+ none: false
275
+ requirements:
276
+ - - ">="
277
+ - !ruby/object:Gem::Version
278
+ hash: 3
279
+ segments:
280
+ - 0
281
+ version: "0"
282
+ prerelease: false
255
283
  type: :development
256
284
  name: rake
257
- requirement: *id017
285
+ requirement: *id019
258
286
  description: A mobile web application framework in Ruby
259
287
  email:
260
288
  - frank.ficnar@gmail.com
@@ -281,6 +309,14 @@ files:
281
309
  - lib/ruby_app/element.rb
282
310
  - lib/ruby_app/elements.rb
283
311
  - lib/ruby_app/elements/mobile/button.rb
312
+ - lib/ruby_app/elements/mobile/buttons/facebook_button.css.haml
313
+ - lib/ruby_app/elements/mobile/buttons/facebook_button.rb
314
+ - lib/ruby_app/elements/mobile/buttons/google_button.css.haml
315
+ - lib/ruby_app/elements/mobile/buttons/google_button.rb
316
+ - lib/ruby_app/elements/mobile/buttons/my_open_id_button.css.haml
317
+ - lib/ruby_app/elements/mobile/buttons/my_open_id_button.rb
318
+ - lib/ruby_app/elements/mobile/buttons/yahoo_button.css.haml
319
+ - lib/ruby_app/elements/mobile/buttons/yahoo_button.rb
284
320
  - lib/ruby_app/elements/mobile/calendars/month.css.haml
285
321
  - lib/ruby_app/elements/mobile/calendars/month.html.haml
286
322
  - lib/ruby_app/elements/mobile/calendars/month.js.haml
@@ -372,6 +408,8 @@ files:
372
408
  - lib/ruby_app/elements/mobile/document.html.haml
373
409
  - lib/ruby_app/elements/mobile/document.js.haml
374
410
  - lib/ruby_app/elements/mobile/document.rb
411
+ - lib/ruby_app/elements/mobile/documents/authentication/facebook/authentication_document.rb
412
+ - lib/ruby_app/elements/mobile/documents/authentication/facebook/email_authentication_document.rb
375
413
  - lib/ruby_app/elements/mobile/documents/authentication/open_id/authentication_document.rb
376
414
  - lib/ruby_app/elements/mobile/documents/authentication/open_id/ax_authentication_document.rb
377
415
  - lib/ruby_app/elements/mobile/documents/authentication/open_id/email_authentication_document.rb
@@ -500,6 +538,14 @@ files:
500
538
  - lib/ruby_app/rack/route.rb
501
539
  - lib/ruby_app/rack/session.rb
502
540
  - lib/ruby_app/request.rb
541
+ - lib/ruby_app/resources/elements/mobile/buttons/facebook_button.ico
542
+ - lib/ruby_app/resources/elements/mobile/buttons/facebook_button.png
543
+ - lib/ruby_app/resources/elements/mobile/buttons/google_button.ico
544
+ - lib/ruby_app/resources/elements/mobile/buttons/google_button.png
545
+ - lib/ruby_app/resources/elements/mobile/buttons/my_open_id_button.ico
546
+ - lib/ruby_app/resources/elements/mobile/buttons/my_open_id_button.png
547
+ - lib/ruby_app/resources/elements/mobile/buttons/yahoo_button.ico
548
+ - lib/ruby_app/resources/elements/mobile/buttons/yahoo_button.png
503
549
  - lib/ruby_app/resources/elements/mobile/document/document.js
504
550
  - lib/ruby_app/resources/elements/mobile/document/jquery.ui.touch-punch.min.js
505
551
  - lib/ruby_app/resources/elements/mobile/platforms/ios/document/apple-touch-icon.png