nexus-invision 1.4.0 → 1.5.0

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: bb7f4dd7508c2bf74120eba302eb5ef420fc6addc1311a5a1724a276dfa9800f
4
- data.tar.gz: e310ad149e4dbf3266317bdcd5de47c629f9b72efa3529e158d0cec482766cc7
3
+ metadata.gz: d42a3e042b3714f972c3679c1402e94b8477f957733860757d0a3959f72d3240
4
+ data.tar.gz: a3efee62a86c8782b8f71fe1b7846d19421a10dd3c93de8418b7db3790cfa05c
5
5
  SHA512:
6
- metadata.gz: 7e6993e879605622f22b5c1d379324314e83dd52d017f07c420e25f6fcec4885abeac2f82b78b6fe6b9309639d10030ae1e64e549b1a3addb8a258bf36bd3a5f
7
- data.tar.gz: c673134f613edd339ceb8e1d721d8a487b9ba305ef71f26ffa9e21f56db492291d2bc08d21013b7c181e15dc61a2585a7103ad5f2f620c48c484f07e9adabfb2
6
+ metadata.gz: 73452461fbe0ec1095c988a0ebe2d0bac16aa2dee9355edc25e77e57daebcd2cd74637fbb32e1d47115497b1be96ec736ca8b63c14534efd25dd61425859e78b
7
+ data.tar.gz: bc01042302951791c7232515e4ee9c38d597beccd957ddbb05b98ea120ae934b47d871bd50a537df5a5e3fc1514fab2acf8e809f054d6ae582242f4df78350af
@@ -64,6 +64,14 @@ module Nexus
64
64
  end
65
65
  end
66
66
 
67
+ sig { params(post_id: Integer).void }
68
+ def delete_post(post_id)
69
+ request(
70
+ http_method: HTTPMethod::DELETE,
71
+ endpoint: URI("forums/posts/#{post_id}"),
72
+ )
73
+ end
74
+
67
75
  sig { params(request: Requests::ListForumTopics).returns(Resources::Page[Resources::Topic]) }
68
76
  def list_forum_topics(request)
69
77
  response = request(
@@ -3,7 +3,7 @@
3
3
 
4
4
  module Nexus
5
5
  module Invision
6
- # Leave this as 1.4.0 in order for CI process to replace with the tagged version.
7
- VERSION = "1.4.0"
6
+ # Leave this as 1.5.0 in order for CI process to replace with the tagged version.
7
+ VERSION = "1.5.0"
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexus-invision
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Robertson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-13 00:00:00.000000000 Z
11
+ date: 2024-01-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email:
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  requirements: []
111
- rubygems_version: 3.4.22
111
+ rubygems_version: 3.5.5
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: A client for the Invision Community REST API.