docmago_client 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/docmago_client/railtie.rb +1 -1
- data/lib/docmago_client/version.rb +1 -1
- data/test/dummy/config/application.rb +0 -6
- data/test/dummy/config/environments/development.rb +11 -17
- data/test/dummy/config/environments/production.rb +39 -31
- data/test/dummy/config/environments/test.rb +13 -14
- data/test/dummy/config/initializers/docmago.rb +1 -1
- data/test/dummy/config/routes.rb +2 -2
- data/test/dummy/log/test.log +78 -0
- data/test/dummy/script/rails +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/27db960e9aa643c0bb6a5c816ff0131e +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/70bf67ab6d61f1c95b28741e6ab01ef2 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cc469c18b214c2fb0b7807c4e3c640f7 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d5571dc03eff8cbafd90bc2c8e499122 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- metadata +50 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03abf2dd72ca089099e46f8da2cd02b4737ba902
|
4
|
+
data.tar.gz: 75960eab09e6e1ed204fe22074dbf9413d675bee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 733bd53715f65a895dd2dece8e8ff53405ff06e89190e70476a0a29e80fd3d346bf805dc5f1adc812bf9e1c2274cecb4b3c2b6b324e6a9d61b9e82c7b2daef07
|
7
|
+
data.tar.gz: 8817c0e1c062426164a940245ef6f036d1ee0fa66273eb98a7da3665b901a7b532b69b14ae400d066cfedbeca923067986e700e20aaf0864485d0dce6d3c5aea
|
@@ -22,7 +22,7 @@ module DocmagoClient
|
|
22
22
|
name: filename||controller_name,
|
23
23
|
test_mode: !Rails.env.production?,
|
24
24
|
base_uri: url_for(only_path: false),
|
25
|
-
resource_path: Rails.root.join('public'),
|
25
|
+
resource_path: Rails.root.join('public').to_s,
|
26
26
|
zip_resources: true
|
27
27
|
}
|
28
28
|
|
@@ -43,12 +43,6 @@ module Dummy
|
|
43
43
|
# like if you have constraints or database-specific column types
|
44
44
|
# config.active_record.schema_format = :sql
|
45
45
|
|
46
|
-
# Enforce whitelist mode for mass assignment.
|
47
|
-
# This will create an empty whitelist of attributes available for mass-assignment for all models
|
48
|
-
# in your app. As such, your models will need to explicitly whitelist or blacklist accessible
|
49
|
-
# parameters by using an attr_accessible or attr_protected declaration.
|
50
|
-
config.active_record.whitelist_attributes = true
|
51
|
-
|
52
46
|
# Enable the asset pipeline
|
53
47
|
config.assets.enabled = true
|
54
48
|
|
@@ -5,9 +5,9 @@ Dummy::Application.configure do
|
|
5
5
|
# every request. This slows down response time but is perfect for development
|
6
6
|
# since you don't have to restart the web server when you make code changes.
|
7
7
|
config.cache_classes = false
|
8
|
-
|
9
|
-
#
|
10
|
-
config.
|
8
|
+
|
9
|
+
# Do not eager load code on boot.
|
10
|
+
config.eager_load = false
|
11
11
|
|
12
12
|
# Show full error reports and disable caching
|
13
13
|
config.consider_all_requests_local = true
|
@@ -15,23 +15,17 @@ Dummy::Application.configure do
|
|
15
15
|
|
16
16
|
# Don't care if the mailer can't send
|
17
17
|
config.action_mailer.raise_delivery_errors = false
|
18
|
+
config.action_mailer.perform_deliveries = false
|
19
|
+
config.action_mailer.default_url_options = { :host => 'rack_inspector.dev' }
|
18
20
|
|
19
|
-
# Print deprecation notices to the Rails logger
|
21
|
+
# Print deprecation notices to the Rails logger.
|
20
22
|
config.active_support.deprecation = :log
|
21
23
|
|
22
|
-
#
|
23
|
-
config.
|
24
|
-
|
25
|
-
# Raise exception on mass assignment protection for Active Record models
|
26
|
-
config.active_record.mass_assignment_sanitizer = :strict
|
27
|
-
|
28
|
-
# Log the query plan for queries taking more than this (works
|
29
|
-
# with SQLite, MySQL, and PostgreSQL)
|
30
|
-
config.active_record.auto_explain_threshold_in_seconds = 0.5
|
31
|
-
|
32
|
-
# Do not compress assets
|
33
|
-
config.assets.compress = false
|
24
|
+
# Raise an error on page load if there are pending migrations
|
25
|
+
config.active_record.migration_error = :page_load
|
34
26
|
|
35
|
-
#
|
27
|
+
# Debug mode disables concatenation and preprocessing of assets.
|
28
|
+
# This option may cause significant delays in view rendering with a large
|
29
|
+
# number of complex assets.
|
36
30
|
config.assets.debug = true
|
37
31
|
end
|
@@ -1,67 +1,75 @@
|
|
1
1
|
Dummy::Application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
3
|
|
4
|
-
# Code is not reloaded between requests
|
4
|
+
# Code is not reloaded between requests.
|
5
5
|
config.cache_classes = true
|
6
6
|
|
7
|
-
#
|
7
|
+
# Eager load code on boot. This eager loads most of Rails and
|
8
|
+
# your application in memory, allowing both thread web servers
|
9
|
+
# and those relying on copy on write to perform better.
|
10
|
+
# Rake tasks automatically ignore this option for performance.
|
11
|
+
config.eager_load = true
|
12
|
+
|
13
|
+
# Full error reports are disabled and caching is turned on.
|
8
14
|
config.consider_all_requests_local = false
|
9
15
|
config.action_controller.perform_caching = true
|
10
16
|
|
11
|
-
#
|
17
|
+
# Enable Rack::Cache to put a simple HTTP cache in front of your application
|
18
|
+
# Add `rack-cache` to your Gemfile before enabling this.
|
19
|
+
# For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
|
20
|
+
# config.action_dispatch.rack_cache = true
|
21
|
+
|
22
|
+
# Disable Rails's static asset server (Apache or nginx will already do this).
|
12
23
|
config.serve_static_assets = false
|
13
24
|
|
14
|
-
# Compress JavaScripts and CSS
|
15
|
-
config.assets.
|
25
|
+
# Compress JavaScripts and CSS.
|
26
|
+
config.assets.js_compressor = :uglifier
|
27
|
+
# config.assets.css_compressor = :sass
|
16
28
|
|
17
|
-
#
|
29
|
+
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
18
30
|
config.assets.compile = false
|
19
31
|
|
20
|
-
# Generate digests for assets URLs
|
32
|
+
# Generate digests for assets URLs.
|
21
33
|
config.assets.digest = true
|
22
34
|
|
23
|
-
#
|
24
|
-
|
35
|
+
# Version of your assets, change this if you want to expire all your assets.
|
36
|
+
config.assets.version = '1.0'
|
25
37
|
|
26
|
-
# Specifies the header that your server uses for sending files
|
27
|
-
|
28
|
-
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
38
|
+
# Specifies the header that your server uses for sending files.
|
39
|
+
config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
|
29
40
|
|
30
41
|
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
31
42
|
# config.force_ssl = true
|
32
43
|
|
33
|
-
#
|
34
|
-
|
44
|
+
# Set to :debug to see everything in the log.
|
45
|
+
config.log_level = :info
|
35
46
|
|
36
|
-
# Prepend all log lines with the following tags
|
47
|
+
# Prepend all log lines with the following tags.
|
37
48
|
# config.log_tags = [ :subdomain, :uuid ]
|
38
49
|
|
39
|
-
# Use a different logger for distributed setups
|
50
|
+
# Use a different logger for distributed setups.
|
40
51
|
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
41
52
|
|
42
|
-
# Use a different cache store in production
|
53
|
+
# Use a different cache store in production.
|
43
54
|
# config.cache_store = :mem_cache_store
|
44
55
|
|
45
|
-
# Enable serving of images, stylesheets, and JavaScripts from an asset server
|
56
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
46
57
|
# config.action_controller.asset_host = "http://assets.example.com"
|
47
58
|
|
48
|
-
# Precompile additional assets
|
59
|
+
# Precompile additional assets.
|
60
|
+
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
49
61
|
# config.assets.precompile += %w( search.js )
|
50
62
|
|
51
|
-
# Disable delivery errors, bad email addresses will be ignored
|
52
|
-
# config.action_mailer.raise_delivery_errors = false
|
53
|
-
|
54
|
-
# Enable threaded mode
|
55
|
-
# config.threadsafe!
|
56
|
-
|
57
63
|
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
58
|
-
# the I18n.default_locale when a translation can not be found)
|
64
|
+
# the I18n.default_locale when a translation can not be found).
|
59
65
|
config.i18n.fallbacks = true
|
60
66
|
|
61
|
-
# Send deprecation notices to registered listeners
|
67
|
+
# Send deprecation notices to registered listeners.
|
62
68
|
config.active_support.deprecation = :notify
|
63
69
|
|
64
|
-
#
|
65
|
-
#
|
66
|
-
|
70
|
+
# Disable automatic flushing of the log to improve performance.
|
71
|
+
# config.autoflush_log = false
|
72
|
+
|
73
|
+
# Use default logging formatter so that PID and timestamp are not suppressed.
|
74
|
+
config.log_formatter = ::Logger::Formatter.new
|
67
75
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
Dummy::Application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
3
|
|
4
4
|
# The test environment is used exclusively to run your application's
|
5
5
|
# test suite. You never need to work with it otherwise. Remember that
|
@@ -7,31 +7,30 @@ Dummy::Application.configure do
|
|
7
7
|
# and recreated between test runs. Don't rely on the data there!
|
8
8
|
config.cache_classes = true
|
9
9
|
|
10
|
-
#
|
11
|
-
|
12
|
-
|
10
|
+
# Do not eager load code on boot. This avoids loading your whole application
|
11
|
+
# just for the purpose of running a single test. If you are using a tool that
|
12
|
+
# preloads Rails for running tests, you may have to set it to true.
|
13
|
+
config.eager_load = false
|
13
14
|
|
14
|
-
#
|
15
|
-
config.
|
15
|
+
# Configure static asset server for tests with Cache-Control for performance.
|
16
|
+
config.serve_static_assets = true
|
17
|
+
config.static_cache_control = "public, max-age=3600"
|
16
18
|
|
17
|
-
# Show full error reports and disable caching
|
19
|
+
# Show full error reports and disable caching.
|
18
20
|
config.consider_all_requests_local = true
|
19
21
|
config.action_controller.perform_caching = false
|
20
22
|
|
21
|
-
# Raise exceptions instead of rendering exception templates
|
23
|
+
# Raise exceptions instead of rendering exception templates.
|
22
24
|
config.action_dispatch.show_exceptions = false
|
23
25
|
|
24
|
-
# Disable request forgery protection in test environment
|
25
|
-
config.action_controller.allow_forgery_protection
|
26
|
+
# Disable request forgery protection in test environment.
|
27
|
+
config.action_controller.allow_forgery_protection = false
|
26
28
|
|
27
29
|
# Tell Action Mailer not to deliver emails to the real world.
|
28
30
|
# The :test delivery method accumulates sent emails in the
|
29
31
|
# ActionMailer::Base.deliveries array.
|
30
32
|
config.action_mailer.delivery_method = :test
|
31
33
|
|
32
|
-
#
|
33
|
-
config.active_record.mass_assignment_sanitizer = :strict
|
34
|
-
|
35
|
-
# Print deprecation notices to the stderr
|
34
|
+
# Print deprecation notices to the stderr.
|
36
35
|
config.active_support.deprecation = :stderr
|
37
36
|
end
|
@@ -1,2 +1,2 @@
|
|
1
1
|
DocmagoClient.base_uri "http://docmago.dev/api"
|
2
|
-
DocmagoClient.api_key "
|
2
|
+
DocmagoClient.api_key "fXppDs9mRYmaN6uaE8nz"
|
data/test/dummy/config/routes.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
Dummy::Application.routes.draw do
|
2
|
-
|
3
|
-
|
2
|
+
get "/home(.:format)", :to => "home#index", :as => :home
|
3
|
+
get "/home/subdir_template(.:format)", :to => "home#subdir_template", :as => :subdir_template
|
4
4
|
end
|
data/test/dummy/log/test.log
CHANGED
@@ -2296,3 +2296,81 @@ Completed 200 OK in 217ms (Views: 216.7ms | ActiveRecord: 0.0ms)
|
|
2296
2296
|
[1m[35m (0.1ms)[0m rollback transaction
|
2297
2297
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2298
2298
|
[1m[35m (0.0ms)[0m rollback transaction
|
2299
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2300
|
+
-----------------------------
|
2301
|
+
DocmagoClientTest: test_truth
|
2302
|
+
-----------------------------
|
2303
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2304
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2305
|
+
----------------------------------------------------
|
2306
|
+
NavigationTest: test_pdf_request_sends_a_pdf_as_file
|
2307
|
+
----------------------------------------------------
|
2308
|
+
Started GET "/home" for 127.0.0.1 at 2014-08-06 20:09:46 -0400
|
2309
|
+
Processing by HomeController#index as HTML
|
2310
|
+
Rendered home/index.html.erb within layouts/application (1.4ms)
|
2311
|
+
Completed 200 OK in 31ms (Views: 30.6ms | ActiveRecord: 0.0ms)
|
2312
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2014-08-06 20:09:46 -0400
|
2313
|
+
Processing by HomeController#index as PDF
|
2314
|
+
Rendered home/index.pdf.erb (0.3ms)
|
2315
|
+
Rendered inline template (0.3ms)
|
2316
|
+
Completed 401 Unauthorized in 198ms (Views: 197.4ms | ActiveRecord: 0.0ms)
|
2317
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2318
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2319
|
+
----------------------------------------------------------------------------------------
|
2320
|
+
NavigationTest: test_pdf_request_to_an_action_with_view_template_inside_pdf_subdirectory
|
2321
|
+
----------------------------------------------------------------------------------------
|
2322
|
+
Started GET "/home" for 127.0.0.1 at 2014-08-06 20:09:46 -0400
|
2323
|
+
Processing by HomeController#index as HTML
|
2324
|
+
Rendered home/index.html.erb within layouts/application (0.6ms)
|
2325
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
2326
|
+
Started GET "/home/subdir_template.pdf" for 127.0.0.1 at 2014-08-06 20:09:46 -0400
|
2327
|
+
Processing by HomeController#subdir_template as PDF
|
2328
|
+
Rendered home/pdf/subdir_template.pdf.erb (0.4ms)
|
2329
|
+
Rendered inline template (0.3ms)
|
2330
|
+
Completed 401 Unauthorized in 104ms (Views: 103.7ms | ActiveRecord: 0.0ms)
|
2331
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2332
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2333
|
+
--------------------------
|
2334
|
+
NavigationTest: test_truth
|
2335
|
+
--------------------------
|
2336
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2337
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2338
|
+
----------------------------------------------------
|
2339
|
+
NavigationTest: test_pdf_request_sends_a_pdf_as_file
|
2340
|
+
----------------------------------------------------
|
2341
|
+
Started GET "/home" for 127.0.0.1 at 2014-08-06 20:11:40 -0400
|
2342
|
+
Processing by HomeController#index as HTML
|
2343
|
+
Rendered home/index.html.erb within layouts/application (1.6ms)
|
2344
|
+
Completed 200 OK in 15ms (Views: 15.0ms | ActiveRecord: 0.0ms)
|
2345
|
+
Started GET "/home.pdf" for 127.0.0.1 at 2014-08-06 20:11:40 -0400
|
2346
|
+
Processing by HomeController#index as PDF
|
2347
|
+
Rendered home/index.pdf.erb (0.3ms)
|
2348
|
+
Rendered text template (0.0ms)
|
2349
|
+
Sent data contents.pdf (2.3ms)
|
2350
|
+
Completed 200 OK in 210ms (Views: 209.5ms | ActiveRecord: 0.0ms)
|
2351
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2352
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2353
|
+
----------------------------------------------------------------------------------------
|
2354
|
+
NavigationTest: test_pdf_request_to_an_action_with_view_template_inside_pdf_subdirectory
|
2355
|
+
----------------------------------------------------------------------------------------
|
2356
|
+
Started GET "/home" for 127.0.0.1 at 2014-08-06 20:11:40 -0400
|
2357
|
+
Processing by HomeController#index as HTML
|
2358
|
+
Rendered home/index.html.erb within layouts/application (0.6ms)
|
2359
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
2360
|
+
Started GET "/home/subdir_template.pdf" for 127.0.0.1 at 2014-08-06 20:11:40 -0400
|
2361
|
+
Processing by HomeController#subdir_template as PDF
|
2362
|
+
Rendered home/pdf/subdir_template.pdf.erb (0.3ms)
|
2363
|
+
Rendered text template (0.0ms)
|
2364
|
+
Sent data subdir_template.pdf (0.5ms)
|
2365
|
+
Completed 200 OK in 197ms (Views: 196.6ms | ActiveRecord: 0.0ms)
|
2366
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2367
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2368
|
+
--------------------------
|
2369
|
+
NavigationTest: test_truth
|
2370
|
+
--------------------------
|
2371
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2372
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2373
|
+
-----------------------------
|
2374
|
+
DocmagoClientTest: test_truth
|
2375
|
+
-----------------------------
|
2376
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
data/test/dummy/script/rails
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,125 +1,125 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docmago_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.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:
|
11
|
+
date: 2014-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.11.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.11.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: httmultiparty
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.3.10
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.3.10
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: nokogiri
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 1.6.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.6.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubyzip
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 1.0.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 1.0.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: addressable
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 2.3.5
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 2.3.5
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rails
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 4.1.4
|
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:
|
96
|
+
version: 4.1.4
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: sqlite3
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: capybara
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
description: Makes it easy to create PDF documents through the Docmago API.
|
@@ -129,17 +129,19 @@ executables: []
|
|
129
129
|
extensions: []
|
130
130
|
extra_rdoc_files: []
|
131
131
|
files:
|
132
|
+
- MIT-LICENSE
|
133
|
+
- README.rdoc
|
134
|
+
- Rakefile
|
135
|
+
- lib/docmago_client.rb
|
132
136
|
- lib/docmago_client/error.rb
|
133
137
|
- lib/docmago_client/exception.rb
|
134
138
|
- lib/docmago_client/html_resource_archiver.rb
|
135
139
|
- lib/docmago_client/railtie.rb
|
136
140
|
- lib/docmago_client/version.rb
|
137
|
-
- lib/docmago_client.rb
|
138
141
|
- lib/tasks/docmago_client_tasks.rake
|
139
|
-
- MIT-LICENSE
|
140
|
-
- Rakefile
|
141
|
-
- README.rdoc
|
142
142
|
- test/docmago_client_test.rb
|
143
|
+
- test/dummy/README.rdoc
|
144
|
+
- test/dummy/Rakefile
|
143
145
|
- test/dummy/app/assets/javascripts/application.js
|
144
146
|
- test/dummy/app/assets/stylesheets/application.css
|
145
147
|
- test/dummy/app/controllers/application_controller.rb
|
@@ -149,6 +151,7 @@ files:
|
|
149
151
|
- test/dummy/app/views/home/index.pdf.erb
|
150
152
|
- test/dummy/app/views/home/pdf/subdir_template.pdf.erb
|
151
153
|
- test/dummy/app/views/layouts/application.html.erb
|
154
|
+
- test/dummy/config.ru
|
152
155
|
- test/dummy/config/application.rb
|
153
156
|
- test/dummy/config/boot.rb
|
154
157
|
- test/dummy/config/database.yml
|
@@ -165,7 +168,6 @@ files:
|
|
165
168
|
- test/dummy/config/initializers/wrap_parameters.rb
|
166
169
|
- test/dummy/config/locales/en.yml
|
167
170
|
- test/dummy/config/routes.rb
|
168
|
-
- test/dummy/config.ru
|
169
171
|
- test/dummy/db/development.sqlite3
|
170
172
|
- test/dummy/db/test.sqlite3
|
171
173
|
- test/dummy/log/development.log
|
@@ -174,8 +176,6 @@ files:
|
|
174
176
|
- test/dummy/public/422.html
|
175
177
|
- test/dummy/public/500.html
|
176
178
|
- test/dummy/public/favicon.ico
|
177
|
-
- test/dummy/Rakefile
|
178
|
-
- test/dummy/README.rdoc
|
179
179
|
- test/dummy/script/rails
|
180
180
|
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
181
181
|
- test/dummy/tmp/cache/assets/CF0/DC0/sprockets%2Fc7df72c44e5cf6295507448c4726d47b
|
@@ -187,6 +187,16 @@ files:
|
|
187
187
|
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
188
188
|
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
189
189
|
- test/dummy/tmp/cache/assets/E5E/0C0/sprockets%2Fb7fae3fe0c7bca77de72b8e8800aad9a
|
190
|
+
- test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
|
191
|
+
- test/dummy/tmp/cache/assets/test/sprockets/27db960e9aa643c0bb6a5c816ff0131e
|
192
|
+
- test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
193
|
+
- test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
|
194
|
+
- test/dummy/tmp/cache/assets/test/sprockets/70bf67ab6d61f1c95b28741e6ab01ef2
|
195
|
+
- test/dummy/tmp/cache/assets/test/sprockets/cc469c18b214c2fb0b7807c4e3c640f7
|
196
|
+
- test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
197
|
+
- test/dummy/tmp/cache/assets/test/sprockets/d5571dc03eff8cbafd90bc2c8e499122
|
198
|
+
- test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
199
|
+
- test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
190
200
|
- test/integration/navigation_test.rb
|
191
201
|
- test/support/integration_case.rb
|
192
202
|
- test/test_helper.rb
|
@@ -200,17 +210,17 @@ require_paths:
|
|
200
210
|
- lib
|
201
211
|
required_ruby_version: !ruby/object:Gem::Requirement
|
202
212
|
requirements:
|
203
|
-
- -
|
213
|
+
- - ">="
|
204
214
|
- !ruby/object:Gem::Version
|
205
215
|
version: '0'
|
206
216
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
207
217
|
requirements:
|
208
|
-
- -
|
218
|
+
- - ">="
|
209
219
|
- !ruby/object:Gem::Version
|
210
220
|
version: '0'
|
211
221
|
requirements: []
|
212
222
|
rubyforge_project:
|
213
|
-
rubygems_version: 2.
|
223
|
+
rubygems_version: 2.2.2
|
214
224
|
signing_key:
|
215
225
|
specification_version: 4
|
216
226
|
summary: Client for the Docmago API (www.docmago.com)
|
@@ -263,6 +273,16 @@ test_files:
|
|
263
273
|
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
264
274
|
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
265
275
|
- test/dummy/tmp/cache/assets/E5E/0C0/sprockets%2Fb7fae3fe0c7bca77de72b8e8800aad9a
|
276
|
+
- test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
|
277
|
+
- test/dummy/tmp/cache/assets/test/sprockets/27db960e9aa643c0bb6a5c816ff0131e
|
278
|
+
- test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
279
|
+
- test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
|
280
|
+
- test/dummy/tmp/cache/assets/test/sprockets/70bf67ab6d61f1c95b28741e6ab01ef2
|
281
|
+
- test/dummy/tmp/cache/assets/test/sprockets/cc469c18b214c2fb0b7807c4e3c640f7
|
282
|
+
- test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
283
|
+
- test/dummy/tmp/cache/assets/test/sprockets/d5571dc03eff8cbafd90bc2c8e499122
|
284
|
+
- test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
285
|
+
- test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
266
286
|
- test/integration/navigation_test.rb
|
267
287
|
- test/support/integration_case.rb
|
268
288
|
- test/test_helper.rb
|