pglite 0.0.2-x86_64-linux → 0.0.5-x86_64-linux

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: 782ee720f8e6e45609d8760090f0d4ddcb4ed86f53564cd6b99fcc9d3a9d0bf8
4
- data.tar.gz: fae0ec2a5c165631c2af2ff7388cf7aeb23ea62d4536d9481a3efc8f8985e114
3
+ metadata.gz: 647e7afde43aa42e3324e9d63af07793c1be08a35cadc8a825682784d17ae991
4
+ data.tar.gz: dd131fbcb9e4090af0bef6c0fbefed4ba530fef452a7579ee4b203fa9462fa5b
5
5
  SHA512:
6
- metadata.gz: 637b3b3e2d1d63a0f9546cb5a0af4c28a5c25bf8d0fd8e2b1842d8bd06cfeb7f93b8e2c6f0f633e31c4e0c7b3102326cea2e3684dcebf293c094b624b1bf6d35
7
- data.tar.gz: e7619bee19a3ecb64fd54a7f2efdd9a33dc36278a3a7869c42bf62987173b6c050de79aa09734dd9cb1a8bf8a2235d78c346485657912e0d5e169373e2628e95
6
+ metadata.gz: b5bab64f62c549cdc29bc30f83b888007458d226a3df0e43279d065489655220beb53722a120da8e52fc67965ba9d542b6ac7811aa54139678fd7c27d25983d7
7
+ data.tar.gz: f33ff44c7ceae7984683039b4a4f18ca6829631eb7e21d46d63215fb8d4185f79fa753c6332650919488f733a3ae3d6459e336bb8a0c7cb17ccd64c61ad63bbc
data/README.md CHANGED
@@ -41,6 +41,10 @@ Specify the `pglite` adapter in your `database.yml`. Done.
41
41
 
42
42
  The database would be provisioned the first time a connection is initialized (in the `tmp/pglite` directory or in the `mount_path` if one is specified in the configuration). Alternatively, you can manually call `PGlite.install!(path)` on the application boot.
43
43
 
44
+ ## Configuration
45
+
46
+ You can enable PostgreSQL logs (stdout/stderr) by set the `PGLITE_WASI_STDIO=1` environment variable.
47
+
44
48
  ## Contributing
45
49
 
46
50
  Bug reports and pull requests are welcome on GitHub at [https://github.com/palkan/pglite-rb](https://github.com/palkan/pglite-rb).
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PGlite # :nodoc:
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.5"
5
5
  end
data/lib/pglite.rb CHANGED
@@ -7,9 +7,10 @@ end
7
7
  require "pglite/version"
8
8
 
9
9
  begin
10
- require "pglite_rb"
10
+ /(?<ruby_version>\d+\.\d+)/ =~ RUBY_VERSION
11
+ require_relative "#{ruby_version}/pglite_rb"
11
12
  rescue LoadError
12
- # Extension not available
13
+ require_relative "pglite_rb"
13
14
  end
14
15
 
15
16
  require "pglite/connection"
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pglite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.5
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Vladimir Dementyev
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2025-12-11 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: bundler
@@ -89,6 +90,9 @@ files:
89
90
  - CHANGELOG.md
90
91
  - LICENSE.txt
91
92
  - README.md
93
+ - lib/3.2/pglite_rb.so
94
+ - lib/3.3/pglite_rb.so
95
+ - lib/3.4/pglite_rb.so
92
96
  - lib/active_record/connection_adapters/pglite_adapter.rb
93
97
  - lib/active_record/connection_adapters/pglite_shims/pg.rb
94
98
  - lib/pglite.rb
@@ -96,7 +100,6 @@ files:
96
100
  - lib/pglite/pg.rb
97
101
  - lib/pglite/result.rb
98
102
  - lib/pglite/version.rb
99
- - lib/pglite_rb.so
100
103
  homepage: https://github.com/palkan/pglite-rb
101
104
  licenses:
102
105
  - MIT
@@ -106,6 +109,7 @@ metadata:
106
109
  documentation_uri: https://github.com/palkan/pglite-rb
107
110
  homepage_uri: https://github.com/palkan/pglite-rb
108
111
  source_code_uri: https://github.com/palkan/pglite-rb
112
+ post_install_message:
109
113
  rdoc_options: []
110
114
  require_paths:
111
115
  - lib
@@ -113,7 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
113
117
  requirements:
114
118
  - - ">="
115
119
  - !ruby/object:Gem::Version
116
- version: '3.4'
120
+ version: '3.2'
117
121
  - - "<"
118
122
  - !ruby/object:Gem::Version
119
123
  version: 3.5.dev
@@ -123,7 +127,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
127
  - !ruby/object:Gem::Version
124
128
  version: '0'
125
129
  requirements: []
126
- rubygems_version: 3.6.9
130
+ rubygems_version: 3.5.23
131
+ signing_key:
127
132
  specification_version: 4
128
133
  summary: PGlite for Ruby and Rails
129
134
  test_files: []