justcall_ruby 0.1.0 → 0.1.2

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: 3b8e75e621a9a8163f6267682f4982b3304d49d9db86dcfbc8e9485c7a8dbe75
4
- data.tar.gz: 8ecac85c5fc52ce069671013cf83c43d90e9b99cbce783d65f68a094be2fd5b0
3
+ metadata.gz: b5505b284204177aa96df65c35ffef3f3bbeb5dd7c28469caa9efe130a91d050
4
+ data.tar.gz: eb361340380864668a4cf9a012efcd7699765d6ba152850d6985af0d55675e5b
5
5
  SHA512:
6
- metadata.gz: 0f8b5677142ae235b3533ad4c9ff5ae60b7e2d4ad1e34d12f8d99fdea0005569ce1b62ab4517093d773fbfb9a2c0719d8f36ee1bbe5541c3cab866018fd7c01d
7
- data.tar.gz: 9b3dc176f846d070390f0e92170cf2c28e1fb2d432bd3ad030b18abd54a83ff8aa90dd95373d2532e32802e10720a93f53dcd0f6ae5d1bd9aa32f95ee7b53f57
6
+ metadata.gz: b7a2978ecf9fb0abd5f3d6b491920e297949a3297a2ba804698635697c72dc7c76f406ad56961a7a46065cc764a81a0b0e4931e111e88c3460bef271376fe19d
7
+ data.tar.gz: 65cdcf52ad47a7b7eb911b86518e7965be2150d5d121cb715d3e8ab107df513a47f8112dd7392de070254149fa143b12ef90acea412dfd77b7d2ea8dfc00e808
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [0.1.2] - 2024-07-15
2
+
3
+ - Fixed spelling error for `success` attribute on `Response`
4
+
5
+ ## [0.1.1] - 2024-07-11
6
+
7
+ - Fixed bug where snake-cased keys were being converetd to camel-cased keys for API request params
8
+ - JustCall's API actually expects snake-cased keys
9
+
1
10
  ## [0.1.0] - 2024-07-10
2
11
 
3
12
  The initial release. Provides all basic Ruby wrapper functionality for JustCall's V2 API.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- justcall_ruby (0.1.0)
4
+ justcall_ruby (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -59,9 +59,8 @@ module JustCall
59
59
 
60
60
  def standardize_body_data(submitted_attrs:, permitted_attrs:)
61
61
  submitted_attrs = submitted_attrs.deep_transform_keys(&:to_sym)
62
- permitted_attrs = submitted_attrs.select! { |k, _| permitted_attrs.include?(k) } || submitted_attrs
63
62
 
64
- permitted_attrs.deep_transform_keys { |k| k.to_s.camelize(:lower) }
63
+ submitted_attrs.select! { |k, _| permitted_attrs.include?(k) } || submitted_attrs
65
64
  end
66
65
 
67
66
  def convert_params_to_request_query(params)
@@ -1,6 +1,6 @@
1
1
  module JustCall
2
2
  class Response
3
- attr_reader :body, :response, :sucess
3
+ attr_reader :body, :response, :success
4
4
 
5
5
  def initialize(response)
6
6
  @response = response
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JustCall
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: justcall_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeffrey Dill
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-11 00:00:00.000000000 Z
11
+ date: 2024-07-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: