docx 0.2.01 → 0.2.02
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/docx/document.rb +7 -7
- data/lib/docx/version.rb +1 -1
- metadata +3 -2
- metadata.gz.sig +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDdiZTAyMWU2MzFmZDBhYTNlMGEyY2MwNGExODI5NWE2ZmYyZTFlZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTUyYTVmMWFiMmI5MDJiNjUzMTBjMjZhYzhlODM0OGQ4ZWM5ZTI1Yg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjI5NjRjNDA4M2E1OGM4NTg1NDA4ZGI1ZTA2NWIyZTc5NmJjM2ZiNjcwZjA5
|
10
|
+
N2Q4NzJmNmFiOWRkMTkzNDcwYTRiODAyMTlhZGYwZmQ2ZmIxNDMzYTgyOWJi
|
11
|
+
ZmJkM2VlYzUyNTZlZTA5Mjg2ZTRkZmIzNjZjODQxZWY5ZDVmOTY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTcyMmI3MzkyYjM5YjFkZDEzYWY5MDljZTAwY2I4MjJjMDkzMjhhNjZhYTJh
|
14
|
+
NDI1MDcxMmJjYmEzNTQ5MDEyZTM3MTJhZWU2ZmEzYzQ1NGViZTMxMzc0YjQ4
|
15
|
+
MTMwNTI0NjJkOGQ2MzExMDlmYTk5YTdhNmQ1MzkxOTU4M2RmODM=
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/docx/document.rb
CHANGED
@@ -35,14 +35,14 @@ module Docx
|
|
35
35
|
|
36
36
|
def save(path)
|
37
37
|
update
|
38
|
-
Zip::
|
38
|
+
Zip::ZipOutputStream.open(path) do |out|
|
39
39
|
zip.each do |entry|
|
40
|
-
out.
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
40
|
+
out.put_next_entry(entry.name)
|
41
|
+
|
42
|
+
if @replace[entry.name]
|
43
|
+
out.write(@replace[entry.name])
|
44
|
+
else
|
45
|
+
out.write(zip.read(entry.name))
|
46
46
|
end
|
47
47
|
end
|
48
48
|
end
|
data/lib/docx/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.02
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Hunt
|
@@ -38,7 +38,7 @@ cert_chain:
|
|
38
38
|
NEV0UFhmRQpLdFE1SGpuNFVDNTg0R0pyR01haFVnbXhMbmZleXVZWXVZTlFF
|
39
39
|
M1VzVlVQYXl6eGtQVW9DOFZzT0orV1ZmMnMrCkcxL1VkNGRVYkVtOGdRL2J4
|
40
40
|
bDM1TzBBdkhCcz0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=
|
41
|
-
date: 2013-
|
41
|
+
date: 2013-06-01 00:00:00.000000000 Z
|
42
42
|
dependencies:
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: nokogiri
|
@@ -115,3 +115,4 @@ signing_key:
|
|
115
115
|
specification_version: 4
|
116
116
|
summary: a ruby library/gem for interacting with .docx files
|
117
117
|
test_files: []
|
118
|
+
has_rdoc:
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
��g��:��PU�g �v8����U���+�����L��Đ�b��V3D��-�4���V?i4�N3}�C�UfL>T����UZRވY��*.HC�8Iӹ�,/�?�(����s�]��i֟�@{��@p�����,�
|
2
|
+
M�Y@���Q6v�@ٸ1�ɱՆכ0�aD�쫦ݕ�ќ
|