copy_tuner_client 0.5.2 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c72f170af0093637a763c2e02771cfd584d2c522
4
- data.tar.gz: c4ef0334c658f6c16798467505f7dc73ce0447ea
2
+ SHA256:
3
+ metadata.gz: 8c290a8152b613cff2f7a6eb7a1a4c38aad8efd00abe18ab02dd4d6948f0ba9d
4
+ data.tar.gz: 49be3afdfe9251f4b5b4dfa76017986d93853e1dcddda846b26a5f7896be3836
5
5
  SHA512:
6
- metadata.gz: 04645e2ca212fba15311d766e203770e915aeadd19b44d47ddf1828928c94d5a5d4eed5ebf50c40ed1c0590774ff521154ff4b2f55e2e22dd3ea825208ea750a
7
- data.tar.gz: 8fc97dc1dea41024746490e8bd6e07edd6ec876ee89c79d732c5aa74fa5a99ec0c2c25d011487a9cf10aec1830a91dc5b0c9624c2744c37f039189dc67eed3f8
6
+ metadata.gz: 2abb1b21480ba86e3cc600457b173efebcadfe882c2c4d4002554212ee69f045e6a5e02ca25a2bf2a4af34eaa190f4c64e6f33559522511511e368c2c7e9ee1a
7
+ data.tar.gz: 96cdf62ad947ecf93f1f7adee3f66773b95c37b4ba5e5bcc83e00e974a4499941b5f68f3d49a9a96505e0ccd9fdd0a7d3fa6d602f8075fc074ad3fa1969d4372
@@ -1 +1 @@
1
- 2.4.6
1
+ 2.6.5
data/Gemfile CHANGED
@@ -2,4 +2,4 @@ source 'http://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'sgcop', github: 'SonicGarden/sgcop'
5
+ gem 'sgcop', git: 'git://github.com/SonicGarden/sgcop.git'
@@ -1,20 +1,20 @@
1
1
  GIT
2
2
  remote: git://github.com/SonicGarden/sgcop.git
3
- revision: 7ba086cff0068d231f55f5be788b757383d3ccba
3
+ revision: e2d584a7278a45b4f43d31fd9331b718f36b018e
4
4
  specs:
5
- sgcop (0.0.29)
5
+ sgcop (0.0.32)
6
6
  brakeman
7
7
  brakeman_translate_checkstyle_format
8
- haml_lint (~> 0.32.0)
9
- rubocop (~> 0.71.0)
10
- rubocop-performance (~> 1.4.0)
11
- rubocop-rails (~> 2.0.1)
12
- rubocop-rspec (~> 1.33.0)
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.2)
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.5.1)
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.1)
94
+ haml (5.1.2)
95
95
  temple (>= 0.8.0)
96
96
  tilt
97
- haml_lint (0.32.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.3)
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.17.0)
121
- parser (2.6.3.0)
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.71.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.4.0)
174
+ rubocop-performance (1.5.0)
176
175
  rubocop (>= 0.71.0)
177
- rubocop-rails (2.0.1)
176
+ rubocop-rails (2.3.2)
178
177
  rack (>= 1.1)
179
- rubocop (>= 0.70.0)
180
- rubocop-rspec (1.33.0)
181
- rubocop (>= 0.60.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.1)
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.16.3
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
- if !CopyTunerClient.configuration.disable_copyray_comment_injection && (options[:rescue_format] == :html || options[:rescue_format].nil?)
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?
@@ -1,6 +1,6 @@
1
1
  module CopyTunerClient
2
2
  # Client version
3
- VERSION = '0.5.2'.freeze
3
+ VERSION = '0.5.3'.freeze
4
4
 
5
5
  # API version being used to communicate with the server
6
6
  API_VERSION = '2.0'.freeze
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.2
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-08-05 00:00:00.000000000 Z
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
- rubyforge_project:
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