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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b4a49afceb2e583cb568d3130df8a79da662ea74
4
- data.tar.gz: 903bb241dcde53b4d6cbc18c7f0edc620f40550c
3
+ metadata.gz: 2bf14b052709aabaa741f48cc57dd57ff8755ee7
4
+ data.tar.gz: c9527b8f25839fb160d16d8c6e8229d7e1af9017
5
5
  SHA512:
6
- metadata.gz: 220876b73d683c134cadef101b94aff88d08de75a7ff1d25d9d71d932747f1e18a35a24e683c62ff940230c1b8046c70ed30497233db4090fb3d006e6176debe
7
- data.tar.gz: 3089fe96873fc69abf168852e806e4e9f11eba829eb6ffad8cdd4769f4cd22ace853cf5545624531f4d0f988cd4748ac42c0ec8a6dae5267a89409872f137652
6
+ metadata.gz: 7f63fd9a42c7c65e224f6f2581c134ebb55a9f31b17da65e370e212ebc1786204eeb9fde7f0bf3e66af7a82b7b276c282ca95d916472b8428b3add20410e2b1d
7
+ data.tar.gz: b03fe55c8f52c7ee38be7b7cfcc57b1b0063c395be5d285502db70bcd1a0f8874c74bc3dc96e3d4cec074eed9e004a6ff9636e718dc8b3928a7a3fd3432556b7
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2012 Jan Habermann
1
+ Copyright 2013 Jan Habermann
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -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 URI.encode(uri.to_s.strip)
33
+ uri = Addressable::URI.parse uri.to_s.strip
34
34
  uri.query = nil
35
35
  uri.to_s
36
36
  end
@@ -1,3 +1,3 @@
1
1
  module DocmagoClient
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -2267,3 +2267,32 @@ Completed 200 OK in 168ms (Views: 167.6ms | ActiveRecord: 0.0ms)
2267
2267
   (0.1ms) rollback transaction
2268
2268
   (0.0ms) begin transaction
2269
2269
   (0.0ms) rollback transaction
2270
+ Connecting to database specified by database.yml
2271
+  (0.2ms) begin transaction
2272
+  (0.0ms) rollback transaction
2273
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
2285
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
2297
+  (0.0ms) begin transaction
2298
+  (0.0ms) 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.0
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-08-29 00:00:00.000000000 Z
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: []