RubyApp 0.6.63 → 0.6.64

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,12 +29,14 @@ module RubyApp
29
29
  @consumer = ::OpenID::Consumer.new(RubyApp::Session.data, nil)
30
30
  request = @consumer.begin(identifier)
31
31
  self.process_request(request)
32
- url = request.redirect_url(RubyApp::Request.url, RubyApp::Request.environment[RubyApp::Elements::Mobile::Documents::Authentication::AuthenticationDocument.configuration.return_to])
32
+ url = request.redirect_url(RubyApp::Request.environment[RubyApp::Elements::Mobile::Documents::Authentication::AuthenticationDocument.configuration.return_to],
33
+ RubyApp::Request.environment[RubyApp::Elements::Mobile::Documents::Authentication::AuthenticationDocument.configuration.return_to])
33
34
  RubyApp::Log.debug("OPENID --> #{url.inspect}")
34
35
  event.go(url)
35
36
  else
36
37
  RubyApp::Log.debug("OPENID <-- #{RubyApp::Request.url.inspect}")
37
- response = @consumer.complete(RubyApp::Request.query, RubyApp::Request.url)
38
+ response = @consumer.complete(RubyApp::Request.query,
39
+ RubyApp::Request.environment[RubyApp::Elements::Mobile::Documents::Authentication::AuthenticationDocument.configuration.return_to])
38
40
  case response.status
39
41
  when ::OpenID::Consumer::SUCCESS
40
42
  self.process_response(response)
@@ -1,3 +1,3 @@
1
- load_script! 'standard'
1
+ load_script! 'standard_no_logon'
2
2
 
3
3
  add_step! (RubyApp::Element::Event) { |event| event.execute('window.close();') }
@@ -0,0 +1,2 @@
1
+ load_script! 'standard_logon'
2
+ load_script! 'standard_no_logon'
@@ -1,2 +1,2 @@
1
- load_script! 'standard'
1
+ load_script! 'standard_no_logon'
2
2
  load_script! 'common/reset'
@@ -3,4 +3,3 @@ load_script! 'elements/authentications/o_auth/git_hub'
3
3
  load_script! 'elements/authentications/open_id/google'
4
4
  load_script! 'elements/authentications/open_id/my_open_id'
5
5
  load_script! 'elements/authentications/open_id/yahoo'
6
- load_script! 'standard'
@@ -1,5 +1,5 @@
1
1
  module RubyApp
2
- VERSION = "0.6.63"
2
+ VERSION = "0.6.64"
3
3
  ROOT = File.expand_path(File.dirname(__FILE__))
4
4
 
5
5
  def self.root
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: 121
4
+ hash: 135
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 63
10
- version: 0.6.63
9
+ - 64
10
+ version: 0.6.64
11
11
  platform: ruby
12
12
  authors:
13
13
  - Frank G. Ficnar
@@ -1466,9 +1466,10 @@ files:
1466
1466
  - lib/ruby_app/scripts/elements/trigger.rb
1467
1467
  - lib/ruby_app/scripts/phantom.js
1468
1468
  - lib/ruby_app/scripts/phantom.rb
1469
- - lib/ruby_app/scripts/standard.rb
1469
+ - lib/ruby_app/scripts/standard_all.rb
1470
1470
  - lib/ruby_app/scripts/standard_continuous.rb
1471
1471
  - lib/ruby_app/scripts/standard_logon.rb
1472
+ - lib/ruby_app/scripts/standard_no_logon.rb
1472
1473
  - lib/ruby_app/session.rb
1473
1474
  - lib/ruby_app/templates/application/Gemfile
1474
1475
  - lib/ruby_app/templates/application/Rakefile