osaka 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -45,6 +45,7 @@ module Osaka
45
45
 
46
46
  def mail_merge_to_pdf(filename)
47
47
  mail_merge_dialog = mail_merge
48
+ mail_merge_dialog.set_merge_to_printer
48
49
  print_dialog = mail_merge_dialog.merge
49
50
  print_dialog.save_as_pdf(filename)
50
51
  end
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Osaka
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
@@ -18,6 +18,7 @@ describe "Osaka::Pages" do
18
18
 
19
19
  subject.should_receive(:mail_merge).and_return(mail_merge_dialog)
20
20
  mail_merge_dialog.should_receive(:merge).and_return(print_dialog)
21
+ mail_merge_dialog.should_receive(:set_merge_to_printer)
21
22
  print_dialog.should_receive(:save_as_pdf).with("filename")
22
23
 
23
24
  subject.mail_merge_to_pdf("filename")
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: osaka
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.1
5
+ version: 0.2.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Bas Vodde