sqed 0.8.2 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +16 -0
  3. data/lib/sqed/version.rb +1 -1
  4. data/sqed.gemspec +3 -3
  5. metadata +8 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a3bf7fc07fdadba06c95cb54dace18ce6b6d2569c7c0b639e6c039df8c20e23f
4
- data.tar.gz: b9a03b027468e042e7a77737ee7ada2eddffc0a6edd0fe4019903ed8675f24ba
3
+ metadata.gz: 7fb3b4023f3cb6737df185948cc5736818bdf9be07ea03510219f0504e19e635
4
+ data.tar.gz: aaa94e810920258f4d0dc54b952d7aeca067485864a6ebd37bf13b6772739fca
5
5
  SHA512:
6
- metadata.gz: 04ee829a490d8fe02d5e38eb7fc19761e7053dac7febe8d8a1afab9b3b5a83a19635a6ac31d15cdbcff358783043a9f8ee6d2d6f74790e14032edc9c8b955c53
7
- data.tar.gz: 0efecbcd2c6595fffbc20f5b6c7f07b6428c9d4320b2ecaefafde69a987de74b1347b7519a67cd5a93e55ba76abbd57d8a020858ab44677b0d87baed81bcd08c
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
@@ -1,3 +1,3 @@
1
1
  class Sqed
2
- VERSION = '0.8.2'.freeze
2
+ VERSION = '0.8.3'.freeze
3
3
  end
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', '~> 5.2'
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.11'
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.4'
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.2
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: 2023-06-25 00:00:00.000000000 Z
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: '5.2'
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: '5.2'
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.11'
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.11'
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.4'
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.4'
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: