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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad8a2929f789e8df389eba18aab034fbd3c089306ef86b86e496859196088aea
4
- data.tar.gz: ab4a6147c75a7432e2ef0b34c30efdd5949cd1a07b774eae1d84e953a0c7d111
3
+ metadata.gz: 31315acfac2024dccf07c712f3146c897d85f1932e3cf9d832dd5d0eeef3fadf
4
+ data.tar.gz: d7f450603dad38710b0415e8fa5a76d38d99fcc3af48c90a756b75b3d2cc7e47
5
5
  SHA512:
6
- metadata.gz: 93871ba2e176ff5c9fcf85a9a521fd209fbec9599f286fb52be30f447bc1016a31d2a93587a918ebd7a4a55d80935a4ae9b79256460bc1f0f26ec5bb187b310b
7
- data.tar.gz: 38b3253c2bfaa7053c9605c7bc7e861d86b3d702ab63acd27ee78c6e0e264f7e6406473d52880c952c7a0d259ba990e28c6fc33cc74740657fad7f2f6c2009a1
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
@@ -1,3 +1,3 @@
1
1
  module Txbr
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
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.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-04 00:00:00.000000000 Z
11
+ date: 2018-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: abroad