peak_flow_utils 0.1.22 → 0.1.23

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
2
  SHA256:
3
- metadata.gz: '09d337ad118e8f9bb202f567595a377f3f463a2c0ec160c10a05a5fdc222b69c'
4
- data.tar.gz: 158dca495d454ab1d5f276a951d33b42ce5f254150ec13db4b3c3e5cbe759d39
3
+ metadata.gz: 9048d1e1a96016821fd59947326d5e5b9abda317db387afbce0e1567a0264601
4
+ data.tar.gz: d894ee6368c44aff6d17d290442a9c601ad97769ebf346296900c1a7064f628b
5
5
  SHA512:
6
- metadata.gz: 1f1c5964c2cd75803e4b10981bec9f256da6c9658fe0372d167e04b38e24d30a61b83a3fb5416f537f13e7811b5e54d26f3864b76b547c1970f753b9094a4416
7
- data.tar.gz: 1617105ff0b0e96fe79bb943f713425feceef4d66cd14cabbd3e6c6d3b7bea5b0360cedb343b250b3886b7a8f70d59f054a05953908161045ddf083c5a7dd58d
6
+ metadata.gz: bef1b06f54c3d4ffacde80d3c0617b6f2e87f0a9d07f78ab4fa80c4b946d3b080f6a7fbe85429d155546f609ffef716b1e7db5dff001c33d62d21e3599fd30ec
7
+ data.tar.gz: de385c67f451639fe26011427bcdf54606468c4777f4c49706fcf642602a018c5d25abf73c07fd582c27dc05a1f6b6c07a93a826eba6784763e86d7ce6d8f557
@@ -1,5 +1,5 @@
1
1
  class PeakFlowUtils::ApplicationMigration < ActiveRecord::Migration[5.1]
2
- def connection
3
- PeakFlowUtils::ApplicationRecord.connection
2
+ def connection(*, &)
3
+ PeakFlowUtils::ApplicationRecord.connection(*, &)
4
4
  end
5
5
  end
@@ -13,12 +13,18 @@ class PeakFlowUtils::Notifier
13
13
  @current
14
14
  end
15
15
 
16
- def self.notify(...)
17
- PeakFlowUtils::Notifier.current&.notify(...)
16
+ def self.notify(*args, **kwargs)
17
+ if args.any?
18
+ raise ArgumentError, "unexpected positional arguments" unless args.first.is_a?(Hash) && args.length == 1
19
+
20
+ kwargs = args.first.merge(kwargs)
21
+ end
22
+
23
+ PeakFlowUtils::Notifier.current&.notify(**kwargs)
18
24
  end
19
25
 
20
- def self.notify_message(...)
21
- PeakFlowUtils::Notifier.current&.notify_message(...)
26
+ def self.notify_message(message, **)
27
+ PeakFlowUtils::Notifier.current&.notify_message(message, **)
22
28
  end
23
29
 
24
30
  def self.reset_parameters
@@ -1,3 +1,3 @@
1
1
  module PeakFlowUtils
2
- VERSION = "0.1.22".freeze
2
+ VERSION = "0.1.23".freeze
3
3
  end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peak_flow_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.22
4
+ version: 0.1.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - kaspernj
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-01-11 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: rails
@@ -179,6 +180,7 @@ licenses:
179
180
  - MIT
180
181
  metadata:
181
182
  rubygems_mfa_required: 'true'
183
+ post_install_message:
182
184
  rdoc_options: []
183
185
  require_paths:
184
186
  - lib
@@ -186,14 +188,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
186
188
  requirements:
187
189
  - - ">="
188
190
  - !ruby/object:Gem::Version
189
- version: 3.4.0
191
+ version: 3.2.9
190
192
  required_rubygems_version: !ruby/object:Gem::Requirement
191
193
  requirements:
192
194
  - - ">="
193
195
  - !ruby/object:Gem::Version
194
196
  version: '0'
195
197
  requirements: []
196
- rubygems_version: 3.6.9
198
+ rubygems_version: 3.4.19
199
+ signing_key:
197
200
  specification_version: 4
198
201
  summary: Utilities to be used with PeakFlow.
199
202
  test_files: []