Releases: marcuxyz/curlify
π·ββοΈ v1.1.0 - Fix curlify version
The previous version 1.0.2 was created wrongly. A new feature was implemented and not a bug was fixed. This fix is for the gem version
π₯ changelog
- docs(README.md): update usage examples with faraday and net/http libraries by @marcuxyz in #7
- docs(README.md): updates by @marcuxyz in #8
- chore(curlify.gemspec): update gem version from 1.0.2 to 1.1.0 for new release by @marcuxyz in #9
Full Changelog: v1.0.2...v1.1.0
π v1.0.2 - Support to the Faraday
Now, you can convert the Faraday requests in the curl command in this version.
π₯ changelog
- Support to the Faraday
require 'faraday'
require 'curlify'
request = Faraday.new.build_request(:post) do |req|
req.url 'http://127.0.0.1'
end
Curlify.new(request).to_curl # "curl -X POST -H 'User-Agent: Faraday v2.9.0' http://127.0.0.1"
π V1.0.1 - Fixes generates curl command
This version fixes the method that generates curl command
.
π₯ changelog
- add support for POST, PUT, and DELETE requests in curlify gem
- wrap request body in single quotes to handle special characters properly
- bump version to 1.0.1
ποΈ Commits
-
- π§ fix(curlify_spec.rb): fix indentation and formatting issues in curlify_spec.rb
- β¨ feat(curlify_spec.rb): refactor tests to use shared response variable for better readability and maintainability
- π fix(curlify.rb): wrap request body in single quotes to handle special characters properly
- β¨ feat(curlify_spec.rb): add support for POST, PUT, and DELETE requests in curlify gem
- π docs(README.md): update usage example to include POST request and response output
- π§ chore(curlify.gemspec): bump version to 1.0.1
β¨ V1.0.0 - Released
The Curlify has been released and now you can convert the requests to curl command.
Changelog
- You can use the
to_curl
to convert to requests oncurl command
.
Commits
π chore(.gitignore): add .gem files to the gitignore
π chore(LICENSE): add MIT License
π chore(README.md): add initial README content
π chore(curlify.gemspec): add gemspec file for curlify gem
π chore(spec/curlify_spec.rb): add initial spec file for curlify gem
π chore: add .rspec file to project root directory
π chore: add .rubocop.yml file to project root directory
π chore: add Gemfile to project root directory
π feat: add Curlify class to lib/curlify.rb
π feat: add Curlify spec to spec/curlify_spec.rb
π chore: add spec_helper.rb to spec directory