paul_bunyan 1.6.0 → 2.0.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: 733bf0c476cf961dcccd7d662b8a9676eab037a3e75cdd6ce078c13079f490ee
4
- data.tar.gz: 66c62fcc45b6f1c944a4cd567e248523d8ac37dd9fb0b733344bfb2299538a6e
3
+ metadata.gz: 99a1d7f5e1bca7051329fba1b48a4b948bec14fc627d67104628eb8518b030c9
4
+ data.tar.gz: 1baa56a528d8e90f60160241d1fc2201d3d9e9fe047ad089afbbee915ca16902
5
5
  SHA512:
6
- metadata.gz: a89471e33536f06b7f950cf5632e938261807a1f456019285f4e24bb5ef38e52c95d864126082244e5dd862ead583364fba9529c0eb765e732e70426d7827dd9
7
- data.tar.gz: 248a005d21714b311ef81929a1c794875c9994d2c4bea7edfb1cf45b3d80e7db6c84dd878e417f7e9acaba9d8c3de01672e083c83431fd0601dd5fb1d5c81f6a
6
+ metadata.gz: 9f42e5e066c935ee873ffd6ebdd1219987d62df649c99b6183492eb18bfaece06350260f33599ee3011b2c944b7186e0bc46bd357139224b0874ed83f8d9c2ac
7
+ data.tar.gz: 478483be7bd4535bc0e8a88e26e51cea389e60361b16d89db092109e8c97956684226a02f66e3889854c31561352f3585d739e13cbff90d0fc931ad5df32b584
data/.travis.yml CHANGED
@@ -1,12 +1,9 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.4
4
3
  - 2.5
5
4
  - 2.6
5
+ - 2.7
6
6
  matrix:
7
- exclude:
8
- - rvm: 2.4
9
- gemfile: spec/gemfiles/60.gemfile
10
7
  fast_finish: true
11
8
  # WWTD doesn't support allow_failures... yet
12
9
  # allow_failures:
@@ -14,6 +11,7 @@ matrix:
14
11
  gemfile:
15
12
  - spec/gemfiles/52.gemfile
16
13
  - spec/gemfiles/60.gemfile
14
+ - spec/gemfiles/61.gemfile
17
15
  script: bundle exec rspec
18
16
  notifications:
19
17
  email:
data/Dockerfile CHANGED
@@ -2,18 +2,14 @@ FROM instructure/rvm
2
2
  MAINTAINER Instructure
3
3
 
4
4
  WORKDIR /usr/src/app
5
- RUN /bin/bash -l -c "rvm use --default 2.4"
5
+ # Everyone use the same bundler version
6
+ RUN /bin/bash -l -c "rvm use 2.5 && gem install bundler"
7
+ RUN /bin/bash -l -c "rvm use 2.6 && gem install bundler"
8
+ RUN /bin/bash -l -c "rvm use --default 2.7 && gem install bundler"
6
9
 
7
- COPY paul_bunyan.gemspec Gemfile /usr/src/app/
8
- COPY lib/paul_bunyan/version.rb /usr/src/app/lib/paul_bunyan/
9
-
10
- USER root
11
- RUN chown -R docker:docker /usr/src/app
12
- USER docker
10
+ COPY --chown=docker:docker paul_bunyan.gemspec Gemfile /usr/src/app/
11
+ COPY --chown=docker:docker lib/paul_bunyan/version.rb /usr/src/app/lib/paul_bunyan/
13
12
  RUN /bin/bash -l -c "bundle install"
14
13
 
15
- COPY . /usr/src/app
16
- USER root
17
- RUN chown -R docker:docker /usr/src/app/*
18
- USER docker
14
+ COPY --chown=docker:docker . /usr/src/app
19
15
  CMD /bin/bash -l -c "wwtd --parallel"
@@ -1,3 +1,3 @@
1
1
  module PaulBunyan
2
- VERSION = '1.6.0'
2
+ VERSION = '2.0.0'
3
3
  end
@@ -19,9 +19,8 @@ module Dummy
19
19
  # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
20
20
  # config.i18n.default_locale = :de
21
21
 
22
- # Do not swallow errors in after_commit/after_rollback callbacks.
23
- if Rails.version > '4.2' && Rails.version < '5.0'
24
- config.active_record.raise_in_transactional_callbacks = true
22
+ if Rails.version < '6.0'
23
+ config.active_record.sqlite3.represent_boolean_as_integer = true
25
24
  end
26
25
  end
27
26
  end
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '../../'
4
+
5
+ gem 'rails', '~> 6.1.0'
@@ -32,10 +32,10 @@ module PaulBunyan
32
32
  end
33
33
 
34
34
  it 'must leave the ActionController::LogSubscriber subscription to deep_munge.action_controller in place' do
35
- # I don't expect that we'll ever care to unsubcribe the logger
36
- # non-event so we'll use it as a check to ensure we don't
37
- # clobber all of the listeners, only the ones we care about
38
- expect(subscriber_classes_for('logger.action_controller')).
35
+ # We do not currently support fragment cache logging so we'll use it as
36
+ # a check to ensure we don't clobber all of the listeners, only the
37
+ # ones we care about
38
+ expect(subscriber_classes_for('write_fragment.action_controller')).
39
39
  to include ActionController::LogSubscriber
40
40
  end
41
41
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paul_bunyan
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Duane Johnson
8
8
  - Kenneth Romney
9
9
  - Mark Severson
10
10
  - Tyler Pickett
11
- autorequire:
11
+ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2020-04-01 00:00:00.000000000 Z
14
+ date: 2021-03-16 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: request_store
@@ -213,6 +213,7 @@ files:
213
213
  - spec/dummy/public/favicon.ico
214
214
  - spec/gemfiles/52.gemfile
215
215
  - spec/gemfiles/60.gemfile
216
+ - spec/gemfiles/61.gemfile
216
217
  - spec/lib/paul_bunyan/json_formatter_spec.rb
217
218
  - spec/lib/paul_bunyan/level_spec.rb
218
219
  - spec/lib/paul_bunyan/log_relayer_spec.rb
@@ -228,7 +229,7 @@ homepage: https://github.com/instructure/paul_bunyan
228
229
  licenses:
229
230
  - MIT
230
231
  metadata: {}
231
- post_install_message:
232
+ post_install_message:
232
233
  rdoc_options: []
233
234
  require_paths:
234
235
  - lib
@@ -244,7 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
244
245
  version: '0'
245
246
  requirements: []
246
247
  rubygems_version: 3.0.3
247
- signing_key:
248
+ signing_key:
248
249
  specification_version: 4
249
250
  summary: Logging for all the things
250
251
  test_files:
@@ -292,6 +293,7 @@ test_files:
292
293
  - spec/dummy/public/favicon.ico
293
294
  - spec/gemfiles/52.gemfile
294
295
  - spec/gemfiles/60.gemfile
296
+ - spec/gemfiles/61.gemfile
295
297
  - spec/lib/paul_bunyan/json_formatter_spec.rb
296
298
  - spec/lib/paul_bunyan/level_spec.rb
297
299
  - spec/lib/paul_bunyan/log_relayer_spec.rb