imagekitio 1.0.5 → 1.0.6

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
  SHA256:
3
- metadata.gz: 394259c03d69887aa475f5df5882d880e17bbfa953372729c4275fdfdf7e737d
4
- data.tar.gz: 71289a2646e242d26cb53e2c71c852a37df2652f8e26cb3b7d8b75b94cd0f06a
3
+ metadata.gz: 0fe691462385662073e9456546abd81b6878f2aee93d1e94f9730090be1841e9
4
+ data.tar.gz: e7f777a82303a2ebe921dae893ab3cc6898cef1a343817e99c3628fd1e82cac9
5
5
  SHA512:
6
- metadata.gz: bd8e925f0f62454bfa59868792ed8b8aa5334ff0033ea2926faf04c715ef93aee58b19f13242ba69a281236bcfd609ea6b571c3a7b600fed68e9fb140a783091
7
- data.tar.gz: fbd90fd703441b9d20d73f71b51c1587a030b25c75648ff15dadea38bb2b77f507266fe49ae99baf20a6f9f511bda6e4231994b36faed5279dc4c88d15637c32
6
+ metadata.gz: 0d64714efb3f2ef0dcb91197a573b0e9906fbdf1ac976b43b3d041b1f5bec4f9a2db723a8628d7d8a984605f89f3480552fa065cfdd7273cc544ccf0fcf5ddcc
7
+ data.tar.gz: 8902be25443d54588eaeabd44ca994c3c7a9dff34fae7a4f7875ca6bd91eb8e46dbd6b23e6374bf7b7f52f52b4591cc3c2f263f98c28cd08ad746fe01a25eff3
@@ -1,5 +1,5 @@
1
1
  module Imagekit
2
2
  module Sdk
3
- VERSION = '1.0.5'
3
+ VERSION = '1.0.6'
4
4
  end
5
5
  end
@@ -80,7 +80,7 @@ class Url
80
80
  end
81
81
  transformation_str = transformation_to_str(options[:transformation]).chomp("/")
82
82
 
83
- if transformation_str
83
+ unless transformation_str.nil? || transformation_str.strip.empty?
84
84
  if (transformation_position == Default::QUERY_TRANSFORMATION_POSITION) || src_param_used_for_url == true
85
85
  result_url_hash[:query] = "#{Default::TRANSFORMATION_PARAMETER}=#{transformation_str}"
86
86
  query_params[:tr]=transformation_str
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imagekitio
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - ImageKit.io team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-10 00:00:00.000000000 Z
11
+ date: 2020-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: carrierwave