bruno 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +66 -0
- data/lib/bruno/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3b4c21e699448ef7b950d76937a40775eefbe0ce2961b7824ea1850a47c4717
|
4
|
+
data.tar.gz: cad1d3685a18a3276da17dae8c7f4c998c43c06b0df3655715515cabc8ceb377
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be757473fba626e9e0047f2d20ce589a214574ecebb5e2dbc52bfb0f9eed3580939f9f92c79f445e36704bb828ec9451078cadd79b92d46efcbfc7e82701fe8f
|
7
|
+
data.tar.gz: a94c41df4b3a948550e3bac12b5ab4a3ae6fbaf2d0d74e6c36f680a4797c2c49888b5f72d58a58989e2a6c037ff82a1e9310c580330a68b9675ad55459a41306
|
data/README.md
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
# Bruno [![Build Status](https://travis-ci.org/josem/bruno.png?branch=master)](https://travis-ci.org/josem/bruno) [![Code Climate](https://codeclimate.com/github/josem/bruno.png)](https://codeclimate.com/github/josem/bruno) [![Gem Version](https://badge.fury.io/rb/bruno.svg)](http://badge.fury.io/rb/bruno)
|
2
|
+
Bruno is a small tool to convert your Localizable.strings (iOS) files into strings.xml (Android) and vice versa.
|
3
|
+
|
4
|
+
## Installation
|
5
|
+
To install Bruno:
|
6
|
+
```bash
|
7
|
+
gem install bruno
|
8
|
+
```
|
9
|
+
|
10
|
+
## Examples
|
11
|
+
|
12
|
+
From iOS to Android:
|
13
|
+
```bash
|
14
|
+
bruno convert --in Localizable.strings --out strings.xml
|
15
|
+
```
|
16
|
+
|
17
|
+
Or, if you already have the strings.xml file:
|
18
|
+
```bash
|
19
|
+
bruno convert --in strings.xml --out Localizable.strings
|
20
|
+
```
|
21
|
+
|
22
|
+
Bruno will detect automatically the format for you, so the name of the file does not matter.
|
23
|
+
|
24
|
+
## In future releases
|
25
|
+
* Support for comments
|
26
|
+
* Handle invalid formats of files
|
27
|
+
|
28
|
+
## Tested Compatibility
|
29
|
+
It should work with any Ruby 2.X version but Travis is testing:
|
30
|
+
* 2.5.1
|
31
|
+
* 2.4.4
|
32
|
+
* 2.3.7
|
33
|
+
* 2.1.2
|
34
|
+
|
35
|
+
## Changelog
|
36
|
+
### 0.0.4 September 17, 2018
|
37
|
+
Internal refactoring for cleaner code
|
38
|
+
### 0.0.3 September 17, 2018
|
39
|
+
Updated dependencies
|
40
|
+
### 0.0.2 August 2, 2014
|
41
|
+
Improved code, fixed some minor mistakes
|
42
|
+
### 0.0.1 May 18, 2013
|
43
|
+
First release
|
44
|
+
|
45
|
+
|
46
|
+
## Development
|
47
|
+
Fork the project and install all the dependencies with:
|
48
|
+
```bash
|
49
|
+
bundle
|
50
|
+
```
|
51
|
+
|
52
|
+
To run the tests:
|
53
|
+
```bash
|
54
|
+
rake
|
55
|
+
```
|
56
|
+
|
57
|
+
To see available tasks:
|
58
|
+
```bash
|
59
|
+
bundle exec rake -T
|
60
|
+
```
|
61
|
+
|
62
|
+
## Author
|
63
|
+
José M. Gilgado
|
64
|
+
|
65
|
+
## License
|
66
|
+
MIT License
|
data/lib/bruno/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bruno
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- José M. Gilgado
|
@@ -88,6 +88,7 @@ executables:
|
|
88
88
|
extensions: []
|
89
89
|
extra_rdoc_files: []
|
90
90
|
files:
|
91
|
+
- README.md
|
91
92
|
- bin/bruno
|
92
93
|
- lib/bruno.rb
|
93
94
|
- lib/bruno/android_file.rb
|