Fred-grais / transifex-interface-ruby

A Transifex API interface written in ruby
MIT License
5 stars 12 forks source link

Fix force encoding error #10

Closed nirnaeth closed 7 years ago

nirnaeth commented 7 years ago

KEYVALUEJSONallows the content to be sent over as json directly in the call, without the need of specifying a file. The changes introduced here https://github.com/Fred-grais/transifex-interface-ruby/pull/9 weren't considering this and we were getting the following error

 NoMethodError: undefined method 'force_encoding' for {<resource_id>=>{<resource content>}}:Hash
Fred-grais commented 7 years ago

Thanks I merged your pull request

morgoth commented 7 years ago

@Fred-grais Can we have 0.2 release please?

Fred-grais commented 7 years ago

@morgoth Here you go my good sir, tag 0.0.2 is up

morgoth commented 7 years ago

@Fred-grais There is no gem with this version https://rubygems.org/gems/transifex-interface-ruby so looks like it was not pushed