active_hll 0.2.1 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 49fecb9c7cb1cdcf399ce9ae00e9e637d9d3c0c3789ad02da9bef4e2977bc2f5
4
- data.tar.gz: d02131c319a338575fc215397a95d153648bc6c5b390c453f67d0509b1a3ee6f
3
+ metadata.gz: b6d25010e464c117677657108c90fb6b185719ab5f1540ee64ae4c0c622810f0
4
+ data.tar.gz: c6d2a6971bfab1ec70b99252a30d3224113695ec84f6b74b56212e152468f73b
5
5
  SHA512:
6
- metadata.gz: acc8c253b0d5ab708e73459ed35506e6d009f3c8f709c9f82a1b44ca77da2ac0a8431767f8d6a9d15faf5a17dbf20db1d7093008cad8e118979f1ffcf93b61ef
7
- data.tar.gz: 1375c9ac1f6d6df024dfc0ccdf9304f1245a8d5510e8e69b34bf1d51fa49f6fb2bec7cf137476492c68d1b29f3344d947ba3b1cc26e762a53a46bf0c2681e7a1
6
+ metadata.gz: c859db76f287ef1a329b0a08a56aab630be8eddd69f4d5842b97baf2014373ddfd230dde525a7ab84634edf8f686dc674753f8720888afa3395905fe7c98ee0b
7
+ data.tar.gz: e9291fce2c932a93a3268fd5382dbdfac350927ae6c0ff2185d4e1ec2f4d05f3857bf9707b487634e8b353b8f600aa94417ce9e5ab0256f029d0034ba4d075cc
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.3.0 (2025-04-03)
2
+
3
+ - Dropped support for Ruby < 3.2 and Active Record < 7.1
4
+
1
5
  ## 0.2.1 (2024-10-07)
2
6
 
3
7
  - Fixed connection leasing for Active Record 7.2+
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2023-2024 Andrew Kane
3
+ Copyright (c) 2023-2025 Andrew Kane
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -39,7 +39,7 @@ HLLs provide an approximate count of unique values (like unique visitors). By ro
39
39
  Create a table with an `hll` column
40
40
 
41
41
  ```ruby
42
- class CreateEventRollups < ActiveRecord::Migration[7.2]
42
+ class CreateEventRollups < ActiveRecord::Migration[8.0]
43
43
  def change
44
44
  create_table :event_rollups do |t|
45
45
  t.date :time_bucket, index: {unique: true}
@@ -1,3 +1,3 @@
1
1
  module ActiveHll
2
- VERSION = "0.2.1"
2
+ VERSION = "0.3.0"
3
3
  end
data/lib/active_hll.rb CHANGED
@@ -33,9 +33,5 @@ ActiveSupport.on_load(:active_record) do
33
33
  ActiveRecord::ConnectionAdapters::TableDefinition.send(:define_column_methods, :hll)
34
34
 
35
35
  # prevent unknown OID warning
36
- if ActiveRecord::VERSION::MAJOR >= 7
37
- ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.singleton_class.prepend(ActiveHll::RegisterType)
38
- else
39
- ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.prepend(ActiveHll::RegisterType)
40
- end
36
+ ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.singleton_class.prepend(ActiveHll::RegisterType)
41
37
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_hll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-10-08 00:00:00.000000000 Z
10
+ date: 2025-04-03 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activerecord
@@ -16,15 +15,14 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: '6.1'
18
+ version: '7.1'
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - ">="
25
24
  - !ruby/object:Gem::Version
26
- version: '6.1'
27
- description:
25
+ version: '7.1'
28
26
  email: andrew@ankane.org
29
27
  executables: []
30
28
  extensions: []
@@ -45,7 +43,6 @@ homepage: https://github.com/ankane/active_hll
45
43
  licenses:
46
44
  - MIT
47
45
  metadata: {}
48
- post_install_message:
49
46
  rdoc_options: []
50
47
  require_paths:
51
48
  - lib
@@ -53,15 +50,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
53
50
  requirements:
54
51
  - - ">="
55
52
  - !ruby/object:Gem::Version
56
- version: '3.1'
53
+ version: '3.2'
57
54
  required_rubygems_version: !ruby/object:Gem::Requirement
58
55
  requirements:
59
56
  - - ">="
60
57
  - !ruby/object:Gem::Version
61
58
  version: '0'
62
59
  requirements: []
63
- rubygems_version: 3.5.16
64
- signing_key:
60
+ rubygems_version: 3.6.2
65
61
  specification_version: 4
66
62
  summary: HyperLogLog for Rails and Postgres
67
63
  test_files: []