nusii 0.2.0 → 0.2.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: 0ac9ae6be944de779b01204fc42228a31925e3209d3027883ac98fd10b0f7678
4
- data.tar.gz: 403867a26eaa87d44605ad6a745728df6122e2c0265f68a3918da0e032cd702c
3
+ metadata.gz: 7e27c58fa2f7686ee0898301d85fcc283792beb181b7b85ed7c799b1553dd6b0
4
+ data.tar.gz: b5733b901dc74343c5662a1774939d9ebe0c07fba058a59667b2892f7be332af
5
5
  SHA512:
6
- metadata.gz: dbff8956ef5d0d02119430d51458b4925be9fc35746d4dfe97e97cf7ff5dbdc9a63c0b50a45a67008e6942def4fc3e57361e57bde8425542e217ca4110c00e48
7
- data.tar.gz: c8472208e56aad99e525ef02fbfa5fd672494ea8ae96d2f638ba52b8815e04117b80cac25d5326e38cac8a7d1b97aaaab50f90ed7a37639bacd92141d6f75a52
6
+ metadata.gz: bf7eacdcce1980776e6cde17fd952dc792e3ec0815750f2cba4dc007e4696cf03b294493bd891a37fd8618e3c5137b6658d7be04e875acf398827332d5cc4706
7
+ data.tar.gz: 46ed8b38afcc198eb07f64ac7c1c6487ccc415ddcc904d0330cf2fa868739dcde94a816ef184675aafa899d9a86b357deac5b5ecd27e2468662435e79b6d3785
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.1
4
+
5
+ - Add `Accept: application/json` header to API requests
6
+
3
7
  ## 0.2.0
4
8
 
5
9
  - Add `Template` resource with `get` (show) and `list` (index) endpoints
data/README.md CHANGED
@@ -277,10 +277,15 @@ There's another variable called `rate_limit_retry_after` that will store the amo
277
277
  * Nusii::Proposal#destroy
278
278
  * Nusii::Proposal#send_proposal
279
279
 
280
+ #### Templates
281
+
282
+ * Nusii::Template.list
283
+ * Nusii::Template.get
284
+
280
285
  #### Proposal Activities
281
286
 
282
- * Nusii::Proposal.list
283
- * Nusii::Proposal.get
287
+ * Nusii::ProposalActivity.list
288
+ * Nusii::ProposalActivity.get
284
289
 
285
290
  #### Webhook Endpoints
286
291
 
@@ -14,6 +14,7 @@ module Nusii
14
14
  conn.headers['Authorization'] = "Token token=#{Nusii.api_key}"
15
15
  conn.headers['User-Agent'] = Nusii.user_agent
16
16
  conn.headers['Content-Type'] = 'application/json'
17
+ conn.headers['Accept'] = 'application/json'
17
18
  end
18
19
  end
19
20
 
data/lib/nusii/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Nusii
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nusii
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Víctor Martín