spf_drawing 0.0.6 → 0.0.7

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,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 9c24cf7855ed2a184dc213681a7ddae4d2e7b69a
4
- data.tar.gz: b210369b9ec79953edc8ef316983a7598537d6da
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZTZiY2FlZGE0NjhlN2QxMzc3ZDliMTVlM2RlMjdhYjVkMzE5ODdmMw==
5
+ data.tar.gz: !binary |-
6
+ Y2U1ZTUyNjE4ZTVjYjc1ZTVjZWRjZmZhOTRmYjZhYTc5ZTAzZWQ4ZA==
5
7
  SHA512:
6
- metadata.gz: 05c5543ddd995b0100c18d8c5b04c5d2779715d8103365bf7a0e5061daab0786dcf833a541b152bc0da6a58acd0a2fd7a3c093a178a082c7988777335e75e23c
7
- data.tar.gz: d62a7053d9ea36beb4bef348fcf6979e9ce8841241ceeaaaaa2d10f46237408b5dc904bc06d4704b0ad05163b001e432f28c01c7ad925a69ab23cc4d4854c777
8
+ metadata.gz: !binary |-
9
+ ODM5ZjZlZTAyMDllMGY0YTkwMTkyNDcyZTE3MTY1YmU4ZWY5OWUwMzM4ZGRk
10
+ NzUzNjBmNmE4YTNiZDAxZTUyMzhiNGUyZjBhZjY0OTdkNTY3YTgxYjZkOThm
11
+ NzNiZjRjMTcxZGJhMDU2MDEwYmJlZWVhNTA3YmY4ZjlmNDNiMGY=
12
+ data.tar.gz: !binary |-
13
+ MWQwOWRhNzM5Mjc0NWJiNDU2NTM1ODUwNjZjNjRhZGVmY2Y1N2FkMWVkN2Rh
14
+ MGQ4ZjBlZDUxZWQ3NzAwNGFiOGU1YmE4ZmRkMWJlMWI0ZTQxNTAxMjA1N2M3
15
+ OGMyM2M1NjAyM2I1ODMxNjk4ODYzYjlkOGM3NDhiMDhjMWQzZDA=
@@ -0,0 +1,9 @@
1
+ module ComposicionMagickUtil
2
+
3
+ require 'rmagick'
4
+
5
+ def representacion_height
6
+ img = Magick::Image.ping(Path.representacion_composicion(self.item)).first
7
+ img.rows
8
+ end
9
+ end
@@ -1,3 +1,3 @@
1
1
  module SpfDrawing
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
data/lib/spf_drawing.rb CHANGED
@@ -1,2 +1,12 @@
1
+ require 'figura'
2
+ require 'figura/espaciador'
3
+ require 'figura/monolitico'
4
+
5
+ require 'spf_drawing'
6
+ require 'spf_drawing/composicion_magick_util'
7
+
8
+ require 'composicion_magick'
9
+ require 'composicion_magick_util'
10
+
1
11
  module SpfDrawing
2
12
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spf_drawing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Ramseyer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-01 00:00:00.000000000 Z
11
+ date: 2016-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: 4.0.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.0.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rmagick
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: 2.13.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: 2.13.2
41
41
  description: Gema para dibujar elementos de SPF
@@ -54,6 +54,7 @@ files:
54
54
  - lib/figura/espaciador.rb
55
55
  - lib/figura/monolitico.rb
56
56
  - lib/spf_drawing.rb
57
+ - lib/spf_drawing/composicion_magick_util.rb
57
58
  - lib/spf_drawing/version.rb
58
59
  - lib/tasks/spf_drawing_tasks.rake
59
60
  - test/dummy/README.rdoc
@@ -98,17 +99,17 @@ require_paths:
98
99
  - lib
99
100
  required_ruby_version: !ruby/object:Gem::Requirement
100
101
  requirements:
101
- - - ">="
102
+ - - ! '>='
102
103
  - !ruby/object:Gem::Version
103
104
  version: '0'
104
105
  required_rubygems_version: !ruby/object:Gem::Requirement
105
106
  requirements:
106
- - - ">="
107
+ - - ! '>='
107
108
  - !ruby/object:Gem::Version
108
109
  version: '0'
109
110
  requirements: []
110
111
  rubyforge_project:
111
- rubygems_version: 2.2.0
112
+ rubygems_version: 2.2.2
112
113
  signing_key:
113
114
  specification_version: 4
114
115
  summary: Gema para dibujar elementos de SPF