monday_ruby 0.6.0 → 0.6.1

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: 9976cfcde08608cfe4106783b717d0c3fcc4c7b9851a3f994a3c7bd33493c437
4
- data.tar.gz: bbaa8b1e58c3c1e2a73e50a797040c5828000a79e5efac05e43471109a26a51c
3
+ metadata.gz: a1d01fc38546be402980f538a78e38ef1bdf49426dea93eb7d354115c9c156c9
4
+ data.tar.gz: '064188d59638c6e9beb2f1e5c9ea4c1057227e4ace71d89fe61ce56a5d4e39ce'
5
5
  SHA512:
6
- metadata.gz: 7a023ba0076f5cfebd1ca6e4708942afe37b7f75001ecab2126e676fa2338fce6e5ce232d3ab5ab5109301cba5fae1a0dfcd504c1db9a6de99b96587dacb7d17
7
- data.tar.gz: 46f345126e55080fe842bfda28d0dc349848640fda23f4323832b973170534c41345410852d330ba3731f8f011fd65c6a5b4b975410313a3717973be343c12c5
6
+ metadata.gz: 8df9570337bd4132ed4693d1cff769ceaf81def899d5d193b496dc77f5896e3af2123fc1144d47db4ca0d77519996a0a8a0c040a715159147beb16036f924a6f
7
+ data.tar.gz: 95551bc412de20e14461fe3c49842829177347d15a6d175656bdfdc1820b884c3262e17796c922f37c270fe75e1581b623c15aa847620cf66ee995aeca6478a9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## v0.6.1 (March 24, 2024)
2
+
3
+ ### Bug Fixes
4
+
5
+ - Fix formatting error for single words (Issue)[https://github.com/sanifhimani/monday_ruby/issues/16]
6
+
1
7
  ## v0.6.0 (October 9, 2023)
2
8
 
3
9
  ### Added
data/lib/monday/util.rb CHANGED
@@ -73,16 +73,14 @@ module Monday
73
73
  end
74
74
 
75
75
  def formatted_args_value(value)
76
- return "\"#{value}\"" unless single_word?(value)
77
76
  return value.to_json.to_json if value.is_a?(Hash)
77
+ return value if integer?(value)
78
78
 
79
- value
79
+ "\"#{value}\""
80
80
  end
81
81
 
82
- def single_word?(word)
83
- return word unless word.is_a?(String)
84
-
85
- !word.strip.include?(" ")
82
+ def integer?(value)
83
+ value.is_a?(Integer)
86
84
  end
87
85
  end
88
86
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Monday
4
- VERSION = "0.6.0"
4
+ VERSION = "0.6.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monday_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sanif Himani
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2023-10-18 00:00:00.000000000 Z
12
+ date: 2024-03-24 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A Gem to easily interact with monday.com API using native Ruby
15
15
  email:
@@ -95,7 +95,7 @@ licenses:
95
95
  metadata:
96
96
  homepage_uri: https://github.com/sanifhimani/monday_ruby
97
97
  documentation_uri: https://monday-ruby.gitbook.io/docs/
98
- changelog_uri: https://github.com/sanifhimani/monday_ruby/blob/v0.6.0/CHANGELOG.md
98
+ changelog_uri: https://github.com/sanifhimani/monday_ruby/blob/v0.6.1/CHANGELOG.md
99
99
  rubygems_mfa_required: 'true'
100
100
  post_install_message:
101
101
  rdoc_options: []
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  - !ruby/object:Gem::Version
113
113
  version: '0'
114
114
  requirements: []
115
- rubygems_version: 3.4.19
115
+ rubygems_version: 3.5.6
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Ruby bindings to use the monday.com API