xcrowdin 0.1.1 → 0.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 745d5c591095ad21c871680c17edbcaf5b4d772c
4
- data.tar.gz: 283616f0772db1f764883a7edcd40be0fe5071db
3
+ metadata.gz: 5b6c8559c551108f24ecfbf261292ec1a56efca0
4
+ data.tar.gz: c371bf815f9069ce02817c3c9da1d682d0444c32
5
5
  SHA512:
6
- metadata.gz: a479ad6f5838d94f8d6a0d9b6c3d949276b157d026fd5b48659165bd51964996e5734aff87c9c6da79f06aa1e591b4fd6dee536b4a5a8caf657e8f208c81692c
7
- data.tar.gz: 03c3e3a4eefd76673cddf3190f75d9f729bd6a02538084609b28f72baaf2eb32a808c25b1a9872f7f50ba9e92c578348619591f7fa1b84217569cd6d577a44d6
6
+ metadata.gz: '084fa15ba9487df3b5d2e4a15a786befeb20f1db1a2680fa554c61f519f970b288338d559e013ce57ad0e4cec9f508ea7ccb0a728e7eca2540a290876b0ba42f'
7
+ data.tar.gz: eca5a024cd8aedc28ecbe32655f8d0ac47c0f19166d16ca0004df7d7e6929c8ed771f60e99c6466589e5050eeb8b9651c3b600d9d7b8f1584e0c6c01f2e0e541
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # Xcrowdin
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/xcrowdin`. To experiment with that code, run `bin/console` for an interactive prompt.
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
- TODO: Write usage instructions here
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/[USERNAME]/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.
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/[USERNAME]/xcrowdin/blob/master/CODE_OF_CONDUCT.md).
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).
@@ -1,3 +1,3 @@
1
1
  module Xcrowdin
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.add_development_dependency "bundler", "~> 1.15"
24
- spec.add_development_dependency "rake", "~> 10.0"
25
- spec.add_development_dependency "rspec", "~> 3.0"
26
- spec.add_development_dependency "crowdin-api"
27
- spec.add_development_dependency "rubyzip"
28
- spec.add_development_dependency "thor"
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.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-08-31 00:00:00.000000000 Z
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: :development
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: :development
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: :development
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: :development
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: :development
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: :development
90
+ type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements: