crowdin-api 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -58,7 +58,7 @@ module Crowdin
58
58
  #
59
59
  # POST http://api.crowdin.net/api/project/{project-identifier}/update-file?key={project-key}
60
60
  #
61
- def update_file(files)
61
+ def update_file(files, params = {})
62
62
  files = Hash[files.map{ |f| [
63
63
  f[:dest] || raise(ArgumentError, "'`:dest` is required'"),
64
64
  ::File.open(f[:source] || raise(ArgumentError, "'`:source` is required'") )
@@ -1,5 +1,5 @@
1
1
  module Crowdin
2
2
  class API
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crowdin-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: