tumblr_rails 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +1 -1
- data/README.md +111 -0
- data/app/controllers/tumblr_rails/auth_controller.rb +1 -0
- data/config/routes.rb +0 -2
- data/lib/tumblr.rb +2 -1
- data/lib/tumblr/blog/posting.rb +62 -0
- data/lib/tumblr/user.rb +80 -0
- data/lib/tumblr_rails/version.rb +1 -1
- data/test/dummy/log/development.log +469 -0
- data/test/dummy/log/test.log +4729 -0
- data/test/unit/tumblr/blog_posting_test.rb +40 -0
- data/test/unit/tumblr/user_test.rb +54 -1
- metadata +14 -35
- data/README.rdoc +0 -3
- data/test/functional/tumblr_rails/auth_controller_test.rb +0 -9
data/MIT-LICENSE
CHANGED
data/README.md
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
# Tumblr API V2 Gem for Ruby on Rails 3.1
|
2
|
+
|
3
|
+
Version 0.0.2
|
4
|
+
|
5
|
+
[Tumblr](http://tumblr.com/) is a micro-blogging service and offers an OAuth API.
|
6
|
+
tumblr_rails is a project for a Gem which makes it easier to access this API with Rails 3.1 (higher Versions are also supported)
|
7
|
+
|
8
|
+
__Dependencies:__
|
9
|
+
|
10
|
+
* [omniauth Gem](https://github.com/intridea/omniauth) is used for OAuth
|
11
|
+
* [omniauth-tumblr Gem](https://github.com/jamiew/omniauth-tumblr) is used as omniauth service provider
|
12
|
+
|
13
|
+
## Docs & Links
|
14
|
+
|
15
|
+
[Tumblr](http://tumblr.com) - The official Tumblr Website
|
16
|
+
|
17
|
+
[Tumblr API](http://www.tumblr.com/docs/en/api/v2) - Official Tumblr API documentation
|
18
|
+
|
19
|
+
[OAuth](http://oauth.net) - OAuth website and doch
|
20
|
+
|
21
|
+
[Gem Wiki](https://github.com/visionred/tumblr_rails/wiki) - Wiki for tumblr_rails Gem
|
22
|
+
|
23
|
+
## Installing the Gem
|
24
|
+
|
25
|
+
##### You have different options:
|
26
|
+
|
27
|
+
Run `gem install tumblr_rails` from your command line
|
28
|
+
|
29
|
+
OR
|
30
|
+
|
31
|
+
Add `gem "tumblr_rails"` to your Gemfile and run
|
32
|
+
|
33
|
+
`bundle install` from the command line if you are using [Bundler](http://gembundler.com/)
|
34
|
+
|
35
|
+
OR
|
36
|
+
|
37
|
+
Use the latest version of the Gem directly via Git:
|
38
|
+
|
39
|
+
```ruby
|
40
|
+
gem 'tumblr_rails', :git => 'git@github.com:visionred/tumblr_rails.git'
|
41
|
+
```
|
42
|
+
|
43
|
+
Then you need to run the initializer with the following command:
|
44
|
+
```ruby
|
45
|
+
rails generate tumblr:initialize
|
46
|
+
```
|
47
|
+
|
48
|
+
This sets up the required files for the Gem, OAuth and omniauth.
|
49
|
+
|
50
|
+
## Setup
|
51
|
+
|
52
|
+
After the installation is complete you need to do the following steps to prepare your app:
|
53
|
+
|
54
|
+
1. Visit the [Registration Page](http://www.tumblr.com/oauth/apps) and create your Tumblr API App.
|
55
|
+
2. Open <i>tumblr.yml</i> in your `config` folder and add the consumer key and consumer secret for OAuth
|
56
|
+
3. Add the following line to `config/routes.rb` [at the top of the class]:
|
57
|
+
|
58
|
+
```ruby
|
59
|
+
mount TumblrRails::Engine => "/"
|
60
|
+
```
|
61
|
+
|
62
|
+
That's it! Now you are ready to connect your Rails App with Tumblr blogs!
|
63
|
+
|
64
|
+
## Authentication [BETA, currently under construction]
|
65
|
+
|
66
|
+
Before you can access all API methods you need to authenticate your App via OAuth. The Gem comes accross with an OAuth authentication system based on [omniauth](https://github.com/intridea/omniauth).
|
67
|
+
|
68
|
+
That's why: Please unsure that the route `match '/auth/:provider/callback' => 'auth#callback'` is free to use for the Gem!
|
69
|
+
|
70
|
+
If this is the case, just redirect the user to this route and the authentication proccess begins.
|
71
|
+
|
72
|
+
After the app was successfully authenticated you will be redirected back to your page and the tokens are stored in the `session['tumblr_session']`. With these tokens, stored in a session you are able to call all API methods.
|
73
|
+
|
74
|
+
NOTE: The authentication is currently just a beta and the redirection just brings you back to your root path. This will be as soon as possible fixed. If you have any good ideas feel so free to push them!
|
75
|
+
|
76
|
+
## Usage
|
77
|
+
|
78
|
+
The gem has a modular structure and the API responses are all JSON decoded. Calls usually look as follows:
|
79
|
+
|
80
|
+
`Tumblr::[Module]::[Object].api_method(oauth_credentials, params = {})`
|
81
|
+
|
82
|
+
__Example:__
|
83
|
+
|
84
|
+
```ruby
|
85
|
+
require 'tumblr'
|
86
|
+
|
87
|
+
class PagesController < ApplicationController
|
88
|
+
|
89
|
+
def blog_info
|
90
|
+
@blog_info = Tumblr::Blog::Info.blog_info(session['tumblr_session'], {:base_hostname => 'test-blog.tumblr.com'})
|
91
|
+
#This return the info for the blog test-blog.tumblr.com
|
92
|
+
end
|
93
|
+
|
94
|
+
end
|
95
|
+
```
|
96
|
+
|
97
|
+
For a full function reference take a look in the [Wiki](https://github.com/visionred/tumblr_rails/wiki)
|
98
|
+
|
99
|
+
## Patches & Forks
|
100
|
+
__Future__
|
101
|
+
|
102
|
+
* Finish the authentication
|
103
|
+
* Add missing tagged methods
|
104
|
+
|
105
|
+
## Contributing to this Plugin
|
106
|
+
|
107
|
+
Please feel free to contribute to the plugin with new issues, requests, unit tests and code fixes or new features. If you want to contribute some code, create a feature branch from develop, and send us your pull request. Unit tests for new features and issues detected are mandatory to keep quality high.
|
108
|
+
|
109
|
+
## License
|
110
|
+
|
111
|
+
Copyright (c) 2013 [visionred Web Solutions](http://visionred.org), Licensed under the [MIT-LICENSE](https://github.com/visionred/tumblr_rails/blob/master/MIT-LICENSE)
|
data/config/routes.rb
CHANGED
data/lib/tumblr.rb
CHANGED
@@ -0,0 +1,62 @@
|
|
1
|
+
require 'tumblr'
|
2
|
+
|
3
|
+
module Tumblr
|
4
|
+
module Blog
|
5
|
+
|
6
|
+
class Posting
|
7
|
+
|
8
|
+
API_BASE_URI = 'http://api.tumblr.com/v2/blog'
|
9
|
+
|
10
|
+
def self.post(oauth_credentials = nil, params = {})
|
11
|
+
if oauth_credentials != nil
|
12
|
+
url = build_url('post', params)
|
13
|
+
params = params.except(:base_hostname)
|
14
|
+
@post = JSON.parse(access_token(oauth_credentials).post(url, params).body)
|
15
|
+
else
|
16
|
+
nil
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.edit(oauth_credentials = nil, params = {})
|
21
|
+
if oauth_credentials != nil
|
22
|
+
url = build_url('edit', params)
|
23
|
+
params = params.except(:base_hostname)
|
24
|
+
@post = JSON.parse(access_token(oauth_credentials).post(url, params).body)
|
25
|
+
else
|
26
|
+
nil
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
def self.reblog(oauth_credentials = nil, params = {})
|
31
|
+
if oauth_credentials != nil
|
32
|
+
url = build_url('reblog', params)
|
33
|
+
params = params.except(:base_hostname)
|
34
|
+
@post = JSON.parse(access_token(oauth_credentials).post(url, params).body)
|
35
|
+
else
|
36
|
+
nil
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
private
|
41
|
+
|
42
|
+
def self.access_token(oauth_credentials = nil)
|
43
|
+
@access_token = Tumblr::App::Auth.access_token(oauth_credentials)
|
44
|
+
end
|
45
|
+
|
46
|
+
def self.build_url(type = nil, params = {})
|
47
|
+
type = type.downcase
|
48
|
+
if params.has_key?(:base_hostname) && ['post', 'edit', 'reblog', 'delete'].include?(type)
|
49
|
+
if type == 'post'
|
50
|
+
@url = "#{API_BASE_URI}/#{params[:base_hostname]}/post"
|
51
|
+
else
|
52
|
+
@url = "#{API_BASE_URI}/#{params[:base_hostname]}/post/#{type}"
|
53
|
+
end
|
54
|
+
else
|
55
|
+
nil
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
end
|
62
|
+
end
|
data/lib/tumblr/user.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'tumblr'
|
2
|
+
require 'open-uri'
|
2
3
|
|
3
4
|
module Tumblr
|
4
5
|
|
@@ -24,6 +25,59 @@ module Tumblr
|
|
24
25
|
end
|
25
26
|
end
|
26
27
|
|
28
|
+
def self.likes(oauth_credentials = nil, params = {})
|
29
|
+
if oauth_credentials != nil
|
30
|
+
url = build_url('likes', params)
|
31
|
+
@likes = JSON.parse(access_token(oauth_credentials).get(url).body)
|
32
|
+
else
|
33
|
+
nil
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.following(oauth_credentials = nil, params = {})
|
38
|
+
if oauth_credentials != nil
|
39
|
+
url = build_url('following', params)
|
40
|
+
@following = JSON.parse(access_token(oauth_credentials).get(url).body)
|
41
|
+
else
|
42
|
+
nil
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
def self.follow(oauth_credentials = nil, params = {})
|
47
|
+
if oauth_credentials != nil
|
48
|
+
url = build_url('follow')
|
49
|
+
@follow = JSON.parse(access_token(oauth_credentials).post(url, :url => URI::encode(params[:url])).body)
|
50
|
+
else
|
51
|
+
nil
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def self.unfollow(oauth_credentials = nil, params = {})
|
56
|
+
if oauth_credentials != nil
|
57
|
+
url = build_url('unfollow')
|
58
|
+
@unfollow = JSON.parse(access_token(oauth_credentials).post(url, :url => URI::encode(params[:url])).body)
|
59
|
+
else
|
60
|
+
nil
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
def self.like(oauth_credentials = nil, params = {})
|
65
|
+
if oauth_credentials != nil
|
66
|
+
url = build_url('like')
|
67
|
+
@like = JSON.parse(access_token(oauth_credentials).post(url, :id => params[:id], :reblog_key => params[:reblog_key]).body)
|
68
|
+
else
|
69
|
+
nil
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
def self.unlike(oauth_credentials = nil, params = {})
|
74
|
+
if oauth_credentials != nil
|
75
|
+
url = build_url('unlike')
|
76
|
+
@unlike = JSON.parse(access_token(oauth_credentials).post(url, :id => params[:id], :reblog_key => params[:reblog_key]).body)
|
77
|
+
else
|
78
|
+
nil
|
79
|
+
end
|
80
|
+
end
|
27
81
|
|
28
82
|
private
|
29
83
|
|
@@ -96,8 +150,34 @@ module Tumblr
|
|
96
150
|
end
|
97
151
|
|
98
152
|
end
|
153
|
+
#likes
|
154
|
+
if type == 'likes' || type == 'following'
|
155
|
+
first_param = true
|
156
|
+
#limit
|
157
|
+
if params.has_key?(:limit)
|
158
|
+
if first_param == true
|
159
|
+
@url = "#{@url}?limit=#{params[:limit]}"
|
160
|
+
first_param = false
|
161
|
+
else
|
162
|
+
@url = "#{@url}&limit=#{params[:limit]}"
|
163
|
+
end
|
164
|
+
end
|
165
|
+
#offset
|
166
|
+
if params.has_key?(:offset)
|
167
|
+
if first_param == true
|
168
|
+
@url = "#{@url}?offset=#{params[:offset]}"
|
169
|
+
first_param = false
|
170
|
+
else
|
171
|
+
@url = "#{@url}&offset=#{params[:offset]}"
|
172
|
+
end
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
99
176
|
|
100
177
|
@url
|
178
|
+
|
179
|
+
elsif ['follow', 'unfollow', 'like', 'unlike'].include?(type)
|
180
|
+
@url = "#{API_BASE_URI}/#{type}"
|
101
181
|
else
|
102
182
|
nil
|
103
183
|
end
|
data/lib/tumblr_rails/version.rb
CHANGED
@@ -3973,3 +3973,472 @@ ActionController::RoutingError (No route matches {:controller=>"tumblr_rails/",
|
|
3973
3973
|
Rendered /Users/fnitschmann/.rbenv/versions/1.9.3-p194/gemsets/tumblr_rails/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.5ms)
|
3974
3974
|
Connecting to database specified by database.yml
|
3975
3975
|
[1m[36m (8.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
3976
|
+
|
3977
|
+
|
3978
|
+
Started GET "/" for 127.0.0.1 at 2013-02-06 11:15:28 +0100
|
3979
|
+
Connecting to database specified by database.yml
|
3980
|
+
|
3981
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
3982
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
3983
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
3984
|
+
railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
|
3985
|
+
railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
|
3986
|
+
activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
|
3987
|
+
railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
|
3988
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
3989
|
+
rack (1.4.4) lib/rack/methodoverride.rb:21:in `call'
|
3990
|
+
rack (1.4.4) lib/rack/runtime.rb:17:in `call'
|
3991
|
+
activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
3992
|
+
rack (1.4.4) lib/rack/lock.rb:15:in `call'
|
3993
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
|
3994
|
+
railties (3.2.11) lib/rails/engine.rb:479:in `call'
|
3995
|
+
railties (3.2.11) lib/rails/application.rb:223:in `call'
|
3996
|
+
rack (1.4.4) lib/rack/content_length.rb:14:in `call'
|
3997
|
+
railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call'
|
3998
|
+
rack (1.4.4) lib/rack/handler/webrick.rb:59:in `service'
|
3999
|
+
/Users/fnitschmann/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
4000
|
+
/Users/fnitschmann/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
4001
|
+
/Users/fnitschmann/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
4002
|
+
|
4003
|
+
|
4004
|
+
Rendered /Users/fnitschmann/.rbenv/versions/1.9.3-p194/gemsets/tumblr_rails/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
|
4005
|
+
|
4006
|
+
|
4007
|
+
Started GET "/test" for 127.0.0.1 at 2013-02-06 11:15:33 +0100
|
4008
|
+
Processing by TumblrRails::AuthController#test as HTML
|
4009
|
+
Rendered /Users/fnitschmann/code/visionred/gems/tumblr_rails/app/views/tumblr_rails/auth/test.html.erb (0.3ms)
|
4010
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
4011
|
+
|
4012
|
+
|
4013
|
+
Started GET "/test" for 127.0.0.1 at 2013-02-06 11:15:38 +0100
|
4014
|
+
Processing by TumblrRails::AuthController#test as HTML
|
4015
|
+
Rendered /Users/fnitschmann/code/visionred/gems/tumblr_rails/app/views/tumblr_rails/auth/test.html.erb (0.3ms)
|
4016
|
+
Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
|
4017
|
+
|
4018
|
+
|
4019
|
+
Started GET "/test" for 127.0.0.1 at 2013-02-06 11:16:43 +0100
|
4020
|
+
Processing by TumblrRails::AuthController#test as HTML
|
4021
|
+
Completed 500 Internal Server Error in 7ms
|
4022
|
+
|
4023
|
+
NameError (undefined local variable or method `auth_credentials' for #<TumblrRails::AuthController:0x007fa861665420>):
|
4024
|
+
/Users/fnitschmann/code/visionred/gems/tumblr_rails/app/controllers/tumblr_rails/auth_controller.rb:16:in `test'
|
4025
|
+
actionpack (3.2.11) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
4026
|
+
actionpack (3.2.11) lib/abstract_controller/base.rb:167:in `process_action'
|
4027
|
+
actionpack (3.2.11) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
4028
|
+
actionpack (3.2.11) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
4029
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:403:in `_run__499966700826828723__process_action__2617979574424432035__callbacks'
|
4030
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
|
4031
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
4032
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
4033
|
+
actionpack (3.2.11) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
4034
|
+
actionpack (3.2.11) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
4035
|
+
actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
4036
|
+
activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
|
4037
|
+
activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
4038
|
+
activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
|
4039
|
+
actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
4040
|
+
actionpack (3.2.11) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
4041
|
+
activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
4042
|
+
actionpack (3.2.11) lib/abstract_controller/base.rb:121:in `process'
|
4043
|
+
actionpack (3.2.11) lib/abstract_controller/rendering.rb:45:in `process'
|
4044
|
+
actionpack (3.2.11) lib/action_controller/metal.rb:203:in `dispatch'
|
4045
|
+
actionpack (3.2.11) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
4046
|
+
actionpack (3.2.11) lib/action_controller/metal.rb:246:in `block in action'
|
4047
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
4048
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
4049
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
4050
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
4051
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
4052
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
4053
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
|
4054
|
+
railties (3.2.11) lib/rails/engine.rb:479:in `call'
|
4055
|
+
railties (3.2.11) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
4056
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
4057
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
4058
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
4059
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
|
4060
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
|
4061
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
|
4062
|
+
omniauth (1.1.1) lib/omniauth/builder.rb:48:in `call'
|
4063
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
4064
|
+
rack (1.4.4) lib/rack/etag.rb:23:in `call'
|
4065
|
+
rack (1.4.4) lib/rack/conditionalget.rb:25:in `call'
|
4066
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/head.rb:14:in `call'
|
4067
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
4068
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
4069
|
+
rack (1.4.4) lib/rack/session/abstract/id.rb:210:in `context'
|
4070
|
+
rack (1.4.4) lib/rack/session/abstract/id.rb:205:in `call'
|
4071
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
4072
|
+
activerecord (3.2.11) lib/active_record/query_cache.rb:64:in `call'
|
4073
|
+
activerecord (3.2.11) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
4074
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
4075
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `_run__4112518933506569845__call__1760645722194732672__callbacks'
|
4076
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
|
4077
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
4078
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
4079
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
4080
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
4081
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
4082
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
4083
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
4084
|
+
railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
|
4085
|
+
railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
|
4086
|
+
activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
|
4087
|
+
railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
|
4088
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
4089
|
+
rack (1.4.4) lib/rack/methodoverride.rb:21:in `call'
|
4090
|
+
rack (1.4.4) lib/rack/runtime.rb:17:in `call'
|
4091
|
+
activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
4092
|
+
rack (1.4.4) lib/rack/lock.rb:15:in `call'
|
4093
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
|
4094
|
+
railties (3.2.11) lib/rails/engine.rb:479:in `call'
|
4095
|
+
railties (3.2.11) lib/rails/application.rb:223:in `call'
|
4096
|
+
rack (1.4.4) lib/rack/content_length.rb:14:in `call'
|
4097
|
+
railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call'
|
4098
|
+
rack (1.4.4) lib/rack/handler/webrick.rb:59:in `service'
|
4099
|
+
/Users/fnitschmann/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
4100
|
+
/Users/fnitschmann/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
4101
|
+
/Users/fnitschmann/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
4102
|
+
|
4103
|
+
|
4104
|
+
Rendered /Users/fnitschmann/.rbenv/versions/1.9.3-p194/gemsets/tumblr_rails/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
|
4105
|
+
Rendered /Users/fnitschmann/.rbenv/versions/1.9.3-p194/gemsets/tumblr_rails/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
4106
|
+
Rendered /Users/fnitschmann/.rbenv/versions/1.9.3-p194/gemsets/tumblr_rails/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.3ms)
|
4107
|
+
|
4108
|
+
|
4109
|
+
Started GET "/test" for 127.0.0.1 at 2013-02-06 11:16:56 +0100
|
4110
|
+
Processing by TumblrRails::AuthController#test as HTML
|
4111
|
+
Rendered /Users/fnitschmann/code/visionred/gems/tumblr_rails/app/views/tumblr_rails/auth/test.html.erb (35.9ms)
|
4112
|
+
Completed 200 OK in 1562ms (Views: 38.2ms | ActiveRecord: 0.0ms)
|
4113
|
+
|
4114
|
+
|
4115
|
+
Started GET "/test" for 127.0.0.1 at 2013-02-06 11:17:13 +0100
|
4116
|
+
Processing by TumblrRails::AuthController#test as HTML
|
4117
|
+
Rendered /Users/fnitschmann/code/visionred/gems/tumblr_rails/app/views/tumblr_rails/auth/test.html.erb (0.4ms)
|
4118
|
+
Completed 200 OK in 442ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
4119
|
+
|
4120
|
+
|
4121
|
+
Started GET "/test" for 127.0.0.1 at 2013-02-06 11:17:15 +0100
|
4122
|
+
Processing by TumblrRails::AuthController#test as HTML
|
4123
|
+
Rendered /Users/fnitschmann/code/visionred/gems/tumblr_rails/app/views/tumblr_rails/auth/test.html.erb (0.5ms)
|
4124
|
+
Completed 200 OK in 457ms (Views: 3.6ms | ActiveRecord: 0.0ms)
|
4125
|
+
|
4126
|
+
|
4127
|
+
Started GET "/test" for 127.0.0.1 at 2013-02-06 11:17:38 +0100
|
4128
|
+
Connecting to database specified by database.yml
|
4129
|
+
Processing by TumblrRails::AuthController#test as HTML
|
4130
|
+
Completed 500 Internal Server Error in 836ms
|
4131
|
+
|
4132
|
+
TypeError (can't convert Net::HTTPNotFound into String):
|
4133
|
+
json (1.7.6) lib/json/common.rb:155:in `initialize'
|
4134
|
+
json (1.7.6) lib/json/common.rb:155:in `new'
|
4135
|
+
json (1.7.6) lib/json/common.rb:155:in `parse'
|
4136
|
+
/Users/fnitschmann/code/visionred/gems/tumblr_rails/lib/tumblr/user.rb:49:in `follow'
|
4137
|
+
/Users/fnitschmann/code/visionred/gems/tumblr_rails/app/controllers/tumblr_rails/auth_controller.rb:16:in `test'
|
4138
|
+
actionpack (3.2.11) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
4139
|
+
actionpack (3.2.11) lib/abstract_controller/base.rb:167:in `process_action'
|
4140
|
+
actionpack (3.2.11) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
4141
|
+
actionpack (3.2.11) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
4142
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:403:in `_run__2965064240192902262__process_action__2658530951988551350__callbacks'
|
4143
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
|
4144
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
4145
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
4146
|
+
actionpack (3.2.11) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
4147
|
+
actionpack (3.2.11) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
4148
|
+
actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
4149
|
+
activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
|
4150
|
+
activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
4151
|
+
activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
|
4152
|
+
actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
4153
|
+
actionpack (3.2.11) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
4154
|
+
activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
4155
|
+
actionpack (3.2.11) lib/abstract_controller/base.rb:121:in `process'
|
4156
|
+
actionpack (3.2.11) lib/abstract_controller/rendering.rb:45:in `process'
|
4157
|
+
actionpack (3.2.11) lib/action_controller/metal.rb:203:in `dispatch'
|
4158
|
+
actionpack (3.2.11) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
4159
|
+
actionpack (3.2.11) lib/action_controller/metal.rb:246:in `block in action'
|
4160
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
4161
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
4162
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
4163
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
4164
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
4165
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
4166
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
|
4167
|
+
railties (3.2.11) lib/rails/engine.rb:479:in `call'
|
4168
|
+
railties (3.2.11) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
4169
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
4170
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
4171
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
4172
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
|
4173
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
|
4174
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
|
4175
|
+
omniauth (1.1.1) lib/omniauth/builder.rb:48:in `call'
|
4176
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
4177
|
+
rack (1.4.4) lib/rack/etag.rb:23:in `call'
|
4178
|
+
rack (1.4.4) lib/rack/conditionalget.rb:25:in `call'
|
4179
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/head.rb:14:in `call'
|
4180
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
4181
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
4182
|
+
rack (1.4.4) lib/rack/session/abstract/id.rb:210:in `context'
|
4183
|
+
rack (1.4.4) lib/rack/session/abstract/id.rb:205:in `call'
|
4184
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
4185
|
+
activerecord (3.2.11) lib/active_record/query_cache.rb:64:in `call'
|
4186
|
+
activerecord (3.2.11) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
4187
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
4188
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `_run__3402138624049839356__call__4014205282423964734__callbacks'
|
4189
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
|
4190
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
4191
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
4192
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
4193
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
4194
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
4195
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
4196
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
4197
|
+
railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
|
4198
|
+
railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
|
4199
|
+
activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
|
4200
|
+
railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
|
4201
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
4202
|
+
rack (1.4.4) lib/rack/methodoverride.rb:21:in `call'
|
4203
|
+
rack (1.4.4) lib/rack/runtime.rb:17:in `call'
|
4204
|
+
activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
4205
|
+
rack (1.4.4) lib/rack/lock.rb:15:in `call'
|
4206
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
|
4207
|
+
railties (3.2.11) lib/rails/engine.rb:479:in `call'
|
4208
|
+
railties (3.2.11) lib/rails/application.rb:223:in `call'
|
4209
|
+
rack (1.4.4) lib/rack/content_length.rb:14:in `call'
|
4210
|
+
railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call'
|
4211
|
+
rack (1.4.4) lib/rack/handler/webrick.rb:59:in `service'
|
4212
|
+
/Users/fnitschmann/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
4213
|
+
/Users/fnitschmann/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
4214
|
+
/Users/fnitschmann/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
4215
|
+
|
4216
|
+
|
4217
|
+
Rendered /Users/fnitschmann/.rbenv/versions/1.9.3-p194/gemsets/tumblr_rails/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
|
4218
|
+
Rendered /Users/fnitschmann/.rbenv/versions/1.9.3-p194/gemsets/tumblr_rails/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
|
4219
|
+
Rendered /Users/fnitschmann/.rbenv/versions/1.9.3-p194/gemsets/tumblr_rails/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.2ms)
|
4220
|
+
|
4221
|
+
|
4222
|
+
Started GET "/test" for 127.0.0.1 at 2013-02-06 11:18:12 +0100
|
4223
|
+
Connecting to database specified by database.yml
|
4224
|
+
Processing by TumblrRails::AuthController#test as HTML
|
4225
|
+
Rendered /Users/fnitschmann/code/visionred/gems/tumblr_rails/app/views/tumblr_rails/auth/test.html.erb (3.0ms)
|
4226
|
+
Completed 200 OK in 482ms (Views: 10.3ms | ActiveRecord: 0.0ms)
|
4227
|
+
|
4228
|
+
|
4229
|
+
Started GET "/test" for 127.0.0.1 at 2013-02-06 11:19:31 +0100
|
4230
|
+
Connecting to database specified by database.yml
|
4231
|
+
Processing by TumblrRails::AuthController#test as HTML
|
4232
|
+
Rendered /Users/fnitschmann/code/visionred/gems/tumblr_rails/app/views/tumblr_rails/auth/test.html.erb (3.3ms)
|
4233
|
+
Completed 200 OK in 2582ms (Views: 15.8ms | ActiveRecord: 0.0ms)
|
4234
|
+
|
4235
|
+
|
4236
|
+
Started GET "/test" for 127.0.0.1 at 2013-02-06 11:27:38 +0100
|
4237
|
+
Connecting to database specified by database.yml
|
4238
|
+
Processing by TumblrRails::AuthController#test as HTML
|
4239
|
+
Completed 500 Internal Server Error in 1ms
|
4240
|
+
|
4241
|
+
NameError (uninitialized constant Tumblr::Blog::Posting):
|
4242
|
+
/Users/fnitschmann/code/visionred/gems/tumblr_rails/app/controllers/tumblr_rails/auth_controller.rb:16:in `test'
|
4243
|
+
actionpack (3.2.11) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
4244
|
+
actionpack (3.2.11) lib/abstract_controller/base.rb:167:in `process_action'
|
4245
|
+
actionpack (3.2.11) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
4246
|
+
actionpack (3.2.11) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
4247
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:403:in `_run__2217704747751277438__process_action__49114004431950369__callbacks'
|
4248
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
|
4249
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
4250
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
4251
|
+
actionpack (3.2.11) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
4252
|
+
actionpack (3.2.11) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
4253
|
+
actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
4254
|
+
activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
|
4255
|
+
activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
4256
|
+
activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
|
4257
|
+
actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
4258
|
+
actionpack (3.2.11) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
4259
|
+
activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
4260
|
+
actionpack (3.2.11) lib/abstract_controller/base.rb:121:in `process'
|
4261
|
+
actionpack (3.2.11) lib/abstract_controller/rendering.rb:45:in `process'
|
4262
|
+
actionpack (3.2.11) lib/action_controller/metal.rb:203:in `dispatch'
|
4263
|
+
actionpack (3.2.11) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
4264
|
+
actionpack (3.2.11) lib/action_controller/metal.rb:246:in `block in action'
|
4265
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
4266
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
4267
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
4268
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
4269
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
4270
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
4271
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
|
4272
|
+
railties (3.2.11) lib/rails/engine.rb:479:in `call'
|
4273
|
+
railties (3.2.11) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
4274
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
4275
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
4276
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
4277
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
|
4278
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
|
4279
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
|
4280
|
+
omniauth (1.1.1) lib/omniauth/builder.rb:48:in `call'
|
4281
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
4282
|
+
rack (1.4.4) lib/rack/etag.rb:23:in `call'
|
4283
|
+
rack (1.4.4) lib/rack/conditionalget.rb:25:in `call'
|
4284
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/head.rb:14:in `call'
|
4285
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
4286
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
4287
|
+
rack (1.4.4) lib/rack/session/abstract/id.rb:210:in `context'
|
4288
|
+
rack (1.4.4) lib/rack/session/abstract/id.rb:205:in `call'
|
4289
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
4290
|
+
activerecord (3.2.11) lib/active_record/query_cache.rb:64:in `call'
|
4291
|
+
activerecord (3.2.11) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
4292
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
4293
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `_run__2005199496458164521__call__305054612391595695__callbacks'
|
4294
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
|
4295
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
4296
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
4297
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
4298
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
4299
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
4300
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
4301
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
4302
|
+
railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
|
4303
|
+
railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
|
4304
|
+
activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
|
4305
|
+
railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
|
4306
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
4307
|
+
rack (1.4.4) lib/rack/methodoverride.rb:21:in `call'
|
4308
|
+
rack (1.4.4) lib/rack/runtime.rb:17:in `call'
|
4309
|
+
activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
4310
|
+
rack (1.4.4) lib/rack/lock.rb:15:in `call'
|
4311
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
|
4312
|
+
railties (3.2.11) lib/rails/engine.rb:479:in `call'
|
4313
|
+
railties (3.2.11) lib/rails/application.rb:223:in `call'
|
4314
|
+
rack (1.4.4) lib/rack/content_length.rb:14:in `call'
|
4315
|
+
railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call'
|
4316
|
+
rack (1.4.4) lib/rack/handler/webrick.rb:59:in `service'
|
4317
|
+
/Users/fnitschmann/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
4318
|
+
/Users/fnitschmann/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
4319
|
+
/Users/fnitschmann/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
4320
|
+
|
4321
|
+
|
4322
|
+
Rendered /Users/fnitschmann/.rbenv/versions/1.9.3-p194/gemsets/tumblr_rails/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
|
4323
|
+
Rendered /Users/fnitschmann/.rbenv/versions/1.9.3-p194/gemsets/tumblr_rails/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
|
4324
|
+
Rendered /Users/fnitschmann/.rbenv/versions/1.9.3-p194/gemsets/tumblr_rails/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.0ms)
|
4325
|
+
|
4326
|
+
|
4327
|
+
Started GET "/test" for 127.0.0.1 at 2013-02-06 11:28:32 +0100
|
4328
|
+
Connecting to database specified by database.yml
|
4329
|
+
Processing by TumblrRails::AuthController#test as HTML
|
4330
|
+
Completed 500 Internal Server Error in 1ms
|
4331
|
+
|
4332
|
+
NameError (uninitialized constant Tumblr::Blog::Posting):
|
4333
|
+
/Users/fnitschmann/code/visionred/gems/tumblr_rails/app/controllers/tumblr_rails/auth_controller.rb:16:in `test'
|
4334
|
+
actionpack (3.2.11) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
4335
|
+
actionpack (3.2.11) lib/abstract_controller/base.rb:167:in `process_action'
|
4336
|
+
actionpack (3.2.11) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
4337
|
+
actionpack (3.2.11) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
4338
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:403:in `_run__4035332962274410152__process_action__2592418167000206927__callbacks'
|
4339
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
|
4340
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
4341
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
4342
|
+
actionpack (3.2.11) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
4343
|
+
actionpack (3.2.11) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
4344
|
+
actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
4345
|
+
activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
|
4346
|
+
activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
4347
|
+
activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
|
4348
|
+
actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
4349
|
+
actionpack (3.2.11) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
4350
|
+
activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
4351
|
+
actionpack (3.2.11) lib/abstract_controller/base.rb:121:in `process'
|
4352
|
+
actionpack (3.2.11) lib/abstract_controller/rendering.rb:45:in `process'
|
4353
|
+
actionpack (3.2.11) lib/action_controller/metal.rb:203:in `dispatch'
|
4354
|
+
actionpack (3.2.11) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
4355
|
+
actionpack (3.2.11) lib/action_controller/metal.rb:246:in `block in action'
|
4356
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
4357
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
4358
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
4359
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
4360
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
4361
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
4362
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
|
4363
|
+
railties (3.2.11) lib/rails/engine.rb:479:in `call'
|
4364
|
+
railties (3.2.11) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
4365
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
4366
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
4367
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
4368
|
+
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
|
4369
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
|
4370
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
|
4371
|
+
omniauth (1.1.1) lib/omniauth/builder.rb:48:in `call'
|
4372
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
4373
|
+
rack (1.4.4) lib/rack/etag.rb:23:in `call'
|
4374
|
+
rack (1.4.4) lib/rack/conditionalget.rb:25:in `call'
|
4375
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/head.rb:14:in `call'
|
4376
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
4377
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
4378
|
+
rack (1.4.4) lib/rack/session/abstract/id.rb:210:in `context'
|
4379
|
+
rack (1.4.4) lib/rack/session/abstract/id.rb:205:in `call'
|
4380
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
4381
|
+
activerecord (3.2.11) lib/active_record/query_cache.rb:64:in `call'
|
4382
|
+
activerecord (3.2.11) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
4383
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
4384
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `_run__3756289423242747597__call__919164669797498530__callbacks'
|
4385
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
|
4386
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
4387
|
+
activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
4388
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
4389
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
4390
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
4391
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
4392
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
4393
|
+
railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
|
4394
|
+
railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
|
4395
|
+
activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
|
4396
|
+
railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
|
4397
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
4398
|
+
rack (1.4.4) lib/rack/methodoverride.rb:21:in `call'
|
4399
|
+
rack (1.4.4) lib/rack/runtime.rb:17:in `call'
|
4400
|
+
activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
4401
|
+
rack (1.4.4) lib/rack/lock.rb:15:in `call'
|
4402
|
+
actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
|
4403
|
+
railties (3.2.11) lib/rails/engine.rb:479:in `call'
|
4404
|
+
railties (3.2.11) lib/rails/application.rb:223:in `call'
|
4405
|
+
rack (1.4.4) lib/rack/content_length.rb:14:in `call'
|
4406
|
+
railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call'
|
4407
|
+
rack (1.4.4) lib/rack/handler/webrick.rb:59:in `service'
|
4408
|
+
/Users/fnitschmann/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
4409
|
+
/Users/fnitschmann/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
4410
|
+
/Users/fnitschmann/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
4411
|
+
|
4412
|
+
|
4413
|
+
Rendered /Users/fnitschmann/.rbenv/versions/1.9.3-p194/gemsets/tumblr_rails/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
|
4414
|
+
Rendered /Users/fnitschmann/.rbenv/versions/1.9.3-p194/gemsets/tumblr_rails/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
4415
|
+
Rendered /Users/fnitschmann/.rbenv/versions/1.9.3-p194/gemsets/tumblr_rails/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.8ms)
|
4416
|
+
|
4417
|
+
|
4418
|
+
Started GET "/test" for 127.0.0.1 at 2013-02-06 11:32:27 +0100
|
4419
|
+
Connecting to database specified by database.yml
|
4420
|
+
Processing by TumblrRails::AuthController#test as HTML
|
4421
|
+
Rendered /Users/fnitschmann/code/visionred/gems/tumblr_rails/app/views/tumblr_rails/auth/test.html.erb (2.8ms)
|
4422
|
+
Completed 200 OK in 556ms (Views: 9.9ms | ActiveRecord: 0.0ms)
|
4423
|
+
|
4424
|
+
|
4425
|
+
Started GET "/test" for 127.0.0.1 at 2013-02-06 11:33:26 +0100
|
4426
|
+
Connecting to database specified by database.yml
|
4427
|
+
Processing by TumblrRails::AuthController#test as HTML
|
4428
|
+
Rendered /Users/fnitschmann/code/visionred/gems/tumblr_rails/app/views/tumblr_rails/auth/test.html.erb (3.0ms)
|
4429
|
+
Completed 200 OK in 3061ms (Views: 11.7ms | ActiveRecord: 0.0ms)
|
4430
|
+
|
4431
|
+
|
4432
|
+
Started GET "/test" for 127.0.0.1 at 2013-02-06 11:37:44 +0100
|
4433
|
+
Connecting to database specified by database.yml
|
4434
|
+
Processing by TumblrRails::AuthController#test as HTML
|
4435
|
+
Rendered /Users/fnitschmann/code/visionred/gems/tumblr_rails/app/views/tumblr_rails/auth/test.html.erb (3.4ms)
|
4436
|
+
Completed 200 OK in 2889ms (Views: 11.6ms | ActiveRecord: 0.0ms)
|
4437
|
+
|
4438
|
+
|
4439
|
+
Started GET "/test" for 127.0.0.1 at 2013-02-06 11:38:56 +0100
|
4440
|
+
Connecting to database specified by database.yml
|
4441
|
+
Processing by TumblrRails::AuthController#test as HTML
|
4442
|
+
Rendered /Users/fnitschmann/code/visionred/gems/tumblr_rails/app/views/tumblr_rails/auth/test.html.erb (3.0ms)
|
4443
|
+
Completed 200 OK in 913ms (Views: 12.6ms | ActiveRecord: 0.0ms)
|
4444
|
+
Connecting to database specified by database.yml
|