txbr 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -1
- data/lib/txbr/email_template_component.rb +2 -0
- data/lib/txbr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31315acfac2024dccf07c712f3146c897d85f1932e3cf9d832dd5d0eeef3fadf
|
4
|
+
data.tar.gz: d7f450603dad38710b0415e8fa5a76d38d99fcc3af48c90a756b75b3d2cc7e47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e52a042f6b550f9616d8f06454691172befa00dc9933defaecfccd88cd0033996f140f11cac3d18c492c01fe8c2a667b38a4828f9ae87c0abec4a17152aa349
|
7
|
+
data.tar.gz: 12987f0c5e313fadb81e256d1c5ebad38aea68a5bb67d8406fc52dd88aa53789ec12f52684124473386eb117750a164e080bc7037034160b2593d86f32a74bfb
|
data/README.md
CHANGED
@@ -105,7 +105,14 @@ The endpoint will be available at http://your_txbr_server.com/strings.json and a
|
|
105
105
|
3. **locale**: The locale (i.e. language) to fetch translations for.
|
106
106
|
4. **strings_format**: The Transifex-supported strings format the resource was created with. In our examples, we have used "YML".
|
107
107
|
|
108
|
-
The easiest way to get
|
108
|
+
The easiest way to get up and running is to use the Txbr Docker image. Pull the image, then start it by passing your YAML configuration as an environment variable.
|
109
|
+
|
110
|
+
```bash
|
111
|
+
docker pull quay.io/lumoslabs/txbr:master
|
112
|
+
docker run -p 9300:9300 \
|
113
|
+
-e "TXBR_CONFIG=raw://$(cat path/to/config.yml)" \
|
114
|
+
quay.io/lumoslabs/txbr:master
|
115
|
+
```
|
109
116
|
|
110
117
|
### Rake Tasks
|
111
118
|
|
@@ -61,6 +61,8 @@ module Txbr
|
|
61
61
|
# divide the strings into individual Transifex resources
|
62
62
|
# while the rest of the lookups form the string's key.
|
63
63
|
when Liquid::Variable
|
64
|
+
next unless node.name.is_a?(Liquid::VariableLookup)
|
65
|
+
|
64
66
|
prefix = node.name.name
|
65
67
|
path = node.name.lookups
|
66
68
|
|
data/lib/txbr/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: txbr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cameron Dutro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: abroad
|