spf_drawing 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: 05136a5c842b8654452426b689cbcd8aa947144d
4
- data.tar.gz: 1c77117369a03d18950b42bf2fbbcf97b34e4cb3
3
+ metadata.gz: ffd51164696f09d23a8f9814a42e6d3cc79715d6
4
+ data.tar.gz: 593892a7b7aa3b260309afc271011ca77d3ac19a
5
5
  SHA512:
6
- metadata.gz: 5f27b47a59e620ed661b6c550db1ac4b8f4e86f6aa4d8576f085e5d2ebf03e8dd3770e05d084065d406bf2055ee0ca8da4d0f6b0aaca7aabf260f07c4414b5d2
7
- data.tar.gz: ba43bb6a9d909c8a2f9098f9a24830a689fd5b310274e0aa4598922645c3c4c2a6e2df8455be300682ae310f03233e2b2d83add0204084a626426d372778f7c5
6
+ metadata.gz: 78e683ed61aee504ed63c6a737b77269c15f41d5b0ddc5ef88dc0847b0f5ade1d595d3a0aa886deafe7fbaf8ad6666bf529c66a985329187259aba02e4495bb7
7
+ data.tar.gz: ae5dc9f488ea4295cc8def7620f9d4284cd36cbe2d3001f4366df09d86fcd1ec7621e09ca12c5246da9763b214e0f9158e0f92405c6d513bed3834849ace933b
@@ -0,0 +1,8 @@
1
+ class Composicion
2
+
3
+ def representacion_height
4
+ img = Magick::Image.ping(Path.representacion_composicion(self.item)).first
5
+ img.rows
6
+ end
7
+
8
+ end
@@ -1,3 +1,3 @@
1
1
  module SpfDrawing
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spf_drawing
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
  - Carlos Ramseyer
@@ -34,6 +34,7 @@ files:
34
34
  - MIT-LICENSE
35
35
  - README.rdoc
36
36
  - Rakefile
37
+ - lib/composicion.rb
37
38
  - lib/composicion_magick.rb
38
39
  - lib/composicion_magick_util.rb
39
40
  - lib/figura.rb