obf 0.9.8.15 → 0.9.8.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/obf/pdf.rb +1 -0
  3. data/lib/obf/utils.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b35bc7b687a61045d9eee1df5fd73118683ebfacd066f6d6c11776614fd4454
4
- data.tar.gz: 477506945850cbcd78c9912167c8d35699f7977c25b25ab21c76227053b60bd6
3
+ metadata.gz: a549eabd2bf530a121f6aaa119226c5d2414d06102d915adb5655079fde1e65d
4
+ data.tar.gz: 041f9d4b0f631e0cfa24b8844f2cddd8f244442cb4874e488200dddf17cf909e
5
5
  SHA512:
6
- metadata.gz: ac23a8a8b26c1f637c51b916224fb3c0bb4aa239f3709dbd4201800812e3fe6d981bff531bf207cfeb4e7e01ca36d862a71bdd06fda471d456cd97b4af17ff4d
7
- data.tar.gz: aea19aceffda3756bf355ccf0928c08c8c642a6b57138ba41eb632bda4acf2e8fc2b9984018eda45c7470af1fe68d15b42e94ff5bfb7b6416c3a012912576e6b
6
+ metadata.gz: a42254ea625b20aae935ac1de95136416ae0757f759bfff1ac219a1c3e18d5188b397a2679a0d0199309752d8bf61218e450e897080a300f1f1e4e12985c44af
7
+ data.tar.gz: 52b4332dc1c57d3d10114208fe5d3ec79c8072d1a56659282fae09217797c0668a916e683c2dfe49ed2d75d2c4a23a5d42c0f2b047417189331310df3ad5b9d0
data/lib/obf/pdf.rb CHANGED
@@ -203,6 +203,7 @@ module OBF::PDF
203
203
  end
204
204
  hydra.run
205
205
  threads = []
206
+ grabs = []
206
207
  grabs.each do |grab|
207
208
  if grab[:res] && grab[:res]['data']
208
209
  grab[:image]['raw_data'] = grab[:res]['data']
data/lib/obf/utils.rb CHANGED
@@ -160,7 +160,7 @@ module OBF::Utils
160
160
  end
161
161
 
162
162
  def self.hydra
163
- Typhoeus::Hydra.new(max_concurrency: 10)
163
+ Typhoeus::Hydra.new(max_concurrency: 5)
164
164
  end
165
165
 
166
166
  def self.save_image(image, zipper=nil, background=nil)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: obf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8.15
4
+ version: 0.9.8.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Whitmer