mdqt 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: 1b4c3d3af10864847c7660c245d2ff0459ce87282011a7562ffa39c51c18f2f5
4
- data.tar.gz: a1b470e3d206b7f5ed83f78afa970e13e7b1847ae96c5a1727b931c4a19846ec
3
+ metadata.gz: bfd76bf16cde1ddd85df1f7c6ce24301ef184991e046f14d2ae7de1fbaaf597f
4
+ data.tar.gz: d2b08335f3993dcbed7c8b68be5fb36bcf2176ac47686df00100f86a4f941b46
5
5
  SHA512:
6
- metadata.gz: 02fca67549a99277832129e8bf27344c9764c76519b464e57b8f28ddc5838f75d9cbd3e0adff603e9b2a57b985e7d93b61282a3b5d01e311f68f988cbdb64586
7
- data.tar.gz: eed5827d3d9954211debb6bf52182777a01da7a8df266272bf338374c1bdd9f9ab54149d7cd5d86cf909ed645617d35791b0807814ed5c6823143d5cdb4a0554
6
+ metadata.gz: 4a128364adb84f648428b99bdd930aa11997c6cf00c0c7c9ef5029d2963c7edb213ae69891909737d1775c4a481764784fa87d4d5e775608089c5b291daa2ae6
7
+ data.tar.gz: a1a05bc7c880cc38bcbbfa39ad39b216497ae80aa384d15b0b58e0d8350f03a31b654c21db426dff71dbc729d0c8c0f42711e3dda1887c6f8a59f3b6b06ba6c7
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+
4
+ ## 0.2.1
5
+
6
+ ### Fixes
7
+ - Send Accept header rather than Content-Type header 🙄
8
+
3
9
  ## 0.2.0
4
10
 
5
11
  ### Improvements
@@ -93,8 +93,9 @@ module MDQT
93
93
  faraday.use FaradayMiddleware::Gzip
94
94
  faraday.use FaradayMiddleware::FollowRedirects
95
95
  faraday.use :http_cache, faraday_cache_config if cache?
96
- faraday.headers['Content-Type'] = 'application/samlmetadata+xml'
97
- faraday.headers['User-Agent'] = "MDQT v#{MDQT::VERSION}"
96
+ faraday.headers['Accept'] = 'application/samlmetadata+xml'
97
+ faraday.headers['Accept-Charset'] = 'utf-8'
98
+ faraday.headers['User-Agent'] = "MDQT v#{MDQT::VERSION}"
98
99
  faraday.adapter :typhoeus
99
100
  #faraday.response :logger
100
101
  end
@@ -1,3 +1,3 @@
1
1
  module MDQT
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdqt
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
  - Pete Birkinshaw
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-06 00:00:00.000000000 Z
11
+ date: 2018-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander