acts_as_flying_saucer 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,15 @@ Grab the last version from Github:
16
16
  Requirements
17
17
  ------------
18
18
 
19
- JDK 1.5.x or 1.6.x
19
+ * JDK 1.5.x or 1.6.x
20
+ * Tidy required
21
+ * Ubuntu Installation
22
+ * Install tidy with dev and ruby binding.
23
+
24
+ * apt-get install tidy
25
+ * apt-get install libtidy-dev
26
+ * apt-get install libtidy-ruby
27
+
20
28
 
21
29
  Usage
22
30
  -----
@@ -36,7 +44,7 @@ It accepts the same options as ActionController::Base#render plus the following
36
44
 
37
45
  :clean - (boolean expected) It cleans up html using tidy (It uses tidy_ffi gem) default is false
38
46
 
39
- :send_attachment - (boolean expected) If it is false it returns output pdf and attachment is not sent to client.
47
+ :send_to_client - (boolean expected) If it is false it returns output pdf and attachment is not sent to client.
40
48
 
41
49
  class FooController < ActionController::Base
42
50
  acts_as_flying_saucer
@@ -87,7 +87,7 @@ module ActsAsFlyingSaucer
87
87
  end
88
88
 
89
89
  # sending the file to the client
90
- if options[:send_attachment] == false
90
+ if options[:send_to_client] == false
91
91
  output_file
92
92
  else
93
93
  if options[:send_file]
@@ -1,3 +1,3 @@
1
1
  module ActsAsFlyingSaucer
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_flying_saucer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Amar Daxini
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-21 00:00:00 Z
18
+ date: 2011-10-24 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: nailgun