balloon 1.0.0 → 1.0.1

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
- SHA1:
3
- metadata.gz: b9a840a4692178db52423213fcf6ead8d068f889
4
- data.tar.gz: 514e31edc3e12d36b7622282e62bf726e80553d2
2
+ SHA256:
3
+ metadata.gz: a5c565e9499089605f844d34c5e0f07a6389478d5a03c59defe7e73281f8c3b3
4
+ data.tar.gz: dd3c285af4ea1d572439e277d30ad8628930905565b95aa760015178506f517e
5
5
  SHA512:
6
- metadata.gz: 1747c58e04a86ab1a498686714535e271e6ad964f1451bb1e8c0f4050a0a14f44a6baf696163b00f11588ec347d7beb19be49e305001f87f525fcbe71a4c92e1
7
- data.tar.gz: bd76ecc3b4244ca575d20f853b02e67575290464198543efcee59294484f770485174cea200e70368085bbdb3fb0e3286993e40cbe26607a0b6e033223447150
6
+ metadata.gz: de59881cc1cef44862c25f977e347d3fb42b10315ea2933d6b5dc726c7e4124680dc80163767a4508c87641b751c13a7cf52d5653cc5bb64562c39cc7a66bdaa
7
+ data.tar.gz: af69412224e1a49f6d9546d3640e91b52da39a42a60fe230644c1ea0c0fb59f6110876d96a4845f00ae51b41335dcdcdf5de64883093e2da919e989bcbdaf85e
@@ -63,7 +63,7 @@ module Balloon
63
63
  end
64
64
 
65
65
  def auto_orient!(img, file)
66
- if img["exif:orientation"] == "6"
66
+ if img.exif["Orientation"].to_i > 1
67
67
  img.auto_orient
68
68
  img.write file
69
69
  end
@@ -1,3 +1,3 @@
1
1
  module Balloon
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: balloon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - yeeli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-18 00:00:00.000000000 Z
11
+ date: 2019-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -223,8 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
223
223
  - !ruby/object:Gem::Version
224
224
  version: '0'
225
225
  requirements: []
226
- rubyforge_project: balloon
227
- rubygems_version: 2.6.11
226
+ rubygems_version: 3.0.3
228
227
  signing_key:
229
228
  specification_version: 4
230
229
  summary: Ruby image upload libary