docmago_client 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/docmago_client/error.rb +1 -1
- data/lib/docmago_client/exception.rb +4 -2
- data/lib/docmago_client/html_resource_archiver.rb +2 -2
- data/lib/docmago_client/railtie.rb +14 -8
- data/lib/docmago_client/version.rb +1 -1
- data/lib/docmago_client.rb +17 -16
- data/test/dummy/app/controllers/home_controller.rb +7 -0
- data/test/dummy/app/views/home/index.html.erb +3 -2
- data/test/dummy/app/views/home/pdf/subdir_template.pdf.erb +1 -0
- data/test/dummy/config/initializers/docmago.rb +2 -2
- data/test/dummy/config/routes.rb +1 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +266 -0
- data/test/dummy/log/test.log +375 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CF0/DC0/sprockets%2Fc7df72c44e5cf6295507448c4726d47b +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D3C/0C0/sprockets%2F984da4677de1065bf04bbd8a505d0e90 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D71/8C0/sprockets%2F07e1f1387073a8829a9b7edfdaa771aa +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E5E/0C0/sprockets%2Fb7fae3fe0c7bca77de72b8e8800aad9a +0 -0
- data/test/integration/navigation_test.rb +11 -2
- metadata +49 -47
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 107b4a9f68cae669fb12b2fec395f6a48437b769
|
4
|
+
data.tar.gz: 808d1b3cce35c59d32f2c3aace5413c79f85463d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6b7a0da6603d91d6934f0e31cce4ec2505155bccd00e3400072cf4f031af2e4674a0ccbdefe3f1478bdd1ba9f0f99996e44ccbd3df283b340866e51722c3946a
|
7
|
+
data.tar.gz: 05b8aeb8ed74ce9e0d54babfc8b277c0dece57eab5827e7813b5d3e06620b36efe72aace46dd83db11019ca7e2feb835e0cf34dcf67a24526c7a6138d87bd1f5
|
data/lib/docmago_client/error.rb
CHANGED
@@ -3,9 +3,11 @@ module DocmagoClient
|
|
3
3
|
class RequestException < StandardError
|
4
4
|
attr_accessor :status_code
|
5
5
|
attr_accessor :message
|
6
|
+
|
6
7
|
def initialize(message, status_code)
|
7
8
|
self.message = message
|
8
9
|
self.status_code = status_code
|
10
|
+
|
9
11
|
super message
|
10
12
|
end
|
11
13
|
|
@@ -18,8 +20,8 @@ module DocmagoClient
|
|
18
20
|
end
|
19
21
|
end
|
20
22
|
class DocumentCreationFailure < DocmagoClient::Exception::RequestException; end
|
21
|
-
class DocumentListingFailure
|
22
|
-
class DocumentStatusFailure
|
23
|
+
class DocumentListingFailure < DocmagoClient::Exception::RequestException; end
|
24
|
+
class DocumentStatusFailure < DocmagoClient::Exception::RequestException; end
|
23
25
|
class DocumentDownloadFailure < DocmagoClient::Exception::RequestException; end
|
24
26
|
end
|
25
27
|
end
|
@@ -30,13 +30,13 @@ module DocmagoClient
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def normalize_uri(uri)
|
33
|
-
uri = URI.parse
|
33
|
+
uri = URI.parse URI.encode(uri.to_s.strip)
|
34
34
|
uri.query = nil
|
35
35
|
uri.to_s
|
36
36
|
end
|
37
37
|
|
38
38
|
def resolve_uri(uri)
|
39
|
-
File.join
|
39
|
+
File.join File.expand_path(@base_path), normalize_uri(uri)
|
40
40
|
end
|
41
41
|
end
|
42
42
|
end
|
@@ -1,6 +1,5 @@
|
|
1
1
|
module DocmagoClient
|
2
2
|
class Railtie < Rails::Railtie
|
3
|
-
|
4
3
|
initializer "docmago_client" do |app|
|
5
4
|
ActiveSupport.on_load :action_controller do
|
6
5
|
DocmagoClient::Railtie.setup_actioncontroller
|
@@ -13,22 +12,29 @@ module DocmagoClient
|
|
13
12
|
end
|
14
13
|
|
15
14
|
ActionController::Renderers.add :pdf do |filename, options|
|
15
|
+
# Allow PDFs to be resolved in app/views/examples/pdf/
|
16
|
+
append_view_path ActionView::FileSystemResolver.new(
|
17
|
+
Rails.root.join("app/views"),
|
18
|
+
":prefix/{:formats/,}:action{.:locale,}{.:formats,}{.:handlers,}"
|
19
|
+
)
|
20
|
+
|
16
21
|
default_options = {
|
17
|
-
:
|
18
|
-
:
|
19
|
-
:
|
20
|
-
:
|
21
|
-
:
|
22
|
+
name: filename||controller_name,
|
23
|
+
test_mode: !Rails.env.production?,
|
24
|
+
base_uri: url_for(only_path: false),
|
25
|
+
resource_path: Rails.root.join('public'),
|
26
|
+
zip_resources: true
|
22
27
|
}
|
28
|
+
|
23
29
|
options = default_options.merge(options)
|
24
30
|
options[:content] ||= render_to_string(options)
|
25
31
|
|
26
32
|
response = DocmagoClient.create(options)
|
27
33
|
|
28
34
|
if response.code == 200
|
29
|
-
send_data response, :
|
35
|
+
send_data response, filename: "#{options[:name]}.pdf", type: "application/pdf", disposition: "inline"
|
30
36
|
else
|
31
|
-
render :
|
37
|
+
render inline: response.body, status: response.code
|
32
38
|
end
|
33
39
|
end
|
34
40
|
end
|
data/lib/docmago_client.rb
CHANGED
@@ -19,35 +19,36 @@ module DocmagoClient
|
|
19
19
|
|
20
20
|
base_uri ENV["DOCMAGO_URL"] || "https://docmago.com/api"
|
21
21
|
|
22
|
-
def self.base_uri(uri
|
22
|
+
def self.base_uri(uri=nil)
|
23
23
|
default_options[:base_uri] = uri ? uri : default_options[:base_uri] || ENV["DOCMAGO_URL"]
|
24
24
|
default_options[:base_uri]
|
25
25
|
end
|
26
26
|
|
27
|
-
def self.api_key(key
|
27
|
+
def self.api_key(key=nil)
|
28
28
|
default_options[:api_key] = key ? key : default_options[:api_key] || ENV["DOCMAGO_API_KEY"]
|
29
29
|
default_options[:api_key] || raise(DocmagoClient::Error::NoApiKeyProvidedError.new("No API key provided"))
|
30
30
|
end
|
31
31
|
|
32
|
-
def self.create!(options
|
32
|
+
def self.create!(options={})
|
33
33
|
raise ArgumentError.new "please pass in an options hash" unless options.is_a? Hash
|
34
|
-
self.create
|
34
|
+
self.create options.merge(raise_exception_on_failure: true)
|
35
35
|
end
|
36
36
|
|
37
37
|
# when given a block, hands the block a TempFile of the resulting document
|
38
38
|
# otherwise, just returns the response
|
39
|
-
def self.create(options
|
39
|
+
def self.create(options={})
|
40
40
|
raise ArgumentError.new "please pass in an options hash" unless options.is_a? Hash
|
41
41
|
if options[:content].nil? || options[:content].empty?
|
42
42
|
raise DocmagoClient::Error::NoContentError.new("must supply :content")
|
43
43
|
end
|
44
44
|
|
45
45
|
default_options = {
|
46
|
-
:
|
47
|
-
:
|
48
|
-
:
|
49
|
-
:
|
46
|
+
name: "default",
|
47
|
+
type: "pdf",
|
48
|
+
test_mode: false,
|
49
|
+
raise_exception_on_failure: false
|
50
50
|
}
|
51
|
+
|
51
52
|
options = default_options.merge(options)
|
52
53
|
raise_exception_on_failure = options[:raise_exception_on_failure]
|
53
54
|
options.delete :raise_exception_on_failure
|
@@ -85,23 +86,23 @@ module DocmagoClient
|
|
85
86
|
end
|
86
87
|
end
|
87
88
|
|
88
|
-
def self.list_docs!(options
|
89
|
+
def self.list_docs!(options={})
|
89
90
|
raise ArgumentError.new "please pass in an options hash" unless options.is_a? Hash
|
90
|
-
self.list_docs
|
91
|
+
self.list_docs options.merge(raise_exception_on_failure: true)
|
91
92
|
end
|
92
93
|
|
93
|
-
def self.list_docs(options
|
94
|
+
def self.list_docs(options={})
|
94
95
|
raise ArgumentError.new "please pass in an options hash" unless options.is_a? Hash
|
95
96
|
default_options = {
|
96
|
-
:
|
97
|
-
:
|
98
|
-
:
|
97
|
+
page: 1,
|
98
|
+
per_page: 100,
|
99
|
+
raise_exception_on_failure: false
|
99
100
|
}
|
100
101
|
options = default_options.merge(options)
|
101
102
|
raise_exception_on_failure = options[:raise_exception_on_failure]
|
102
103
|
options.delete :raise_exception_on_failure
|
103
104
|
|
104
|
-
response = get("/documents", :
|
105
|
+
response = get("/documents", query: options, basic_auth: { username: api_key })
|
105
106
|
if raise_exception_on_failure && !response.success?
|
106
107
|
raise DocmagoClient::Exception::DocumentListingFailure.new response.body, response.code
|
107
108
|
end
|
@@ -1,2 +1,3 @@
|
|
1
|
-
<p>Download the
|
2
|
-
<p><%= link_to "
|
1
|
+
<p>Download the PDFs by clicking the links below:</p>
|
2
|
+
<p><%= link_to "index", home_path("pdf") %></p>
|
3
|
+
<p><%= link_to "subdir_template", subdir_template_path("pdf") %></p>
|
@@ -0,0 +1 @@
|
|
1
|
+
<h2>This is the PDF inside the pdf subdirectory</h2>
|
@@ -1,2 +1,2 @@
|
|
1
|
-
DocmagoClient.base_uri "http://
|
2
|
-
DocmagoClient.api_key "
|
1
|
+
DocmagoClient.base_uri "http://docmago.dev/api"
|
2
|
+
DocmagoClient.api_key "2rP35bmKnPr4Uj9iiEnE"
|
data/test/dummy/config/routes.rb
CHANGED
File without changes
|
@@ -0,0 +1,266 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
|
3
|
+
|
4
|
+
Started POST "/api//documents" for 127.0.0.1 at 2013-03-26 12:13:35 +0100
|
5
|
+
|
6
|
+
ActionController::RoutingError (No route matches [POST] "/api/documents"):
|
7
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
8
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
9
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
10
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
11
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
12
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
13
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
14
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
15
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
16
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
17
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
18
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
19
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
20
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
21
|
+
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
22
|
+
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
|
23
|
+
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
24
|
+
/Users/jan/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
25
|
+
/Users/jan/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
26
|
+
/Users/jan/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
27
|
+
|
28
|
+
|
29
|
+
Rendered /Users/jan/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)
|
30
|
+
|
31
|
+
|
32
|
+
Started POST "/api//documents" for 127.0.0.1 at 2013-03-26 12:15:22 +0100
|
33
|
+
|
34
|
+
ActionController::RoutingError (No route matches [POST] "/api/documents"):
|
35
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
36
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
37
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
38
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
39
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
40
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
41
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
42
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
43
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
44
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
45
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
46
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
47
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
48
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
49
|
+
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
50
|
+
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
|
51
|
+
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
52
|
+
/Users/jan/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
53
|
+
/Users/jan/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
54
|
+
/Users/jan/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
55
|
+
|
56
|
+
|
57
|
+
Rendered /Users/jan/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
|
58
|
+
Connecting to database specified by database.yml
|
59
|
+
|
60
|
+
|
61
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 13:28:40 +0100
|
62
|
+
|
63
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
64
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
65
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
66
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
67
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
68
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
69
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
70
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
71
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
72
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
73
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
74
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
75
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
76
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
77
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
78
|
+
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
79
|
+
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
|
80
|
+
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
81
|
+
/Users/jan/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
82
|
+
/Users/jan/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
83
|
+
/Users/jan/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
84
|
+
|
85
|
+
|
86
|
+
Rendered /Users/jan/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)
|
87
|
+
|
88
|
+
|
89
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:28:43 +0100
|
90
|
+
Processing by HomeController#index as HTML
|
91
|
+
Rendered home/index.html.erb within layouts/application (1.0ms)
|
92
|
+
Compiled application.css (0ms) (pid 13084)
|
93
|
+
Compiled jquery.js (3ms) (pid 13084)
|
94
|
+
Compiled jquery_ujs.js (0ms) (pid 13084)
|
95
|
+
Compiled application.js (14ms) (pid 13084)
|
96
|
+
Completed 200 OK in 54ms (Views: 53.8ms | ActiveRecord: 0.0ms)
|
97
|
+
|
98
|
+
|
99
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-26 13:28:43 +0100
|
100
|
+
Served asset /jquery.js - 200 OK (3ms)
|
101
|
+
|
102
|
+
|
103
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 13:28:43 +0100
|
104
|
+
Served asset /application.css - 200 OK (1ms)
|
105
|
+
|
106
|
+
|
107
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-26 13:28:43 +0100
|
108
|
+
Served asset /jquery_ujs.js - 200 OK (1ms)
|
109
|
+
|
110
|
+
|
111
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 13:28:43 +0100
|
112
|
+
Served asset /application.js - 200 OK (2ms)
|
113
|
+
|
114
|
+
|
115
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:29:08 +0100
|
116
|
+
Processing by HomeController#index as HTML
|
117
|
+
Rendered home/index.html.erb within layouts/application (0.9ms)
|
118
|
+
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
119
|
+
|
120
|
+
|
121
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-26 13:29:08 +0100
|
122
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
123
|
+
|
124
|
+
|
125
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 13:29:08 +0100
|
126
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
127
|
+
|
128
|
+
|
129
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-26 13:29:08 +0100
|
130
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
131
|
+
|
132
|
+
|
133
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 13:29:08 +0100
|
134
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
135
|
+
|
136
|
+
|
137
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:29:37 +0100
|
138
|
+
Processing by HomeController#index as HTML
|
139
|
+
Rendered home/index.html.erb within layouts/application (0.9ms)
|
140
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
141
|
+
|
142
|
+
|
143
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 13:29:37 +0100
|
144
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
145
|
+
|
146
|
+
|
147
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 13:29:37 +0100
|
148
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
149
|
+
|
150
|
+
|
151
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-26 13:29:37 +0100
|
152
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
153
|
+
|
154
|
+
|
155
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-26 13:29:37 +0100
|
156
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
157
|
+
|
158
|
+
|
159
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:29:44 +0100
|
160
|
+
Processing by HomeController#index as HTML
|
161
|
+
Rendered home/index.html.erb within layouts/application (1.0ms)
|
162
|
+
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
|
163
|
+
|
164
|
+
|
165
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-26 13:29:44 +0100
|
166
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
167
|
+
|
168
|
+
|
169
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 13:29:44 +0100
|
170
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
171
|
+
|
172
|
+
|
173
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-26 13:29:44 +0100
|
174
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
175
|
+
|
176
|
+
|
177
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 13:29:44 +0100
|
178
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
179
|
+
|
180
|
+
|
181
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:29:46 +0100
|
182
|
+
Processing by HomeController#index as HTML
|
183
|
+
Rendered home/index.html.erb within layouts/application (0.4ms)
|
184
|
+
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
185
|
+
|
186
|
+
|
187
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-26 13:29:46 +0100
|
188
|
+
Served asset /jquery.js - 200 OK (0ms)
|
189
|
+
|
190
|
+
|
191
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 13:29:46 +0100
|
192
|
+
Served asset /application.js - 200 OK (0ms)
|
193
|
+
|
194
|
+
|
195
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 13:29:46 +0100
|
196
|
+
Served asset /application.css - 200 OK (0ms)
|
197
|
+
|
198
|
+
|
199
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-26 13:29:46 +0100
|
200
|
+
Served asset /jquery_ujs.js - 200 OK (0ms)
|
201
|
+
|
202
|
+
|
203
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:30:15 +0100
|
204
|
+
Processing by HomeController#index as HTML
|
205
|
+
Rendered home/index.html.erb within layouts/application (1.0ms)
|
206
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
207
|
+
|
208
|
+
|
209
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-26 13:30:15 +0100
|
210
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
211
|
+
|
212
|
+
|
213
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 13:30:15 +0100
|
214
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
215
|
+
|
216
|
+
|
217
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 13:30:15 +0100
|
218
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
219
|
+
|
220
|
+
|
221
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-26 13:30:15 +0100
|
222
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
223
|
+
|
224
|
+
|
225
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:30:16 +0100
|
226
|
+
Processing by HomeController#index as HTML
|
227
|
+
Rendered home/index.html.erb within layouts/application (0.4ms)
|
228
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
229
|
+
|
230
|
+
|
231
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 13:30:16 +0100
|
232
|
+
Served asset /application.css - 200 OK (0ms)
|
233
|
+
|
234
|
+
|
235
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 13:30:16 +0100
|
236
|
+
Served asset /application.js - 200 OK (0ms)
|
237
|
+
|
238
|
+
|
239
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-26 13:30:16 +0100
|
240
|
+
Served asset /jquery.js - 200 OK (0ms)
|
241
|
+
|
242
|
+
|
243
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-26 13:30:16 +0100
|
244
|
+
Served asset /jquery_ujs.js - 200 OK (0ms)
|
245
|
+
|
246
|
+
|
247
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:32:04 +0100
|
248
|
+
Processing by HomeController#index as HTML
|
249
|
+
Rendered home/index.html.erb within layouts/application (0.8ms)
|
250
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
251
|
+
|
252
|
+
|
253
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-26 13:32:04 +0100
|
254
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
255
|
+
|
256
|
+
|
257
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 13:32:04 +0100
|
258
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
259
|
+
|
260
|
+
|
261
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-26 13:32:04 +0100
|
262
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
263
|
+
|
264
|
+
|
265
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 13:32:04 +0100
|
266
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
data/test/dummy/log/test.log
CHANGED
@@ -1191,3 +1191,378 @@ Completed 200 OK in 1547ms (Views: 1546.6ms | ActiveRecord: 0.0ms)
|
|
1191
1191
|
[1m[35m (0.1ms)[0m rollback transaction
|
1192
1192
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1193
1193
|
[1m[35m (0.0ms)[0m rollback transaction
|
1194
|
+
Connecting to database specified by database.yml
|
1195
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1196
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1197
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1198
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 12:12:04 +0100
|
1199
|
+
Processing by HomeController#index as HTML
|
1200
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
1201
|
+
Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
|
1202
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2013-03-26 12:12:04 +0100
|
1203
|
+
Processing by HomeController#index as PDF
|
1204
|
+
Rendered home/index.pdf.erb (0.2ms)
|
1205
|
+
Completed 500 Internal Server Error in 6ms
|
1206
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1207
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1208
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1209
|
+
Connecting to database specified by database.yml
|
1210
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1211
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1212
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1213
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 12:12:48 +0100
|
1214
|
+
Processing by HomeController#index as HTML
|
1215
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
1216
|
+
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)
|
1217
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2013-03-26 12:12:48 +0100
|
1218
|
+
Processing by HomeController#index as PDF
|
1219
|
+
Rendered home/index.pdf.erb (0.2ms)
|
1220
|
+
Completed 500 Internal Server Error in 73ms
|
1221
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1222
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1223
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1224
|
+
Connecting to database specified by database.yml
|
1225
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1226
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1227
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1228
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 12:13:35 +0100
|
1229
|
+
Processing by HomeController#index as HTML
|
1230
|
+
Rendered home/index.html.erb within layouts/application (1.3ms)
|
1231
|
+
Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)
|
1232
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2013-03-26 12:13:35 +0100
|
1233
|
+
Processing by HomeController#index as PDF
|
1234
|
+
Rendered home/index.pdf.erb (0.3ms)
|
1235
|
+
Rendered inline template (0.3ms)
|
1236
|
+
Completed 404 Not Found in 172ms (Views: 171.9ms | ActiveRecord: 0.0ms)
|
1237
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1238
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1239
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1240
|
+
Connecting to database specified by database.yml
|
1241
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1242
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1243
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1244
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 12:15:22 +0100
|
1245
|
+
Processing by HomeController#index as HTML
|
1246
|
+
Rendered home/index.html.erb within layouts/application (1.2ms)
|
1247
|
+
Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
|
1248
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2013-03-26 12:15:22 +0100
|
1249
|
+
Processing by HomeController#index as PDF
|
1250
|
+
Rendered home/index.pdf.erb (0.3ms)
|
1251
|
+
Rendered inline template (0.4ms)
|
1252
|
+
Completed 404 Not Found in 17ms (Views: 16.5ms | ActiveRecord: 0.0ms)
|
1253
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1254
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1255
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1256
|
+
Connecting to database specified by database.yml
|
1257
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1258
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1259
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1260
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 12:18:42 +0100
|
1261
|
+
Processing by HomeController#index as HTML
|
1262
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
1263
|
+
Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)
|
1264
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2013-03-26 12:18:42 +0100
|
1265
|
+
Processing by HomeController#index as PDF
|
1266
|
+
Rendered home/index.pdf.erb (0.3ms)
|
1267
|
+
Rendered inline template (0.3ms)
|
1268
|
+
Completed 401 Unauthorized in 12513ms (Views: 12513.3ms | ActiveRecord: 0.0ms)
|
1269
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1270
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1271
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1272
|
+
Connecting to database specified by database.yml
|
1273
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1274
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1275
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1276
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 12:19:00 +0100
|
1277
|
+
Processing by HomeController#index as HTML
|
1278
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
1279
|
+
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)
|
1280
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2013-03-26 12:19:00 +0100
|
1281
|
+
Processing by HomeController#index as PDF
|
1282
|
+
Rendered home/index.pdf.erb (0.2ms)
|
1283
|
+
Rendered inline template (0.3ms)
|
1284
|
+
Completed 401 Unauthorized in 78ms (Views: 77.8ms | ActiveRecord: 0.0ms)
|
1285
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1286
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1287
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1288
|
+
Connecting to database specified by database.yml
|
1289
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1290
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1291
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1292
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 12:19:31 +0100
|
1293
|
+
Processing by HomeController#index as HTML
|
1294
|
+
Rendered home/index.html.erb within layouts/application (1.2ms)
|
1295
|
+
Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
|
1296
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2013-03-26 12:19:31 +0100
|
1297
|
+
Processing by HomeController#index as PDF
|
1298
|
+
Rendered home/index.pdf.erb (0.3ms)
|
1299
|
+
Rendered inline template (0.3ms)
|
1300
|
+
Completed 401 Unauthorized in 81ms (Views: 80.7ms | ActiveRecord: 0.0ms)
|
1301
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1302
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1303
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1304
|
+
Connecting to database specified by database.yml
|
1305
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1306
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1307
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1308
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 12:20:32 +0100
|
1309
|
+
Processing by HomeController#index as HTML
|
1310
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
1311
|
+
Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)
|
1312
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2013-03-26 12:20:33 +0100
|
1313
|
+
Processing by HomeController#index as PDF
|
1314
|
+
Rendered home/index.pdf.erb (0.3ms)
|
1315
|
+
Rendered inline template (0.3ms)
|
1316
|
+
Completed 401 Unauthorized in 531ms (Views: 531.2ms | ActiveRecord: 0.0ms)
|
1317
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1318
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1319
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1320
|
+
Connecting to database specified by database.yml
|
1321
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1322
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1323
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1324
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 12:21:08 +0100
|
1325
|
+
Processing by HomeController#index as HTML
|
1326
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
1327
|
+
Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
|
1328
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2013-03-26 12:21:08 +0100
|
1329
|
+
Processing by HomeController#index as PDF
|
1330
|
+
Rendered home/index.pdf.erb (0.2ms)
|
1331
|
+
Rendered text template (0.0ms)
|
1332
|
+
Sent data contents.pdf (1.2ms)
|
1333
|
+
Completed 200 OK in 813ms (Views: 813.0ms | ActiveRecord: 0.0ms)
|
1334
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1335
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1336
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1337
|
+
Connecting to database specified by database.yml
|
1338
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1339
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1340
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1341
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 12:25:50 +0100
|
1342
|
+
Processing by HomeController#index as HTML
|
1343
|
+
Rendered home/index.html.erb within layouts/application (1.2ms)
|
1344
|
+
Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
|
1345
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2013-03-26 12:25:50 +0100
|
1346
|
+
Processing by HomeController#index as PDF
|
1347
|
+
Rendered home/index.pdf.erb (0.2ms)
|
1348
|
+
Rendered text template (0.0ms)
|
1349
|
+
Sent data contents.pdf (1.1ms)
|
1350
|
+
Completed 200 OK in 560ms (Views: 560.2ms | ActiveRecord: 0.0ms)
|
1351
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1352
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1353
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1354
|
+
Connecting to database specified by database.yml
|
1355
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1356
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1357
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1358
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 12:26:09 +0100
|
1359
|
+
Processing by HomeController#index as HTML
|
1360
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
1361
|
+
Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
|
1362
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2013-03-26 12:26:09 +0100
|
1363
|
+
Processing by HomeController#index as PDF
|
1364
|
+
Rendered home/index.pdf.erb (0.2ms)
|
1365
|
+
Rendered text template (0.0ms)
|
1366
|
+
Sent data contents.pdf (1.2ms)
|
1367
|
+
Completed 200 OK in 225ms (Views: 224.9ms | ActiveRecord: 0.0ms)
|
1368
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1369
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1370
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1371
|
+
Connecting to database specified by database.yml
|
1372
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1373
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1374
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1375
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:13:11 +0100
|
1376
|
+
Processing by HomeController#index as HTML
|
1377
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
1378
|
+
Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
|
1379
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2013-03-26 13:13:11 +0100
|
1380
|
+
Processing by HomeController#index as PDF
|
1381
|
+
Completed 500 Internal Server Error in 2ms
|
1382
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1383
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1384
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1385
|
+
Connecting to database specified by database.yml
|
1386
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1387
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1388
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1389
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:15:24 +0100
|
1390
|
+
Processing by HomeController#index as HTML
|
1391
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
1392
|
+
Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)
|
1393
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2013-03-26 13:15:24 +0100
|
1394
|
+
Processing by HomeController#index as PDF
|
1395
|
+
Rendered home/index.pdf.erb (0.2ms)
|
1396
|
+
Rendered text template (0.0ms)
|
1397
|
+
Sent data contents.pdf (1.1ms)
|
1398
|
+
Completed 200 OK in 551ms (Views: 551.2ms | ActiveRecord: 0.0ms)
|
1399
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1400
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1401
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1402
|
+
Connecting to database specified by database.yml
|
1403
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1404
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1405
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1406
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:24:45 +0100
|
1407
|
+
Processing by HomeController#index as HTML
|
1408
|
+
Rendered home/index.html.erb within layouts/application (32.5ms)
|
1409
|
+
Completed 500 Internal Server Error in 37ms
|
1410
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1411
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1412
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:24:45 +0100
|
1413
|
+
Processing by HomeController#index as HTML
|
1414
|
+
Rendered home/index.html.erb within layouts/application (0.9ms)
|
1415
|
+
Completed 500 Internal Server Error in 1ms
|
1416
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1417
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1418
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1419
|
+
Connecting to database specified by database.yml
|
1420
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1421
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1422
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1423
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:25:54 +0100
|
1424
|
+
Processing by HomeController#index as HTML
|
1425
|
+
Rendered home/index.html.erb within layouts/application (2.1ms)
|
1426
|
+
Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)
|
1427
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1428
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1429
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:25:54 +0100
|
1430
|
+
Processing by HomeController#index as HTML
|
1431
|
+
Rendered home/index.html.erb within layouts/application (0.4ms)
|
1432
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
1433
|
+
Started GET "/home/subdir_template" for 127.0.0.1 at 2013-03-26 13:25:54 +0100
|
1434
|
+
Processing by HomeController#subdir_template as HTML
|
1435
|
+
Completed 500 Internal Server Error in 2ms
|
1436
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1437
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1438
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1439
|
+
Connecting to database specified by database.yml
|
1440
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1441
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1442
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1443
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:26:23 +0100
|
1444
|
+
Processing by HomeController#index as HTML
|
1445
|
+
Rendered home/index.html.erb within layouts/application (1.5ms)
|
1446
|
+
Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)
|
1447
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1448
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1449
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:26:23 +0100
|
1450
|
+
Processing by HomeController#index as HTML
|
1451
|
+
Rendered home/index.html.erb within layouts/application (0.4ms)
|
1452
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
1453
|
+
Started GET "/home/subdir_template" for 127.0.0.1 at 2013-03-26 13:26:23 +0100
|
1454
|
+
Processing by HomeController#subdir_template as HTML
|
1455
|
+
Completed 500 Internal Server Error in 2ms
|
1456
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1457
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1458
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1459
|
+
Connecting to database specified by database.yml
|
1460
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1461
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1462
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1463
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:27:13 +0100
|
1464
|
+
Processing by HomeController#index as HTML
|
1465
|
+
Rendered home/index.html.erb within layouts/application (1.6ms)
|
1466
|
+
Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)
|
1467
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2013-03-26 13:27:13 +0100
|
1468
|
+
Processing by HomeController#index as PDF
|
1469
|
+
Rendered home/index.pdf.erb (0.2ms)
|
1470
|
+
Rendered text template (0.0ms)
|
1471
|
+
Sent data contents.pdf (1.1ms)
|
1472
|
+
Completed 200 OK in 540ms (Views: 539.8ms | ActiveRecord: 0.0ms)
|
1473
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1474
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1475
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:27:14 +0100
|
1476
|
+
Processing by HomeController#index as HTML
|
1477
|
+
Rendered home/index.html.erb within layouts/application (0.4ms)
|
1478
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
1479
|
+
Started GET "/home/subdir_template" for 127.0.0.1 at 2013-03-26 13:27:14 +0100
|
1480
|
+
Processing by HomeController#subdir_template as HTML
|
1481
|
+
Completed 500 Internal Server Error in 2ms
|
1482
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1483
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1484
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1485
|
+
Connecting to database specified by database.yml
|
1486
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1487
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1488
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1489
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:28:01 +0100
|
1490
|
+
Processing by HomeController#index as HTML
|
1491
|
+
Rendered home/index.html.erb within layouts/application (1.4ms)
|
1492
|
+
Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
|
1493
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2013-03-26 13:28:01 +0100
|
1494
|
+
Processing by HomeController#index as PDF
|
1495
|
+
Rendered home/index.pdf.erb (0.2ms)
|
1496
|
+
Rendered text template (0.0ms)
|
1497
|
+
Sent data contents.pdf (1.1ms)
|
1498
|
+
Completed 200 OK in 206ms (Views: 206.3ms | ActiveRecord: 0.0ms)
|
1499
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1500
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1501
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:28:01 +0100
|
1502
|
+
Processing by HomeController#index as HTML
|
1503
|
+
Rendered home/index.html.erb within layouts/application (0.4ms)
|
1504
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
1505
|
+
Started GET "/home/subdir_template" for 127.0.0.1 at 2013-03-26 13:28:01 +0100
|
1506
|
+
Processing by HomeController#subdir_template as HTML
|
1507
|
+
Completed 500 Internal Server Error in 2ms
|
1508
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1509
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1510
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1511
|
+
Connecting to database specified by database.yml
|
1512
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1513
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1514
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1515
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:32:14 +0100
|
1516
|
+
Processing by HomeController#index as HTML
|
1517
|
+
Rendered home/index.html.erb within layouts/application (1.4ms)
|
1518
|
+
Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)
|
1519
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2013-03-26 13:32:14 +0100
|
1520
|
+
Processing by HomeController#index as PDF
|
1521
|
+
Rendered home/index.pdf.erb (0.2ms)
|
1522
|
+
Rendered text template (0.0ms)
|
1523
|
+
Sent data contents.pdf (1.1ms)
|
1524
|
+
Completed 200 OK in 535ms (Views: 534.8ms | ActiveRecord: 0.0ms)
|
1525
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1526
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1527
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:32:15 +0100
|
1528
|
+
Processing by HomeController#index as HTML
|
1529
|
+
Rendered home/index.html.erb within layouts/application (0.3ms)
|
1530
|
+
Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
1531
|
+
Started GET "/home/subdir_template.pdf" for 127.0.0.1 at 2013-03-26 13:32:15 +0100
|
1532
|
+
Processing by HomeController#subdir_template as PDF
|
1533
|
+
Rendered home/pdf/subdir_template.pdf.erb (0.2ms)
|
1534
|
+
Rendered text template (0.0ms)
|
1535
|
+
Sent data subdir_contents.pdf (0.6ms)
|
1536
|
+
Completed 200 OK in 189ms (Views: 188.4ms | ActiveRecord: 0.0ms)
|
1537
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1538
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1539
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1540
|
+
Connecting to database specified by database.yml
|
1541
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1542
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1543
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1544
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:33:11 +0100
|
1545
|
+
Processing by HomeController#index as HTML
|
1546
|
+
Rendered home/index.html.erb within layouts/application (1.4ms)
|
1547
|
+
Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
|
1548
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2013-03-26 13:33:11 +0100
|
1549
|
+
Processing by HomeController#index as PDF
|
1550
|
+
Rendered home/index.pdf.erb (0.2ms)
|
1551
|
+
Rendered text template (0.0ms)
|
1552
|
+
Sent data contents.pdf (1.1ms)
|
1553
|
+
Completed 200 OK in 181ms (Views: 180.9ms | ActiveRecord: 0.0ms)
|
1554
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1555
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1556
|
+
Started GET "/home" for 127.0.0.1 at 2013-03-26 13:33:11 +0100
|
1557
|
+
Processing by HomeController#index as HTML
|
1558
|
+
Rendered home/index.html.erb within layouts/application (0.4ms)
|
1559
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
1560
|
+
Started GET "/home/subdir_template.pdf" for 127.0.0.1 at 2013-03-26 13:33:11 +0100
|
1561
|
+
Processing by HomeController#subdir_template as PDF
|
1562
|
+
Rendered home/pdf/subdir_template.pdf.erb (0.2ms)
|
1563
|
+
Rendered text template (0.0ms)
|
1564
|
+
Sent data subdir_template.pdf (0.6ms)
|
1565
|
+
Completed 200 OK in 215ms (Views: 214.7ms | ActiveRecord: 0.0ms)
|
1566
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1567
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1568
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -7,10 +7,19 @@ class NavigationTest < ActiveSupport::IntegrationCase
|
|
7
7
|
|
8
8
|
test "pdf request sends a pdf as file" do
|
9
9
|
visit home_path
|
10
|
-
click_link '
|
10
|
+
click_link 'index'
|
11
11
|
|
12
12
|
assert_equal 'binary', headers['Content-Transfer-Encoding']
|
13
|
-
assert_equal '
|
13
|
+
assert_equal 'inline; filename="contents.pdf"', headers['Content-Disposition']
|
14
|
+
assert_equal 'application/pdf', headers['Content-Type']
|
15
|
+
end
|
16
|
+
|
17
|
+
test "pdf request to an action with view template inside pdf subdirectory" do
|
18
|
+
visit home_path
|
19
|
+
click_link 'subdir_template'
|
20
|
+
|
21
|
+
assert_equal 'binary', headers['Content-Transfer-Encoding']
|
22
|
+
assert_equal 'inline; filename="subdir_template.pdf"', headers['Content-Disposition']
|
14
23
|
assert_equal 'application/pdf', headers['Content-Type']
|
15
24
|
end
|
16
25
|
|
metadata
CHANGED
@@ -1,126 +1,111 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docmago_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jan Habermann
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-03-26 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: httparty
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
19
|
+
version: 0.10.2
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
26
|
+
version: 0.10.2
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: httmultiparty
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 0.3.8
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 0.3.8
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: nokogiri
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.5.
|
47
|
+
version: 1.5.9
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.5.
|
54
|
+
version: 1.5.9
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rubyzip
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: 0.9.9
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - '>='
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: 0.9.9
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: rails
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ~>
|
84
74
|
- !ruby/object:Gem::Version
|
85
|
-
version: 3.2.
|
75
|
+
version: 3.2.13
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ~>
|
92
81
|
- !ruby/object:Gem::Version
|
93
|
-
version: 3.2.
|
82
|
+
version: 3.2.13
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: sqlite3
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
|
-
- -
|
87
|
+
- - '>='
|
100
88
|
- !ruby/object:Gem::Version
|
101
89
|
version: '0'
|
102
90
|
type: :development
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
|
-
- -
|
94
|
+
- - '>='
|
108
95
|
- !ruby/object:Gem::Version
|
109
96
|
version: '0'
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: capybara
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
|
-
- -
|
101
|
+
- - '>='
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: '0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
|
-
- -
|
108
|
+
- - '>='
|
124
109
|
- !ruby/object:Gem::Version
|
125
110
|
version: '0'
|
126
111
|
description: Makes it easy to create PDF documents through the Docmago API.
|
@@ -148,6 +133,7 @@ files:
|
|
148
133
|
- test/dummy/app/helpers/application_helper.rb
|
149
134
|
- test/dummy/app/views/home/index.html.erb
|
150
135
|
- test/dummy/app/views/home/index.pdf.erb
|
136
|
+
- test/dummy/app/views/home/pdf/subdir_template.pdf.erb
|
151
137
|
- test/dummy/app/views/layouts/application.html.erb
|
152
138
|
- test/dummy/config/application.rb
|
153
139
|
- test/dummy/config/boot.rb
|
@@ -166,6 +152,7 @@ files:
|
|
166
152
|
- test/dummy/config/locales/en.yml
|
167
153
|
- test/dummy/config/routes.rb
|
168
154
|
- test/dummy/config.ru
|
155
|
+
- test/dummy/db/development.sqlite3
|
169
156
|
- test/dummy/db/test.sqlite3
|
170
157
|
- test/dummy/log/development.log
|
171
158
|
- test/dummy/log/test.log
|
@@ -176,38 +163,41 @@ files:
|
|
176
163
|
- test/dummy/Rakefile
|
177
164
|
- test/dummy/README.rdoc
|
178
165
|
- test/dummy/script/rails
|
166
|
+
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
167
|
+
- test/dummy/tmp/cache/assets/CF0/DC0/sprockets%2Fc7df72c44e5cf6295507448c4726d47b
|
168
|
+
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
169
|
+
- test/dummy/tmp/cache/assets/D3C/0C0/sprockets%2F984da4677de1065bf04bbd8a505d0e90
|
170
|
+
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
171
|
+
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
172
|
+
- test/dummy/tmp/cache/assets/D71/8C0/sprockets%2F07e1f1387073a8829a9b7edfdaa771aa
|
173
|
+
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
174
|
+
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
175
|
+
- test/dummy/tmp/cache/assets/E5E/0C0/sprockets%2Fb7fae3fe0c7bca77de72b8e8800aad9a
|
179
176
|
- test/integration/navigation_test.rb
|
180
177
|
- test/support/integration_case.rb
|
181
178
|
- test/test_helper.rb
|
182
179
|
homepage: http://github.com/docmago/docmago_client
|
183
180
|
licenses: []
|
181
|
+
metadata: {}
|
184
182
|
post_install_message:
|
185
183
|
rdoc_options: []
|
186
184
|
require_paths:
|
187
185
|
- lib
|
188
186
|
required_ruby_version: !ruby/object:Gem::Requirement
|
189
|
-
none: false
|
190
187
|
requirements:
|
191
|
-
- -
|
188
|
+
- - '>='
|
192
189
|
- !ruby/object:Gem::Version
|
193
190
|
version: '0'
|
194
|
-
segments:
|
195
|
-
- 0
|
196
|
-
hash: 1336997320927447329
|
197
191
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
198
|
-
none: false
|
199
192
|
requirements:
|
200
|
-
- -
|
193
|
+
- - '>='
|
201
194
|
- !ruby/object:Gem::Version
|
202
195
|
version: '0'
|
203
|
-
segments:
|
204
|
-
- 0
|
205
|
-
hash: 1336997320927447329
|
206
196
|
requirements: []
|
207
197
|
rubyforge_project:
|
208
|
-
rubygems_version:
|
198
|
+
rubygems_version: 2.0.0
|
209
199
|
signing_key:
|
210
|
-
specification_version:
|
200
|
+
specification_version: 4
|
211
201
|
summary: Client for the Docmago API (www.docmago.com)
|
212
202
|
test_files:
|
213
203
|
- test/docmago_client_test.rb
|
@@ -218,6 +208,7 @@ test_files:
|
|
218
208
|
- test/dummy/app/helpers/application_helper.rb
|
219
209
|
- test/dummy/app/views/home/index.html.erb
|
220
210
|
- test/dummy/app/views/home/index.pdf.erb
|
211
|
+
- test/dummy/app/views/home/pdf/subdir_template.pdf.erb
|
221
212
|
- test/dummy/app/views/layouts/application.html.erb
|
222
213
|
- test/dummy/config/application.rb
|
223
214
|
- test/dummy/config/boot.rb
|
@@ -236,6 +227,7 @@ test_files:
|
|
236
227
|
- test/dummy/config/locales/en.yml
|
237
228
|
- test/dummy/config/routes.rb
|
238
229
|
- test/dummy/config.ru
|
230
|
+
- test/dummy/db/development.sqlite3
|
239
231
|
- test/dummy/db/test.sqlite3
|
240
232
|
- test/dummy/log/development.log
|
241
233
|
- test/dummy/log/test.log
|
@@ -246,6 +238,16 @@ test_files:
|
|
246
238
|
- test/dummy/Rakefile
|
247
239
|
- test/dummy/README.rdoc
|
248
240
|
- test/dummy/script/rails
|
241
|
+
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
242
|
+
- test/dummy/tmp/cache/assets/CF0/DC0/sprockets%2Fc7df72c44e5cf6295507448c4726d47b
|
243
|
+
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
244
|
+
- test/dummy/tmp/cache/assets/D3C/0C0/sprockets%2F984da4677de1065bf04bbd8a505d0e90
|
245
|
+
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
246
|
+
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
247
|
+
- test/dummy/tmp/cache/assets/D71/8C0/sprockets%2F07e1f1387073a8829a9b7edfdaa771aa
|
248
|
+
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
249
|
+
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
250
|
+
- test/dummy/tmp/cache/assets/E5E/0C0/sprockets%2Fb7fae3fe0c7bca77de72b8e8800aad9a
|
249
251
|
- test/integration/navigation_test.rb
|
250
252
|
- test/support/integration_case.rb
|
251
253
|
- test/test_helper.rb
|