prawn-svg 0.12.0.6 → 0.12.0.7

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
  SHA1:
3
- metadata.gz: 77d41d8457a9fc1b77f14802fb58ec0ba9afda1e
4
- data.tar.gz: f5c44534f0c24368ecf755021b5fb6220f15e678
3
+ metadata.gz: dc94ff4013bd61fd3fa325d962a4a3af6a76f5fc
4
+ data.tar.gz: a86c71075ce89da72ffe7c9dfdd9540786375e42
5
5
  SHA512:
6
- metadata.gz: 9bba222558b111e36c62d8d51568c0e78f3deb26e9e58c8844f38c2455520b756cb1fa9c8309b96c44c6ea1f40dcb27e02fd2ca6f7c4b8b6d2e9a4d730db2357
7
- data.tar.gz: ac9fb650d66c5bb0847ea612f81626690c8b4b5b80212d4bbd11a9056f91d32865171257e6ababb6105c56d81703a035e9fab2a354e74ac4176b61c924c38b4c
6
+ metadata.gz: 7340efb599924f5b9ec1f7712914199ed2fa9993f925da4d6eccc7efcdcdbbea8d26c5c170e01e06b098bac58f95c04a2899a5270d17b131c3daae94dc74c375
7
+ data.tar.gz: 2f94d369d9a476dabb19ff3f9d408e3a6f34dfafb9595615ac5bb0a9b53c4f518bc66f74230fee4ffbe1ee4a740575ff784c335d7c8742b42f6c0f5c232e598c
data/lib/prawn-svg.rb CHANGED
@@ -1,4 +1,6 @@
1
1
  require 'prawn'
2
+ require 'prawn/svg/version'
3
+
2
4
  require 'prawn/svg/color'
3
5
  require 'prawn/svg/extension'
4
6
  require 'prawn/svg/interface'
@@ -1,5 +1,5 @@
1
1
  module Prawn
2
2
  module Svg
3
- VERSION = '0.12.0.6'
3
+ VERSION = '0.12.0.7'
4
4
  end
5
5
  end
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg width="800" height="1000" xmlns="http://www.w3.org/2000/svg" version="1.1">
4
+ <text x="100" y="190">scale(1,2)</text>
5
+ <rect x="100" y="100" width="50" height="50" transform="scale(1,2)" fill="red" />
6
+
7
+ <text x="200" y="90">scale(2,1)</text>
8
+ <rect x="100" y="100" width="50" height="50" transform="scale(2,1)" fill="blue" />
9
+
10
+ <text x="400" y="90">scale(3,1)</text>
11
+ <g transform="translate(400,100)">
12
+ <rect width="50" height="50" transform="scale(3,1)" fill="cyan" />
13
+ </g>
14
+
15
+ <text x="200" y="390">scale(2)</text>
16
+ <rect x="100" y="200" width="50" height="50" transform="scale(2)" fill="green" />
17
+ </svg>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prawn-svg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0.6
4
+ version: 0.12.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roger Nesbitt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-10 00:00:00.000000000 Z
11
+ date: 2013-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prawn
@@ -107,6 +107,7 @@ files:
107
107
  - spec/sample_svg/rect01.svg
108
108
  - spec/sample_svg/rect02.svg
109
109
  - spec/sample_svg/rotate_scale.svg
110
+ - spec/sample_svg/scale.svg
110
111
  - spec/sample_svg/scruffy_graph.svg
111
112
  - spec/sample_svg/subfamilies.svg
112
113
  - spec/sample_svg/text_entities.svg
@@ -172,6 +173,7 @@ test_files:
172
173
  - spec/sample_svg/rect01.svg
173
174
  - spec/sample_svg/rect02.svg
174
175
  - spec/sample_svg/rotate_scale.svg
176
+ - spec/sample_svg/scale.svg
175
177
  - spec/sample_svg/scruffy_graph.svg
176
178
  - spec/sample_svg/subfamilies.svg
177
179
  - spec/sample_svg/text_entities.svg