Skip to content

Commit 81ff9e1

Browse files
committed
Revert README/gemspec.
1 parent b9d4959 commit 81ff9e1

2 files changed

Lines changed: 13 additions & 21 deletions

File tree

README.md

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,16 @@
1-
# This is a :fork_and_knife:
2-
3-
This library stands on the shoulders of the original [docx](https://github.com/chrahunt/docx) -- it is my hope that [@chrahunt](https://github.com/chrahunt) will pull the changes I've incorporated into this library back into his original library.
4-
5-
This library depends on the latest version of rubyzip and incorporates changes from these two pull requests:
6-
* [Paragraph alignment, text run font sizes, and HTML output](https://github.com/chrahunt/docx/pull/13) from [@higginsdragon](https://github.com/higginsdragon)
7-
* [File replacement within document](https://github.com/chrahunt/docx/pull/18) from [@tmikoss](https://github.com/tmikoss)
8-
91
# docx
102

11-
a ruby library/gem for interacting with `.docx` files. currently capabilities include reading paragraphs/bookmarks, inserting text at bookmarks, reading tables/rows/columns/cells and saving the document.
3+
A ruby library/gem for interacting with `.docx` files. currently capabilities include reading paragraphs/bookmarks, inserting text at bookmarks, reading tables/rows/columns/cells and saving the document.
124

13-
## usage
5+
## Usage
146

15-
### install
7+
### Install
168

17-
requires ruby (tested with 2.1.1)
9+
Requires ruby (tested with 2.1.1)
1810

19-
gem 'bitops-docx', '~> 0.2.07', :require => ["docx"]
11+
gem 'docx', '~> 0.2.07', :require => ["docx"]
2012

21-
### reading
13+
### Reading
2214

2315
``` ruby
2416
require 'docx'
@@ -37,7 +29,7 @@ doc.bookmarks.each_pair do |bookmark_name, bookmark_object|
3729
end
3830
```
3931

40-
### rendering html
32+
### Rendering html
4133
``` ruby
4234
require 'docx'
4335

@@ -48,7 +40,7 @@ doc.paragraphs.each do |p|
4840
end
4941
```
5042

51-
### reading tables
43+
### Reading tables
5244

5345
``` ruby
5446
require 'docx'
@@ -78,7 +70,7 @@ doc.tables.each do |table|
7870
end
7971
```
8072

81-
### writing
73+
### Writing
8274

8375
``` ruby
8476
require 'docx'
@@ -96,7 +88,7 @@ doc.bookmarks['example_bookmark_2'].insert_multiple_lines_after(['Hello', 'World
9688
doc.save('example-edited.docx')
9789
```
9890

99-
### advanced
91+
### Advanced
10092

10193
``` ruby
10294
require 'docx'

docx.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ $:.unshift File.expand_path("../lib", __FILE__)
22
require 'docx/version'
33

44
Gem::Specification.new do |s|
5-
s.name = 'bitops-docx'
5+
s.name = 'docx'
66
s.version = Docx::VERSION
77
s.summary = 'a ruby library/gem for interacting with .docx files'
88
s.description = s.summary
99
s.authors = ['Christopher Hunt', 'Marcus Ortiz', 'Higgins Dragon', 'Toms Mikoss', 'Sebastian Wittenkamp']
10-
s.email = ['sebastian@bitops.io']
11-
s.homepage = 'https://github.com/bitops/docx'
10+
s.email = ['chrahunt@gmail.com']
11+
s.homepage = 'https://github.com/chrahunt/docx'
1212
s.files = Dir["README.md", "LICENSE.md", "lib/**/*.rb"]
1313

1414
s.add_dependency 'nokogiri', '~> 1.5'

0 commit comments

Comments
 (0)