dbx-api 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: c868f357a1e4f6659b248d71be4567ddce7b4e2b0099a094b3cf473c5100b5ff
4
- data.tar.gz: ec6d7f7a72ce00d9a21396f506f7b7a8f7795f072c5d7541a5b96d1710bc2b5a
3
+ metadata.gz: 94d4b8f9d3d55224b5c93191aab3aefe280457e30ade7fba3b0f515cf0556991
4
+ data.tar.gz: ff70dbe1f9e6b1449449adb986616a77f6e682a150b21e07f4476c1f138b43d8
5
5
  SHA512:
6
- metadata.gz: 354a655157aad1118192f0d01d93db0844d861e6277cb53af0befe1f1d8e3318bfec296d512b7c6ac07650fb1ea7ff26e8a4235a61e4d3457e9395ea65e59fd6
7
- data.tar.gz: 3c9ae8e759f56d5f8d3e0c38f2cfbbdee4b237dc36ca6436924ad60b7384957e9f7e4a1f7239873234f96e87af21b00a08f6de1ad629ec5b013c2fbe1e6d2241
6
+ metadata.gz: 90e01075d9a1bd9f5a138ee65709a55ec476f24d8f59ae4e4ff0570e381235fd04538df89cab93a3350fa9a6f449e4c6e7033ef518cf447ec23cd5bc772bce1d
7
+ data.tar.gz: 6463504efcf34b1024066249b0e0f558667df0e1448a8c5e5891b1f8f84b0006657e7b21a298880ad7d66d2ca4c0d8e1f38e3aab9ba4c57ec8bd4179b378f2fd
data/CHANGELOG.md CHANGED
@@ -14,4 +14,9 @@
14
14
  - Added optional `sleep_timer` parameter to `DatabricksGateway`. This is the number of seconds to wait between checking the status of a query. Defaults to 5 seconds.
15
15
 
16
16
  ## [0.2.1]
17
- - Added option to `DatabricksSQLResponse::results` to return symbolized keys
17
+ - Added option to `DatabricksSQLResponse::results` to return symbolized keys
18
+
19
+ ## [0.3.0]
20
+ - Update Readme
21
+ - Remove `allowed_host` to allow pushing to multiple hosts
22
+ - Update Gemfile to add dev and test groups
data/Gemfile CHANGED
@@ -5,8 +5,15 @@ source "https://rubygems.org"
5
5
  # Specify your gem's dependencies in dbx.gemspec
6
6
  gemspec
7
7
 
8
- gem "rake", "~> 13.0"
8
+ group :development do
9
+ gem "rake", "~> 13.0"
10
+ gem "rubocop", "~> 1.21"
11
+ end
9
12
 
10
- gem "rspec", "~> 3.0"
13
+ group :test do
14
+ gem "rspec", "~> 3.0"
15
+ end
11
16
 
12
- gem "rubocop", "~> 1.21"
17
+ group :development, :test do
18
+ gem "pry"
19
+ end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dbx-api (0.2.1)
4
+ dbx-api (0.3.0)
5
5
  dotenv (~> 2.0)
6
6
 
7
7
  GEM
@@ -9,14 +9,19 @@ GEM
9
9
  specs:
10
10
  ast (2.4.2)
11
11
  base64 (0.1.1)
12
+ coderay (1.1.3)
12
13
  diff-lcs (1.5.0)
13
14
  dotenv (2.8.1)
14
15
  json (2.6.3)
15
16
  language_server-protocol (3.17.0.3)
17
+ method_source (1.1.0)
16
18
  parallel (1.23.0)
17
19
  parser (3.2.2.3)
18
20
  ast (~> 2.4.1)
19
21
  racc
22
+ pry (0.15.2)
23
+ coderay (~> 1.1)
24
+ method_source (~> 1.0)
20
25
  racc (1.7.1)
21
26
  rainbow (3.1.1)
22
27
  rake (13.0.6)
@@ -54,9 +59,11 @@ GEM
54
59
 
55
60
  PLATFORMS
56
61
  arm64-darwin-22
62
+ arm64-darwin-24
57
63
 
58
64
  DEPENDENCIES
59
65
  dbx-api!
66
+ pry
60
67
  rake (~> 13.0)
61
68
  rspec (~> 3.0)
62
69
  rubocop (~> 1.21)
data/README.md CHANGED
@@ -6,7 +6,7 @@ This gem is designed to allow access to the DBX APIs (Jobs and SQL) from ruby ap
6
6
  ## Installation
7
7
  Add the following to your Gemfile to install
8
8
  ```ruby
9
- gem 'dbx-api', '~>0.2.0'
9
+ gem 'dbx-api', '~>0.2.1'
10
10
  ```
11
11
 
12
12
  ## Usage
@@ -110,6 +110,8 @@ sql_runner = DatabricksGateway.new(sleep_timer: 1)
110
110
  - Run `rake spec` to run the rspec tests.
111
111
 
112
112
  ## Build
113
- - Run `gem build dbx.gemspec ` to build the gem.
114
- - Run `gem push dbx-api-0.2.0.gem` to push the gem to rubygems.org
115
- - Requires logging in to rubygems.org first via `gem login`
113
+ - Run `gem build dbx.gemspec` to build the gem.
114
+ - To push to RubyGems.org:
115
+ - Run `gem push dbx-api-[VERSION].gem` (requires logging in to rubygems.org first via `gem login`)
116
+ - To push to Artifactory:
117
+ - Run `gem push dbx-api-[VERSION].gem --host https://artifactory.wu2.cloud.providence.org/artifactory/api/gems/mgl-ruby-virtual`
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "pry"
4
-
5
3
  # This class represents a response from the Databricks SQL API.
6
4
  # It is used by DatabricksSQL to handle http failures and parse the response body.
7
5
  class DatabricksSQLResponse
data/lib/dbx/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dbx
4
- VERSION = "0.2.1"
4
+ VERSION = "0.3.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dbx-api
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
- - cmmille
8
- autorequire:
7
+ - Christopher Lockfeld
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2023-11-16 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: dotenv
@@ -49,15 +48,14 @@ files:
49
48
  - lib/dbx/gateway.rb
50
49
  - lib/dbx/version.rb
51
50
  - sig/dbx.rbs
52
- homepage: https://github.com/pdxmolab/dbx-gem
51
+ homepage: https://github.com/PSJH/mgl-dbx-gem
53
52
  licenses:
54
53
  - MIT
55
54
  metadata:
56
- homepage_uri: https://github.com/pdxmolab/dbx-gem
57
- source_code_uri: https://github.com/pdxmolab/dbx-gem
58
- changelog_uri: https://github.com/pdxmolab/dbx-gem/blob/main/CHANGELOG.md
55
+ homepage_uri: https://github.com/PSJH/mgl-dbx-gem
56
+ source_code_uri: https://github.com/PSJH/mgl-dbx-gem
57
+ changelog_uri: https://github.com/PSJH/mgl-dbx-gem/blob/main/CHANGELOG.md
59
58
  rubygems_mfa_required: 'true'
60
- post_install_message:
61
59
  rdoc_options: []
62
60
  require_paths:
63
61
  - lib
@@ -72,8 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
70
  - !ruby/object:Gem::Version
73
71
  version: '0'
74
72
  requirements: []
75
- rubygems_version: 3.4.6
76
- signing_key:
73
+ rubygems_version: 3.6.7
77
74
  specification_version: 4
78
75
  summary: Access the Databricks API with ruby.
79
76
  test_files: []