docmago_client 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/lib/docmago_client/html_resource_archiver.rb +2 -2
- data/lib/docmago_client/version.rb +1 -1
- data/test/dummy/log/test.log +29 -0
- metadata +18 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bf14b052709aabaa741f48cc57dd57ff8755ee7
|
4
|
+
data.tar.gz: c9527b8f25839fb160d16d8c6e8229d7e1af9017
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f63fd9a42c7c65e224f6f2581c134ebb55a9f31b17da65e370e212ebc1786204eeb9fde7f0bf3e66af7a82b7b276c282ca95d916472b8428b3add20410e2b1d
|
7
|
+
data.tar.gz: b03fe55c8f52c7ee38be7b7cfcc57b1b0063c395be5d285502db70bcd1a0f8874c74bc3dc96e3d4cec074eed9e004a6ff9636e718dc8b3928a7a3fd3432556b7
|
data/MIT-LICENSE
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require 'uri'
|
1
|
+
require 'addressable/uri'
|
2
2
|
require 'nokogiri'
|
3
3
|
require 'zip'
|
4
4
|
|
@@ -30,7 +30,7 @@ module DocmagoClient
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def normalize_uri(uri)
|
33
|
-
uri = URI.parse
|
33
|
+
uri = Addressable::URI.parse uri.to_s.strip
|
34
34
|
uri.query = nil
|
35
35
|
uri.to_s
|
36
36
|
end
|
data/test/dummy/log/test.log
CHANGED
@@ -2267,3 +2267,32 @@ Completed 200 OK in 168ms (Views: 167.6ms | ActiveRecord: 0.0ms)
|
|
2267
2267
|
[1m[35m (0.1ms)[0m rollback transaction
|
2268
2268
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2269
2269
|
[1m[35m (0.0ms)[0m rollback transaction
|
2270
|
+
Connecting to database specified by database.yml
|
2271
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2272
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2273
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2274
|
+
Started GET "/home" for 127.0.0.1 at 2013-09-09 13:50:18 +0200
|
2275
|
+
Processing by HomeController#index as HTML
|
2276
|
+
Rendered home/index.html.erb within layouts/application (1.7ms)
|
2277
|
+
Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)
|
2278
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2013-09-09 13:50:18 +0200
|
2279
|
+
Processing by HomeController#index as PDF
|
2280
|
+
Rendered home/index.pdf.erb (0.3ms)
|
2281
|
+
Rendered text template (0.0ms)
|
2282
|
+
Sent data contents.pdf (2.2ms)
|
2283
|
+
Completed 200 OK in 18633ms (Views: 18632.4ms | ActiveRecord: 0.0ms)
|
2284
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2285
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2286
|
+
Started GET "/home" for 127.0.0.1 at 2013-09-09 13:50:36 +0200
|
2287
|
+
Processing by HomeController#index as HTML
|
2288
|
+
Rendered home/index.html.erb within layouts/application (0.6ms)
|
2289
|
+
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
2290
|
+
Started GET "/home/subdir_template.pdf" for 127.0.0.1 at 2013-09-09 13:50:36 +0200
|
2291
|
+
Processing by HomeController#subdir_template as PDF
|
2292
|
+
Rendered home/pdf/subdir_template.pdf.erb (0.3ms)
|
2293
|
+
Rendered text template (0.0ms)
|
2294
|
+
Sent data subdir_template.pdf (0.6ms)
|
2295
|
+
Completed 200 OK in 217ms (Views: 216.7ms | ActiveRecord: 0.0ms)
|
2296
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2297
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2298
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docmago_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Habermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 1.0.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: addressable
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 2.3.5
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 2.3.5
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: rails
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -177,7 +191,8 @@ files:
|
|
177
191
|
- test/support/integration_case.rb
|
178
192
|
- test/test_helper.rb
|
179
193
|
homepage: http://github.com/docmago/docmago_client
|
180
|
-
licenses:
|
194
|
+
licenses:
|
195
|
+
- MIT
|
181
196
|
metadata: {}
|
182
197
|
post_install_message:
|
183
198
|
rdoc_options: []
|