docsplit_images 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.markdown CHANGED
@@ -44,7 +44,7 @@ On the Mac, you can download a [http://www.pdflabs.com/docs/install-pdftk/](rece
44
44
 
45
45
  ### Install Gem
46
46
 
47
- gem 'docsplit_images', '0.1.4', :git => 'git@github.com:jameshuynh/docsplit_images.git'
47
+ gem 'docsplit_images', '0.1.5', :git => 'git@github.com:jameshuynh/docsplit_images.git'
48
48
 
49
49
  ## Setting Up
50
50
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "docsplit_images"
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["jameshuynh"]
@@ -14,7 +14,7 @@ module DocsplitImages
14
14
  end
15
15
 
16
16
  def docsplit_images
17
- if self.is_pdf_convertible? and @file_has_changed == true
17
+ if self.send(self.class.docsplit_attachment_name).exists? and self.is_pdf_convertible? and @file_has_changed == true
18
18
  self.delay.docsplit_images_process
19
19
  end
20
20
  true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docsplit_images
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -162,7 +162,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
162
162
  version: '0'
163
163
  segments:
164
164
  - 0
165
- hash: -3619079993712104839
165
+ hash: -4543510368769755332
166
166
  required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  none: false
168
168
  requirements: