RallyTools / RallyRestToolkitForRuby

A toolkit wrapping Rally's REST webservice for Ruby
MIT License
47 stars 32 forks source link

Switch default WSAPI version to "v2.0" #40

Closed irontoby closed 8 years ago

irontoby commented 10 years ago

1.4.2 is deprecated & will be unsupported May 2014. I wasn't sure how to run your specs so I hadn't done it, but my initial testing shows it works for basic queries.

Note that they've added "v" prefix on version number in URL.

dawsmith8 commented 10 years ago

Thanks, I was planning to rev the gem to 2.0 (to fall in line with the wsapi version) and to make this change soon.

I'll add some better notes to the readme for running the specs. It requires you to create a RallyAPIcredentials.txt with yaml about which login you want to use to run the tests - look in rally_api_spec_helper.rb if you are curious. I had thought about mocking, but I'm skeptical and decided I wanted the tests to hit the real endpoints hence the requirement for a real login to Rally.

irontoby commented 10 years ago

Ok thanks for the pointer, I'll take a look.. yeah I agree there's not much use in mocking when the whole point of the lib is to wrap an API!

klehman-rally commented 8 years ago

Default the Rally WSAPI to v2.0 was included with some other mods in the c2902e08... commit on April 26, 2015