s3_rails 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/s3_rails.rb +2 -0
- data/lib/s3_rails/s3.rb +1 -1
- data/lib/s3_rails/version.rb +1 -1
- data/test/dummy/app/assets/stylesheets/application.css +69 -15
- data/test/dummy/app/controllers/widgets_controller.rb +80 -0
- data/test/dummy/app/models/widget.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +2 -2
- data/test/dummy/config/routes.rb +4 -55
- data/test/dummy/config/s3_rails.yml +5 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +278 -0
- data/test/dummy/log/test.log +228 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/test_helper.rb +3 -0
- metadata +24 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd40135ca066763f34bf93589bd3691e45862214
|
4
|
+
data.tar.gz: 2f0b5a6bd5b20b5a540e6f05cb3a4207006b71e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03e5e3da8a361498408ce42be6fbd03076facac69166e27b4dd57c33e171a454426fc84cf3032d5902c2db19eca557df1a611eea75fa9f9d540d00c0c4047b62
|
7
|
+
data.tar.gz: 1573bd5a95eb44690e512932aeb8661c1031622e74e5936e467f4bdb90ca4a989651329f122a4b2bbd1298c85f2327fcb274ebfb1a770bd6139f6fb90fc80945
|
data/lib/s3_rails.rb
CHANGED
data/lib/s3_rails/s3.rb
CHANGED
@@ -6,7 +6,7 @@ module S3Rails
|
|
6
6
|
|
7
7
|
def initialize(config_file)
|
8
8
|
puts Dir.pwd
|
9
|
-
config = YAML::load(IO.read(config_file))
|
9
|
+
config = YAML::load(ERB.new(IO.read(config_file)).result)
|
10
10
|
@access_key_id = config['s3_rails']['access_key_id']
|
11
11
|
@secret_access_key = config['s3_rails']['secret_access_key']
|
12
12
|
@bucket_name = config['s3_rails']['bucket']
|
data/lib/s3_rails/version.rb
CHANGED
@@ -1,15 +1,69 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
body {
|
2
|
+
background-color: #fff;
|
3
|
+
color: #333;
|
4
|
+
font-family: verdana, arial, helvetica, sans-serif;
|
5
|
+
font-size: 13px;
|
6
|
+
line-height: 18px;
|
7
|
+
}
|
8
|
+
|
9
|
+
p, ol, ul, td {
|
10
|
+
font-family: verdana, arial, helvetica, sans-serif;
|
11
|
+
font-size: 13px;
|
12
|
+
line-height: 18px;
|
13
|
+
}
|
14
|
+
|
15
|
+
pre {
|
16
|
+
background-color: #eee;
|
17
|
+
padding: 10px;
|
18
|
+
font-size: 11px;
|
19
|
+
}
|
20
|
+
|
21
|
+
a {
|
22
|
+
color: #000;
|
23
|
+
&:visited {
|
24
|
+
color: #666;
|
25
|
+
}
|
26
|
+
&:hover {
|
27
|
+
color: #fff;
|
28
|
+
background-color: #000;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
div {
|
33
|
+
&.field, &.actions {
|
34
|
+
margin-bottom: 10px;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
#notice {
|
39
|
+
color: green;
|
40
|
+
}
|
41
|
+
|
42
|
+
.field_with_errors {
|
43
|
+
padding: 2px;
|
44
|
+
background-color: red;
|
45
|
+
display: table;
|
46
|
+
}
|
47
|
+
|
48
|
+
#error_explanation {
|
49
|
+
width: 450px;
|
50
|
+
border: 2px solid red;
|
51
|
+
padding: 7px;
|
52
|
+
padding-bottom: 0;
|
53
|
+
margin-bottom: 20px;
|
54
|
+
background-color: #f0f0f0;
|
55
|
+
h2 {
|
56
|
+
text-align: left;
|
57
|
+
font-weight: bold;
|
58
|
+
padding: 5px 5px 5px 15px;
|
59
|
+
font-size: 12px;
|
60
|
+
margin: -7px;
|
61
|
+
margin-bottom: 0px;
|
62
|
+
background-color: #c00;
|
63
|
+
color: #fff;
|
64
|
+
}
|
65
|
+
ul li {
|
66
|
+
font-size: 12px;
|
67
|
+
list-style: square;
|
68
|
+
}
|
69
|
+
}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
class WidgetsController < ApplicationController
|
2
|
+
before_action :set_widget, only: [:show, :edit, :update, :destroy]
|
3
|
+
append_view_path S3Rails::Resolver.instance
|
4
|
+
|
5
|
+
# GET /widgets
|
6
|
+
# GET /widgets.json
|
7
|
+
def index
|
8
|
+
@widgets = Widget.all
|
9
|
+
end
|
10
|
+
|
11
|
+
# GET /widgets/1
|
12
|
+
# GET /widgets/1.json
|
13
|
+
def show
|
14
|
+
end
|
15
|
+
|
16
|
+
# GET /widgets/new
|
17
|
+
def new
|
18
|
+
@widget = Widget.new
|
19
|
+
end
|
20
|
+
|
21
|
+
# GET /widgets/1/edit
|
22
|
+
def edit
|
23
|
+
end
|
24
|
+
|
25
|
+
def reload
|
26
|
+
S3Rails::Resolver.instance.reload
|
27
|
+
render json: {reloaded: true}
|
28
|
+
end
|
29
|
+
|
30
|
+
# POST /widgets
|
31
|
+
# POST /widgets.json
|
32
|
+
def create
|
33
|
+
@widget = Widget.new(widget_params)
|
34
|
+
|
35
|
+
respond_to do |format|
|
36
|
+
if @widget.save
|
37
|
+
format.html { redirect_to @widget, notice: 'Widget was successfully created.' }
|
38
|
+
format.json { render :show, status: :created, location: @widget }
|
39
|
+
else
|
40
|
+
format.html { render :new }
|
41
|
+
format.json { render json: @widget.errors, status: :unprocessable_entity }
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# PATCH/PUT /widgets/1
|
47
|
+
# PATCH/PUT /widgets/1.json
|
48
|
+
def update
|
49
|
+
respond_to do |format|
|
50
|
+
if @widget.update(widget_params)
|
51
|
+
format.html { redirect_to @widget, notice: 'Widget was successfully updated.' }
|
52
|
+
format.json { render :show, status: :ok, location: @widget }
|
53
|
+
else
|
54
|
+
format.html { render :edit }
|
55
|
+
format.json { render json: @widget.errors, status: :unprocessable_entity }
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
# DELETE /widgets/1
|
61
|
+
# DELETE /widgets/1.json
|
62
|
+
def destroy
|
63
|
+
@widget.destroy
|
64
|
+
respond_to do |format|
|
65
|
+
format.html { redirect_to widgets_url, notice: 'Widget was successfully destroyed.' }
|
66
|
+
format.json { head :no_content }
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
private
|
71
|
+
# Use callbacks to share common setup or constraints between actions.
|
72
|
+
def set_widget
|
73
|
+
@widget = Widget.find(params[:id])
|
74
|
+
end
|
75
|
+
|
76
|
+
# Never trust parameters from the scary internet, only allow the white list through.
|
77
|
+
def widget_params
|
78
|
+
params.require(:widget).permit(:name, :description)
|
79
|
+
end
|
80
|
+
end
|
@@ -2,8 +2,8 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<title>Dummy</title>
|
5
|
-
<%= stylesheet_link_tag 'application', media: 'all'
|
6
|
-
<%= javascript_include_tag 'application'
|
5
|
+
<%= stylesheet_link_tag 'application', media: 'all' %>
|
6
|
+
<%= javascript_include_tag 'application' %>
|
7
7
|
<%= csrf_meta_tags %>
|
8
8
|
</head>
|
9
9
|
<body>
|
data/test/dummy/config/routes.rb
CHANGED
@@ -1,56 +1,5 @@
|
|
1
1
|
Rails.application.routes.draw do
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
# root 'welcome#index'
|
7
|
-
|
8
|
-
# Example of regular route:
|
9
|
-
# get 'products/:id' => 'catalog#view'
|
10
|
-
|
11
|
-
# Example of named route that can be invoked with purchase_url(id: product.id)
|
12
|
-
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
|
13
|
-
|
14
|
-
# Example resource route (maps HTTP verbs to controller actions automatically):
|
15
|
-
# resources :products
|
16
|
-
|
17
|
-
# Example resource route with options:
|
18
|
-
# resources :products do
|
19
|
-
# member do
|
20
|
-
# get 'short'
|
21
|
-
# post 'toggle'
|
22
|
-
# end
|
23
|
-
#
|
24
|
-
# collection do
|
25
|
-
# get 'sold'
|
26
|
-
# end
|
27
|
-
# end
|
28
|
-
|
29
|
-
# Example resource route with sub-resources:
|
30
|
-
# resources :products do
|
31
|
-
# resources :comments, :sales
|
32
|
-
# resource :seller
|
33
|
-
# end
|
34
|
-
|
35
|
-
# Example resource route with more complex sub-resources:
|
36
|
-
# resources :products do
|
37
|
-
# resources :comments
|
38
|
-
# resources :sales do
|
39
|
-
# get 'recent', on: :collection
|
40
|
-
# end
|
41
|
-
# end
|
42
|
-
|
43
|
-
# Example resource route with concerns:
|
44
|
-
# concern :toggleable do
|
45
|
-
# post 'toggle'
|
46
|
-
# end
|
47
|
-
# resources :posts, concerns: :toggleable
|
48
|
-
# resources :photos, concerns: :toggleable
|
49
|
-
|
50
|
-
# Example resource route within a namespace:
|
51
|
-
# namespace :admin do
|
52
|
-
# # Directs /admin/products/* to Admin::ProductsController
|
53
|
-
# # (app/controllers/admin/products_controller.rb)
|
54
|
-
# resources :products
|
55
|
-
# end
|
56
|
-
end
|
2
|
+
get 'widgets/reload' => 'widgets#reload'
|
3
|
+
resources :widgets
|
4
|
+
root 'widgets#index'
|
5
|
+
end
|
Binary file
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -0,0 +1,278 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
Started GET "/widgets" for 127.0.0.1 at 2014-09-08 13:28:42 -0700
|
4
|
+
|
5
|
+
ActionController::RoutingError (uninitialized constant S3Rails::S3::AWS):
|
6
|
+
app/controllers/widgets_controller.rb:3:in `<class:WidgetsController>'
|
7
|
+
app/controllers/widgets_controller.rb:1:in `<top (required)>'
|
8
|
+
|
9
|
+
|
10
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
|
11
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.8ms)
|
12
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/routes/_table.html.erb (88.7ms)
|
13
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (150.3ms)
|
14
|
+
|
15
|
+
|
16
|
+
Started GET "/widgets" for 127.0.0.1 at 2014-09-08 13:31:26 -0700
|
17
|
+
|
18
|
+
ActionController::RoutingError (uninitialized constant S3Rails::S3::AWS):
|
19
|
+
app/controllers/widgets_controller.rb:3:in `<class:WidgetsController>'
|
20
|
+
app/controllers/widgets_controller.rb:1:in `<top (required)>'
|
21
|
+
|
22
|
+
|
23
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
|
24
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.7ms)
|
25
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/routes/_table.html.erb (6.3ms)
|
26
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (75.6ms)
|
27
|
+
|
28
|
+
|
29
|
+
Started GET "/widgets" for 127.0.0.1 at 2014-09-08 13:31:55 -0700
|
30
|
+
[AWS S3 200 0.571797 0 retries] list_objects(:bucket_name=>"app-widgets",:max_keys=>1000)
|
31
|
+
|
32
|
+
[AWS S3 200 0.056719 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/")
|
33
|
+
|
34
|
+
[AWS S3 200 0.049765 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/")
|
35
|
+
|
36
|
+
[AWS S3 200 0.052909 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/_form.html.erb")
|
37
|
+
|
38
|
+
[AWS S3 200 0.051308 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/_form.html.erb")
|
39
|
+
|
40
|
+
[AWS S3 200 0.052549 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/edit.html.erb")
|
41
|
+
|
42
|
+
[AWS S3 200 0.055867 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/edit.html.erb")
|
43
|
+
|
44
|
+
[AWS S3 200 0.058819 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/index.html.erb")
|
45
|
+
|
46
|
+
[AWS S3 200 0.057772 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/index.html.erb")
|
47
|
+
|
48
|
+
[AWS S3 200 0.058683 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/index.json.jbuilder")
|
49
|
+
|
50
|
+
[AWS S3 200 0.580885 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/index.json.jbuilder")
|
51
|
+
|
52
|
+
[AWS S3 200 0.058022 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/index.xlsx.axlsx")
|
53
|
+
|
54
|
+
[AWS S3 200 0.512274 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/index.xlsx.axlsx")
|
55
|
+
|
56
|
+
[AWS S3 200 0.058247 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/new.html.erb")
|
57
|
+
|
58
|
+
[AWS S3 200 0.064808 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/new.html.erb")
|
59
|
+
|
60
|
+
[AWS S3 200 0.05565 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/show.html.erb")
|
61
|
+
|
62
|
+
[AWS S3 200 0.052788 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/show.html.erb")
|
63
|
+
|
64
|
+
[AWS S3 200 0.054585 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/show.json.jbuilder")
|
65
|
+
|
66
|
+
[AWS S3 200 0.06772 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/show.json.jbuilder")
|
67
|
+
|
68
|
+
Processing by WidgetsController#index as HTML
|
69
|
+
[1m[36mWidget Load (1.4ms)[0m [1mSELECT "widgets".* FROM "widgets"[0m
|
70
|
+
Rendered s3/app-widgets/widgets/index.html.erb within layouts/application (15.8ms)
|
71
|
+
Completed 500 Internal Server Error in 129ms
|
72
|
+
|
73
|
+
LoadError (cannot load such file -- sass
|
74
|
+
(in /Users/noel/Dropbox/workspace/s3_rails/test/dummy/app/assets/stylesheets/scaffolds.css.scss)):
|
75
|
+
app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__3422338944171984171_70365009524540'
|
76
|
+
|
77
|
+
|
78
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms)
|
79
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
|
80
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (19.6ms)
|
81
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (37.3ms)
|
82
|
+
|
83
|
+
|
84
|
+
Started GET "/widgets" for 127.0.0.1 at 2014-09-08 13:33:27 -0700
|
85
|
+
Processing by WidgetsController#index as HTML
|
86
|
+
[1m[35mWidget Load (0.2ms)[0m SELECT "widgets".* FROM "widgets"
|
87
|
+
Rendered s3/app-widgets/widgets/index.html.erb within layouts/application (2.7ms)
|
88
|
+
Completed 200 OK in 30ms (Views: 29.3ms | ActiveRecord: 0.2ms)
|
89
|
+
|
90
|
+
|
91
|
+
Started GET "/assets/application-5c559d299e3d0ab00498d7347641d448.js?body=1" for 127.0.0.1 at 2014-09-08 13:33:27 -0700
|
92
|
+
|
93
|
+
|
94
|
+
Started GET "/widgets" for 127.0.0.1 at 2014-09-08 13:33:33 -0700
|
95
|
+
Processing by WidgetsController#index as HTML
|
96
|
+
[1m[36mWidget Load (0.2ms)[0m [1mSELECT "widgets".* FROM "widgets"[0m
|
97
|
+
Rendered s3/app-widgets/widgets/index.html.erb within layouts/application (2.6ms)
|
98
|
+
Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.2ms)
|
99
|
+
|
100
|
+
|
101
|
+
Started GET "/assets/application-5c559d299e3d0ab00498d7347641d448.js?body=1" for 127.0.0.1 at 2014-09-08 13:33:33 -0700
|
102
|
+
|
103
|
+
|
104
|
+
Started GET "/widgets" for 127.0.0.1 at 2014-09-08 13:33:45 -0700
|
105
|
+
Processing by WidgetsController#index as HTML
|
106
|
+
[1m[35mWidget Load (0.2ms)[0m SELECT "widgets".* FROM "widgets"
|
107
|
+
Rendered s3/app-widgets/widgets/index.html.erb within layouts/application (2.9ms)
|
108
|
+
Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.2ms)
|
109
|
+
|
110
|
+
|
111
|
+
Started GET "/assets/application-5c559d299e3d0ab00498d7347641d448.js?body=1" for 127.0.0.1 at 2014-09-08 13:33:45 -0700
|
112
|
+
|
113
|
+
|
114
|
+
Started GET "/widgets/298486374/edit" for 127.0.0.1 at 2014-09-08 13:33:50 -0700
|
115
|
+
Processing by WidgetsController#edit as HTML
|
116
|
+
Parameters: {"id"=>"298486374"}
|
117
|
+
[1m[36mWidget Load (0.2ms)[0m [1mSELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1[0m [["id", 298486374]]
|
118
|
+
Rendered s3/app-widgets/widgets/_form.html.erb (60.5ms)
|
119
|
+
Rendered s3/app-widgets/widgets/edit.html.erb within layouts/application (64.2ms)
|
120
|
+
Completed 200 OK in 72ms (Views: 69.8ms | ActiveRecord: 0.2ms)
|
121
|
+
|
122
|
+
|
123
|
+
Started GET "/assets/application-5c559d299e3d0ab00498d7347641d448.js?body=1" for 127.0.0.1 at 2014-09-08 13:33:50 -0700
|
124
|
+
|
125
|
+
|
126
|
+
Started GET "/widgets" for 127.0.0.1 at 2014-09-08 13:33:52 -0700
|
127
|
+
Processing by WidgetsController#index as HTML
|
128
|
+
[1m[35mWidget Load (0.3ms)[0m SELECT "widgets".* FROM "widgets"
|
129
|
+
Rendered s3/app-widgets/widgets/index.html.erb within layouts/application (3.9ms)
|
130
|
+
Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.3ms)
|
131
|
+
|
132
|
+
|
133
|
+
Started GET "/assets/application-5c559d299e3d0ab00498d7347641d448.js?body=1" for 127.0.0.1 at 2014-09-08 13:33:52 -0700
|
134
|
+
|
135
|
+
|
136
|
+
Started GET "/widgets" for 127.0.0.1 at 2014-09-08 13:35:12 -0700
|
137
|
+
Processing by WidgetsController#index as HTML
|
138
|
+
[1m[36mWidget Load (0.2ms)[0m [1mSELECT "widgets".* FROM "widgets"[0m
|
139
|
+
Rendered s3/app-widgets/widgets/index.html.erb within layouts/application (2.7ms)
|
140
|
+
Completed 500 Internal Server Error in 10ms
|
141
|
+
|
142
|
+
LoadError (cannot load such file -- sass
|
143
|
+
(in /Users/noel/Dropbox/workspace/s3_rails/test/dummy/app/assets/stylesheets/scaffolds.css.scss)):
|
144
|
+
app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__3422338944171984171_70365062481500'
|
145
|
+
|
146
|
+
|
147
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
|
148
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
|
149
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
|
150
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.6ms)
|
151
|
+
|
152
|
+
|
153
|
+
Started GET "/widgets" for 127.0.0.1 at 2014-09-08 13:41:58 -0700
|
154
|
+
Processing by WidgetsController#index as HTML
|
155
|
+
[1m[35mWidget Load (0.2ms)[0m SELECT "widgets".* FROM "widgets"
|
156
|
+
Rendered s3/app-widgets/widgets/index.html.erb within layouts/application (3.0ms)
|
157
|
+
Completed 500 Internal Server Error in 10ms
|
158
|
+
|
159
|
+
LoadError (cannot load such file -- sass
|
160
|
+
(in /Users/noel/Dropbox/workspace/s3_rails/test/dummy/app/assets/stylesheets/scaffolds.css.scss)):
|
161
|
+
app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__3422338944171984171_70365062481500'
|
162
|
+
|
163
|
+
|
164
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
|
165
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
|
166
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
|
167
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.5ms)
|
168
|
+
|
169
|
+
|
170
|
+
Started GET "/widgets" for 127.0.0.1 at 2014-09-08 13:42:10 -0700
|
171
|
+
[AWS S3 200 0.973041 0 retries] list_objects(:bucket_name=>"app-widgets",:max_keys=>1000)
|
172
|
+
|
173
|
+
[AWS S3 200 0.055719 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/")
|
174
|
+
|
175
|
+
[AWS S3 200 0.039362 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/")
|
176
|
+
|
177
|
+
[AWS S3 200 0.049354 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/_form.html.erb")
|
178
|
+
|
179
|
+
[AWS S3 200 0.038946 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/_form.html.erb")
|
180
|
+
|
181
|
+
[AWS S3 200 0.058873 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/edit.html.erb")
|
182
|
+
|
183
|
+
[AWS S3 200 0.042029 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/edit.html.erb")
|
184
|
+
|
185
|
+
[AWS S3 200 0.050152 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/index.html.erb")
|
186
|
+
|
187
|
+
[AWS S3 200 0.038062 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/index.html.erb")
|
188
|
+
|
189
|
+
[AWS S3 200 0.065297 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/index.json.jbuilder")
|
190
|
+
|
191
|
+
[AWS S3 200 0.037599 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/index.json.jbuilder")
|
192
|
+
|
193
|
+
[AWS S3 200 0.055846 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/index.xlsx.axlsx")
|
194
|
+
|
195
|
+
[AWS S3 200 0.038347 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/index.xlsx.axlsx")
|
196
|
+
|
197
|
+
[AWS S3 200 0.038868 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/new.html.erb")
|
198
|
+
|
199
|
+
[AWS S3 200 0.037914 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/new.html.erb")
|
200
|
+
|
201
|
+
[AWS S3 200 0.043075 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/show.html.erb")
|
202
|
+
|
203
|
+
[AWS S3 200 0.038125 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/show.html.erb")
|
204
|
+
|
205
|
+
[AWS S3 200 0.03781 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/show.json.jbuilder")
|
206
|
+
|
207
|
+
[AWS S3 200 0.037903 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/show.json.jbuilder")
|
208
|
+
|
209
|
+
Processing by WidgetsController#index as HTML
|
210
|
+
[1m[36mWidget Load (1.1ms)[0m [1mSELECT "widgets".* FROM "widgets"[0m
|
211
|
+
Rendered s3/app-widgets/widgets/index.html.erb within layouts/application (11.2ms)
|
212
|
+
Completed 500 Internal Server Error in 90ms
|
213
|
+
|
214
|
+
LoadError (cannot load such file -- sass
|
215
|
+
(in /Users/noel/Dropbox/workspace/s3_rails/test/dummy/app/assets/stylesheets/scaffolds.css.scss)):
|
216
|
+
app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__3187570646831790553_70100559789020'
|
217
|
+
|
218
|
+
|
219
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
|
220
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
|
221
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.5ms)
|
222
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (22.6ms)
|
223
|
+
|
224
|
+
|
225
|
+
Started GET "/widgets" for 127.0.0.1 at 2014-09-08 13:43:10 -0700
|
226
|
+
Processing by WidgetsController#index as HTML
|
227
|
+
[1m[35mWidget Load (0.2ms)[0m SELECT "widgets".* FROM "widgets"
|
228
|
+
Rendered s3/app-widgets/widgets/index.html.erb within layouts/application (2.8ms)
|
229
|
+
Completed 200 OK in 18ms (Views: 17.6ms | ActiveRecord: 0.2ms)
|
230
|
+
|
231
|
+
|
232
|
+
Started GET "/assets/application-3e83d16de9714cea170f851c3d30cfab.css?body=1" for 127.0.0.1 at 2014-09-08 13:43:10 -0700
|
233
|
+
|
234
|
+
|
235
|
+
Started GET "/assets/application-5c559d299e3d0ab00498d7347641d448.js?body=1" for 127.0.0.1 at 2014-09-08 13:43:10 -0700
|
236
|
+
|
237
|
+
|
238
|
+
Started GET "/widgets/reload" for 127.0.0.1 at 2014-09-08 13:44:42 -0700
|
239
|
+
Processing by WidgetsController#reload as HTML
|
240
|
+
[AWS S3 200 1.069833 0 retries] list_objects(:bucket_name=>"app-widgets",:max_keys=>1000)
|
241
|
+
|
242
|
+
[AWS S3 200 0.065808 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/")
|
243
|
+
|
244
|
+
[AWS S3 200 0.038362 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/")
|
245
|
+
|
246
|
+
[AWS S3 200 0.053201 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/_form.html.erb")
|
247
|
+
|
248
|
+
[AWS S3 200 0.037751 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/_form.html.erb")
|
249
|
+
|
250
|
+
[AWS S3 200 0.057791 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/edit.html.erb")
|
251
|
+
|
252
|
+
[AWS S3 200 0.03794 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/edit.html.erb")
|
253
|
+
|
254
|
+
[AWS S3 200 0.060558 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/index.html.erb")
|
255
|
+
|
256
|
+
[AWS S3 200 0.039857 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/index.html.erb")
|
257
|
+
|
258
|
+
[AWS S3 200 0.051776 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/index.json.jbuilder")
|
259
|
+
|
260
|
+
[AWS S3 200 0.038243 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/index.json.jbuilder")
|
261
|
+
|
262
|
+
[AWS S3 200 0.057435 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/index.xlsx.axlsx")
|
263
|
+
|
264
|
+
[AWS S3 200 0.039807 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/index.xlsx.axlsx")
|
265
|
+
|
266
|
+
[AWS S3 200 0.038311 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/new.html.erb")
|
267
|
+
|
268
|
+
[AWS S3 200 0.037059 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/new.html.erb")
|
269
|
+
|
270
|
+
[AWS S3 200 0.049117 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/show.html.erb")
|
271
|
+
|
272
|
+
[AWS S3 200 0.037471 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/show.html.erb")
|
273
|
+
|
274
|
+
[AWS S3 200 0.039778 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/show.json.jbuilder")
|
275
|
+
|
276
|
+
[AWS S3 200 0.040986 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/show.json.jbuilder")
|
277
|
+
|
278
|
+
Completed 200 OK in 1907ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
data/test/dummy/log/test.log
CHANGED
@@ -155,3 +155,231 @@ S3RailsTest: test_reload_S3rails_cache
|
|
155
155
|
S3RailsTest: test_resolver_returns_a_template_body
|
156
156
|
--------------------------------------------------
|
157
157
|
[1m[35m (0.1ms)[0m rollback transaction
|
158
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
159
|
+
[1m[35m (0.1ms)[0m begin transaction
|
160
|
+
--------------------------------
|
161
|
+
S3RailsTest: test_connects_to_S3
|
162
|
+
--------------------------------
|
163
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
164
|
+
[1m[35m (0.1ms)[0m begin transaction
|
165
|
+
--------------------------------------
|
166
|
+
S3RailsTest: test_reload_S3rails_cache
|
167
|
+
--------------------------------------
|
168
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
169
|
+
[1m[35m (0.1ms)[0m begin transaction
|
170
|
+
--------------------------------------------------
|
171
|
+
S3RailsTest: test_resolver_returns_a_template_body
|
172
|
+
--------------------------------------------------
|
173
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
174
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
175
|
+
[1m[35m (0.1ms)[0m begin transaction
|
176
|
+
--------------------------------
|
177
|
+
S3RailsTest: test_connects_to_S3
|
178
|
+
--------------------------------
|
179
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
180
|
+
[1m[35m (0.1ms)[0m begin transaction
|
181
|
+
--------------------------------------
|
182
|
+
S3RailsTest: test_reload_S3rails_cache
|
183
|
+
--------------------------------------
|
184
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
185
|
+
[1m[35m (0.1ms)[0m begin transaction
|
186
|
+
--------------------------------------------------
|
187
|
+
S3RailsTest: test_resolver_returns_a_template_body
|
188
|
+
--------------------------------------------------
|
189
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
190
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
191
|
+
[1m[35m (0.1ms)[0m begin transaction
|
192
|
+
--------------------------------
|
193
|
+
S3RailsTest: test_connects_to_S3
|
194
|
+
--------------------------------
|
195
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
196
|
+
[1m[35m (0.1ms)[0m begin transaction
|
197
|
+
--------------------------------------
|
198
|
+
S3RailsTest: test_reload_S3rails_cache
|
199
|
+
--------------------------------------
|
200
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
201
|
+
[1m[35m (0.1ms)[0m begin transaction
|
202
|
+
--------------------------------------------------
|
203
|
+
S3RailsTest: test_resolver_returns_a_template_body
|
204
|
+
--------------------------------------------------
|
205
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
206
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
207
|
+
[1m[35m (0.1ms)[0m begin transaction
|
208
|
+
--------------------------------
|
209
|
+
S3RailsTest: test_connects_to_S3
|
210
|
+
--------------------------------
|
211
|
+
[AWS S3 200 1.168958 0 retries] list_objects(:bucket_name=>"app-widgets",:max_keys=>1000)
|
212
|
+
|
213
|
+
[AWS S3 200 0.053549 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/")
|
214
|
+
|
215
|
+
[AWS S3 200 0.037973 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/")
|
216
|
+
|
217
|
+
[AWS S3 200 0.053947 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/_form.html.erb")
|
218
|
+
|
219
|
+
[AWS S3 200 0.042014 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/_form.html.erb")
|
220
|
+
|
221
|
+
[AWS S3 200 0.071598 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/edit.html.erb")
|
222
|
+
|
223
|
+
[AWS S3 200 0.03636 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/edit.html.erb")
|
224
|
+
|
225
|
+
[AWS S3 200 0.056226 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/index.html.erb")
|
226
|
+
|
227
|
+
[AWS S3 200 0.041167 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/index.html.erb")
|
228
|
+
|
229
|
+
[AWS S3 200 0.077923 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/index.json.jbuilder")
|
230
|
+
|
231
|
+
[AWS S3 200 0.040457 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/index.json.jbuilder")
|
232
|
+
|
233
|
+
[AWS S3 200 0.05626 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/index.xlsx.axlsx")
|
234
|
+
|
235
|
+
[AWS S3 200 0.039506 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/index.xlsx.axlsx")
|
236
|
+
|
237
|
+
[AWS S3 200 0.040788 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/new.html.erb")
|
238
|
+
|
239
|
+
[AWS S3 200 0.037912 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/new.html.erb")
|
240
|
+
|
241
|
+
[AWS S3 200 0.052148 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/show.html.erb")
|
242
|
+
|
243
|
+
[AWS S3 200 0.038061 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/show.html.erb")
|
244
|
+
|
245
|
+
[AWS S3 200 0.041858 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/show.json.jbuilder")
|
246
|
+
|
247
|
+
[AWS S3 200 0.041568 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/show.json.jbuilder")
|
248
|
+
|
249
|
+
[AWS S3 200 0.050679 0 retries] list_objects(:bucket_name=>"app-widgets",:max_keys=>1000)
|
250
|
+
|
251
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
252
|
+
[1m[35m (0.1ms)[0m begin transaction
|
253
|
+
--------------------------------------
|
254
|
+
S3RailsTest: test_reload_S3rails_cache
|
255
|
+
--------------------------------------
|
256
|
+
[AWS S3 200 0.303873 0 retries] list_objects(:bucket_name=>"app-widgets2",:max_keys=>1000)
|
257
|
+
|
258
|
+
[AWS S3 200 0.056563 0 retries] get_object(:bucket_name=>"app-widgets2",:key=>"widgets/_form.html.erb")
|
259
|
+
|
260
|
+
[AWS S3 200 0.036441 0 retries] head_object(:bucket_name=>"app-widgets2",:key=>"widgets/_form.html.erb")
|
261
|
+
|
262
|
+
[AWS S3 200 0.051494 0 retries] get_object(:bucket_name=>"app-widgets2",:key=>"widgets/edit.html.erb")
|
263
|
+
|
264
|
+
[AWS S3 200 0.036606 0 retries] head_object(:bucket_name=>"app-widgets2",:key=>"widgets/edit.html.erb")
|
265
|
+
|
266
|
+
[AWS S3 200 0.053195 0 retries] get_object(:bucket_name=>"app-widgets2",:key=>"widgets/index.html.erb")
|
267
|
+
|
268
|
+
[AWS S3 200 0.037286 0 retries] head_object(:bucket_name=>"app-widgets2",:key=>"widgets/index.html.erb")
|
269
|
+
|
270
|
+
[AWS S3 200 0.061627 0 retries] get_object(:bucket_name=>"app-widgets2",:key=>"widgets/index.json.jbuilder")
|
271
|
+
|
272
|
+
[AWS S3 200 0.037183 0 retries] head_object(:bucket_name=>"app-widgets2",:key=>"widgets/index.json.jbuilder")
|
273
|
+
|
274
|
+
[AWS S3 200 0.051794 0 retries] get_object(:bucket_name=>"app-widgets2",:key=>"widgets/index.xlsx.axlsx")
|
275
|
+
|
276
|
+
[AWS S3 200 0.038697 0 retries] head_object(:bucket_name=>"app-widgets2",:key=>"widgets/index.xlsx.axlsx")
|
277
|
+
|
278
|
+
[AWS S3 200 0.038021 0 retries] get_object(:bucket_name=>"app-widgets2",:key=>"widgets/new.html.erb")
|
279
|
+
|
280
|
+
[AWS S3 200 0.036914 0 retries] head_object(:bucket_name=>"app-widgets2",:key=>"widgets/new.html.erb")
|
281
|
+
|
282
|
+
[AWS S3 200 0.056127 0 retries] get_object(:bucket_name=>"app-widgets2",:key=>"widgets/show.html.erb")
|
283
|
+
|
284
|
+
[AWS S3 200 0.038069 0 retries] head_object(:bucket_name=>"app-widgets2",:key=>"widgets/show.html.erb")
|
285
|
+
|
286
|
+
[AWS S3 200 0.038198 0 retries] get_object(:bucket_name=>"app-widgets2",:key=>"widgets/show.json.jbuilder")
|
287
|
+
|
288
|
+
[AWS S3 200 0.038132 0 retries] head_object(:bucket_name=>"app-widgets2",:key=>"widgets/show.json.jbuilder")
|
289
|
+
|
290
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
291
|
+
[1m[35m (0.1ms)[0m begin transaction
|
292
|
+
--------------------------------------------------
|
293
|
+
S3RailsTest: test_resolver_returns_a_template_body
|
294
|
+
--------------------------------------------------
|
295
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
296
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
297
|
+
[1m[35m (0.1ms)[0m begin transaction
|
298
|
+
--------------------------------
|
299
|
+
S3RailsTest: test_connects_to_S3
|
300
|
+
--------------------------------
|
301
|
+
[AWS S3 200 0.413738 0 retries] list_objects(:bucket_name=>"app-widgets",:max_keys=>1000)
|
302
|
+
|
303
|
+
[AWS S3 200 0.05049 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/")
|
304
|
+
|
305
|
+
[AWS S3 200 0.038263 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/")
|
306
|
+
|
307
|
+
[AWS S3 200 0.058213 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/_form.html.erb")
|
308
|
+
|
309
|
+
[AWS S3 200 0.036641 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/_form.html.erb")
|
310
|
+
|
311
|
+
[AWS S3 200 0.063076 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/edit.html.erb")
|
312
|
+
|
313
|
+
[AWS S3 200 0.039026 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/edit.html.erb")
|
314
|
+
|
315
|
+
[AWS S3 200 0.049704 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/index.html.erb")
|
316
|
+
|
317
|
+
[AWS S3 200 0.037976 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/index.html.erb")
|
318
|
+
|
319
|
+
[AWS S3 200 0.055351 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/index.json.jbuilder")
|
320
|
+
|
321
|
+
[AWS S3 200 0.038479 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/index.json.jbuilder")
|
322
|
+
|
323
|
+
[AWS S3 200 0.049568 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/index.xlsx.axlsx")
|
324
|
+
|
325
|
+
[AWS S3 200 0.037705 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/index.xlsx.axlsx")
|
326
|
+
|
327
|
+
[AWS S3 200 0.039404 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/new.html.erb")
|
328
|
+
|
329
|
+
[AWS S3 200 0.038351 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/new.html.erb")
|
330
|
+
|
331
|
+
[AWS S3 200 0.050484 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/show.html.erb")
|
332
|
+
|
333
|
+
[AWS S3 200 0.038817 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/show.html.erb")
|
334
|
+
|
335
|
+
[AWS S3 200 0.038443 0 retries] get_object(:bucket_name=>"app-widgets",:key=>"widgets/show.json.jbuilder")
|
336
|
+
|
337
|
+
[AWS S3 200 0.038858 0 retries] head_object(:bucket_name=>"app-widgets",:key=>"widgets/show.json.jbuilder")
|
338
|
+
|
339
|
+
[AWS S3 200 0.052681 0 retries] list_objects(:bucket_name=>"app-widgets",:max_keys=>1000)
|
340
|
+
|
341
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
342
|
+
[1m[35m (0.1ms)[0m begin transaction
|
343
|
+
--------------------------------------
|
344
|
+
S3RailsTest: test_reload_S3rails_cache
|
345
|
+
--------------------------------------
|
346
|
+
[AWS S3 200 0.367988 0 retries] list_objects(:bucket_name=>"app-widgets2",:max_keys=>1000)
|
347
|
+
|
348
|
+
[AWS S3 200 0.06028 0 retries] get_object(:bucket_name=>"app-widgets2",:key=>"widgets/_form.html.erb")
|
349
|
+
|
350
|
+
[AWS S3 200 0.037661 0 retries] head_object(:bucket_name=>"app-widgets2",:key=>"widgets/_form.html.erb")
|
351
|
+
|
352
|
+
[AWS S3 200 0.053861 0 retries] get_object(:bucket_name=>"app-widgets2",:key=>"widgets/edit.html.erb")
|
353
|
+
|
354
|
+
[AWS S3 200 0.036171 0 retries] head_object(:bucket_name=>"app-widgets2",:key=>"widgets/edit.html.erb")
|
355
|
+
|
356
|
+
[AWS S3 200 0.088755 0 retries] get_object(:bucket_name=>"app-widgets2",:key=>"widgets/index.html.erb")
|
357
|
+
|
358
|
+
[AWS S3 200 0.036958 0 retries] head_object(:bucket_name=>"app-widgets2",:key=>"widgets/index.html.erb")
|
359
|
+
|
360
|
+
[AWS S3 200 0.050974 0 retries] get_object(:bucket_name=>"app-widgets2",:key=>"widgets/index.json.jbuilder")
|
361
|
+
|
362
|
+
[AWS S3 200 0.037677 0 retries] head_object(:bucket_name=>"app-widgets2",:key=>"widgets/index.json.jbuilder")
|
363
|
+
|
364
|
+
[AWS S3 200 0.057602 0 retries] get_object(:bucket_name=>"app-widgets2",:key=>"widgets/index.xlsx.axlsx")
|
365
|
+
|
366
|
+
[AWS S3 200 0.037721 0 retries] head_object(:bucket_name=>"app-widgets2",:key=>"widgets/index.xlsx.axlsx")
|
367
|
+
|
368
|
+
[AWS S3 200 0.037711 0 retries] get_object(:bucket_name=>"app-widgets2",:key=>"widgets/new.html.erb")
|
369
|
+
|
370
|
+
[AWS S3 200 0.036242 0 retries] head_object(:bucket_name=>"app-widgets2",:key=>"widgets/new.html.erb")
|
371
|
+
|
372
|
+
[AWS S3 200 0.055241 0 retries] get_object(:bucket_name=>"app-widgets2",:key=>"widgets/show.html.erb")
|
373
|
+
|
374
|
+
[AWS S3 200 0.036229 0 retries] head_object(:bucket_name=>"app-widgets2",:key=>"widgets/show.html.erb")
|
375
|
+
|
376
|
+
[AWS S3 200 0.039069 0 retries] get_object(:bucket_name=>"app-widgets2",:key=>"widgets/show.json.jbuilder")
|
377
|
+
|
378
|
+
[AWS S3 200 0.037935 0 retries] head_object(:bucket_name=>"app-widgets2",:key=>"widgets/show.json.jbuilder")
|
379
|
+
|
380
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
381
|
+
[1m[35m (0.1ms)[0m begin transaction
|
382
|
+
--------------------------------------------------
|
383
|
+
S3RailsTest: test_resolver_returns_a_template_body
|
384
|
+
--------------------------------------------------
|
385
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: s3_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noel Peden
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -113,7 +113,9 @@ files:
|
|
113
113
|
- test/dummy/app/assets/javascripts/application.js
|
114
114
|
- test/dummy/app/assets/stylesheets/application.css
|
115
115
|
- test/dummy/app/controllers/application_controller.rb
|
116
|
+
- test/dummy/app/controllers/widgets_controller.rb
|
116
117
|
- test/dummy/app/helpers/application_helper.rb
|
118
|
+
- test/dummy/app/models/widget.rb
|
117
119
|
- test/dummy/app/views/layouts/application.html.erb
|
118
120
|
- test/dummy/bin/bundle
|
119
121
|
- test/dummy/bin/rails
|
@@ -137,13 +139,22 @@ files:
|
|
137
139
|
- test/dummy/config/initializers/wrap_parameters.rb
|
138
140
|
- test/dummy/config/locales/en.yml
|
139
141
|
- test/dummy/config/routes.rb
|
142
|
+
- test/dummy/config/s3_rails.yml
|
140
143
|
- test/dummy/config/secrets.yml
|
144
|
+
- test/dummy/db/development.sqlite3
|
141
145
|
- test/dummy/db/test.sqlite3
|
146
|
+
- test/dummy/log/development.log
|
142
147
|
- test/dummy/log/test.log
|
143
148
|
- test/dummy/public/404.html
|
144
149
|
- test/dummy/public/422.html
|
145
150
|
- test/dummy/public/500.html
|
146
151
|
- test/dummy/public/favicon.ico
|
152
|
+
- test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
153
|
+
- test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
154
|
+
- test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
|
155
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
156
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
157
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
147
158
|
- test/s3_rails_test.rb
|
148
159
|
- test/test_helper.rb
|
149
160
|
homepage: https://github.com/straydogstudio/s3_rails
|
@@ -174,7 +185,9 @@ test_files:
|
|
174
185
|
- test/dummy/app/assets/javascripts/application.js
|
175
186
|
- test/dummy/app/assets/stylesheets/application.css
|
176
187
|
- test/dummy/app/controllers/application_controller.rb
|
188
|
+
- test/dummy/app/controllers/widgets_controller.rb
|
177
189
|
- test/dummy/app/helpers/application_helper.rb
|
190
|
+
- test/dummy/app/models/widget.rb
|
178
191
|
- test/dummy/app/views/layouts/application.html.erb
|
179
192
|
- test/dummy/bin/bundle
|
180
193
|
- test/dummy/bin/rails
|
@@ -197,14 +210,23 @@ test_files:
|
|
197
210
|
- test/dummy/config/initializers/wrap_parameters.rb
|
198
211
|
- test/dummy/config/locales/en.yml
|
199
212
|
- test/dummy/config/routes.rb
|
213
|
+
- test/dummy/config/s3_rails.yml
|
200
214
|
- test/dummy/config/secrets.yml
|
201
215
|
- test/dummy/config.ru
|
216
|
+
- test/dummy/db/development.sqlite3
|
202
217
|
- test/dummy/db/test.sqlite3
|
218
|
+
- test/dummy/log/development.log
|
203
219
|
- test/dummy/log/test.log
|
204
220
|
- test/dummy/public/404.html
|
205
221
|
- test/dummy/public/422.html
|
206
222
|
- test/dummy/public/500.html
|
207
223
|
- test/dummy/public/favicon.ico
|
208
224
|
- test/dummy/Rakefile
|
225
|
+
- test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
226
|
+
- test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
227
|
+
- test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
|
228
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
229
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
230
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
209
231
|
- test/s3_rails_test.rb
|
210
232
|
- test/test_helper.rb
|