xcrowdin 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -6
- data/lib/xcrowdin/version.rb +1 -1
- data/xcrowdin.gemspec +6 -6
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b6c8559c551108f24ecfbf261292ec1a56efca0
|
4
|
+
data.tar.gz: c371bf815f9069ce02817c3c9da1d682d0444c32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '084fa15ba9487df3b5d2e4a15a786befeb20f1db1a2680fa554c61f519f970b288338d559e013ce57ad0e4cec9f508ea7ccb0a728e7eca2540a290876b0ba42f'
|
7
|
+
data.tar.gz: eca5a024cd8aedc28ecbe32655f8d0ac47c0f19166d16ca0004df7d7e6929c8ed771f60e99c6466589e5050eeb8b9651c3b600d9d7b8f1584e0c6c01f2e0e541
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# Xcrowdin
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
Xcode to Crowdin exporter and Cronwdin to Xcode Importer.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -21,8 +19,22 @@ Or install it yourself as:
|
|
21
19
|
$ gem install xcrowdin
|
22
20
|
|
23
21
|
## Usage
|
22
|
+
```
|
23
|
+
Commands:
|
24
|
+
xcrowdin help [COMMAND] # Describe available commands or one specific command
|
25
|
+
xcrowdin to_crowdin --api-key=API_KEY --crowdin-path=CROWDIN_PATH --langs=one two three --project-id=PROJECT_ID --xcode-project=XCODE_PROJECT # Export from Xcode and upload to Crowdin.
|
26
|
+
xcrowdin to_xcode --api-key=API_KEY --crowdin-path=CROWDIN_PATH --langs=one two three --project-id=PROJECT_ID --xcode-project=XCODE_PROJECT # Export from Crowdin and import to XCode.
|
27
|
+
```
|
24
28
|
|
25
|
-
|
29
|
+
Example
|
30
|
+
```
|
31
|
+
xcrowdin to_crowdin\
|
32
|
+
--api-key API_KEY\
|
33
|
+
--project-id PROJECT_ID\
|
34
|
+
--xcode-project ~/PROJECT_DIRECTORY/PROJECT_NAME.xcodeproj\
|
35
|
+
--langs en jp\
|
36
|
+
--crowdin-path CROWDIN_PATH
|
37
|
+
```
|
26
38
|
|
27
39
|
## Development
|
28
40
|
|
@@ -32,7 +44,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
44
|
|
33
45
|
## Contributing
|
34
46
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
47
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/yoonchulkoh/xcrowdin. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
48
|
|
37
49
|
## License
|
38
50
|
|
@@ -40,4 +52,4 @@ The gem is available as open source under the terms of the [MIT License](http://
|
|
40
52
|
|
41
53
|
## Code of Conduct
|
42
54
|
|
43
|
-
Everyone interacting in the Xcrowdin project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
55
|
+
Everyone interacting in the Xcrowdin project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/yoonchulkoh/xcrowdin/blob/master/CODE_OF_CONDUCT.md).
|
data/lib/xcrowdin/version.rb
CHANGED
data/xcrowdin.gemspec
CHANGED
@@ -20,10 +20,10 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
21
|
spec.require_paths = ["lib"]
|
22
22
|
|
23
|
-
spec.
|
24
|
-
spec.
|
25
|
-
spec.
|
26
|
-
spec.
|
27
|
-
spec.
|
28
|
-
spec.
|
23
|
+
spec.add_dependency "bundler", "~> 1.15"
|
24
|
+
spec.add_dependency "rake", "~> 10.0"
|
25
|
+
spec.add_dependency "rspec", "~> 3.0"
|
26
|
+
spec.add_dependency "crowdin-api"
|
27
|
+
spec.add_dependency "rubyzip"
|
28
|
+
spec.add_dependency "thor"
|
29
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcrowdin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yoonchul.koh
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -17,7 +17,7 @@ dependencies:
|
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.15'
|
20
|
-
type: :
|
20
|
+
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
@@ -31,7 +31,7 @@ dependencies:
|
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '10.0'
|
34
|
-
type: :
|
34
|
+
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
@@ -45,7 +45,7 @@ dependencies:
|
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '3.0'
|
48
|
-
type: :
|
48
|
+
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
@@ -59,7 +59,7 @@ dependencies:
|
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
|
-
type: :
|
62
|
+
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
@@ -73,7 +73,7 @@ dependencies:
|
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
|
-
type: :
|
76
|
+
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
@@ -87,7 +87,7 @@ dependencies:
|
|
87
87
|
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
|
-
type: :
|
90
|
+
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|