faraday-mashify 0.1.0 → 0.1.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: a10cc6c215894861271005a7a255b82984859267d41de46af0de0f7626590798
4
- data.tar.gz: 8883fa62d08ecc8808f6af6dd5a40f1ab134c28c350be2a80059dc1bcc8b11d4
3
+ metadata.gz: 16028f627eeec2f7ebdfc70f1f7edc08f19cdaa5d09329db55c428e067469d53
4
+ data.tar.gz: ce7c6975c2a55e00ec6882066c7c276eecef3f6a88efefe9b418ee872bedd130
5
5
  SHA512:
6
- metadata.gz: 8c0f6d304562b78cd71e830b65f59024f19058790e879f333ea9863fc01563415a805f9f1d40bb353f72f1113e13fd81d0f6036a02892083ff6238a50000f3d2
7
- data.tar.gz: c1c2dc91234cac3ae59864f057cc4efc20049a3cf34f2ef5155b6a0ded170a7078aa91df637c7b51bb0d6023d7622fa69691dbd3cc1b1e1d51a85187bb8e0eb4
6
+ metadata.gz: b5aa61bb4526bb6d6bfb660edf0be29f9c365f82f359b3ea2277aaac3ea09005ad56f356e96d0367aff8606f5859c217b6250353216166a055bb51264a1e63df
7
+ data.tar.gz: 05bb04568a780f2994616ca05ff6116cee18f697b7e4e929ff2995a27590cc7dd88b48937388c809dab7538099db60202b6b88182f7a81fb20c2e1b97a96a2aa
data/CHANGELOG.md CHANGED
@@ -1,7 +1,15 @@
1
1
  # Changelog
2
2
 
3
3
  ## Unreleased
4
- [full changelog](http://github.com/sue445/plant_erd/compare/v0.1.0...main)
4
+ [full changelog](http://github.com/sue445/faraday-mashify/compare/v0.1.1...main)
5
+
6
+ ## 0.1.1
7
+ [full changelog](http://github.com/sue445/faraday-mashify/compare/v0.1.0...v0.1.1)
8
+
9
+ * Fixed an error when not requiring `faraday` before requiring `faraday-mashify`
10
+ * https://github.com/sue445/faraday-mashify/pull/9
11
+ * Deploy yard to Pages
12
+ * https://github.com/sue445/faraday-mashify/pull/8
5
13
 
6
14
  ## 0.1.0
7
15
  * Initial release.
data/README.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # Faraday Mashify
2
2
 
3
- [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/sue445/faraday-mashify/ci)](https://github.com/sue445/faraday-mashify/actions?query=branch%3Amain)
3
+ [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/sue445/faraday-mashify/CI)](https://github.com/sue445/faraday-mashify/actions?query=branch%3Amain)
4
4
  [![Gem](https://img.shields.io/gem/v/faraday-mashify.svg?style=flat-square)](https://rubygems.org/gems/faraday-mashify)
5
5
  [![License](https://img.shields.io/github/license/sue445/faraday-mashify.svg?style=flat-square)](LICENSE.md)
6
6
 
7
- Faraday middleware for wrapping responses into [`Hashie::Mash`](https://github.com/hashie/hashie#mash).
7
+ Faraday middleware for wrapping responses into [Hashie::Mash](https://github.com/hashie/hashie#mash).
8
8
 
9
- This very specific middleware has been extracted from the [`faraday_middleware`](https://github.com/lostisland/faraday_middleware) project.
9
+ This very specific middleware has been extracted from the [faraday_middleware](https://github.com/lostisland/faraday_middleware) project.
10
10
 
11
- This is fully compatible with [`FaradayMiddleware::Mashify`](https://github.com/lostisland/faraday_middleware/blob/main/lib/faraday_middleware/response/mashify.rb)
11
+ This is fully compatible with [FaradayMiddleware::Mashify](https://github.com/lostisland/faraday_middleware/blob/main/lib/faraday_middleware/response/mashify.rb)
12
12
 
13
13
  ## Installation
14
14
 
@@ -78,6 +78,12 @@ response.class
78
78
  #=> MyHash
79
79
  ```
80
80
 
81
+ ## Migrate from faraday_middleware
82
+ Please do the following
83
+
84
+ 1. `gem "faraday_middleware"` -> `gem "faraday-mashify"` in `Gemfile`
85
+ 2. `require "faraday_middleware"` -> `require "faraday/mashify"`
86
+
81
87
  ## Development
82
88
 
83
89
  After checking out the repo, run `bin/setup` to install dependencies.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Faraday
4
4
  module Mashify
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.1'
6
6
  end
7
7
  end
@@ -1,10 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative 'mashify/middleware'
4
- require_relative 'mashify/version'
5
3
  require 'faraday'
6
4
  require 'hashie/mash'
7
5
 
6
+ require_relative 'mashify/middleware'
7
+ require_relative 'mashify/version'
8
+
8
9
  module Faraday
9
10
  # This will be your middleware main module, though the actual middleware implementation will go
10
11
  # into Faraday::Mashify::Middleware for the correct namespacing.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faraday-mashify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-08 00:00:00.000000000 Z
11
+ date: 2022-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -198,8 +198,8 @@ licenses:
198
198
  - MIT
199
199
  metadata:
200
200
  bug_tracker_uri: https://github.com/sue445/faraday-mashify/issues
201
- changelog_uri: https://github.com/sue445/faraday-mashify/blob/v0.1.0/CHANGELOG.md
202
- documentation_uri: http://www.rubydoc.info/gems/faraday-mashify/0.1.0
201
+ changelog_uri: https://github.com/sue445/faraday-mashify/blob/v0.1.1/CHANGELOG.md
202
+ documentation_uri: https://sue445.github.io/faraday-mashify/
203
203
  homepage_uri: https://github.com/sue445/faraday-mashify
204
204
  source_code_uri: https://github.com/sue445/faraday-mashify
205
205
  wiki_uri: https://github.com/sue445/faraday-mashify/wiki