pdfjs_viewer-rails 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pdfjs_viewer-rails.rb +1 -1
- data/lib/pdfjs_viewer-rails/version.rb +1 -1
- data/test/dummy/log/test.log +42 -0
- data/test/sandbox/helper.png +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d30896b72b1124a17bc8e9a10c133c74591153be
|
4
|
+
data.tar.gz: b380c7f902ef8cfcf07a1ed7365766f104ab5a0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 898fd0d98cc12a44561b76b7e081e866899c57ca76fe493b9d4eb307061cec27426901374591b383d5ac6b7ea8d4334830d9584952e24a6a8d1135d9e6edb6d0
|
7
|
+
data.tar.gz: e9a5aede41dee39c2944b52fe33382c282416136a014137f3fe6457af4f31faa9942f32693739c68303075f368633620edd22e13bef0269816abd0b0ee1b9ff1
|
data/lib/pdfjs_viewer-rails.rb
CHANGED
@@ -7,7 +7,7 @@ module PdfjsViewer
|
|
7
7
|
isolate_namespace PdfjsViewer
|
8
8
|
|
9
9
|
initializer 'pdfjs_viewer-rails.load_static_assets' do |app|
|
10
|
-
app.middleware.
|
10
|
+
app.middleware.unshift ::ActionDispatch::Static, "#{root}/public"
|
11
11
|
end
|
12
12
|
|
13
13
|
initializer "pdfjs_viewer-rails.view_helpers" do
|
data/test/dummy/log/test.log
CHANGED
@@ -1718,3 +1718,45 @@ Started GET "/pdfjs/web/locale/locale.properties" for 127.0.0.1 at 2015-02-18 12
|
|
1718
1718
|
Started GET "/pdfjs/web/images/toolbarButton-menuArrows.png" for 127.0.0.1 at 2015-02-18 12:18:28 +0100
|
1719
1719
|
Started GET "/pdfjs/web/locale/en-US/viewer.properties" for 127.0.0.1 at 2015-02-18 12:18:28 +0100
|
1720
1720
|
Started GET "/pdfjs/web/images/loading-small.png" for 127.0.0.1 at 2015-02-18 12:18:28 +0100
|
1721
|
+
-------------------------------
|
1722
|
+
ViewerTest: test_Minimal_viewer
|
1723
|
+
-------------------------------
|
1724
|
+
Started GET "/" for 127.0.0.1 at 2015-02-19 16:10:32 +0100
|
1725
|
+
Processing by SampleController#show as HTML
|
1726
|
+
Rendered sample/show.html.erb within layouts/application (11.5ms)
|
1727
|
+
Completed 200 OK in 35ms (Views: 34.7ms)
|
1728
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-02-19 16:10:32 +0100
|
1729
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-02-19 16:10:32 +0100
|
1730
|
+
Started GET "/pdfjs_viewer/minimal?file=%2Fsample.pdf" for 127.0.0.1 at 2015-02-19 16:10:32 +0100
|
1731
|
+
Processing by PdfjsViewer::ViewerController#minimal as HTML
|
1732
|
+
Parameters: {"file"=>"/sample.pdf"}
|
1733
|
+
Rendered /Users/senny/Projects/pdfjs_viewer-rails/app/views/pdfjs_viewer/viewer/_viewer.html.erb (61.3ms)
|
1734
|
+
Rendered /Users/senny/Projects/pdfjs_viewer-rails/app/views/pdfjs_viewer/viewer/minimal.html.erb (67.8ms)
|
1735
|
+
Completed 200 OK in 75ms (Views: 74.3ms)
|
1736
|
+
Started GET "/assets/pdfjs_viewer/application.css" for 127.0.0.1 at 2015-02-19 16:10:32 +0100
|
1737
|
+
Started GET "/assets/pdfjs_viewer/application.js" for 127.0.0.1 at 2015-02-19 16:10:32 +0100
|
1738
|
+
----------------------------
|
1739
|
+
ViewerTest: test_Full_viewer
|
1740
|
+
----------------------------
|
1741
|
+
Started GET "/" for 127.0.0.1 at 2015-02-19 16:10:35 +0100
|
1742
|
+
Processing by SampleController#show as HTML
|
1743
|
+
Rendered sample/show.html.erb within layouts/application (5.1ms)
|
1744
|
+
Completed 200 OK in 6ms (Views: 6.0ms)
|
1745
|
+
Started GET "/pdfjs_viewer/full?file=%2Fsample.pdf" for 127.0.0.1 at 2015-02-19 16:10:35 +0100
|
1746
|
+
Processing by PdfjsViewer::ViewerController#full as HTML
|
1747
|
+
Parameters: {"file"=>"/sample.pdf"}
|
1748
|
+
Rendered /Users/senny/Projects/pdfjs_viewer-rails/app/views/pdfjs_viewer/viewer/_viewer.html.erb (0.3ms)
|
1749
|
+
Rendered /Users/senny/Projects/pdfjs_viewer-rails/app/views/pdfjs_viewer/viewer/full.html.erb (1.0ms)
|
1750
|
+
Completed 200 OK in 4ms (Views: 3.8ms)
|
1751
|
+
---------------------------------
|
1752
|
+
ViewerTest: test_Using_the_helper
|
1753
|
+
---------------------------------
|
1754
|
+
Started GET "/" for 127.0.0.1 at 2015-02-19 16:10:37 +0100
|
1755
|
+
Processing by SampleController#show as HTML
|
1756
|
+
Rendered sample/show.html.erb within layouts/application (4.3ms)
|
1757
|
+
Completed 200 OK in 5ms (Views: 5.1ms)
|
1758
|
+
Started GET "/helper" for 127.0.0.1 at 2015-02-19 16:10:37 +0100
|
1759
|
+
Processing by SampleController#helper as HTML
|
1760
|
+
Rendered /Users/senny/Projects/pdfjs_viewer-rails/app/views/pdfjs_viewer/viewer/_viewer.html.erb (1.5ms)
|
1761
|
+
Rendered sample/helper.html.erb (3.9ms)
|
1762
|
+
Completed 200 OK in 7ms (Views: 7.1ms)
|
data/test/sandbox/helper.png
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdfjs_viewer-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yves Senn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|