crowdin-api 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012 Anton Maminov
1
+ Copyright (c) 2012-2014 Anton Maminov
2
2
 
3
3
  MIT License
4
4
 
@@ -19,4 +19,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
19
  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
20
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
21
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -240,6 +240,6 @@ Tested with the following Ruby versions:
240
240
 
241
241
  Author: Anton Maminov (anton.maminov@gmail.com)
242
242
 
243
- Copyright: 2012-2013 [Crowdin.net](http://crowdin.net/)
243
+ Copyright: 2012-2014 [Crowdin.net](http://crowdin.net/)
244
244
 
245
245
  This library is distributed under the MIT license. Please see the LICENSE file.
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require File.expand_path('../lib/crowdin-api/version', __FILE__)
4
2
 
5
3
  Gem::Specification.new do |gem|
@@ -18,5 +16,5 @@ Gem::Specification.new do |gem|
18
16
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
17
  gem.require_paths = ['lib']
20
18
 
21
- gem.add_dependency 'rest-client', '>= 1.6.7'
19
+ gem.add_dependency 'rest-client', '>= 1.7.0'
22
20
  end
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require 'bundler'
4
2
  Bundler.setup :default
5
3
 
@@ -16,8 +14,8 @@ crowdin = Crowdin::API.new(:api_key => API_KEY, :project_id => PROJECT_ID)
16
14
  crowdin.log = Logger.new $stderr
17
15
 
18
16
  pp crowdin.project_info
19
- crowdin.add_directory('test')
20
17
 
21
- #file = { :dest => '/arrays.xml', :source => 'arrays.xml', :export_pattern => '/values-%three_letters_code%/%original_file_name%' }
22
- #crowdin.add_file([] << file)
23
- #crowdin.update_file([] << file)
18
+ # crowdin.add_directory('test')
19
+ # file = { :dest => '/test.txt', :source => 'test.txt', :export_pattern => '/%three_letters_code%/%original_file_name%' }
20
+ # crowdin.add_file([] << file)
21
+ # crowdin.update_file([] << file)
@@ -45,7 +45,7 @@ module Crowdin
45
45
  options = {
46
46
  :headers => {},
47
47
  :params => {},
48
- :timeout => -1,
48
+ :timeout => nil,
49
49
  :key => @api_key,
50
50
  :'account-key' => @account_key,
51
51
  :json => true
@@ -1,5 +1,5 @@
1
1
  module Crowdin
2
2
  class API
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,29 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crowdin-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Crowdin
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-09-23 00:00:00.000000000 Z
12
+ date: 2014-07-08 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rest-client
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - '>='
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
- version: 1.6.7
21
+ version: 1.7.0
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - '>='
27
+ - - ! '>='
25
28
  - !ruby/object:Gem::Version
26
- version: 1.6.7
29
+ version: 1.7.0
27
30
  description: Ruby Client for the Crowdin API
28
31
  email:
29
32
  - support@crowdin.net
@@ -45,25 +48,26 @@ files:
45
48
  homepage: https://github.com/crowdin/crowdin-api/
46
49
  licenses:
47
50
  - MIT
48
- metadata: {}
49
51
  post_install_message:
50
52
  rdoc_options: []
51
53
  require_paths:
52
54
  - lib
53
55
  required_ruby_version: !ruby/object:Gem::Requirement
56
+ none: false
54
57
  requirements:
55
- - - '>='
58
+ - - ! '>='
56
59
  - !ruby/object:Gem::Version
57
60
  version: '0'
58
61
  required_rubygems_version: !ruby/object:Gem::Requirement
62
+ none: false
59
63
  requirements:
60
- - - '>='
64
+ - - ! '>='
61
65
  - !ruby/object:Gem::Version
62
66
  version: '0'
63
67
  requirements: []
64
68
  rubyforge_project:
65
- rubygems_version: 2.0.3
69
+ rubygems_version: 1.8.23
66
70
  signing_key:
67
- specification_version: 4
71
+ specification_version: 3
68
72
  summary: Client library to manage translations on Crowdin
69
73
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 711091f239baf6c07fd3546143e48c42c1721c91
4
- data.tar.gz: 101c3ad68a30ad38f1d7c12b40493b2458539de5
5
- SHA512:
6
- metadata.gz: 09053e23e21053d98d9a2d338fee3a0b8926e6c94b1fad3836671390247b6e146f1ced6ac4b8d55ff8295c2fbeca38ed3189781286f1ac727f96447698f2f7ea
7
- data.tar.gz: 1ac06ab9ffd89a038343391fa494790b6a1286c17b4188c124e4a2aeda507300c910a03ce62180f4b4187dff59217a9981c4e49bb6e32e7b068bedc3ab8c80a4