pxlsrt 1.1.0 → 1.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c455c010ab329820430a363b27dfe45cd0ce4e14
4
- data.tar.gz: 1faf61c9dc33f67e4d965d2fbc31f55d23c532f8
3
+ metadata.gz: 230df80c367a553e25218d63f36b19b95643ca38
4
+ data.tar.gz: 02829c2d157cbab4b1411fa869f7ce332f210506
5
5
  SHA512:
6
- metadata.gz: dd8d683a11850820c70494ec5f97afbaf29fb9e50933f7d6e31f85738684541bcaea30060b73655af53a4fa11c50ca241564214c3841f4b97e40bedd5736b3e5
7
- data.tar.gz: ba6e7386d8e1287a538f4e7ab334ac05f3e4e002d4702f3c84faa93938b497d8b8f4f83826cd8b0178b180cc1b1cbe8e6aeb6e1bf43ca17141c1df589927192e
6
+ metadata.gz: ad3a94f33d897a9dfee3f8c366af715f0d6349611d787d6c44baa1235eeef1ccc0bf43ad914d2598d337262f8795a59dba4a9c20350e91794007b96fd8c656dc
7
+ data.tar.gz: 75dbb6d353eae5d195683c9a5dd136542ad86cccca68ccba32c53813955ae341107b79115d2faf4b6cbc8f2f9c64d52ce380e4d18b70a8b6b4f129996a6b6efe
data/lib/pxlsrt/brute.rb CHANGED
@@ -41,7 +41,7 @@ module Pxlsrt
41
41
  :trusted => [false, true]
42
42
  }
43
43
  options=defOptions.merge(o)
44
- if o.length==0 or o[:trusted]==true or (o[:trusted]==false and o.length!=0 and Pxlsrt::Helpers.checkOptions(options, defRules)!=false)
44
+ if o.length==0 or options[:trusted]==true or (options[:trusted]==false and o.length!=0 and Pxlsrt::Helpers.checkOptions(options, defRules)!=false)
45
45
  Pxlsrt::Helpers.verbose("Options are all good.") if options[:verbose]
46
46
  if input.class==String
47
47
  Pxlsrt::Helpers.verbose("Getting image from file...") if options[:verbose]
data/lib/pxlsrt/smart.rb CHANGED
@@ -44,7 +44,7 @@ module Pxlsrt
44
44
  :trusted => [false, true]
45
45
  }
46
46
  options=defOptions.merge(o)
47
- if o.length==0 or o[:trusted]==true or (o[:trusted]==false and o.length!=0 and Pxlsrt::Helpers.checkOptions(options, defRules)!=false)
47
+ if o.length==0 or options[:trusted]==true or (options[:trusted]==false and o.length!=0 and Pxlsrt::Helpers.checkOptions(options, defRules)!=false)
48
48
  Pxlsrt::Helpers.verbose("Options are all good.") if options[:verbose]
49
49
  if input.class==String
50
50
  Pxlsrt::Helpers.verbose("Getting image from file...") if options[:verbose]
@@ -1,5 +1,5 @@
1
1
  ##
2
2
  # The main module, your best friend.
3
3
  module Pxlsrt
4
- VERSION = "1.1.0"
4
+ VERSION = "1.2.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pxlsrt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - EVA-01