bootstrap-pdf 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/bootstrap-pdf +4 -2
  2. metadata +1 -1
@@ -1,7 +1,9 @@
1
1
  #!/usr/bin/ruby
2
2
 
3
- IO.write 'Gemfile', nil
3
+ exists = File.file? 'Gemfile'
4
+
5
+ IO.write 'Gemfile', nil unless exists
4
6
 
5
7
  require 'bootstrap-pdf'
6
8
 
7
- File.delete 'Gemfile'
9
+ File.delete 'Gemfile' unless exists
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-pdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: