pdf_ocr 0.1.0 → 0.1.1
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 +4 -4
- data/README.md +15 -6
- data/lib/ocr/version.rb +1 -1
- data/ocr.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f1e04f45ee3dbb8cc9703ad628daa7e1ca20020b8b3dc3b4419706e881bffec3
|
|
4
|
+
data.tar.gz: ce753f931e9dc2391c61e0f83feda1ea4f9ae19e8248f9c64a66a14f62544037
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8dd14930fc50eed3e0a4aca7bad66318cac441cb906c6b578d347689a644ccbf3a82169b17a04c533e01f7183533ef2cb779c2799c40e7ae8f5b7e57df81af38
|
|
7
|
+
data.tar.gz: 9496ebd284e7f4660a3c200fdc08a78f041c515dfd5548421ddca40eac3059f14169a6fc75e284cd6dc5ae34891b33bab7499697bbb40acfc73bb432ed32c633
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# OCR
|
|
1
|
+
# PDF OCR
|
|
2
2
|
|
|
3
3
|
A lightweight Ruby gem for extracting text from PDFs, including scanned PDFs using OCR.
|
|
4
4
|
|
|
@@ -25,12 +25,12 @@ This gem supports:
|
|
|
25
25
|
Add this line to your application's Gemfile:
|
|
26
26
|
|
|
27
27
|
```ruby
|
|
28
|
-
gem '
|
|
28
|
+
gem 'pdf_ocr'
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
Or install directly:
|
|
32
32
|
```ruby
|
|
33
|
-
gem install
|
|
33
|
+
gem install pdf_ocr
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
## Dependencies
|
|
@@ -46,7 +46,7 @@ gem install ocr
|
|
|
46
46
|
|
|
47
47
|
## ⚙️ Usage
|
|
48
48
|
```ruby
|
|
49
|
-
require '
|
|
49
|
+
require 'pdf_ocr'
|
|
50
50
|
require 'stringio'
|
|
51
51
|
|
|
52
52
|
# From a File object
|
|
@@ -119,6 +119,15 @@ bundle exec rspec
|
|
|
119
119
|
|
|
120
120
|
- Open a Pull Request
|
|
121
121
|
|
|
122
|
+
## 🧑💼 Author
|
|
123
|
+
```
|
|
124
|
+
Ravi Shankar Singhal
|
|
125
|
+
Senior Backend Developer — Ruby on Rails
|
|
126
|
+
📧 ravi.singhal2308@gmail.com
|
|
127
|
+
|
|
128
|
+
🌐 https://github.com/RaviShankarSinghal
|
|
129
|
+
```
|
|
130
|
+
|
|
122
131
|
## 📝 License
|
|
123
132
|
|
|
124
133
|
MIT License © RaviShankarSinghal
|
|
@@ -134,5 +143,5 @@ This version includes:
|
|
|
134
143
|
- System dependencies
|
|
135
144
|
- Test instructions
|
|
136
145
|
- Contributing guidelines
|
|
137
|
-
|
|
138
|
-
---
|
|
146
|
+
- The gem is available as open source under the terms of the MIT License.
|
|
147
|
+
---
|
data/lib/ocr/version.rb
CHANGED
data/ocr.gemspec
CHANGED
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
|
19
19
|
"homepage_uri" => spec.homepage,
|
|
20
20
|
"source_code_uri" => "https://github.com/RaviShankarSinghal/ocr_gem",
|
|
21
21
|
"changelog_uri" => "https://github.com/RaviShankarSinghal/ocr_gem/blob/main/CHANGELOG.md",
|
|
22
|
-
"documentation_uri" => "https://rubydoc.info/gems/
|
|
22
|
+
"documentation_uri" => "https://rubydoc.info/gems/pdf_ocr/#{spec.version}"
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
spec.files = Dir.chdir(__dir__) do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pdf_ocr
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ravi Shankar Singhal
|
|
@@ -106,7 +106,7 @@ metadata:
|
|
|
106
106
|
homepage_uri: https://github.com/RaviShankarSinghal/ocr_gem
|
|
107
107
|
source_code_uri: https://github.com/RaviShankarSinghal/ocr_gem
|
|
108
108
|
changelog_uri: https://github.com/RaviShankarSinghal/ocr_gem/blob/main/CHANGELOG.md
|
|
109
|
-
documentation_uri: https://rubydoc.info/gems/
|
|
109
|
+
documentation_uri: https://rubydoc.info/gems/pdf_ocr/0.1.1
|
|
110
110
|
post_install_message:
|
|
111
111
|
rdoc_options: []
|
|
112
112
|
require_paths:
|