active_job_log 1.0.0 → 1.1.0

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: bfbf0127bae9efde3b2c7e9ea25b1673a045efed6d6c27ffd9e41b3bf99722c6
4
- data.tar.gz: b5443486b6e699d85b0cf37ac08bebabe58d520660b6fa377fde7065ae063a45
3
+ metadata.gz: 28082b6ea5262edac2ddfb9d2080b0e7043d6d0cea99de7307a8d2d7ba6df8b7
4
+ data.tar.gz: 7542f2e72e62420230294079df0492f8b08c932f07a35de9506c7bc5cf5bb3e0
5
5
  SHA512:
6
- metadata.gz: 9c5dd6c2715bb55d4ce6168da27e801a2ddd70afe1a930a269e577778b6952ef2b5087d173ac4dd648a30db062164af99d99c5331904a85c4b59caedba3555ae
7
- data.tar.gz: 5419a4c87f8b82b5cdf3928009d265aa84c69852a00dc2cbe5fd21b75f27fa348428ee7a8ffb2c4f153482b2afa44fc917dc016ef2690de6e831e7dde12a342a
6
+ metadata.gz: 6a7c05fc566e48b811871bc5ebea03112b7eaf150abfcfb098b345a7cbc0aca62008aebda9121204e1a1e557ede35760b0dc6dc1ccd854f7e007496e54a69f5a
7
+ data.tar.gz: 850e6dcd3640ef12bbdbd954901776a865b001b8096483cdc52064149bdf3a023f4a4123f5cb45581d037aeeef49e1b4d26821d5cd2e0a76f411c5ce3bd5a64b
@@ -5,6 +5,7 @@ rvm:
5
5
  script:
6
6
  - RAILS_ENV=test bundle exec rake db:create db:migrate
7
7
  - bundle exec rspec spec
8
+ before_install: gem install bundler -v 1.16.3
8
9
  deploy:
9
10
  provider: rubygems
10
11
  api_key:
@@ -2,6 +2,12 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ### v1.1.0
6
+
7
+ #### Changed
8
+
9
+ * Use update instead of deprecated update_attributes.
10
+
5
11
  ### v1.0.0
6
12
 
7
13
  #### Changed
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_job_log (1.0.0)
4
+ active_job_log (1.1.0)
5
5
  enumerize (>= 1.0)
6
6
  rails (>= 4.2.0)
7
7
 
@@ -62,7 +62,7 @@ GEM
62
62
  crass (1.0.4)
63
63
  diff-lcs (1.3)
64
64
  docile (1.1.5)
65
- enumerize (2.2.2)
65
+ enumerize (2.4.0)
66
66
  activesupport (>= 3.2)
67
67
  erubi (1.7.1)
68
68
  factory_bot (4.8.2)
@@ -70,51 +70,26 @@ GEM
70
70
  factory_bot_rails (4.8.2)
71
71
  factory_bot (~> 4.8.2)
72
72
  railties (>= 3.0.0)
73
- ffi (1.9.23)
74
- formatador (0.2.5)
75
- globalid (0.4.1)
73
+ globalid (0.4.2)
76
74
  activesupport (>= 4.2.0)
77
- guard (2.14.2)
78
- formatador (>= 0.2.4)
79
- listen (>= 2.7, < 4.0)
80
- lumberjack (>= 1.0.12, < 2.0)
81
- nenv (~> 0.1)
82
- notiffany (~> 0.0)
83
- pry (>= 0.9.12)
84
- shellany (~> 0.0)
85
- thor (>= 0.18.1)
86
- guard-compat (1.2.1)
87
- guard-rspec (4.7.3)
88
- guard (~> 2.1)
89
- guard-compat (~> 1.1)
90
- rspec (>= 2.99.0, < 4.0)
91
75
  i18n (1.0.1)
92
76
  concurrent-ruby (~> 1.0)
93
77
  json (2.1.0)
94
- listen (3.1.5)
95
- rb-fsevent (~> 0.9, >= 0.9.4)
96
- rb-inotify (~> 0.9, >= 0.9.7)
97
- ruby_dep (~> 1.2)
98
78
  loofah (2.2.2)
99
79
  crass (~> 1.0.2)
100
80
  nokogiri (>= 1.5.9)
101
- lumberjack (1.0.13)
102
81
  mail (2.7.1)
103
82
  mini_mime (>= 0.1.1)
104
83
  marcel (0.3.3)
105
84
  mimemagic (~> 0.3.2)
106
85
  method_source (0.9.0)
107
- mimemagic (0.3.2)
108
- mini_mime (1.0.1)
86
+ mimemagic (0.3.5)
87
+ mini_mime (1.0.2)
109
88
  mini_portile2 (2.3.0)
110
89
  minitest (5.11.3)
111
- nenv (0.3.0)
112
- nio4r (2.3.1)
90
+ nio4r (2.5.2)
113
91
  nokogiri (1.8.2)
114
92
  mini_portile2 (~> 2.3.0)
115
- notiffany (0.1.1)
116
- nenv (~> 0.1)
117
- shellany (~> 0.0)
118
93
  pry (0.11.3)
119
94
  coderay (~> 1.1.0)
120
95
  method_source (~> 0.9.0)
@@ -148,13 +123,6 @@ GEM
148
123
  rake (>= 0.8.7)
149
124
  thor (>= 0.18.1, < 2.0)
150
125
  rake (12.3.1)
151
- rb-fsevent (0.10.3)
152
- rb-inotify (0.9.10)
153
- ffi (>= 0.5.0, < 2)
154
- rspec (3.7.0)
155
- rspec-core (~> 3.7.0)
156
- rspec-expectations (~> 3.7.0)
157
- rspec-mocks (~> 3.7.0)
158
126
  rspec-core (3.7.1)
159
127
  rspec-support (~> 3.7.0)
160
128
  rspec-expectations (3.7.0)
@@ -172,8 +140,6 @@ GEM
172
140
  rspec-mocks (~> 3.7.0)
173
141
  rspec-support (~> 3.7.0)
174
142
  rspec-support (3.7.1)
175
- ruby_dep (1.5.0)
176
- shellany (0.0.1)
177
143
  simplecov (0.14.1)
178
144
  docile (~> 1.1.0)
179
145
  json (>= 1.8, < 3)
@@ -182,7 +148,7 @@ GEM
182
148
  sprockets (3.7.2)
183
149
  concurrent-ruby (~> 1.0)
184
150
  rack (> 1, < 3)
185
- sprockets-rails (3.2.1)
151
+ sprockets-rails (3.2.2)
186
152
  actionpack (>= 4.0)
187
153
  activesupport (>= 4.0)
188
154
  sprockets (>= 3.0.0)
@@ -194,9 +160,9 @@ GEM
194
160
  tins (1.16.3)
195
161
  tzinfo (1.2.5)
196
162
  thread_safe (~> 0.1)
197
- websocket-driver (0.7.0)
163
+ websocket-driver (0.7.3)
198
164
  websocket-extensions (>= 0.1.0)
199
- websocket-extensions (0.1.3)
165
+ websocket-extensions (0.1.5)
200
166
 
201
167
  PLATFORMS
202
168
  ruby
@@ -205,11 +171,10 @@ DEPENDENCIES
205
171
  active_job_log!
206
172
  coveralls
207
173
  factory_bot_rails
208
- guard-rspec
209
174
  pry
210
175
  pry-rails
211
176
  rspec-rails
212
177
  sqlite3
213
178
 
214
179
  BUNDLED WITH
215
- 1.16.3
180
+ 2.1.4
@@ -26,7 +26,6 @@ Gem::Specification.new do |s|
26
26
  s.add_development_dependency "pry-rails"
27
27
  s.add_development_dependency "sqlite3"
28
28
  s.add_development_dependency "rspec-rails"
29
- s.add_development_dependency "guard-rspec"
30
29
  s.add_development_dependency "factory_bot_rails"
31
30
  s.add_development_dependency "coveralls"
32
31
  end
@@ -39,7 +39,7 @@ module ActiveJobLog
39
39
  def update_job!(job_id, status, params = {})
40
40
  params.merge!(status_to_params(status))
41
41
  job = find_or_create_job(job_id)
42
- job.update_attributes!(params)
42
+ job.update!(params)
43
43
  job
44
44
  end
45
45
 
@@ -1,3 +1,3 @@
1
1
  module ActiveJobLog
2
- VERSION = '1.0.0'
2
+ VERSION = '1.1.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_job_log
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platanus
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-11-19 00:00:00.000000000 Z
12
+ date: 2021-01-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -95,20 +95,6 @@ dependencies:
95
95
  - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
- - !ruby/object:Gem::Dependency
99
- name: guard-rspec
100
- requirement: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - ">="
103
- - !ruby/object:Gem::Version
104
- version: '0'
105
- type: :development
106
- prerelease: false
107
- version_requirements: !ruby/object:Gem::Requirement
108
- requirements:
109
- - - ">="
110
- - !ruby/object:Gem::Version
111
- version: '0'
112
98
  - !ruby/object:Gem::Dependency
113
99
  name: factory_bot_rails
114
100
  requirement: !ruby/object:Gem::Requirement
@@ -263,69 +249,68 @@ required_rubygems_version: !ruby/object:Gem::Requirement
263
249
  - !ruby/object:Gem::Version
264
250
  version: '0'
265
251
  requirements: []
266
- rubyforge_project:
267
- rubygems_version: 2.7.8
252
+ rubygems_version: 3.0.8
268
253
  signing_key:
269
254
  specification_version: 4
270
255
  summary: Rails engine to keep jobs history
271
256
  test_files:
272
- - spec/dummy/Rakefile
273
- - spec/dummy/app/assets/config/manifest.js
257
+ - spec/spec_helper.rb
258
+ - spec/dummy/app/mailers/application_mailer.rb
259
+ - spec/dummy/app/channels/application_cable/connection.rb
260
+ - spec/dummy/app/channels/application_cable/channel.rb
261
+ - spec/dummy/app/views/layouts/application.html.erb
262
+ - spec/dummy/app/views/layouts/mailer.text.erb
263
+ - spec/dummy/app/views/layouts/mailer.html.erb
264
+ - spec/dummy/app/jobs/application_job.rb
265
+ - spec/dummy/app/models/application_record.rb
266
+ - spec/dummy/app/models/active_job_log/job.rb
267
+ - spec/dummy/app/helpers/application_helper.rb
274
268
  - spec/dummy/app/assets/javascripts/application.js
275
269
  - spec/dummy/app/assets/javascripts/cable.js
276
270
  - spec/dummy/app/assets/stylesheets/application.css
277
- - spec/dummy/app/channels/application_cable/channel.rb
278
- - spec/dummy/app/channels/application_cable/connection.rb
271
+ - spec/dummy/app/assets/config/manifest.js
279
272
  - spec/dummy/app/controllers/application_controller.rb
280
- - spec/dummy/app/helpers/application_helper.rb
281
- - spec/dummy/app/jobs/application_job.rb
282
- - spec/dummy/app/mailers/application_mailer.rb
283
- - spec/dummy/app/models/active_job_log/job.rb
284
- - spec/dummy/app/models/application_record.rb
285
- - spec/dummy/app/views/layouts/application.html.erb
286
- - spec/dummy/app/views/layouts/mailer.html.erb
287
- - spec/dummy/app/views/layouts/mailer.text.erb
273
+ - spec/dummy/Rakefile
274
+ - spec/dummy/bin/yarn
275
+ - spec/dummy/bin/update
276
+ - spec/dummy/bin/rake
288
277
  - spec/dummy/bin/bundle
289
278
  - spec/dummy/bin/rails
290
- - spec/dummy/bin/rake
291
279
  - spec/dummy/bin/setup
292
- - spec/dummy/bin/update
293
- - spec/dummy/bin/yarn
280
+ - spec/dummy/spec/support/test_helpers.rb
281
+ - spec/dummy/spec/assets/image.png
282
+ - spec/dummy/spec/assets/video.mp4
283
+ - spec/dummy/public/404.html
284
+ - spec/dummy/public/500.html
285
+ - spec/dummy/public/apple-touch-icon-precomposed.png
286
+ - spec/dummy/public/422.html
287
+ - spec/dummy/public/apple-touch-icon.png
288
+ - spec/dummy/public/favicon.ico
294
289
  - spec/dummy/config.ru
290
+ - spec/dummy/db/schema.rb
291
+ - spec/dummy/config/routes.rb
292
+ - spec/dummy/config/environment.rb
293
+ - spec/dummy/config/spring.rb
294
+ - spec/dummy/config/cable.yml
295
+ - spec/dummy/config/secrets.yml
295
296
  - spec/dummy/config/application.rb
296
297
  - spec/dummy/config/boot.rb
297
- - spec/dummy/config/cable.yml
298
- - spec/dummy/config/database.yml
299
- - spec/dummy/config/environment.rb
298
+ - spec/dummy/config/environments/test.rb
300
299
  - spec/dummy/config/environments/development.rb
301
300
  - spec/dummy/config/environments/production.rb
302
- - spec/dummy/config/environments/test.rb
303
- - spec/dummy/config/initializers/application_controller_renderer.rb
304
- - spec/dummy/config/initializers/assets.rb
305
- - spec/dummy/config/initializers/backtrace_silencers.rb
306
- - spec/dummy/config/initializers/cookies_serializer.rb
307
- - spec/dummy/config/initializers/filter_parameter_logging.rb
308
- - spec/dummy/config/initializers/inflections.rb
309
- - spec/dummy/config/initializers/mime_types.rb
310
- - spec/dummy/config/initializers/wrap_parameters.rb
311
301
  - spec/dummy/config/locales/en.yml
312
302
  - spec/dummy/config/puma.rb
313
- - spec/dummy/config/routes.rb
314
- - spec/dummy/config/secrets.yml
315
- - spec/dummy/config/spring.rb
316
- - spec/dummy/db/schema.rb
303
+ - spec/dummy/config/initializers/wrap_parameters.rb
304
+ - spec/dummy/config/initializers/mime_types.rb
305
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
306
+ - spec/dummy/config/initializers/assets.rb
307
+ - spec/dummy/config/initializers/application_controller_renderer.rb
308
+ - spec/dummy/config/initializers/inflections.rb
309
+ - spec/dummy/config/initializers/cookies_serializer.rb
310
+ - spec/dummy/config/initializers/backtrace_silencers.rb
311
+ - spec/dummy/config/database.yml
317
312
  - spec/dummy/package.json
318
- - spec/dummy/public/404.html
319
- - spec/dummy/public/422.html
320
- - spec/dummy/public/500.html
321
- - spec/dummy/public/apple-touch-icon-precomposed.png
322
- - spec/dummy/public/apple-touch-icon.png
323
- - spec/dummy/public/favicon.ico
324
- - spec/dummy/spec/assets/image.png
325
- - spec/dummy/spec/assets/video.mp4
326
- - spec/dummy/spec/support/test_helpers.rb
327
- - spec/factories/active_job_log_jobs.rb
328
313
  - spec/lib/active_job_log/log_ext_spec.rb
329
314
  - spec/models/active_job_log/job_spec.rb
315
+ - spec/factories/active_job_log_jobs.rb
330
316
  - spec/rails_helper.rb
331
- - spec/spec_helper.rb