simple_proxy 1.0.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e591a4ec1a9b51c3419c06ecc3c24d19ce3d3efb55a432f2c79b0fbf92579e10
4
+ data.tar.gz: c56bd93ef4f2b410d1c4050e6a00ae541fed6cdf664d04362b2d5c9c3711526f
5
+ SHA512:
6
+ metadata.gz: b94faf3d47f1003ae8ff2386d689fa4791cd2140ad3ad8809bd6395c03bae307a52bc2ad9be4203d4bf802b3fc5874899a06862ba2ecdcd1a144f03903dba908
7
+ data.tar.gz: baf33ac3068006fdbc739dd131e995578f7942160dd5cdc06c8de879feeaba8b98bfb6a791d4f7c439908400a872adca454a5088c7199fde89fc28460e91f312
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,13 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.6
3
+
4
+ Style/StringLiterals:
5
+ Enabled: true
6
+ EnforcedStyle: double_quotes
7
+
8
+ Style/StringLiteralsInInterpolation:
9
+ Enabled: true
10
+ EnforcedStyle: double_quotes
11
+
12
+ Layout/LineLength:
13
+ Max: 120
data/CHANGELOG.md ADDED
@@ -0,0 +1,18 @@
1
+ # Changelog
2
+ All notable changes to "simple_proxy" will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
+
6
+ ## [1.0.1] - 2023-09-24
7
+
8
+ ### Added
9
+ - Initial release of the simple_proxy gem.
10
+ - Basic proxy features using Sinatra and HTTParty.
11
+ - Support for cross-origin resource sharing (CORS) with `Sinatra::CrossOrigin`.
12
+ - GET, POST, PUT, HEAD and DELETE HTTP methods are now supported via '/proxy' endpoint.
13
+ - Added the ability to proxy requests, with support for transferring headers and parameters.
14
+ - Introduced a mechanism for starting and stopping the server using `self.run!` and `self.quit!` methods.
15
+ - Configured the server to bind to '0.0.0.0' and listen on port 4567.
16
+
17
+ [Unreleased]: https://github.com/your_username/simple_proxy/compare/v1.0.0...HEAD
18
+ [1.0.1]: https://github.com/your_username/simple_proxy/releases/tag/v1.0.1
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at arjun.verma8412@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 Arjun Verma
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,112 @@
1
+
2
+
3
+ <div>
4
+ <img src="./assets/logo.png" alt="Simple Proxy Logo" width="50" style="border-radius: 16px; display:inline; vertical-align: middle;">
5
+ <h1 style="display:inline; vertical-align: middle; margin-left: 10px;">Simple Proxy</h1>
6
+ </div> <br>
7
+
8
+
9
+ [![Build Status](https://travis-ci.com/username/projectname.svg?branch=main)](https://travis-ci.com/username/projectname)
10
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
11
+ [![Gem Version](https://badge.fury.io/rb/simple_proxy.svg)](https://badge.fury.io/rb/simple_proxy)
12
+ [![Downloads](https://img.shields.io/gem/dt/simple_proxy.svg)](https://rubygems.org/gems/simple_proxy)
13
+ [![Documentation](https://img.shields.io/badge/docs-rubydoc.info-blue.svg)](https://rubydoc.info/github/Hetu-Labs/simple_proxy)
14
+
15
+ **Simple Proxy** is a lightweight and easy-to-use proxy server built with Ruby, Sinatra, and HTTParty. It's designed to forward requests to specified target URLs, making it a versatile tool for developers working with APIs and web services.
16
+
17
+ ## Features
18
+
19
+ - Supports GET, POST, and PUT HTTP methods.
20
+ - Supports Cross-Origin Resource Sharing (CORS) with `Sinatra::CrossOrigin`.
21
+ - Transfers headers and parameters to the target URL.
22
+ - Provides mechanisms for starting and stopping the server.
23
+
24
+ ## Installation
25
+
26
+ To install Simple Proxy, you can add this line to your application's Gemfile:
27
+
28
+ ```ruby
29
+ gem 'simple_proxy'
30
+ ```
31
+ and then execute:
32
+
33
+ ```bash
34
+ bundle install
35
+ ```
36
+
37
+ or simply install it from the command line:
38
+
39
+ ```bash
40
+ gem install simple_proxy
41
+ ```
42
+
43
+ ## Usage
44
+
45
+ To use Simple Proxy, you can require it in your application:
46
+
47
+ ```ruby
48
+ require 'simple_proxy'
49
+ ```
50
+
51
+ #### Starting the Server
52
+ To start the server:
53
+
54
+ ```ruby
55
+ SimpleProxy.run!
56
+ ```
57
+
58
+ #### Stopping the Server
59
+ To stop the server:
60
+
61
+ ```ruby
62
+ SimpleProxy.quit!
63
+ ```
64
+
65
+ #### CLI
66
+ You can also start or stop the server from the command line:
67
+
68
+ ```bash
69
+ simple_proxy start
70
+ ```
71
+
72
+ ```bash
73
+ simple_proxy stop
74
+ ```
75
+
76
+ #### Proxying Requests
77
+ To proxy requests, you can use the '/proxy' endpoint:
78
+
79
+ ```ruby
80
+ get '/proxy' do
81
+ SimpleProxy.proxy(params, request)
82
+ end
83
+ ```
84
+
85
+ ##### Making Proxy Requests
86
+ Once the server is running, you can make proxy requests to the following endpoints:
87
+
88
+ * GET /proxy?url=target_url
89
+ * POST /proxy?url=target_url
90
+ * PUT /proxy?url=target_url
91
+ * HEAD /proxy?url=target_url
92
+ * DELETE /proxy?url=target_url
93
+
94
+ Replace target_url with the URL you want to proxy the request to.
95
+
96
+ ## Contributing
97
+ Contributions are welcome! Please read our [Code of Conduct](https://github.com/Hetu-Labs/simple_proxy/blob/main/CODE_OF_CONDUCT.md) before contributing to help this project stay welcoming.
98
+
99
+ * Fork it (https://github.com/Hetu-Labs/simple_proxy/fork)
100
+ * Create your feature branch (git checkout -b feature/fooBar)
101
+ * Commit your changes (git commit -am 'Add some fooBar')
102
+ * Push to the branch (git push origin feature/fooBar)
103
+ * Create a new Pull Request
104
+
105
+ ## License
106
+ This project is licensed under the MIT License - see the [LICENSE](https://github.com/Hetu-Labs/simple_proxy/blob/main/LICENSE.txt) file for details.
107
+
108
+ ## Code of Conduct
109
+ Please note that this project is released with a Contributor [Code of Conduct](https://github.com/Hetu-Labs/simple_proxy/blob/main/CODE_OF_CONDUCT.md). By participating in this project, you agree to abide by its terms.
110
+
111
+ ## Changelog
112
+ For all notable changes made to this project, see the [Changelog](https://github.com/Hetu-Labs/simple_proxy/blob/main/CHANGELOG.md).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
data/assets/logo.png ADDED
Binary file
data/bin/simple_proxy ADDED
@@ -0,0 +1,56 @@
1
+ #!/usr/bin/env ruby
2
+ require_relative '../lib/simple_proxy'
3
+
4
+ command = ARGV.first
5
+ pid_file = 'simple_proxy.pid'
6
+
7
+ def server_running?(pid_file)
8
+ return false unless File.exist?(pid_file)
9
+
10
+ pid = File.read(pid_file).to_i
11
+ begin
12
+ Process.getpgid(pid)
13
+ true
14
+ rescue Errno::ESRCH
15
+ false
16
+ end
17
+ end
18
+
19
+ def print_not_running_message
20
+ puts "\e[33m⚠️\e[0m Server is not running!"
21
+ end
22
+
23
+ def print_already_running_message
24
+ puts "\e[33m⚠️\e[0m Server is already running!"
25
+ end
26
+
27
+ def print_start_message
28
+ puts "\e[32m✔\e[0m Server is up and running!"
29
+ end
30
+
31
+ def print_stop_message
32
+ puts "\e[32m✔\e[0m Server has been stopped!"
33
+ end
34
+
35
+ def print_error_message
36
+ puts "\e[31m✘\e[0m Invalid command. Use 'start' to start the server and 'stop' to stop it."
37
+ end
38
+
39
+ case command
40
+ when 'start'
41
+ if server_running?(pid_file)
42
+ print_already_running_message
43
+ else
44
+ SimpleProxy::App.run!
45
+ print_start_message
46
+ end
47
+ when 'stop'
48
+ if server_running?(pid_file)
49
+ SimpleProxy::App.quit!
50
+ print_stop_message
51
+ else
52
+ print_not_running_message
53
+ end
54
+ else
55
+ print_error_message
56
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module SimpleProxy
4
+ VERSION = "1.0.1"
5
+ end
@@ -0,0 +1,118 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "simple_proxy/version"
4
+ require 'sinatra/base'
5
+ require 'httparty'
6
+ require 'sinatra/cross_origin'
7
+
8
+ module SimpleProxy
9
+ class Error < StandardError; end
10
+
11
+ class App < Sinatra::Base
12
+ set :bind, '0.0.0.0'
13
+ set :port, 4567
14
+
15
+ configure do
16
+ set :logging, nil
17
+ set :dump_errors, false
18
+ set :raise_errors, false
19
+ register Sinatra::CrossOrigin
20
+ enable :cross_origin
21
+ end
22
+
23
+ before do
24
+ cross_origin
25
+ end
26
+
27
+ # routes for the proxy server
28
+ options "*" do
29
+ response.headers["Allow"] = "GET, PUT, POST, DELETE, OPTIONS"
30
+ response.headers["Access-Control-Allow-Headers"] = "X-Requested-With, X-HTTP-Method-Override, Content-Type, Cache-Control, Accept, X-Api-Key"
31
+ 200
32
+ end
33
+
34
+
35
+ # Handle GET requests
36
+ get '/proxy' do
37
+ proxy_request(:get)
38
+ end
39
+
40
+ # Handle POST requests
41
+ post '/proxy' do
42
+ proxy_request(:post)
43
+ end
44
+
45
+ # Handle PUT requests
46
+ put '/proxy' do
47
+ proxy_request(:put)
48
+ end
49
+
50
+ # Handle HEAD requests
51
+ put '/proxy' do
52
+ proxy_request(:head)
53
+ end
54
+
55
+ # Handle DELETE requests
56
+ put '/proxy' do
57
+ proxy_request(:delete)
58
+ end
59
+
60
+ def proxy_request(method)
61
+ target_url = params['url']
62
+
63
+ # Remove 'url' from params to avoid sending it in the query parameters
64
+ params.delete('url')
65
+
66
+ options = {
67
+ query: params, # Send remaining params as query parameters
68
+ headers: extract_request_headers
69
+ }
70
+
71
+ if [:post, :put].include?(method)
72
+ options[:body] = request.body.read
73
+ options[:headers]['Content-Type'] = 'application/json'
74
+ end
75
+
76
+ response = HTTParty.send(method, target_url, options)
77
+
78
+ content_type response.headers['content-type']
79
+ headers 'Accept-all' => 'true' # Add the Accept-all header to the response
80
+
81
+ response.body
82
+ end
83
+
84
+ def extract_request_headers
85
+ headers = {}
86
+ env.each do |key, value|
87
+ # HTTP_HEADER_NAME format is how Rack sends headers
88
+ if key.start_with?('HTTP_') && !['HTTP_VERSION', 'HTTP_HOST'].include?(key)
89
+ # Convert HTTP_HEADER_NAME to Header-Name
90
+ header_name = key[5..-1].split('_').collect(&:capitalize).join('-')
91
+ headers[header_name] = value
92
+ end
93
+ end
94
+ headers
95
+ end
96
+
97
+ # start the server
98
+ def self.run!
99
+ pid = Process.fork do
100
+ $stderr.reopen(File.new('/dev/null', 'w'))
101
+ $stdout.reopen(File.new('/dev/null', 'w'))
102
+ super()
103
+ end
104
+ File.write('simple_proxy.pid', pid)
105
+ end
106
+
107
+ # stop the server
108
+ def self.quit!
109
+ if File.exist?('simple_proxy.pid')
110
+ pid = File.read('simple_proxy.pid').to_i
111
+ Process.kill("TERM", pid)
112
+ File.delete('simple_proxy.pid')
113
+ else
114
+ puts "No running instance found"
115
+ end
116
+ end
117
+ end
118
+ end
@@ -0,0 +1,4 @@
1
+ module SimpleProxy
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/simple_proxy/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "simple_proxy"
7
+ spec.version = SimpleProxy::VERSION
8
+ spec.authors = ["Arjun Verma"]
9
+ spec.email = ["arjun.verma@hetu-labs.com"]
10
+
11
+ spec.summary = "This gem is a pivotal component in a suite of Developer Productivity Software, specifically designed to resolve CORS restrictions that occur when the frontend and backend domains are different. It aims to eliminate the impediments in the Software Development Life Cycle (SDLC), ensuring smoother and more efficient development processes, thereby significantly reducing SDLC turnaround times."
12
+ spec.description = "The gem in development is part of a suite of Developer Productivity Software that is strategically designed to enhance efficiency and productivity during the Software Development Life Cycle (SDLC). It mainly addresses the limitations and blockades encountered due to Cross-Origin Resource Sharing (CORS) policies that often hinder smooth interaction between the frontend and backend components when hosted on different domains."
13
+ spec.homepage = "https://www.hetu-labs.com/"
14
+ spec.license = "MIT"
15
+ spec.required_ruby_version = ">= 2.6.0"
16
+
17
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
18
+
19
+ spec.metadata["homepage_uri"] = spec.homepage
20
+ spec.metadata["source_code_uri"] = "https://github.com/Hetu-Labs/simple_proxy"
21
+ spec.metadata["changelog_uri"] = "https://github.com/Hetu-Labs/simple_proxy/blob/main/CHANGELOG.md"
22
+
23
+ # Specify which files should be added to the gem when it is released.
24
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
25
+ spec.files = Dir.chdir(__dir__) do
26
+ `git ls-files -z`.split("\x0").reject do |f|
27
+ (File.expand_path(f) == __FILE__) ||
28
+ f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor Gemfile])
29
+ end
30
+ end
31
+ spec.bindir = "bin"
32
+ spec.executables = ["simple_proxy"]
33
+ spec.require_paths = ["lib"]
34
+
35
+ # Uncomment to register a new dependency of your gem
36
+ # spec.add_dependency "example-gem", "~> 1.0"
37
+
38
+ # For more information and examples about making a new gem, check out our
39
+ # guide at: https://bundler.io/guides/creating_gem.html
40
+ spec.add_runtime_dependency "sinatra", "~> 3.1.0"
41
+ spec.add_runtime_dependency "httparty", "~> 0.21.0"
42
+ spec.add_runtime_dependency "sinatra-cross_origin", "~> 0.4.0"
43
+ end
metadata ADDED
@@ -0,0 +1,112 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: simple_proxy
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Arjun Verma
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-09-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: sinatra
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 3.1.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 3.1.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: httparty
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.21.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.21.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: sinatra-cross_origin
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 0.4.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 0.4.0
55
+ description: The gem in development is part of a suite of Developer Productivity Software
56
+ that is strategically designed to enhance efficiency and productivity during the
57
+ Software Development Life Cycle (SDLC). It mainly addresses the limitations and
58
+ blockades encountered due to Cross-Origin Resource Sharing (CORS) policies that
59
+ often hinder smooth interaction between the frontend and backend components when
60
+ hosted on different domains.
61
+ email:
62
+ - arjun.verma@hetu-labs.com
63
+ executables:
64
+ - simple_proxy
65
+ extensions: []
66
+ extra_rdoc_files: []
67
+ files:
68
+ - ".rspec"
69
+ - ".rubocop.yml"
70
+ - CHANGELOG.md
71
+ - CODE_OF_CONDUCT.md
72
+ - LICENSE.txt
73
+ - README.md
74
+ - Rakefile
75
+ - assets/logo.png
76
+ - bin/simple_proxy
77
+ - lib/simple_proxy.rb
78
+ - lib/simple_proxy/version.rb
79
+ - sig/simple_proxy.rbs
80
+ - simple_proxy.gemspec
81
+ homepage: https://www.hetu-labs.com/
82
+ licenses:
83
+ - MIT
84
+ metadata:
85
+ allowed_push_host: https://rubygems.org
86
+ homepage_uri: https://www.hetu-labs.com/
87
+ source_code_uri: https://github.com/Hetu-Labs/simple_proxy
88
+ changelog_uri: https://github.com/Hetu-Labs/simple_proxy/blob/main/CHANGELOG.md
89
+ post_install_message:
90
+ rdoc_options: []
91
+ require_paths:
92
+ - lib
93
+ required_ruby_version: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: 2.6.0
98
+ required_rubygems_version: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ requirements: []
104
+ rubygems_version: 3.3.7
105
+ signing_key:
106
+ specification_version: 4
107
+ summary: This gem is a pivotal component in a suite of Developer Productivity Software,
108
+ specifically designed to resolve CORS restrictions that occur when the frontend
109
+ and backend domains are different. It aims to eliminate the impediments in the Software
110
+ Development Life Cycle (SDLC), ensuring smoother and more efficient development
111
+ processes, thereby significantly reducing SDLC turnaround times.
112
+ test_files: []