sqed 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -0
- data/lib/sqed/version.rb +1 -1
- data/sqed.gemspec +3 -3
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fb3b4023f3cb6737df185948cc5736818bdf9be07ea03510219f0504e19e635
|
4
|
+
data.tar.gz: aaa94e810920258f4d0dc54b952d7aeca067485864a6ebd37bf13b6772739fca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48444907bd60a1efb37e44d54c20ccff74e05002c6cacc07be28af8d1c790e4d1bfef67dbe7bbe1e57af34629abb1c19f2ed28c79565d943282c0359464dd037
|
7
|
+
data.tar.gz: ae9efc612fc9f7939fc5d65cd89e8822c20b5bdbc089331287b5323170dbe094f5ec18c2fea95d05eb0a26dbaadb02531e9bb6f300c304dda24c35ee22eddb4f
|
data/README.md
CHANGED
@@ -23,6 +23,22 @@ Or install it yourself as:
|
|
23
23
|
|
24
24
|
For the time being, see specs.
|
25
25
|
|
26
|
+
## Experiment with irb
|
27
|
+
|
28
|
+
```Ruby
|
29
|
+
require 'sqed'
|
30
|
+
|
31
|
+
|
32
|
+
i = Magick::Image.read(File.expand_path('~/Downloads/') + '/img_0129.jpg').first
|
33
|
+
s = Sqed.new( image: i, pattern: :lep_stage, boundary_color: :red, has_border: false )
|
34
|
+
r = s.result
|
35
|
+
r.write_images # => ./temp/*.jpg
|
36
|
+
|
37
|
+
# Without thumbnail
|
38
|
+
s = Sqed.new( image: i, pattern: :lep_stage, boundary_color: :red, has_border: false, use_thumbnail: false )
|
39
|
+
|
40
|
+
```
|
41
|
+
|
26
42
|
## Contributing
|
27
43
|
|
28
44
|
1. Fork it ( http://github.com/SpeciesFileGroup/sqed/fork )
|
data/lib/sqed/version.rb
CHANGED
data/sqed.gemspec
CHANGED
@@ -19,15 +19,15 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_dependency 'rake', '~> 13.0'
|
22
|
-
spec.add_dependency 'rmagick', '~>
|
22
|
+
spec.add_dependency 'rmagick', '~> 6.0'
|
23
23
|
spec.add_dependency 'rtesseract', '~> 3.1'
|
24
24
|
|
25
25
|
# A qrcode reader, too many problems with compiling, dependencies
|
26
26
|
# spec.add_dependency 'zxing_cpp', '~> 0.1.0'
|
27
27
|
|
28
|
-
spec.add_development_dependency 'rspec', '~> 3.
|
28
|
+
spec.add_development_dependency 'rspec', '~> 3.13'
|
29
29
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
30
30
|
spec.add_development_dependency 'byebug', '~> 11.0'
|
31
|
-
spec.add_development_dependency 'amazing_print', '~> 1.
|
31
|
+
spec.add_development_dependency 'amazing_print', '~> 1.6'
|
32
32
|
end
|
33
33
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Yoder
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-07-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
34
|
+
version: '6.0'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
41
|
+
version: '6.0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rtesseract
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,14 +59,14 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '3.
|
62
|
+
version: '3.13'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '3.
|
69
|
+
version: '3.13'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: bundler
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -101,14 +101,14 @@ dependencies:
|
|
101
101
|
requirements:
|
102
102
|
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: '1.
|
104
|
+
version: '1.6'
|
105
105
|
type: :development
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: '1.
|
111
|
+
version: '1.6'
|
112
112
|
description: A utility gem to aid in the processing of images taken in the process
|
113
113
|
of digitizing natural history collections.
|
114
114
|
email:
|