copy_tuner_client 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -1
- data/Gemfile.lock +1 -1
- data/lib/copy_tuner_client/cache.rb +1 -1
- data/lib/copy_tuner_client/version.rb +1 -1
- data/spec/copy_tuner_client/cache_spec.rb +10 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3cc0c109c21c0ab75746e4e1c589aba3858137c
|
4
|
+
data.tar.gz: 9ef00204b7dd815fbf10578c53c78940820304b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eea5da6db9d62a3aad0fb45d75d6f0cfb8ae8b7d8b0a8bc03cd4b381ce36a5d5118ca6c54d0c5bd873337b1e8fb4af3d6da5099beb3d5466b9faad7a26803011
|
7
|
+
data.tar.gz: 52365f67f27781abde7842b9748f294a5f2a224968d564dcdc366ff1f8a05634d531354ae08bb6519e0e2d9455ce34b85c73b67e6a79e35c37c55849876d507c
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,9 @@
|
|
1
|
+
## 0.5.1
|
2
|
+
|
3
|
+
- Do not upload downloaded keys
|
4
|
+
|
1
5
|
## 0.5.0
|
6
|
+
|
2
7
|
- Drop support for ruby 2.3
|
3
8
|
- Add tt helper
|
4
9
|
- Add copy_tuner:detect_conflict_keys task
|
@@ -9,79 +14,98 @@
|
|
9
14
|
- Download translation when initialization
|
10
15
|
|
11
16
|
## 0.4.11
|
17
|
+
|
12
18
|
- changes
|
13
19
|
- Fix hide toggle button on mobile device.
|
14
20
|
|
15
21
|
## 0.4.10
|
22
|
+
|
16
23
|
- changes
|
17
24
|
- Hide copyray bar on all media.
|
18
25
|
|
19
26
|
## 0.4.9
|
27
|
+
|
20
28
|
- changes
|
21
29
|
- Smaller toggle button.
|
22
30
|
- Hide toggle button on mobile device.
|
23
31
|
|
24
32
|
## 0.4.8
|
33
|
+
|
25
34
|
- changes
|
26
35
|
- Support passenger 5.3.x
|
27
36
|
|
28
37
|
## 0.4.7
|
38
|
+
|
29
39
|
- changes
|
30
40
|
- Compatibile with bullet gem (rewrap response with ActionDispatch::Response::RackBody)
|
31
41
|
|
32
42
|
## 0.4.6
|
43
|
+
|
33
44
|
- changes
|
34
45
|
- Performance imporovement (sync with server asynchronously)
|
35
46
|
- Add config.middleware_position
|
36
47
|
|
37
48
|
## 0.4.5
|
49
|
+
|
38
50
|
- changes
|
39
51
|
- Fix deprecated css.
|
40
52
|
|
41
53
|
## 0.4.4
|
54
|
+
|
42
55
|
- bug fix
|
43
56
|
- Don't upload resolved default values.
|
44
57
|
|
45
58
|
## 0.4.3
|
59
|
+
|
46
60
|
- bug fix
|
47
61
|
- Start poller thread regardless of puma mode. #39
|
48
62
|
|
49
63
|
## 0.4.2
|
64
|
+
|
50
65
|
- changes
|
51
66
|
- span tag is no longer added to translation text.
|
52
67
|
|
53
68
|
## 0.4.1
|
69
|
+
|
54
70
|
- bug fixes
|
71
|
+
|
55
72
|
- js injection failed if jquery is not used. #33
|
56
73
|
- Fix some js error. #34
|
57
74
|
- Wrong key is displayed if scoped option is used. #35
|
58
75
|
|
59
76
|
- deprecation
|
60
77
|
- config.copyray_js_injection_regexp_for_debug is no longer needed.
|
61
|
-
- config.copyray_js_injection_regexp_for_precompiled
|
78
|
+
- config.copyray_js_injection_regexp_for_precompiled is no longer needed.
|
62
79
|
|
63
80
|
## 0.4.0
|
81
|
+
|
64
82
|
- Remove jQuery dependency.
|
65
83
|
|
66
84
|
## 0.3.5
|
85
|
+
|
67
86
|
- Support Rails 5.1
|
68
87
|
|
69
88
|
## 0.3.4
|
89
|
+
|
70
90
|
- Use Logger to /dev/null as default when rails console
|
71
91
|
|
72
92
|
## 0.3.3
|
93
|
+
|
73
94
|
- Add config.locales. (#24)
|
74
95
|
- Fix initialization order bug. (#25)
|
75
96
|
|
76
97
|
## 0.3.2
|
98
|
+
|
77
99
|
- Support I18n.t :scope option.
|
78
100
|
- Update copyray_js_injection_regexp_for_debug.
|
79
101
|
|
80
102
|
## 0.3.1
|
103
|
+
|
81
104
|
- Add search box to copyray bar.
|
82
105
|
- Add disable_copyray_comment_injection to configuration.
|
83
106
|
|
84
107
|
## 0.3.0
|
108
|
+
|
85
109
|
- Use https as default.
|
86
110
|
- Download blurbs from S3.
|
87
111
|
- Add toolbar.
|
data/Gemfile.lock
CHANGED
@@ -42,7 +42,7 @@ module CopyTunerClient
|
|
42
42
|
return if @exclude_key_regexp && key.match?(@exclude_key_regexp)
|
43
43
|
return if @locales.present? && !@locales.member?(key.split('.').first)
|
44
44
|
lock do
|
45
|
-
return if @blank_keys.member?(key)
|
45
|
+
return if @blank_keys.member?(key) || @blurbs.key?(key)
|
46
46
|
@queued[key] = value
|
47
47
|
end
|
48
48
|
end
|
@@ -109,6 +109,16 @@ describe CopyTunerClient::Cache do
|
|
109
109
|
expect(cache.queued).to be_empty
|
110
110
|
end
|
111
111
|
|
112
|
+
it "Do not upload downloaded keys" do
|
113
|
+
client['en.test.key'] = 'test value'
|
114
|
+
cache = build_cache
|
115
|
+
|
116
|
+
cache.download
|
117
|
+
|
118
|
+
cache['en.test.key'] = 'dummy'
|
119
|
+
expect(cache.queued).to be_empty
|
120
|
+
end
|
121
|
+
|
112
122
|
it "handles connection errors when flushing" do
|
113
123
|
failure = "server is napping"
|
114
124
|
logger = FakeLogger.new
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: copy_tuner_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SonicGarden
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|