fclay 0.1.38 → 0.1.39

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea994f2600678abfd0dbf933a2067f0d87ac15e2
4
- data.tar.gz: 03dc58f8db54738627eabe69a5384fbd0c61a7d9
3
+ metadata.gz: 81c8044b9357f364e6b77a78a3692af25beed0ea
4
+ data.tar.gz: 66b3e11771a7c998014096e2007ddc379f1c0b04
5
5
  SHA512:
6
- metadata.gz: 3374a4011697325d2b0f53f6c9985fc2999e8088dd29cf6f1ab1dae0e622c78aa654a587cfb79a14189b4807cfbe8fc0cf13e34c27fa81b37db3bfe9f110fd68
7
- data.tar.gz: 65f92097a62ab4aedf727758fa04795b6af24d88ebcfc37a2d90bc7e8dafbc56df4bf04db2bac313527e426af7d38ab37f985a0b469bdc76b58d05243986ab91
6
+ metadata.gz: ee488d1eca11409f17ec15382e7a9b0869004fdb7ed103fbd8cc948fbfc44262a790cc6053ca7ec840ea096d2cf358580627bc9aa0c13b516cfb5fa1af1f0b18
7
+ data.tar.gz: 3060a7032679326daa4ff6203fa4288b69af419983da2690d904122edb0555c6c7e306809c2d29abc6cf9a4b23c4f58b4f66f5a67ab4e0ef99969ea837e51532
@@ -154,14 +154,14 @@ module Fclay
154
154
  end
155
155
 
156
156
  def process_file
157
- self.log("process_file called")
158
- self.log("@file: #{@file.try(:to_s)}")
157
+ self.try(:log,"process_file called")
158
+ self.try(:log,"@file: #{@file.try(:to_s)}")
159
159
  return unless @file
160
160
 
161
161
  delete_files
162
162
  path = @file.try(:path) || @file.try(:[],:path)
163
163
 
164
- self.log("fetched path: #{path.try(:to_s)}")
164
+ self.try(:log,"fetched path: #{path.try(:to_s)}")
165
165
  return unless path
166
166
 
167
167
  self.content_type = @file.try(:content_type) || @file.try(:[],:content_type) if self.respond_to?(:'content_type=')
@@ -183,7 +183,7 @@ module Fclay
183
183
  set_file_size self.class.fclay_options[:styles].try(:first)
184
184
  self.file_location = 'local'
185
185
  self.file_status = need_upload ? "processing" : "idle"
186
- self.log("file_processed, file_status: #{self.file_status}")
186
+ self.try(:log,"file_processed, file_status: #{self.file_status}")
187
187
  end
188
188
  end
189
189
 
@@ -1,3 +1,3 @@
1
1
  module Fclay
2
- VERSION = "0.1.38"
2
+ VERSION = "0.1.39"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fclay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.38
4
+ version: 0.1.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustam Galiev