ruby_snowflake_client 1.3.2 → 1.3.3.pre.debug

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: 358ad08a71505a66ef930be5572c3ebf38d320c39313d8079a3aad92dcf24f3f
4
- data.tar.gz: e11b8a0f04f61c3f099adf22bc433744483640f1d8711ddbe263a1b4d2322731
3
+ metadata.gz: ed451160b70115d42339088f433539eb78533261a28a3253959c36bec3de4146
4
+ data.tar.gz: 13a570363140f1f7e5fb6afd3d42e09648a4b24198be74fb8d73ee3753747f27
5
5
  SHA512:
6
- metadata.gz: 867583ebfc16d1b5abe212e287db28ff0c317a09b55053d109ef51dcac1ba3898d716ec675a4d82f1ecc56cbaf4caddfc1d067c3bb55321a08a990e18bc10c71
7
- data.tar.gz: d3833033b1579e2f52dbb1b037c5ded05162c51392f7dd4fa986d12d5ab5d310e676e430909f2e94444ff777429a8aa4af1a892246b5dfee64ba6a83ac997127
6
+ metadata.gz: ca68138928a8ca789ed7e4d61a73b6679b22ed2a427cf38ac2fed4e8ba256949849354fcb34d14cdb66aa7ab246dacbf0d7468b1d786e399083f1f0f8cf2f91a
7
+ data.tar.gz: a1df5c79270fca41aa7c1a737db77f08d1632bca3d80c9dba8c19ff2564f7710f9c02e49162a60261bd6b4888eaa6eaef974fd48ef687e0a0b31d91c57cbc576
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_snowflake_client (1.3.2)
4
+ ruby_snowflake_client (1.3.3.pre.debug)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -43,28 +43,45 @@ func Inspect(self C.VALUE) C.VALUE {
43
43
 
44
44
  //export Init_ruby_snowflake_client_ext
45
45
  func Init_ruby_snowflake_client_ext() {
46
+ fmt.Println("[ruby-snowflake] Initializing module")
46
47
  rbSnowflakeModule = C.rb_define_module(C.CString("Snowflake"))
48
+ fmt.Println("[ruby-snowflake] Initializing client class")
47
49
  rbSnowflakeClientClass = C.rb_define_class_under(rbSnowflakeModule, C.CString("Client"), C.rb_cObject)
50
+ fmt.Println("[ruby-snowflake] Initializing result class")
48
51
  rbSnowflakeResultClass = C.rb_define_class_under(rbSnowflakeModule, C.CString("Result"), C.rb_cObject)
49
52
 
53
+ fmt.Println("[ruby-snowflake] Setting up objects 1")
50
54
  objects[rbSnowflakeResultClass] = true
55
+ fmt.Println("[ruby-snowflake] Setting up objects 2")
51
56
  objects[rbSnowflakeClientClass] = true
57
+ fmt.Println("[ruby-snowflake] Setting up objects 3")
52
58
  objects[rbSnowflakeModule] = true
59
+ fmt.Println("[ruby-snowflake] Setting up objects 4")
53
60
  objects[RESULT_DURATION] = true
61
+ fmt.Println("[ruby-snowflake] Setting up objects 5")
54
62
  objects[ERROR_IDENT] = true
63
+ fmt.Println("[ruby-snowflake] GCGUARD call 1")
55
64
  C.RbGcGuard(RESULT_DURATION)
56
65
  //C.RbGcGuard(RESULT_IDENTIFIER)
66
+ fmt.Println("[ruby-snowflake] GCGUARD call 2")
57
67
  C.RbGcGuard(ERROR_IDENT)
58
68
 
69
+ fmt.Println("[ruby-snowflake] Define method 1")
59
70
  C.rb_define_method(rbSnowflakeResultClass, C.CString("next_row"), (*[0]byte)(C.ObjNextRow), 0)
60
71
  // `get_rows` is private as this can lead to SEGFAULT errors if not invoked
61
72
  // with GC.disable due to undetermined issues caused by the Ruby GC.
73
+ fmt.Println("[ruby-snowflake] Define method 2")
62
74
  C.rb_define_private_method(rbSnowflakeResultClass, C.CString("_get_rows"), (*[0]byte)(C.GetRows), 0)
75
+ fmt.Println("[ruby-snowflake] Define method 3")
63
76
  C.rb_define_method(rbSnowflakeResultClass, C.CString("get_rows_no_enum"), (*[0]byte)(C.GetRowsNoEnum), 0)
64
77
 
78
+ fmt.Println("[ruby-snowflake] Define method 4")
65
79
  C.rb_define_private_method(rbSnowflakeClientClass, C.CString("_connect"), (*[0]byte)(C.Connect), 7)
80
+ fmt.Println("[ruby-snowflake] Define method 5")
66
81
  C.rb_define_method(rbSnowflakeClientClass, C.CString("inspect"), (*[0]byte)(C.Inspect), 0)
82
+ fmt.Println("[ruby-snowflake] Define method 6")
67
83
  C.rb_define_method(rbSnowflakeClientClass, C.CString("to_s"), (*[0]byte)(C.Inspect), 0)
84
+ fmt.Println("[ruby-snowflake] Define method 7")
68
85
  C.rb_define_method(rbSnowflakeClientClass, C.CString("_fetch"), (*[0]byte)(C.ObjFetch), 1)
69
86
 
70
87
  if LOG_LEVEL > 0 {
@@ -1,3 +1,3 @@
1
1
  module RubySnowflakeClient
2
- VERSION = '1.3.2'
2
+ VERSION = '1.3.3-debug'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_snowflake_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3.pre.debug
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rinsed
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-26 00:00:00.000000000 Z
11
+ date: 2023-07-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  Using the `Go` library for Snowflake to query and creating native Ruby objects,
@@ -2130,9 +2130,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
2130
2130
  version: '0'
2131
2131
  required_rubygems_version: !ruby/object:Gem::Requirement
2132
2132
  requirements:
2133
- - - ">="
2133
+ - - ">"
2134
2134
  - !ruby/object:Gem::Version
2135
- version: '0'
2135
+ version: 1.3.1
2136
2136
  requirements: []
2137
2137
  rubygems_version: 3.2.33
2138
2138
  signing_key: