Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (50m)  pkgsrc-2024Q1 (10d)  pkgsrc-2023Q4 (57d)  pkgsrc-2023Q2 (89d)  pkgsrc-2023Q3 (169d) 

2024-05-28 02:55:49 UTC Now

2016-10-09 14:08:19 UTC MAIN commitmail json YAML

Update ruby-flexmock to 2.2.1.

2.2.0:

- #new_instances now mocks the #initialize method instead of mocking after the
  allocation was done. This allows to do mock methods called by #initialize
  itself. Behaviour when the allocator is explicitely provided is left
  unchanged, which means that the old behaviour is still available by passing
  :new to new_instances.

2.1.0:

- added `#and_iterates` to fix some shortcomings of `#and_yield` without
  breaking backward compatibility
- strict partial mocks (and "based mocks" if `FlexMock.partials_are_based` is
  set to true) are now based on the object's singleton class, instead of its
  class.

(taca)