crayfish 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/crayfish/rails/pdf.rb +1 -1
- data/lib/crayfish/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzhhNmQ3ODA4MDJiMWI4NmM3YTg5Yzk1NGQyYTFkNDk4N2ZiYTAxMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTNkM2M2Mzc2MDA1ZTdjZGE0ODNiMGFlNWRjYjM3Zjg2MzZjZTZjZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTJlYjhjYzA3OTQwNjQ2MWQ4NWJkOTIwNjRhZjM2NzFkYmRkMmNhMGM4NjIx
|
10
|
+
YTBmOTUzZTljYjg1OTVlNWNmMGY1MzI0ZTMyMWZiZGUzMGQ2ZWEyMmVmMGEx
|
11
|
+
NTE2NzgyYjU1MjIzZjgyNTA4ZDFiNDkyZTBhZjIwYjFlOTY3MTE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDczZTQxMWVhOTUzNmI2OTkyMGExOWI5MWZlMjgyMmVmOTc2NjQ4Mjk5ZTA4
|
14
|
+
YjI1ZDE1NzJhN2EzMzU3NWM1ZTQxYzMzOGQwZWQxODIzNTJkNmFiNDJlNzcx
|
15
|
+
ZTJmZTg1ODdjNjk2ZGUzM2VmZjk5ZWU1OTIxZTVjYjAxYTA4OWY=
|
data/lib/crayfish/rails/pdf.rb
CHANGED
@@ -28,7 +28,7 @@ module Crayfish
|
|
28
28
|
attr_reader :options
|
29
29
|
|
30
30
|
def initialize(controller)
|
31
|
-
controller_options = controller ? controller.send(:options) || {} : {}
|
31
|
+
controller_options = (controller && controller.respond_to?(:options)) ? controller.send(:options) || {} : {}
|
32
32
|
@options = Crayfish::ActionController.options.merge(Hash[*controller_options.map{ |k,v| [k.to_sym,v] }.flatten])
|
33
33
|
|
34
34
|
if controller && controller.respond_to?(:response)
|
data/lib/crayfish/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crayfish
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Hanevold
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|