sfrest 0.0.46 → 0.0.47

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: a7c3089a14ab003da825c324f48c4e5566e1aed291697620497356a73dd1570d
4
- data.tar.gz: 1435a6839f32c63347f98c7b7a0e287d9505242cd5b7a9b0aefdfa7bae4c5c9b
3
+ metadata.gz: 8ed946f6b0298f0ca4df3ac69cd0e115d753dc0ced81f3273ec553d6a74e63e0
4
+ data.tar.gz: 614d2820f4d859fc6baca75af35ace650d325c7021315a7b2a0721914f3322d4
5
5
  SHA512:
6
- metadata.gz: 840a9efdf45a6e4fd89c7961a58200d3af33a4e8dac09cb6ba3189f5a963cc33ee96979146a7702880034d98a448f4d1a9fc578f656c908ac0d0a34f7e8ce184
7
- data.tar.gz: ac0f053e2777687b0580b972ef10d83e8bbc3dbb7988b3915043111701773c70e8df5189f958bc8813ac078bb2d7689b38e6d8563f3afd84331091b08abfc669
6
+ metadata.gz: 70e0dfc842e24b9c56ba1dcb3dd2490979f82083666bdc50dd3dcacc52252da17e5b2366c55f0cd526a6cc78385b7c69fb5b5f87d0d954f387bccb007d0efe1d
7
+ data.tar.gz: 29da6afca5ea8ad958b9c8f6d01f9a7e3c065bb0056e57e7cc5d7f72c9253569b371bbcb942990606f392ae2550a79d608f6819b9cf8303b00e88242245f33f4
data/lib/sfrest/task.rb CHANGED
@@ -172,6 +172,14 @@ module SFRest
172
172
  @conn.get URI.parse(pb.build_url_query(current_path, datum)).to_s
173
173
  end
174
174
 
175
+ # Retrieve a specific task by ID.
176
+ # @param [Integer] task_id The ID of the task to retrieve.
177
+ # @return [Hash] The task information.
178
+ def find_task(task_id)
179
+ current_path = "/api/v1/tasks/#{task_id}"
180
+ @conn.get(current_path)
181
+ end
182
+
175
183
  # Looks for a task with a specific name
176
184
  # @param [String] name display name of the task
177
185
  # @param [String] group task group filter
@@ -2,5 +2,5 @@
2
2
 
3
3
  module SFRest
4
4
  # Just tracks the version of sfrest.
5
- VERSION = '0.0.46'
5
+ VERSION = '0.0.47'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sfrest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.46
4
+ version: 0.0.47
5
5
  platform: ruby
6
6
  authors:
7
7
  - ACSF Engineering
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-27 00:00:00.000000000 Z
11
+ date: 2024-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  - !ruby/object:Gem::Version
150
150
  version: '0'
151
151
  requirements: []
152
- rubygems_version: 3.3.12
152
+ rubygems_version: 3.4.22
153
153
  signing_key:
154
154
  specification_version: 4
155
155
  summary: Acquia Site Factory Rest API.