crowdin-cli 0.3.9 → 0.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +8 -8
- data/bin/crowdin-cli +1 -1
- data/lib/crowdin-cli/version.rb +1 -1
- data/locales/en.yml +1 -1
- metadata +24 -25
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3429bdca9735a42cff8eaabee07acce2f15aaadb
|
|
4
|
+
data.tar.gz: ec8d15948c02e60eac8952f02a15dc15f3b5eeac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ad53a681da5b05af72a4b956d7067d9988c294dc94b371552bc3528244bbc1f5a203147757d72628a4884c9855905c75ed9eb21ac39cc0c48d43f8ff29e31d47
|
|
7
|
+
data.tar.gz: 632bb8660d8ae51910f46ed687f328ec3308f891ca319e80dab5be55076144872565f3193f4647633c1de3d20010b6082ea3afcd150b6b1c57e1f129d9cb31ed
|
data/README.md
CHANGED
|
@@ -40,7 +40,7 @@ Create `crowdin.yaml` YAML file in your root project directory with the followin
|
|
|
40
40
|
```
|
|
41
41
|
project_identifier: test
|
|
42
42
|
api_key: KeepTheAPIkeySecret
|
|
43
|
-
base_url:
|
|
43
|
+
base_url: https://api.crowdin.com
|
|
44
44
|
base_path: /path/to/your/project
|
|
45
45
|
|
|
46
46
|
files:
|
|
@@ -51,7 +51,7 @@ files:
|
|
|
51
51
|
|
|
52
52
|
* `api_key` - Crowdin Project API key
|
|
53
53
|
* `project_identifier` - Crowdin project name
|
|
54
|
-
* `base_url` - (default:
|
|
54
|
+
* `base_url` - (default: https://api.crowdin.com)
|
|
55
55
|
* `base_path` - defines what directory have to be scaned(default: current directory)
|
|
56
56
|
* `files`
|
|
57
57
|
* `source` - defines only files that should be uploaded as sources
|
|
@@ -111,7 +111,7 @@ See sample configuration below::
|
|
|
111
111
|
---
|
|
112
112
|
project_identifier: test
|
|
113
113
|
api_key: KeepTheAPIkeySecret
|
|
114
|
-
base_url:
|
|
114
|
+
base_url: https://api.crowdin.com
|
|
115
115
|
base_path: /path/to/your/project
|
|
116
116
|
|
|
117
117
|
files:
|
|
@@ -140,7 +140,7 @@ Let's say your locale directories named 'en', 'uk', 'fr', 'de'. All of them can
|
|
|
140
140
|
---
|
|
141
141
|
project_identifier: test
|
|
142
142
|
api_key: KeepTheAPIkeySecret
|
|
143
|
-
base_url:
|
|
143
|
+
base_url: https://api.crowdin.com
|
|
144
144
|
base_path: /path/to/your/project
|
|
145
145
|
|
|
146
146
|
files:
|
|
@@ -187,7 +187,7 @@ Configuration sample is below:
|
|
|
187
187
|
---
|
|
188
188
|
project_identifier: test
|
|
189
189
|
api_key: KeepTheAPIkeySecret
|
|
190
|
-
base_url:
|
|
190
|
+
base_url: https://api.crowdin.com
|
|
191
191
|
base_path: /path/to/your/project
|
|
192
192
|
preserve_hierarchy: true
|
|
193
193
|
```
|
|
@@ -198,7 +198,7 @@ preserve_hierarchy: true
|
|
|
198
198
|
---
|
|
199
199
|
project_identifier: test
|
|
200
200
|
api_key: KeepTheAPIkeySecret
|
|
201
|
-
base_url:
|
|
201
|
+
base_url: https://api.crowdin.com
|
|
202
202
|
base_path: /path/to/your/project
|
|
203
203
|
|
|
204
204
|
files:
|
|
@@ -244,7 +244,7 @@ files:
|
|
|
244
244
|
---
|
|
245
245
|
project_identifier: test
|
|
246
246
|
api_key: KeepTheAPIkeySecret
|
|
247
|
-
base_url:
|
|
247
|
+
base_url: https://api.crowdin.com
|
|
248
248
|
base_path: /path/to/your/project
|
|
249
249
|
|
|
250
250
|
files:
|
|
@@ -263,7 +263,7 @@ files:
|
|
|
263
263
|
---
|
|
264
264
|
project_identifier: test
|
|
265
265
|
api_key: KeepTheAPIkeySecret
|
|
266
|
-
base_url:
|
|
266
|
+
base_url: https://api.crowdin.com
|
|
267
267
|
base_path: /path/to/your/project
|
|
268
268
|
|
|
269
269
|
files:
|
data/bin/crowdin-cli
CHANGED
|
@@ -1011,7 +1011,7 @@ EOS
|
|
|
1011
1011
|
|
|
1012
1012
|
Crowdin::API.log = Logger.new($stderr) if globals[:verbose]
|
|
1013
1013
|
|
|
1014
|
-
base_url = @config['base_url'] || '
|
|
1014
|
+
base_url = @config['base_url'] || 'https://api.crowdin.com'
|
|
1015
1015
|
@crowdin = Crowdin::API.new(api_key: @config['api_key'], project_id: @config['project_identifier'], base_url: base_url)
|
|
1016
1016
|
|
|
1017
1017
|
begin
|
data/lib/crowdin-cli/version.rb
CHANGED
data/locales/en.yml
CHANGED
|
@@ -3,7 +3,7 @@ en:
|
|
|
3
3
|
desc: is a command line tool that allows you to manage and synchronize your localization resources with Crowdin project
|
|
4
4
|
long_desc: |
|
|
5
5
|
This tool requires configuration file to be created.
|
|
6
|
-
See http://crowdin.
|
|
6
|
+
See http://crowdin.com/page/cli-tool#configuration-file for more details.
|
|
7
7
|
flags:
|
|
8
8
|
config:
|
|
9
9
|
desc: Project-specific configuration file
|
metadata
CHANGED
|
@@ -1,123 +1,123 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: crowdin-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.10
|
|
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: rake
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '0'
|
|
20
20
|
type: :development
|
|
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: '0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rdoc
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '0'
|
|
34
34
|
type: :development
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: aruba
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- -
|
|
45
|
+
- - ">="
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: '0'
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- -
|
|
52
|
+
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: gli
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- - ~>
|
|
59
|
+
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '2.9'
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
|
-
- - ~>
|
|
66
|
+
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '2.9'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: rubyzip
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- - ~>
|
|
73
|
+
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: '1.0'
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- - ~>
|
|
80
|
+
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '1.0'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: crowdin-api
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
|
-
- - ~>
|
|
87
|
+
- - "~>"
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
89
|
version: '0.2'
|
|
90
|
-
- -
|
|
90
|
+
- - ">="
|
|
91
91
|
- !ruby/object:Gem::Version
|
|
92
|
-
version: 0.2.
|
|
92
|
+
version: 0.2.4
|
|
93
93
|
type: :runtime
|
|
94
94
|
prerelease: false
|
|
95
95
|
version_requirements: !ruby/object:Gem::Requirement
|
|
96
96
|
requirements:
|
|
97
|
-
- - ~>
|
|
97
|
+
- - "~>"
|
|
98
98
|
- !ruby/object:Gem::Version
|
|
99
99
|
version: '0.2'
|
|
100
|
-
- -
|
|
100
|
+
- - ">="
|
|
101
101
|
- !ruby/object:Gem::Version
|
|
102
|
-
version: 0.2.
|
|
102
|
+
version: 0.2.4
|
|
103
103
|
- !ruby/object:Gem::Dependency
|
|
104
104
|
name: i18n
|
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
|
106
106
|
requirements:
|
|
107
|
-
- - ~>
|
|
107
|
+
- - "~>"
|
|
108
108
|
- !ruby/object:Gem::Version
|
|
109
109
|
version: '0.6'
|
|
110
|
-
- -
|
|
110
|
+
- - ">="
|
|
111
111
|
- !ruby/object:Gem::Version
|
|
112
112
|
version: 0.6.9
|
|
113
113
|
type: :runtime
|
|
114
114
|
prerelease: false
|
|
115
115
|
version_requirements: !ruby/object:Gem::Requirement
|
|
116
116
|
requirements:
|
|
117
|
-
- - ~>
|
|
117
|
+
- - "~>"
|
|
118
118
|
- !ruby/object:Gem::Version
|
|
119
119
|
version: '0.6'
|
|
120
|
-
- -
|
|
120
|
+
- - ">="
|
|
121
121
|
- !ruby/object:Gem::Version
|
|
122
122
|
version: 0.6.9
|
|
123
123
|
description: A command-line interface to sync files between your computer/server and
|
|
@@ -146,12 +146,12 @@ require_paths:
|
|
|
146
146
|
- lib
|
|
147
147
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
148
148
|
requirements:
|
|
149
|
-
- -
|
|
149
|
+
- - ">="
|
|
150
150
|
- !ruby/object:Gem::Version
|
|
151
151
|
version: 1.9.3
|
|
152
152
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
requirements:
|
|
154
|
-
- -
|
|
154
|
+
- - ">="
|
|
155
155
|
- !ruby/object:Gem::Version
|
|
156
156
|
version: '0'
|
|
157
157
|
requirements: []
|
|
@@ -161,4 +161,3 @@ signing_key:
|
|
|
161
161
|
specification_version: 4
|
|
162
162
|
summary: Crowdin CLI.
|
|
163
163
|
test_files: []
|
|
164
|
-
has_rdoc:
|