crowdin-api 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07e8e480a4712d12ffbf8a8b349ed36aeaf6d2e1
4
- data.tar.gz: 1426963732d80b4127bed533c4592b787c13b008
3
+ metadata.gz: 8dd65f417ce9ea45be107ab6278a1415ac82a811
4
+ data.tar.gz: 986b314c86e92d3d2ac2e2b8f6858e1d16e6a2d6
5
5
  SHA512:
6
- metadata.gz: 9a1920b1622a1ced74b1386055988f4f738094a0ef37a651d0bc2e993582d00d42344ad2abf8268bd65bb0a8ed455c9eac34bc5e768be19b2898416ad9938424
7
- data.tar.gz: 5bbb48d9f0efc08ae1d4d166fd60fff02ae16b6d1ccbbf3e15b099cebdcbbb74de2483675b66db0b62030112fd4b5a10d671e4ea7f317c3fb378b56d2a5e8c0f
6
+ metadata.gz: 5beac248aaf88bf71b2b6c101476a61aa3b2cbb29965c140cb96af303850b4d8a8fa0bdb271a731fa7ecb034b4195ace1ab3f65d6adf4ffe66393503c864da60
7
+ data.tar.gz: 01cdb47629037c30d6585d85cf8e14e2013b10cec6e364ad390bdc8cf8a683f7ffafe9fd87a943942a794d97e83dd5d0d0a881c8ba054c1e7591b2116bbf94a3
@@ -10,7 +10,7 @@ puts Crowdin::API::VERSION
10
10
  API_KEY = '79323cdcd6b4566154c4fb9c6bbd3be1'
11
11
  PROJECT_ID = 'rubytestapi'
12
12
 
13
- crowdin = Crowdin::API.new(:api_key => API_KEY, :project_id => PROJECT_ID)
13
+ crowdin = Crowdin::API.new(api_key: API_KEY, project_id: PROJECT_ID, base_url: 'https://api.crowdin.com')
14
14
  crowdin.log = Logger.new $stderr
15
15
 
16
16
  pp crowdin.project_info
@@ -38,7 +38,7 @@ module Crowdin
38
38
  @api_key = options.delete(:api_key)
39
39
  @project_id = options.delete(:project_id)
40
40
  @account_key = options.delete(:account_key)
41
- @base_url = options.delete(:base_url) || 'http://api.crowdin.com'
41
+ @base_url = options.delete(:base_url) || 'https://api.crowdin.com'
42
42
 
43
43
  @log = nil
44
44
 
@@ -1,5 +1,5 @@
1
1
  module Crowdin
2
2
  class API
3
- VERSION = "0.2.3"
3
+ VERSION = "0.2.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crowdin-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Crowdin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-09 00:00:00.000000000 Z
11
+ date: 2014-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.7.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.7.0
27
27
  description: Ruby Client for the Crowdin API
@@ -52,12 +52,12 @@ require_paths:
52
52
  - lib
53
53
  required_ruby_version: !ruby/object:Gem::Requirement
54
54
  requirements:
55
- - - '>='
55
+ - - ">="
56
56
  - !ruby/object:Gem::Version
57
57
  version: '0'
58
58
  required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  requirements: []
@@ -67,4 +67,3 @@ signing_key:
67
67
  specification_version: 4
68
68
  summary: Client library to manage translations on Crowdin
69
69
  test_files: []
70
- has_rdoc: