copy_tuner_client 0.5.1 → 0.7.0
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 +5 -5
- data/.github/workflows/rspec.yml +53 -0
- data/.rubocop.yml +2 -0
- data/.ruby-version +1 -1
- data/CHANGELOG.md +21 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +183 -135
- data/Rakefile +4 -14
- data/copy_tuner_client.gemspec +3 -6
- data/gemfiles/5.2.gemfile +1 -1
- data/gemfiles/{5.0.gemfile → 6.0.gemfile} +1 -1
- data/lib/copy_tuner_client/cache.rb +15 -13
- data/lib/copy_tuner_client/configuration.rb +10 -2
- data/lib/copy_tuner_client/engine.rb +7 -3
- data/lib/copy_tuner_client/translation_log.rb +3 -4
- data/lib/copy_tuner_client/version.rb +1 -1
- data/lib/tasks/copy_tuner_client_tasks.rake +4 -4
- data/spec/copy_tuner_client/cache_spec.rb +43 -35
- data/spec/copy_tuner_client/client_spec.rb +3 -1
- data/spec/copy_tuner_client/copyray_spec.rb +2 -0
- data/spec/copy_tuner_client/i18n_backend_spec.rb +1 -0
- data/spec/copy_tuner_client/process_guard_spec.rb +2 -1
- metadata +13 -68
- data/.travis.yml +0 -19
- data/Appraisals +0 -11
- data/features/rails.feature +0 -284
- data/features/step_definitions/copycopter_server_steps.rb +0 -64
- data/features/step_definitions/rails_steps.rb +0 -187
- data/features/support/env.rb +0 -11
- data/features/support/rails_server.rb +0 -150
- data/gemfiles/5.1.gemfile +0 -7
- data/init.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1d873dcd3c1fc5d4319ea4185a8da8bc575709fd7622676e1a25d877a21ed9f5
|
4
|
+
data.tar.gz: 217af205a8c76d202ed91a84ad34021d6cc2b42191f13a41dcd4421df6b3e2ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 135e569c847621296af1e7d03db22a68631fb1ef928b61547c915f9ec94734647659b3b8a6bc26c6a120b93713e48939da3832697fb35a8cb207fb346c7831bf
|
7
|
+
data.tar.gz: c56ad0f710be1a534cbdc1966277679c005abd43ed82b28d5b31205e1376a6b99c2b1e86186e04273c6c1df79fbad1cb2ca7141d4c8547ec5e9bc713f3213f26
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
2
|
+
# They are provided by a third-party and are governed by
|
3
|
+
# separate terms of service, privacy policy, and support
|
4
|
+
# documentation.
|
5
|
+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
6
|
+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
7
|
+
|
8
|
+
name: Ruby
|
9
|
+
|
10
|
+
on:
|
11
|
+
push:
|
12
|
+
branches: [ master ]
|
13
|
+
pull_request:
|
14
|
+
|
15
|
+
jobs:
|
16
|
+
rspec:
|
17
|
+
runs-on: ubuntu-latest
|
18
|
+
env:
|
19
|
+
BUNDLE_JOBS: 4
|
20
|
+
BUNDLE_RETRY: 3
|
21
|
+
strategy:
|
22
|
+
fail-fast: false
|
23
|
+
matrix:
|
24
|
+
ruby: [2.6, 2.7]
|
25
|
+
gemfile: [
|
26
|
+
"gemfiles/5.2.gemfile",
|
27
|
+
"gemfiles/6.0.gemfile",
|
28
|
+
]
|
29
|
+
steps:
|
30
|
+
- name: Install packages
|
31
|
+
run: |
|
32
|
+
sudo apt update -y
|
33
|
+
sudo apt install -y libsqlite3-dev
|
34
|
+
- uses: actions/checkout@v2
|
35
|
+
- uses: actions/cache@v1
|
36
|
+
with:
|
37
|
+
path: /home/runner/bundle
|
38
|
+
key: bundle-${{ matrix.ruby }}-${{ matrix.gemfile }}-${{ hashFiles(matrix.gemfile) }}-${{ hashFiles('**/*.gemspec') }}
|
39
|
+
restore-keys: |
|
40
|
+
bundle-${{ matrix.ruby }}-${{ matrix.gemfile }}-
|
41
|
+
- name: Set up Ruby
|
42
|
+
uses: ruby/setup-ruby@v1
|
43
|
+
with:
|
44
|
+
ruby-version: ${{ matrix.ruby }}
|
45
|
+
- name: Install dependencies
|
46
|
+
run: |
|
47
|
+
bundle config path /home/runner/bundle
|
48
|
+
bundle config --global gemfile ${{ matrix.gemfile }}
|
49
|
+
bundle install
|
50
|
+
bundle update
|
51
|
+
bundle clean
|
52
|
+
- name: Run rspec
|
53
|
+
run: bundle exec rspec
|
data/.rubocop.yml
ADDED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.7.1
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,24 @@
|
|
1
|
+
## 0.7.0
|
2
|
+
|
3
|
+
- Add config.upload_disabled_environments
|
4
|
+
|
5
|
+
## 0.6.2
|
6
|
+
|
7
|
+
- Add arguments to export task
|
8
|
+
|
9
|
+
## 0.6.1
|
10
|
+
|
11
|
+
- Fix ruby@2.7 keyword warning
|
12
|
+
|
13
|
+
## 0.6.0
|
14
|
+
|
15
|
+
- Drop support for ruby 2.4
|
16
|
+
- Drop support for rails 5.1
|
17
|
+
|
18
|
+
## 0.5.2
|
19
|
+
|
20
|
+
- Do not upload invalid keys
|
21
|
+
|
1
22
|
## 0.5.1
|
2
23
|
|
3
24
|
- Do not upload downloaded keys
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,180 +1,228 @@
|
|
1
|
+
GIT
|
2
|
+
remote: git://github.com/SonicGarden/sgcop.git
|
3
|
+
revision: cbe7f18b9e81e9e3cda2e4bc5f64735fa014dc9b
|
4
|
+
specs:
|
5
|
+
sgcop (0.0.36)
|
6
|
+
brakeman
|
7
|
+
brakeman_translate_checkstyle_format
|
8
|
+
haml_lint (~> 0.34.0)
|
9
|
+
rubocop (~> 0.81.0)
|
10
|
+
rubocop-performance (~> 1.5.2)
|
11
|
+
rubocop-rails (~> 2.5.2)
|
12
|
+
rubocop-rspec (~> 1.38.1)
|
13
|
+
|
1
14
|
PATH
|
2
15
|
remote: .
|
3
16
|
specs:
|
4
|
-
copy_tuner_client (0.
|
17
|
+
copy_tuner_client (0.7.0)
|
5
18
|
i18n (>= 0.5.0)
|
6
19
|
json
|
7
20
|
|
8
21
|
GEM
|
9
22
|
remote: http://rubygems.org/
|
10
23
|
specs:
|
11
|
-
|
12
|
-
actionpack (= 4.2
|
13
|
-
|
14
|
-
|
24
|
+
actioncable (5.2.4.2)
|
25
|
+
actionpack (= 5.2.4.2)
|
26
|
+
nio4r (~> 2.0)
|
27
|
+
websocket-driver (>= 0.6.1)
|
28
|
+
actionmailer (5.2.4.2)
|
29
|
+
actionpack (= 5.2.4.2)
|
30
|
+
actionview (= 5.2.4.2)
|
31
|
+
activejob (= 5.2.4.2)
|
15
32
|
mail (~> 2.5, >= 2.5.4)
|
16
|
-
rails-dom-testing (~>
|
17
|
-
actionpack (4.2
|
18
|
-
actionview (= 4.2
|
19
|
-
activesupport (= 4.2
|
20
|
-
rack (~>
|
21
|
-
rack-test (
|
22
|
-
rails-dom-testing (~>
|
33
|
+
rails-dom-testing (~> 2.0)
|
34
|
+
actionpack (5.2.4.2)
|
35
|
+
actionview (= 5.2.4.2)
|
36
|
+
activesupport (= 5.2.4.2)
|
37
|
+
rack (~> 2.0, >= 2.0.8)
|
38
|
+
rack-test (>= 0.6.3)
|
39
|
+
rails-dom-testing (~> 2.0)
|
23
40
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
24
|
-
actionview (4.2
|
25
|
-
activesupport (= 4.2
|
41
|
+
actionview (5.2.4.2)
|
42
|
+
activesupport (= 5.2.4.2)
|
26
43
|
builder (~> 3.1)
|
27
|
-
|
28
|
-
rails-dom-testing (~>
|
44
|
+
erubi (~> 1.4)
|
45
|
+
rails-dom-testing (~> 2.0)
|
29
46
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
30
|
-
activejob (4.2
|
31
|
-
activesupport (= 4.2
|
32
|
-
globalid (>= 0.3.
|
33
|
-
activemodel (4.2
|
34
|
-
activesupport (= 4.2
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
47
|
+
activejob (5.2.4.2)
|
48
|
+
activesupport (= 5.2.4.2)
|
49
|
+
globalid (>= 0.3.6)
|
50
|
+
activemodel (5.2.4.2)
|
51
|
+
activesupport (= 5.2.4.2)
|
52
|
+
activerecord (5.2.4.2)
|
53
|
+
activemodel (= 5.2.4.2)
|
54
|
+
activesupport (= 5.2.4.2)
|
55
|
+
arel (>= 9.0)
|
56
|
+
activestorage (5.2.4.2)
|
57
|
+
actionpack (= 5.2.4.2)
|
58
|
+
activerecord (= 5.2.4.2)
|
59
|
+
marcel (~> 0.3.1)
|
60
|
+
activesupport (5.2.4.2)
|
61
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
62
|
+
i18n (>= 0.7, < 2)
|
42
63
|
minitest (~> 5.1)
|
43
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
44
64
|
tzinfo (~> 1.1)
|
45
|
-
addressable (2.
|
46
|
-
public_suffix (
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
cucumber (>= 1.1.1)
|
55
|
-
rspec-expectations (>= 2.7.0)
|
56
|
-
builder (3.2.3)
|
57
|
-
childprocess (0.6.3)
|
58
|
-
ffi (~> 1.0, >= 1.0.11)
|
59
|
-
concurrent-ruby (1.0.5)
|
65
|
+
addressable (2.7.0)
|
66
|
+
public_suffix (>= 2.0.2, < 5.0)
|
67
|
+
arel (9.0.0)
|
68
|
+
ast (2.4.0)
|
69
|
+
brakeman (4.8.1)
|
70
|
+
brakeman_translate_checkstyle_format (0.0.1)
|
71
|
+
thor
|
72
|
+
builder (3.2.4)
|
73
|
+
concurrent-ruby (1.1.6)
|
60
74
|
crack (0.4.3)
|
61
75
|
safe_yaml (~> 1.0.0)
|
62
|
-
|
63
|
-
|
64
|
-
diff-lcs (>= 1.1.3)
|
65
|
-
gherkin (~> 2.12)
|
66
|
-
multi_json (>= 1.7.5, < 2.0)
|
67
|
-
multi_test (>= 0.1.2)
|
68
|
-
daemons (1.2.4)
|
76
|
+
crass (1.0.6)
|
77
|
+
daemons (1.3.1)
|
69
78
|
diff-lcs (1.3)
|
70
|
-
|
71
|
-
eventmachine (1.2.
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
79
|
+
erubi (1.9.0)
|
80
|
+
eventmachine (1.2.7)
|
81
|
+
globalid (0.4.2)
|
82
|
+
activesupport (>= 4.2.0)
|
83
|
+
haml (5.1.2)
|
84
|
+
temple (>= 0.8.0)
|
85
|
+
tilt
|
86
|
+
haml_lint (0.34.2)
|
87
|
+
haml (>= 4.0, < 5.2)
|
88
|
+
rainbow
|
89
|
+
rubocop (>= 0.50.0)
|
90
|
+
sysexits (~> 1.1)
|
91
|
+
hashdiff (1.0.1)
|
92
|
+
i18n (1.8.2)
|
93
|
+
concurrent-ruby (~> 1.0)
|
94
|
+
jaro_winkler (1.5.4)
|
95
|
+
json (2.5.1)
|
96
|
+
loofah (2.5.0)
|
97
|
+
crass (~> 1.0.2)
|
81
98
|
nokogiri (>= 1.5.9)
|
82
|
-
mail (2.
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
99
|
+
mail (2.7.1)
|
100
|
+
mini_mime (>= 0.1.1)
|
101
|
+
marcel (0.3.3)
|
102
|
+
mimemagic (~> 0.3.2)
|
103
|
+
method_source (1.0.0)
|
104
|
+
mimemagic (0.3.4)
|
105
|
+
mini_mime (1.0.2)
|
106
|
+
mini_portile2 (2.4.0)
|
107
|
+
minitest (5.14.0)
|
108
|
+
mustermann (1.1.1)
|
109
|
+
ruby2_keywords (~> 0.0.1)
|
110
|
+
nio4r (2.5.2)
|
111
|
+
nokogiri (1.10.9)
|
112
|
+
mini_portile2 (~> 2.4.0)
|
113
|
+
parallel (1.19.1)
|
114
|
+
parser (2.7.1.2)
|
115
|
+
ast (~> 2.4.0)
|
116
|
+
public_suffix (4.0.4)
|
117
|
+
rack (2.2.2)
|
118
|
+
rack-protection (2.0.8.1)
|
96
119
|
rack
|
97
|
-
rack-test (
|
98
|
-
rack (>= 1.0)
|
99
|
-
rails (4.2
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
rails-dom-testing (
|
113
|
-
activesupport (>= 4.2.0
|
114
|
-
nokogiri (
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
120
|
+
rack-test (1.1.0)
|
121
|
+
rack (>= 1.0, < 3)
|
122
|
+
rails (5.2.4.2)
|
123
|
+
actioncable (= 5.2.4.2)
|
124
|
+
actionmailer (= 5.2.4.2)
|
125
|
+
actionpack (= 5.2.4.2)
|
126
|
+
actionview (= 5.2.4.2)
|
127
|
+
activejob (= 5.2.4.2)
|
128
|
+
activemodel (= 5.2.4.2)
|
129
|
+
activerecord (= 5.2.4.2)
|
130
|
+
activestorage (= 5.2.4.2)
|
131
|
+
activesupport (= 5.2.4.2)
|
132
|
+
bundler (>= 1.3.0)
|
133
|
+
railties (= 5.2.4.2)
|
134
|
+
sprockets-rails (>= 2.0.0)
|
135
|
+
rails-dom-testing (2.0.3)
|
136
|
+
activesupport (>= 4.2.0)
|
137
|
+
nokogiri (>= 1.6)
|
138
|
+
rails-html-sanitizer (1.3.0)
|
139
|
+
loofah (~> 2.3)
|
140
|
+
railties (5.2.4.2)
|
141
|
+
actionpack (= 5.2.4.2)
|
142
|
+
activesupport (= 5.2.4.2)
|
143
|
+
method_source
|
121
144
|
rake (>= 0.8.7)
|
122
|
-
thor (>= 0.
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
rspec-
|
128
|
-
|
129
|
-
rspec-
|
130
|
-
rspec-
|
145
|
+
thor (>= 0.19.0, < 2.0)
|
146
|
+
rainbow (3.0.0)
|
147
|
+
rake (13.0.1)
|
148
|
+
rexml (3.2.4)
|
149
|
+
rspec (3.8.0)
|
150
|
+
rspec-core (~> 3.8.0)
|
151
|
+
rspec-expectations (~> 3.8.0)
|
152
|
+
rspec-mocks (~> 3.8.0)
|
153
|
+
rspec-core (3.8.2)
|
154
|
+
rspec-support (~> 3.8.0)
|
155
|
+
rspec-expectations (3.8.6)
|
131
156
|
diff-lcs (>= 1.2.0, < 2.0)
|
132
|
-
rspec-support (~> 3.
|
133
|
-
rspec-mocks (3.
|
157
|
+
rspec-support (~> 3.8.0)
|
158
|
+
rspec-mocks (3.8.2)
|
134
159
|
diff-lcs (>= 1.2.0, < 2.0)
|
135
|
-
rspec-support (~> 3.
|
136
|
-
rspec-support (3.
|
137
|
-
|
138
|
-
|
160
|
+
rspec-support (~> 3.8.0)
|
161
|
+
rspec-support (3.8.3)
|
162
|
+
rubocop (0.81.0)
|
163
|
+
jaro_winkler (~> 1.5.1)
|
164
|
+
parallel (~> 1.10)
|
165
|
+
parser (>= 2.7.0.1)
|
166
|
+
rainbow (>= 2.2.2, < 4.0)
|
167
|
+
rexml
|
168
|
+
ruby-progressbar (~> 1.7)
|
169
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
170
|
+
rubocop-performance (1.5.2)
|
171
|
+
rubocop (>= 0.71.0)
|
172
|
+
rubocop-rails (2.5.2)
|
173
|
+
activesupport
|
174
|
+
rack (>= 1.1)
|
175
|
+
rubocop (>= 0.72.0)
|
176
|
+
rubocop-rspec (1.38.1)
|
177
|
+
rubocop (>= 0.68.1)
|
178
|
+
ruby-progressbar (1.10.1)
|
179
|
+
ruby2_keywords (0.0.2)
|
180
|
+
safe_yaml (1.0.5)
|
181
|
+
sham_rack (1.4.1)
|
139
182
|
rack
|
140
|
-
sinatra (
|
141
|
-
|
142
|
-
rack
|
143
|
-
|
144
|
-
|
183
|
+
sinatra (2.0.8.1)
|
184
|
+
mustermann (~> 1.0)
|
185
|
+
rack (~> 2.0)
|
186
|
+
rack-protection (= 2.0.8.1)
|
187
|
+
tilt (~> 2.0)
|
188
|
+
sprockets (4.0.0)
|
145
189
|
concurrent-ruby (~> 1.0)
|
146
190
|
rack (> 1, < 3)
|
147
|
-
sprockets-rails (3.2.
|
191
|
+
sprockets-rails (3.2.1)
|
148
192
|
actionpack (>= 4.0)
|
149
193
|
activesupport (>= 4.0)
|
150
194
|
sprockets (>= 3.0.0)
|
151
|
-
sqlite3 (1.
|
152
|
-
|
195
|
+
sqlite3 (1.4.2)
|
196
|
+
sysexits (1.2.0)
|
197
|
+
temple (0.8.2)
|
198
|
+
thin (1.7.2)
|
153
199
|
daemons (~> 1.0, >= 1.0.9)
|
154
200
|
eventmachine (~> 1.0, >= 1.0.4)
|
155
201
|
rack (>= 1, < 3)
|
156
|
-
thor (0.
|
202
|
+
thor (1.0.1)
|
157
203
|
thread_safe (0.3.6)
|
158
|
-
tilt (2.0.
|
159
|
-
tzinfo (1.2.
|
204
|
+
tilt (2.0.10)
|
205
|
+
tzinfo (1.2.7)
|
160
206
|
thread_safe (~> 0.1)
|
161
|
-
|
207
|
+
unicode-display_width (1.7.0)
|
208
|
+
webmock (3.8.3)
|
162
209
|
addressable (>= 2.3.6)
|
163
210
|
crack (>= 0.3.2)
|
164
|
-
hashdiff
|
165
|
-
|
211
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
212
|
+
websocket-driver (0.7.1)
|
213
|
+
websocket-extensions (>= 0.1.0)
|
214
|
+
websocket-extensions (0.1.4)
|
215
|
+
yard (0.9.24)
|
166
216
|
|
167
217
|
PLATFORMS
|
168
218
|
ruby
|
169
219
|
|
170
220
|
DEPENDENCIES
|
171
|
-
appraisal (~> 2.1)
|
172
|
-
aruba (~> 0.6.0)
|
173
221
|
copy_tuner_client!
|
174
|
-
|
175
|
-
rails (~> 4.2.6)
|
222
|
+
rails (~> 5.2.4.2)
|
176
223
|
rake
|
177
|
-
rspec
|
224
|
+
rspec (= 3.8.0)
|
225
|
+
sgcop!
|
178
226
|
sham_rack
|
179
227
|
sinatra
|
180
228
|
sqlite3
|
@@ -183,4 +231,4 @@ DEPENDENCIES
|
|
183
231
|
yard
|
184
232
|
|
185
233
|
BUNDLED WITH
|
186
|
-
1.
|
234
|
+
2.1.4
|