Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoMethodError: undefined method retry?' for {"N-<oe"=>""}:Hash #39

Closed
mauricioszabo opened this issue Jul 20, 2018 · 6 comments
Closed
Assignees
Labels

Comments

@mauricioszabo
Copy link

Using Rantly 1.1.0, and ruby 2.4.1p111, I tried a simple test that would fail:

require 'rantly/shrinks'
require 'rantly/rspec_extensions'

describe "Test" do
  it "fails" do
     property_of {
       dict { [string, string] }
     }.check { |i|
       expect(i).to be_a(Integer)
     }
  end
end

will give me the output:


failure: 0 tests, on:
{"?A11+I"=>"\\=>B{A",
 "6xpu|C"=>".\\T7^k",
 "!Jo/Ly"=>"G'j-Q`",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 0:
{"?A11+I"=>"\\=>B{A",
 "6xpu|C"=>".\\T7^k",
 "!Jo/Ly"=>"G'j-Q`",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 1:
{"?A11+I"=>"\\=B{A",
 "6xpu|C"=>".\\T7^k",
 "!Jo/Ly"=>"G'j-Q`",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 2:
{"?A11+I"=>"\\=B{",
 "6xpu|C"=>".\\T7^k",
 "!Jo/Ly"=>"G'j-Q`",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 3:
{"?A11+I"=>"\\={",
 "6xpu|C"=>".\\T7^k",
 "!Jo/Ly"=>"G'j-Q`",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 4:
{"?A11+I"=>"\\=",
 "6xpu|C"=>".\\T7^k",
 "!Jo/Ly"=>"G'j-Q`",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 5:
{"?A11+I"=>"\\",
 "6xpu|C"=>".\\T7^k",
 "!Jo/Ly"=>"G'j-Q`",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 6:
{"?A11+I"=>"",
 "6xpu|C"=>".\\T7^k",
 "!Jo/Ly"=>"G'j-Q`",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 7:
{"?A11+I"=>"",
 "6xpu|C"=>"\\T7^k",
 "!Jo/Ly"=>"G'j-Q`",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 8:
{"?A11+I"=>"",
 "6xpu|C"=>"\\T7k",
 "!Jo/Ly"=>"G'j-Q`",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 9:
{"?A11+I"=>"",
 "6xpu|C"=>"T7k",
 "!Jo/Ly"=>"G'j-Q`",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 10:
{"?A11+I"=>"",
 "6xpu|C"=>"Tk",
 "!Jo/Ly"=>"G'j-Q`",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 11:
{"?A11+I"=>"",
 "6xpu|C"=>"k",
 "!Jo/Ly"=>"G'j-Q`",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 12:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"G'j-Q`",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 13:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"G'-Q`",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 14:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"G'-Q",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 15:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"G'Q",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 16:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"'Q",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 17:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"'",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 18:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"px p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 19:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"p p-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 20:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"pp-c",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 21:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"pp-",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 22:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"p-",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 23:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"-",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 24:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"",
 ".]uXT8"=>"X\"G~NZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 25:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"",
 ".]uXT8"=>"X\"GNZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 26:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"",
 ".]uXT8"=>"\"GNZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 27:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"",
 ".]uXT8"=>"\"GZ",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 28:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"",
 ".]uXT8"=>"\"Z",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 29:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"",
 ".]uXT8"=>"\"",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 30:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"",
 ".]uXT8"=>"",
 "rg\\K$h"=>"|n3!]W"}
Shrinking at depth 31:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"",
 ".]uXT8"=>"",
 "rg\\K$h"=>"n3!]W"}
Shrinking at depth 32:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"",
 ".]uXT8"=>"",
 "rg\\K$h"=>"n!]W"}
Shrinking at depth 33:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"",
 ".]uXT8"=>"",
 "rg\\K$h"=>"n]W"}
Shrinking at depth 34:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"",
 ".]uXT8"=>"",
 "rg\\K$h"=>"nW"}
Shrinking at depth 35:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"",
 ".]uXT8"=>"",
 "rg\\K$h"=>"W"}
Shrinking at depth 36:
{"?A11+I"=>"",
 "6xpu|C"=>"",
 "!Jo/Ly"=>"",
 "WuEo5C"=>"",
 ".]uXT8"=>"",
 "rg\\K$h"=>""}
Shrinking at depth 37:
{"6xpu|C"=>"", "!Jo/Ly"=>"", "WuEo5C"=>"", ".]uXT8"=>"", "rg\\K$h"=>""}
Shrinking at depth 38:
{"!Jo/Ly"=>"", "WuEo5C"=>"", ".]uXT8"=>"", "rg\\K$h"=>""}
Shrinking at depth 39:
{"WuEo5C"=>"", ".]uXT8"=>"", "rg\\K$h"=>""}
Shrinking at depth 40:
{".]uXT8"=>"", "rg\\K$h"=>""}
Shrinking at depth 41:
{"rg\\K$h"=>""}
Shrinking at depth 42:
{}
F

Failures:

  1) Reports that only have new_service events integer property only returns Integer type
     Failure/Error:
       property_of {
         dict { [string, string] }
       }.check { |i|
         expect(i).to be_a(Integer)
       }
     
     NoMethodError:
       undefined method `retry?' for {"rg\\K$h"=>""}:Hash
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:79:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:73:in `rescue in shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:69:in `shrinkify'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:50:in `rescue in check'
     # /home/mauricio/.rvm/gems/ruby-2.4.1/gems/rantly-1.1.0/lib/rantly/property.rb:30:in `check'
     # ./spec/properties/new_service_spec.rb:9:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     #   expected {"?A11+I"=>"\\=>B{A", "6xpu|C"=>".\\T7^k", "!Jo/Ly"=>"G'j-Q`", "WuEo5C"=>"px p-c", ".]uXT8"=>"X\"G~NZ", "rg\\K$h"=>"|n3!]W"} to be a kind of Integer
     #   ./spec/properties/new_service_spec.rb:10:in `block (3 levels) in <top (required)>'

Finished in 0.03759 seconds (files took 0.10705 seconds to load)
1 example, 1 failure
@Ana06
Copy link
Member

Ana06 commented Aug 9, 2018

Thanks for reporting it @mauricioszabo 💐 I am on it! 😉

Ana06 added a commit to Ana06/rantly that referenced this issue Aug 9, 2018
`Rantly::Property#shrinkify` calls `retry?` which is defined for
all classes in `shrinks.rb` except `Hash`. Consecuently it raises an
`NoMethodError` when being called over a Hash.

Fixes rantly-rb#39
@Ana06 Ana06 self-assigned this Aug 10, 2018
@Ana06 Ana06 added the bug 🐛 label Aug 10, 2018
@Ana06 Ana06 closed this as completed in #40 Aug 15, 2018
@Ana06
Copy link
Member

Ana06 commented Aug 22, 2018

@hayeah @abargnesi I would like to release a new version of Rantly which includes the fix of this bug, but I have no permissions in RubyGem? can you please give me permissions? 🙏

@Ana06
Copy link
Member

Ana06 commented Aug 26, 2018

@hayeah @abargnesi ping! 🙏

@abargnesi
Copy link
Member

@Ana06 I have added you as an owner using your GitHub email anamma06@gmail.com. Great job as current maintainer! 🎉

@Ana06
Copy link
Member

Ana06 commented Aug 28, 2018

Thanks @abargnesi! 💘

Ana06 added a commit to Ana06/rantly that referenced this issue Aug 29, 2018
- Allow to generate floats using Gaussian distribution
  - [Issue rantly-rb#29][29]
  - thanks [Ana María Martínez Gómez][Ana María Martínez Gómez] and
    [Víctor Gallego][Víctor Gallego]
- NoMethodError` - undefined method`retry?` - when a test using `dict`
  fails
  - [Issue rantly-rb#39][39]
  - thanks [Ana María Martínez Gómez][Ana María Martínez Gómez]
- Correct typo in _Too many tries_ message
  - thanks [Ana María Martínez Gómez][Ana María Martínez Gómez]
Ana06 added a commit to Ana06/rantly that referenced this issue Aug 29, 2018
- Allow to generate floats using Gaussian distribution
  - [Issue rantly-rb#29][29]
  - thanks [Ana María Martínez Gómez][Ana María Martínez Gómez] and
    [Víctor Gallego][Víctor Gallego]
- `NoMethodError` - undefined method `retry?` - when a test using `dict`
  fails
  - [Issue rantly-rb#39][39]
  - thanks [Ana María Martínez Gómez][Ana María Martínez Gómez]
- Correct typo in _Too many tries_ message
  - thanks [Ana María Martínez Gómez][Ana María Martínez Gómez]
Ana06 added a commit to Ana06/rantly that referenced this issue Aug 29, 2018
- Allow to generate floats using Gaussian distribution
  - [Issue rantly-rb#29](rantly-rb#29)
  - thanks [Ana María Martínez Gómez][Ana María Martínez Gómez] and [Víctor Gallego][Víctor Gallego]
- `NoMethodError` - undefined method `retry?` - when a test using `dict` fails
  - [Issue rantly-rb#39](rantly-rb#39)
  - thanks [Ana María Martínez Gómez][Ana María Martínez Gómez]
- Correct typo in _Too many tries_ message
  - thanks [Ana María Martínez Gómez][Ana María Martínez Gómez]
Ana06 added a commit to Ana06/rantly that referenced this issue Aug 29, 2018
- Allow to generate floats using Gaussian distribution
  - Issue rantly-rb#29
  - thanks @Ana06 and @vicgalle
- `NoMethodError` - undefined method `retry?` - when a test using `dict` fails
  - Issue rantly-rb#39
  - thanks @Ana06
- Correct typo in _Too many tries_ message
  - thanks @Ana06
Ana06 added a commit to Ana06/rantly that referenced this issue Aug 29, 2018
- Allow to generate floats using Gaussian distribution
  - [Issue rantly-rb#29](rantly-rb#29)
  - thanks @Ana06 and [Víctor Gallego][Víctor Gallego]
- `NoMethodError` - undefined method `retry?` - when a test using `dict` fails
  - [Issue rantly-rb#39](rantly-rb#39)
  - thanks @Ana06
- Correct typo in _Too many tries_ message
  - thanks @Ana06
Ana06 added a commit to Ana06/rantly that referenced this issue Aug 29, 2018
- Allow to generate floats using Gaussian distribution
  - Issue rantly-rb#29
  - thanks @Ana06 and @vicgalle
- `NoMethodError` - undefined method `retry?` - when a test using `dict` fails
  - Issue rantly-rb#39
  - thanks @Ana06
- Correct typo in _Too many tries_ message
  - thanks @Ana06
Ana06 added a commit to Ana06/rantly that referenced this issue Aug 29, 2018
== New features ==
- Allow to generate floats using Gaussian distribution
  - Issue rantly-rb#29
  - thanks @Ana06 and @vicgalle
== Bug fixes ==
- `NoMethodError` - undefined method `retry?` - when a test using `dict` fails
  - Issue rantly-rb#39
  - thanks @Ana06
== Changes ==
- Correct typo in _Too many tries_ message
  - thanks @Ana06
@Ana06 Ana06 mentioned this issue Aug 29, 2018
@Ana06
Copy link
Member

Ana06 commented Aug 29, 2018

@mauricioszabo new version released! It should work now 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants