copy_tuner_client 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +22 -23
- data/lib/copy_tuner_client/engine.rb +7 -3
- data/lib/copy_tuner_client/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8c290a8152b613cff2f7a6eb7a1a4c38aad8efd00abe18ab02dd4d6948f0ba9d
|
4
|
+
data.tar.gz: 49be3afdfe9251f4b5b4dfa76017986d93853e1dcddda846b26a5f7896be3836
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2abb1b21480ba86e3cc600457b173efebcadfe882c2c4d4002554212ee69f045e6a5e02ca25a2bf2a4af34eaa190f4c64e6f33559522511511e368c2c7e9ee1a
|
7
|
+
data.tar.gz: 96cdf62ad947ecf93f1f7adee3f66773b95c37b4ba5e5bcc83e00e974a4499941b5f68f3d49a9a96505e0ccd9fdd0a7d3fa6d602f8075fc074ad3fa1969d4372
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.6.5
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
GIT
|
2
2
|
remote: git://github.com/SonicGarden/sgcop.git
|
3
|
-
revision:
|
3
|
+
revision: e2d584a7278a45b4f43d31fd9331b718f36b018e
|
4
4
|
specs:
|
5
|
-
sgcop (0.0.
|
5
|
+
sgcop (0.0.32)
|
6
6
|
brakeman
|
7
7
|
brakeman_translate_checkstyle_format
|
8
|
-
haml_lint (~> 0.
|
9
|
-
rubocop (~> 0.
|
10
|
-
rubocop-performance (~> 1.
|
11
|
-
rubocop-rails (~> 2.
|
12
|
-
rubocop-rspec (~> 1.
|
8
|
+
haml_lint (~> 0.34.0)
|
9
|
+
rubocop (~> 0.75.1)
|
10
|
+
rubocop-performance (~> 1.5.0)
|
11
|
+
rubocop-rails (~> 2.3.2)
|
12
|
+
rubocop-rspec (~> 1.36.0)
|
13
13
|
|
14
14
|
PATH
|
15
15
|
remote: .
|
16
16
|
specs:
|
17
|
-
copy_tuner_client (0.5.
|
17
|
+
copy_tuner_client (0.5.3)
|
18
18
|
i18n (>= 0.5.0)
|
19
19
|
json
|
20
20
|
|
@@ -67,7 +67,7 @@ GEM
|
|
67
67
|
cucumber (>= 1.1.1)
|
68
68
|
rspec-expectations (>= 2.7.0)
|
69
69
|
ast (2.4.0)
|
70
|
-
brakeman (4.
|
70
|
+
brakeman (4.7.1)
|
71
71
|
brakeman_translate_checkstyle_format (0.0.1)
|
72
72
|
thor
|
73
73
|
builder (3.2.3)
|
@@ -91,18 +91,17 @@ GEM
|
|
91
91
|
multi_json (~> 1.3)
|
92
92
|
globalid (0.3.7)
|
93
93
|
activesupport (>= 4.1.0)
|
94
|
-
haml (5.1.
|
94
|
+
haml (5.1.2)
|
95
95
|
temple (>= 0.8.0)
|
96
96
|
tilt
|
97
|
-
haml_lint (0.
|
97
|
+
haml_lint (0.34.0)
|
98
98
|
haml (>= 4.0, < 5.2)
|
99
99
|
rainbow
|
100
|
-
rake (>= 10, < 13)
|
101
100
|
rubocop (>= 0.50.0)
|
102
101
|
sysexits (~> 1.1)
|
103
102
|
hashdiff (0.3.2)
|
104
103
|
i18n (0.8.1)
|
105
|
-
jaro_winkler (1.5.
|
104
|
+
jaro_winkler (1.5.4)
|
106
105
|
json (2.2.0)
|
107
106
|
loofah (2.0.3)
|
108
107
|
nokogiri (>= 1.5.9)
|
@@ -117,8 +116,8 @@ GEM
|
|
117
116
|
multi_test (0.1.2)
|
118
117
|
nokogiri (1.8.2)
|
119
118
|
mini_portile2 (~> 2.3.0)
|
120
|
-
parallel (1.
|
121
|
-
parser (2.6.
|
119
|
+
parallel (1.18.0)
|
120
|
+
parser (2.6.5.0)
|
122
121
|
ast (~> 2.4.0)
|
123
122
|
public_suffix (2.0.5)
|
124
123
|
rack (1.6.5)
|
@@ -165,20 +164,20 @@ GEM
|
|
165
164
|
diff-lcs (>= 1.2.0, < 2.0)
|
166
165
|
rspec-support (~> 3.5.0)
|
167
166
|
rspec-support (3.5.0)
|
168
|
-
rubocop (0.
|
167
|
+
rubocop (0.75.1)
|
169
168
|
jaro_winkler (~> 1.5.1)
|
170
169
|
parallel (~> 1.10)
|
171
170
|
parser (>= 2.6)
|
172
171
|
rainbow (>= 2.2.2, < 4.0)
|
173
172
|
ruby-progressbar (~> 1.7)
|
174
173
|
unicode-display_width (>= 1.4.0, < 1.7)
|
175
|
-
rubocop-performance (1.
|
174
|
+
rubocop-performance (1.5.0)
|
176
175
|
rubocop (>= 0.71.0)
|
177
|
-
rubocop-rails (2.
|
176
|
+
rubocop-rails (2.3.2)
|
178
177
|
rack (>= 1.1)
|
179
|
-
rubocop (>= 0.
|
180
|
-
rubocop-rspec (1.
|
181
|
-
rubocop (>= 0.
|
178
|
+
rubocop (>= 0.72.0)
|
179
|
+
rubocop-rspec (1.36.0)
|
180
|
+
rubocop (>= 0.68.1)
|
182
181
|
ruby-progressbar (1.10.1)
|
183
182
|
safe_yaml (1.0.4)
|
184
183
|
sham_rack (1.4.0)
|
@@ -196,7 +195,7 @@ GEM
|
|
196
195
|
sprockets (>= 3.0.0)
|
197
196
|
sqlite3 (1.3.13)
|
198
197
|
sysexits (1.2.0)
|
199
|
-
temple (0.8.
|
198
|
+
temple (0.8.2)
|
200
199
|
thin (1.7.0)
|
201
200
|
daemons (~> 1.0, >= 1.0.9)
|
202
201
|
eventmachine (~> 1.0, >= 1.0.4)
|
@@ -233,4 +232,4 @@ DEPENDENCIES
|
|
233
232
|
yard
|
234
233
|
|
235
234
|
BUNDLED WITH
|
236
|
-
1.
|
235
|
+
1.17.2
|
@@ -13,7 +13,13 @@ module CopyTunerClient
|
|
13
13
|
ActionView::Helpers::TranslationHelper.class_eval do
|
14
14
|
def translate_with_copyray_comment(key, options = {})
|
15
15
|
source = translate_without_copyray_comment(key, options)
|
16
|
-
|
16
|
+
# TODO: 0.6.0以降で options[:rescue_format] == text を消す
|
17
|
+
if CopyTunerClient.configuration.disable_copyray_comment_injection || options[:rescue_format] == :text
|
18
|
+
if options[:rescue_format] == :text
|
19
|
+
ActiveSupport::Deprecation.warn('rescue_format option is deprecated in copy_tuner_client@0.6.0')
|
20
|
+
end
|
21
|
+
source
|
22
|
+
else
|
17
23
|
separator = options[:separator] || I18n.default_separator
|
18
24
|
scope = options[:scope]
|
19
25
|
normalized_key =
|
@@ -23,8 +29,6 @@ module CopyTunerClient
|
|
23
29
|
I18n.normalize_keys(nil, key, scope, separator).join(separator)
|
24
30
|
end
|
25
31
|
CopyTunerClient::Copyray.augment_template(source, normalized_key)
|
26
|
-
else
|
27
|
-
source
|
28
32
|
end
|
29
33
|
end
|
30
34
|
if CopyTunerClient.configuration.enable_middleware?
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SonicGarden
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -309,8 +309,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
309
309
|
- !ruby/object:Gem::Version
|
310
310
|
version: '0'
|
311
311
|
requirements: []
|
312
|
-
|
313
|
-
rubygems_version: 2.6.14.4
|
312
|
+
rubygems_version: 3.0.3
|
314
313
|
signing_key:
|
315
314
|
specification_version: 4
|
316
315
|
summary: Client for the CopyTuner copy management service
|