api_recipes 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/examples/config/apis.yml +1 -1
- data/lib/api_recipes/settings.rb +1 -1
- data/lib/api_recipes/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 265fba1c89068507ade75fab2ea20832df8ba56f80fe01dab130bba8568316e9
|
4
|
+
data.tar.gz: e274bda1782776e2eeed051bd55941db566829c96e8534b8c70d162fc85ba0fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48937113000d9b7b5749fd2d6adba76dbbc62ff9cf7fd4323da8205b8c9bcfc95efbdffefca9e6b32d483f89b221d7f2c74ab57d33817c3c8a98b9cfd9e17fad
|
7
|
+
data.tar.gz: c1c636d39733bb3d99f3644879164467e87d09db8f2ef013b93110159bcde21ec0d8c65c03a5cc2dbc528ef5cf59b3d9f05d7cb9a128ff69b4945255a738b014
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
-
## Version 0.
|
1
|
+
## Version 0.6.0 - Default to HTTPS
|
2
|
+
|
3
|
+
**POSSIBLE BREAKING CHANGES**
|
4
|
+
|
5
|
+
Requests now default to HTTPS. If you still want to use (unsecure) HTTP you have to specify it in your configs through the dedicated `protocol` option e.g.
|
6
|
+
|
7
|
+
```yaml
|
8
|
+
github:
|
9
|
+
protocol: http
|
10
|
+
host: api.github.com
|
11
|
+
```
|
12
|
+
|
13
|
+
## Version 0.5.0 - Better Exceptions
|
2
14
|
|
3
15
|
Exceptions now include attributes that can be accessed during the `rescue` phase in order to execute specific actions
|
data/examples/config/apis.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
github:
|
2
|
-
protocol: https # Optional, defaults to: '
|
2
|
+
protocol: https # Optional, defaults to: 'https'
|
3
3
|
host: api.github.com # Optional, defaults to: 'localhost'
|
4
4
|
port: 443 # Optional, defaults to: 80 for http and 443 for https
|
5
5
|
base_path: # Optional, defaults to: ''
|
data/lib/api_recipes/settings.rb
CHANGED
data/lib/api_recipes/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: api_recipes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alessandro Verlato
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oj
|