docmago_client 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/docmago_client/html_resource_archiver.rb +0 -7
- data/lib/docmago_client/railtie.rb +0 -6
- data/lib/docmago_client/version.rb +1 -1
- metadata +10 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: fd084d2f4d37f17df485855d7e4884f996c73dd006d781e0a2711e4bf62492af
|
4
|
+
data.tar.gz: e48a84a9e7107faffffd42ae319bfa18f85effd0506421551851634f63c07e89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c2e29f22e45a89b3460b393fb431f659508702bd0e434e25b3e9c89cdab25680b0dd731cc0bfb76d6971d969a3186fa8b90517f246b9cfe9a6c3a537c0380d7
|
7
|
+
data.tar.gz: bac76e35833c13cef5c609b3e2061aced250f15ad631d282fc21bf46bf05308c2adced55a66ac2503d822f12abd344b46ae902f44a79602c5b1250f4fc766379
|
@@ -4,13 +4,6 @@ require 'addressable/uri'
|
|
4
4
|
require 'nokogiri'
|
5
5
|
require 'zip'
|
6
6
|
|
7
|
-
class URI::Parser
|
8
|
-
def split(url)
|
9
|
-
a = Addressable::URI.parse url
|
10
|
-
[a.scheme, a.userinfo, a.host, a.port, nil, a.path, nil, a.query, a.fragment]
|
11
|
-
end
|
12
|
-
end
|
13
|
-
|
14
7
|
module DocmagoClient
|
15
8
|
class HTMLResourceArchiver
|
16
9
|
SPROCKETS_RX = %r{^/assets/}
|
@@ -13,12 +13,6 @@ module DocmagoClient
|
|
13
13
|
end
|
14
14
|
|
15
15
|
ActionController::Renderers.add :pdf do |filename, options|
|
16
|
-
# Allow PDFs to be resolved in app/views/examples/pdf/
|
17
|
-
append_view_path ActionView::FileSystemResolver.new(
|
18
|
-
Rails.root.join('app/views'),
|
19
|
-
':prefix/{:formats/,}:action{.:locale,}{.:formats,}{.:handlers,}'
|
20
|
-
)
|
21
|
-
|
22
16
|
default_options = {
|
23
17
|
name: filename || controller_name,
|
24
18
|
test_mode: Rails.env.development?.to_s,
|
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.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Habermann
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -72,28 +72,28 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '6.1'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '6.1'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: sqlite3
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '1.
|
89
|
+
version: '1.6'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '1.
|
96
|
+
version: '1.6'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: capybara
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -126,7 +126,7 @@ homepage: http://github.com/docmago/docmago_client
|
|
126
126
|
licenses:
|
127
127
|
- MIT
|
128
128
|
metadata: {}
|
129
|
-
post_install_message:
|
129
|
+
post_install_message:
|
130
130
|
rdoc_options: []
|
131
131
|
require_paths:
|
132
132
|
- lib
|
@@ -141,9 +141,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
|
-
|
145
|
-
|
146
|
-
signing_key:
|
144
|
+
rubygems_version: 3.4.1
|
145
|
+
signing_key:
|
147
146
|
specification_version: 4
|
148
147
|
summary: Client for the Docmago API (www.docmago.com)
|
149
148
|
test_files: []
|