1. 28 Mar, 2019 5 commits
  2. 27 Mar, 2019 5 commits
  3. 26 Mar, 2019 3 commits
    • Yukihiro "Matz" Matsumoto's avatar
      Merge pull request #4343 from shuujii/fix-dealing-with-infinity-and-NaN-in-assert_float · 55986123
      Yukihiro "Matz" Matsumoto authored
      Fix dealing with infinity and NaN in `test/assert.rb:assert_float`
      55986123
    • KOBAYASHI Shuji's avatar
      Fix dealing with infinity and NaN in `test/assert.rb:assert_float` · 0b6696cc
      KOBAYASHI Shuji authored
      `assert_float` is always passed when expected value and/or actual value are
      infinity or NaN. This behavior seems unintentional.
      
      Before this patch:
      
          assert_float(Float::INFINITY, 1.0)  #=> pass
          assert_float(-Float::INFINITY, 1)   #=> pass
          assert_float(1, 1/0)                #=> pass
          assert_float(1, -1/0)               #=> pass
          assert_float(1.0, Float::NAN)       #=> pass
          assert_float(Float::NAN, 1)         #=> pass
      
      After this patch:
      
          assert_float(Float::INFINITY, 1.0)  #=> fail: Expected 1.0 to be Infinity.
          assert_float(-Float::INFINITY, 1)   #=> fail: Expected 1 to be -Infinity.
          assert_float(1, 1/0)                #=> fail: Expected Infinity to be 1.
          assert_float(1, -1/0)               #=> fail: Expected -Infinity to be 1.
          assert_float(1.0, Float::NAN)       #=> fail: Expected NaN to be 1.0.
          assert_float(Float::NAN, 1)         #=> fail: Expected 1 to be NaN.
      0b6696cc
    • Yukihiro "Matz" Matsumoto's avatar
      Fix missing `MRB_API` prefix for functions below; clse #4267 · c2660b81
      Yukihiro "Matz" Matsumoto authored
      Functions to add prototypes to headers:
      * mrb_ary_splice()
      * mrb_notimplement()
      * mrb_vformat()
      * mrb_cstr_to_dbl()
      * mrb_cstr_to_inum()
      
      Functions to be made `static` (`MRB_API` was not needed):
      * mrb_mod_module_function()
      * mrb_obj_hash()
      * mrb_str_len_to_inum()
      
      Functions to remove `MRB_API` from definitions (referenced from within `libmruby`):
      * mrb_mod_cv_defined()
      * mrb_mod_cv_get()
      * mrb_f_send()
      c2660b81
  4. 25 Mar, 2019 6 commits
  5. 24 Mar, 2019 3 commits
  6. 23 Mar, 2019 1 commit
  7. 22 Mar, 2019 4 commits
  8. 21 Mar, 2019 2 commits
  9. 20 Mar, 2019 2 commits
  10. 19 Mar, 2019 1 commit
  11. 18 Mar, 2019 1 commit
    • KOBAYASHI Shuji's avatar
      Use Rake instead of MiniRake on AppVeyor · bc321ece
      KOBAYASHI Shuji authored
      1. Reduce build time
      
      Build time becomes less than half. In MiniRake, a way of using fiber may not be good.
      
      2. Synchronize standard output
      
      No synchronized:
      
          mrbtest - Embeddable Ruby Test
          ...........................
          Total: 1165
          (snip)
           Time: 1.19 seconds
          bintest - Command Binary Test
      
          .....................
          Total: 21
          (snip)
           Time: 0.39 seconds
          mrbtest - Embeddable Ruby Test
      
          ...........................
          Total: 1165
          (snip)
           Skip: 23
           Time: 1.15 seconds
          (snip)
      
          >>> Test cxx_abi <<<
      
          >>> Bintest host <<<
          >>> Test host <<<
      
          >>> Test full-debug <<<
      
          >>> Bintest cxx_abi <<<
      
      Synchronized:
      
          >>> Test full-debug <<<
          mrbtest - Embeddable Ruby Test
          ...........................
          Total: 1165
          (snip)
           Time: 1.25 seconds
      
          >>> Test host <<<
          mrbtest - Embeddable Ruby Test
          ...........................
          Total: 1165
          (snip)
           Time: 1.16 seconds
      
          >>> Bintest host <<<
          bintest - Command Binary Test
          .....................
          Total: 21
          (snip)
           Time: 0.41 seconds
      
          >>> Test cxx_abi <<<
          mrbtest - Embeddable Ruby Test
          (snip)
      bc321ece
  12. 17 Mar, 2019 2 commits
  13. 16 Mar, 2019 2 commits
  14. 15 Mar, 2019 3 commits