Skip to content

Releases: marcuxyz/curlify

πŸ‘·β€β™€οΈ v1.1.0 - Fix curlify version

28 Apr 10:29
f15b651
Compare
Choose a tag to compare

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

27 Apr 19:20
62396be
Compare
Choose a tag to compare

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

02 Sep 20:18
9fa55d4
Compare
Choose a tag to compare

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

  • 9fa55d4:

    • πŸ”§ 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

02 Sep 19:28
Compare
Choose a tag to compare

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 on curl 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