backframe 0.0.27 → 0.0.28

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2e1d68313054692fd5e4a0178cbca7e3fab5d51
4
- data.tar.gz: 96d8a7dd3c7b631b5850da80c863ab9b8b334294
3
+ metadata.gz: 8e6dcaae1921d819ba73d7ee8684aeeaf5479d02
4
+ data.tar.gz: a4f730f2f1f8b109e4b1d9861c745ce8cbbcfdeb
5
5
  SHA512:
6
- metadata.gz: 09af97fd6f9da753452b9d38339a6d71e40ea8362b9cbaa04960872196231cc0cd837412e069dc827a117f7c9bdada47689acb1d548f714ca27e8f2127f4966f
7
- data.tar.gz: 77ea7a04fedbe0fa178c19b51bed8751bc73d4f0a552276b5871e677fc89b943c96e9adbbd7263249001c4c6e592f324e8c2173ca0679759e2678c1cfe410ba8
6
+ metadata.gz: 15056967ff024b676fd17ade4fd23037a2899fef94ed916754fdc4b5e83ac40c5a13ff614656755b3a3c1e2db6b0fb25618fe749323bc0bda22c1a71bf97b3fe
7
+ data.tar.gz: 525075c647f1d83685439582e7984cb70684e73c182445f9bb0ef2a89b531b1875f12112bf26498e9fae795446744e5337282ec6724bab35876cf62556aa1a21
@@ -9,11 +9,11 @@ module Backframe
9
9
  class Base
10
10
 
11
11
  def asset(filepath, conversions)
12
- Backframe::ImageCache::Asset.new(filepath, conversions).process!
12
+ Backframe::ImageCache::Asset.new(filepath, conversions).process
13
13
  end
14
14
 
15
15
  def cached(filepath, conversions)
16
- Backframe::ImageCache::Cache.new(filepath, conversions).process!
16
+ Backframe::ImageCache::Cache.new(filepath, conversions).process
17
17
  end
18
18
 
19
19
  def path(filepath, conversions)
@@ -11,7 +11,7 @@ module Backframe
11
11
  @conversions = conversions
12
12
  end
13
13
 
14
- def process!
14
+ def process
15
15
  normalized = Backframe::ImageCache::Conversions.new(conversions)
16
16
  if filepath.present?
17
17
  fullpath = fullpath(filepath)
@@ -11,7 +11,7 @@ module Backframe
11
11
  @conversions = conversions
12
12
  end
13
13
 
14
- def process!
14
+ def process
15
15
  begin
16
16
  test(filepath, conversions)
17
17
  rescue
@@ -24,7 +24,7 @@ module Backframe
24
24
  normalized = Backframe::ImageCache::Conversions.new(conversions)
25
25
  key = "imagecache/#{normalized.to_s}/#{filekey}"
26
26
  if !redis.get(key)
27
- asset = Backframe::ImageCache::Asset.new(filepath, normalized).process!
27
+ asset = Backframe::ImageCache::Asset.new(filepath, normalized).process
28
28
  upload_to_s3(asset, key)
29
29
  save_to_redis(key)
30
30
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Backframe
4
- VERSION = '0.0.27'
4
+ VERSION = '0.0.28'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backframe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.27
4
+ version: 0.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Kops