simplepush 0.7.0 → 0.7.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: 989b00a03ea614f2d48a5f3935950f7bab1746b8e01bc53c50f5852fe8d4e3bb
4
- data.tar.gz: 4d3bc2f8436b014e20c3ee046fae76c1a9d37e2b7a978b85952b8e9487e53dfc
3
+ metadata.gz: 175e1b7f5bc919a837292dde9ce32591df4f5d181132dc5ce1fb0750db9f47a3
4
+ data.tar.gz: a3556dd754d9093896fb9b769d3b9d4dae5bfec454a8a38ca32e9c58a2b5e5bb
5
5
  SHA512:
6
- metadata.gz: 6c188383fb492c3f951a11f2680799879309ad9ae49df09fb4db7dcb420afde9ce134fc6173b2900be0274187a4c6379de0b77d70705e3a9476269f10ffaed49
7
- data.tar.gz: 8f0aaa8cb706bcb301a566ceb0a08d4f9157ec96ff49a21175f03dcaff2d53962f96f4c59e997d83741a5cf9ef3e42d515e64f8ba371ec87e3131bb3d873a0ec
6
+ metadata.gz: f3f564ae638b69b31e4ec389463429f2c1f4a9f8730a319eee9865e3dd2827c783cfea71d070bbf361ffa6596a8d9bbad29fd1c79cf02287d6894e529d6d00f3
7
+ data.tar.gz: f5129f78f8f4001e084477a02e30553c06b6453125497f2309260c93e5f278c9e9eda1d46766c23e503b73d0cc9954a9889b7342c200a2ff435750f309e1c9ef
data/README.md CHANGED
@@ -136,6 +136,7 @@ The following is a sample of the query as it is produced:
136
136
  - 0.5.0 Initial Commits
137
137
  - 0.6.0 Changing API to cache keys, better examples
138
138
  - 0.7.0 Added support for [Exception Notification Gem](https://github.com/smartinez87/exception_notification)
139
+ - 0.7.1 Fixed incorrect content-type handling.
139
140
 
140
141
  ## Contributing
141
142
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Simplepush
4
- VERSION = "0.7.0"
4
+ VERSION = "0.7.1"
5
5
  end
data/lib/simplepush.rb CHANGED
@@ -11,7 +11,10 @@ class Simplepush
11
11
  base_uri 'https://api.simplepush.io'.freeze
12
12
  # For testing:
13
13
  # base_uri 'https://httpbin.org'.freeze
14
- format :json
14
+
15
+ # Don't override format use from Content-Type
16
+ # format :json
17
+
15
18
  default_timeout 5 # 5 seconds
16
19
  # debug_output $stdout # Uncomment to get detailled httparty log output to stdout
17
20
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplepush
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Oezbek
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-30 00:00:00.000000000 Z
11
+ date: 2022-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  requirements: []
70
- rubygems_version: 3.1.4
70
+ rubygems_version: 3.1.6
71
71
  signing_key:
72
72
  specification_version: 4
73
73
  summary: Ruby SimplePush.io API client (unofficial)