This should be the final refactoring I need before I can fix the Issues API doesn’t allow full key auth for all actions bug. Here I refactored the test that is authenticating against Redmine using an API token but through HTTP Basic. Basically it’s a cross between the Token Auth and the Username and Password …
Tag: ruby
Redmine API: Testing for HTTP Basic auth refactoring
After thinking over the test refactoring I did yesterday, I thought it would be useful to do a few more refactorings to the Redmine API test suite. Today I refactored how HTTP Basic authentication is used with a username and password by creating a new shoulda macro. Before 1 2 3 4 5 6 7 …
Redmine API: Testing for the Authentication Key
I’m pausing the Redmine Refactoring for a few weeks so I can work on some features for the Redmine API. With the 1.1 release of Redmine coming out in two months, I need to get started on fixing and adding to the current API. I decided to use this blog to write about the changes …
Deploy WordPress Automatically with Capistrano
I volunteered to help my wife convert her aging website to WordPress. In a past life I used to be a WordPress developer (*) and during that time I worked with several WordPress experts and picked up a few best practices. One practice I learned was to deploy WordPress from version control (subversion) so when …
Redmine Refactor #144: Convert WikiController to a REST resource
I finally felt comfortable enough to do the final conversion of WikiController to a REST resource. Yesterday’s refactoring of the :id parameter make this a lot easier. Before 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 …