Rename conflict variable around block parameter

It removes below ruby's warning.

* "warning: shadowing outer local variable"
Remove unused variable in spec

It removes below ruby's warning.

* "warning: assigned but unused variable"
Merge pull request #186 from kachick/improve-remove_warnings

Remove some warnings