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 +4 -4
- data/examples/project_info.rb +1 -1
- data/lib/crowdin-api.rb +1 -1
- data/lib/crowdin-api/version.rb +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8dd65f417ce9ea45be107ab6278a1415ac82a811
|
4
|
+
data.tar.gz: 986b314c86e92d3d2ac2e2b8f6858e1d16e6a2d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5beac248aaf88bf71b2b6c101476a61aa3b2cbb29965c140cb96af303850b4d8a8fa0bdb271a731fa7ecb034b4195ace1ab3f65d6adf4ffe66393503c864da60
|
7
|
+
data.tar.gz: 01cdb47629037c30d6585d85cf8e14e2013b10cec6e364ad390bdc8cf8a683f7ffafe9fd87a943942a794d97e83dd5d0d0a881c8ba054c1e7591b2116bbf94a3
|
data/examples/project_info.rb
CHANGED
@@ -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(:
|
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
|
data/lib/crowdin-api.rb
CHANGED
@@ -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) || '
|
41
|
+
@base_url = options.delete(:base_url) || 'https://api.crowdin.com'
|
42
42
|
|
43
43
|
@log = nil
|
44
44
|
|
data/lib/crowdin-api/version.rb
CHANGED
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.
|
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-
|
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:
|