crowdin-api 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -199,6 +199,6 @@ Tested with the following Ruby versions:
199
199
 
200
200
  Author: Anton Maminov (anton.maminov@gmail.com)
201
201
 
202
- Copyright: 2012 [Crowdin.net](http://crowdin.net/)
202
+ Copyright: 2012-2013 [Crowdin.net](http://crowdin.net/)
203
203
 
204
204
  This library is distributed under the MIT license. Please see the LICENSE file.
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- crowdin-api (0.0.10)
4
+ crowdin-api (0.0.9)
5
5
  rest-client
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- mime-types (1.20.1)
10
+ mime-types (1.19)
11
11
  rest-client (1.6.7)
12
12
  mime-types (>= 1.16)
13
13
 
@@ -16,6 +16,7 @@ crowdin = Crowdin::API.new(:api_key => API_KEY, :project_id => PROJECT_ID)
16
16
  crowdin.log = Logger.new $stderr
17
17
 
18
18
  pp crowdin.project_info
19
+ crowdin.add_directory('test')
19
20
 
20
21
  #file = { :dest => '/arrays.xml', :source => 'arrays.xml', :export_pattern => '/values-%three_letters_code%/%original_file_name%' }
21
22
  #crowdin.add_file([] << file)
@@ -70,7 +70,7 @@ module Crowdin
70
70
  params[:export_patterns] = Hash[files.map{ |f| [f[:dest], f[:export_pattern]] }]
71
71
  params[:export_patterns].delete_if{ |k, v| v.nil? }
72
72
 
73
- params.delete_if{ |k, v| v.empty? }
73
+ params.delete_if{ |k, v| v.to_s.empty? }
74
74
 
75
75
  request(
76
76
  :method => :post,
@@ -1,5 +1,5 @@
1
1
  module Crowdin
2
2
  class API
3
- VERSION = "0.0.10"
3
+ VERSION = "0.0.11"
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.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,14 +9,14 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-11 00:00:00.000000000 Z
12
+ date: 2013-02-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ! '>='
19
+ - - ">="
20
20
  - !ruby/object:Gem::Version
21
21
  version: '0'
22
22
  type: :runtime
@@ -24,7 +24,7 @@ dependencies:
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ! '>='
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0'
30
30
  description: The Crowdin Ruby Client is used to interact with the Crowdin API from
@@ -56,18 +56,18 @@ require_paths:
56
56
  required_ruby_version: !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
59
- - - ! '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
- - - ! '>='
65
+ - - ">="
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  requirements: []
69
69
  rubyforge_project:
70
- rubygems_version: 1.8.25
70
+ rubygems_version: 1.8.24
71
71
  signing_key:
72
72
  specification_version: 3
73
73
  summary: The Crowdin Ruby Client is used to interact with the Crowdin API from Ruby