Rubimage 0.0.2 → 0.0.3

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: ee70852f1ea6f5237acb9227b8a6ad02901cb7c0
4
- data.tar.gz: 2fffbe40f1a3ef253d65f68366e96d1cd9aa9d78
3
+ metadata.gz: 0ee96957240ab50539782e221d11fbdd3f6ff609
4
+ data.tar.gz: 7c5d304cead6f61682f9b81dd731d90f9f121728
5
5
  SHA512:
6
- metadata.gz: 6f460b10b431030ae0fa8752f3b96c67603d09431b376f694c382c16ba9f4eac62020cfd106992d5619086f1a7532a9ecfdcad925f00c4c3478b402c2f27a367
7
- data.tar.gz: 66aa4582150b3292ad6d03b004d46ab5640745516789a7dbb7585091b24be6af379485cf2e6165e0181fd81f8916300266472142c89e40ae9e02287d44a30d8f
6
+ metadata.gz: e439a951216011ad7d1bb4ca48f26d3b1e8e87caeea130372d7cb610008485afd2f48e2f8e353fe7d85c633e9b54288a6d9f17cd635fb403fda3efd6d01f5089
7
+ data.tar.gz: 75e1172a46e60ba1c06a6e58ebfab33e936c59306ee93b26dfe765390781135ecb95998c1f1ffb50776fe27b9abb488d0a6de0b0e627e308b375974eaee4d874
@@ -16,10 +16,10 @@ module Rubimage
16
16
  skip_bytes 3
17
17
  @height = next_short
18
18
  @width = next_short
19
- @dimensions = [@width, @height]
19
+ @dimensions = {height: @height, width: @width}
20
20
  close
21
21
  end
22
22
  end
23
23
  end
24
24
  end
25
- end
25
+ end
@@ -13,9 +13,9 @@ module Rubimage
13
13
  skip_bytes PNG_HEADER
14
14
  @width = next_int
15
15
  @height = next_int
16
- @dimensions = [@width, @height]
16
+ @dimensions = {height: @height, width: @width}
17
17
  close
18
18
  end
19
19
  end
20
20
 
21
- end
21
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Rubimage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan
@@ -10,7 +10,7 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2013-10-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Rubimage gives you the width and height of an jpg, png and tiff
13
+ description: Rubimage gives you the width and height of a jpg, png and tiff
14
14
  email:
15
15
  executables: []
16
16
  extensions: []