RubyApp 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -54,8 +54,8 @@ namespace :ruby_app do
54
54
  end
55
55
 
56
56
  desc 'Restart the server'
57
- task :restart => ['ruby_app:process:server:stop',
58
- 'ruby_app:process:server:start']
57
+ task :restart, [:daemonize] => ['ruby_app:process:server:stop',
58
+ 'ruby_app:process:server:start']
59
59
 
60
60
  end
61
61
 
@@ -36,7 +36,7 @@ module RubyApp
36
36
  else
37
37
  RubyApp::Log.info("OAUTH <-- #{RubyApp::Request.url.inspect}")
38
38
  code = RubyApp::Request.query['code']
39
- access_token = @client.auth_code.get_token(code, :redirect_uri => RubyApp::Request.url)
39
+ access_token = @client.auth_code.get_token(code, :redirect_uri => RubyApp::Request.environment[RubyApp::Elements::Mobile::Documents::Authentication::AuthenticationDocument.configuration.return_to])
40
40
  # RubyApp::Log.debug("OAUTH token=#{access_token.token.inspect}")
41
41
  self.process_token(access_token)
42
42
  self.hide(event)
@@ -1,4 +1,4 @@
1
1
  module RubyApp
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2"
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.1
4
+ version: 0.7.2
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-02 00:00:00.000000000 Z
12
+ date: 2013-03-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bluecloth
@@ -1545,7 +1545,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1545
1545
  version: '0'
1546
1546
  segments:
1547
1547
  - 0
1548
- hash: -3369301748080133056
1548
+ hash: 1249349749722460633
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: -3369301748080133056
1557
+ hash: 1249349749722460633
1558
1558
  requirements: []
1559
1559
  rubyforge_project:
1560
1560
  rubygems_version: 1.8.25