thoth 2.0.0 → 3.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: cd988c8a0356cb7e895c099375de581868eece1f234ae362db17d287ee1dc521
4
- data.tar.gz: ed3385f0d9eee202743492b598bc368bdf06b89da74d457c7916b0a6523d84be
3
+ metadata.gz: bc4c495e0e43df12a9feac3c87b8dd8048b92fa85b0888fe7625dc7e2baa313a
4
+ data.tar.gz: b0e4f5196a85f87a9c4b4460cf0aa5acaf93e5d175d16551c370c57f55c6d0ca
5
5
  SHA512:
6
- metadata.gz: c3204fd840e86c2023530c0179e66360b51b9c6468922cf860c47e97b6c9421661086b25864c26eb211239bfd83eb0295fb60c6d314d55b0484fe5627127e4fe
7
- data.tar.gz: 9d495a5584ab882ab362d92d2120135b580dd3d548a0cb548408168fd21d87dc54fec668ae145ef9ce22cff53afe7726345355d93f0115a63237840d8c6f474c
6
+ metadata.gz: c3c8206712f6c30272a25ad2328385555bddd8fda18e9787a872add736fe1bbbc4a3a445399eb8447393fb1c6b0fc5384f28e880a2a3248b4c5f7e96f550bd12
7
+ data.tar.gz: 29ea47f712c88d147b6ed47b56ea944f49b3888cf8895815f7b13210b24c6276b396c9043e991842ed1ab01878c19c9d8db9431827f01935566354ca1654fc49
data/README.md CHANGED
@@ -68,6 +68,14 @@ file = File.open(Rails.root.join(*%w[log checkout_events.log]), 'a')
68
68
  Thoth.logger = Thoth::Logger.new(Thoth::Output::Json.new(file))
69
69
  ```
70
70
 
71
+ ## Running Specs
72
+ ```
73
+ cd spec/dummy
74
+ bundle exec rake db:setup
75
+ cd ../..
76
+ bundle exec rspec
77
+ ```
78
+
71
79
 
72
80
  ## Contributing
73
81
 
data/lib/thoth/logger.rb CHANGED
@@ -11,7 +11,7 @@ module Thoth
11
11
 
12
12
  #lazy load this since this class is initialized before rails' filter_parameters is set
13
13
  def param_filter
14
- @param_filter ||= ::ActionDispatch::Http::ParameterFilter.new(::Rails.application.config.filter_parameters)
14
+ @param_filter ||= ::ActiveSupport::ParameterFilter.new(::Rails.application.config.filter_parameters)
15
15
  end
16
16
 
17
17
  def log(event_name, details={}, context={})
data/lib/thoth/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Thoth
2
- VERSION = "2.0.0"
2
+ VERSION = "3.0.0"
3
3
  end
data/spec/dummy/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'rails', '5.1.7'
3
+ gem 'rails', '6.0.4.6'
4
4
 
5
5
  # Bundle edge Rails instead:
6
6
  # gem 'rails', :git => 'git://github.com/rails/rails.git'
data/thoth.gemspec CHANGED
@@ -17,12 +17,12 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ["lib"]
19
19
 
20
- spec.add_dependency 'activesupport', ['>= 5.1']
20
+ spec.add_dependency 'activesupport', ['>= 6.0']
21
21
  spec.add_dependency 'request_store'
22
22
 
23
23
  spec.add_development_dependency "bundler"
24
24
  spec.add_development_dependency "rake"
25
- spec.add_development_dependency 'rails', '>= 5.1'
25
+ spec.add_development_dependency 'rails', '>= 6.0'
26
26
  spec.add_development_dependency 'rspec-rails', '>= 4.1.2'
27
27
  spec.add_development_dependency 'sqlite3'
28
28
  spec.add_development_dependency 'pry-remote'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thoth
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philippe Huibonhoa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-11 00:00:00.000000000 Z
11
+ date: 2022-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5.1'
19
+ version: '6.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '5.1'
26
+ version: '6.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: request_store
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '5.1'
75
+ version: '6.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '5.1'
82
+ version: '6.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec-rails
85
85
  requirement: !ruby/object:Gem::Requirement