launchdarkly_api_helper 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 7d2501cb34864b4ae9586a01455dfe28ceb011a7ea1b146d595449e16a1b05ec
4
+ data.tar.gz: 37ec6115e79b2804cb698cbae919b5ddd533a25e55646abab55c574099d173d1
5
+ SHA512:
6
+ metadata.gz: 276d0aaaf2df1e706a25e2e163c21cd215d0d238cbc8f9ac811d2f98434d6da65fa87194404a5ca0c3de1c9255bc93fcf0832958004e432eb68fd63a0530a3f6
7
+ data.tar.gz: 0a05bccf8b2573faf986fd3c53fae9aff85f2b156c7f8ca2edcc7d7f810560207d526cf517fe6d10f5ef137dee9cf946aea8f9b1bb3e1e6fc4fdc483a3b5c846
data/.rubocop.yml ADDED
@@ -0,0 +1,25 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.5
3
+
4
+ Style/StringLiterals:
5
+ Enabled: true
6
+ EnforcedStyle: single_quotes
7
+
8
+ Style/StringLiteralsInInterpolation:
9
+ Enabled: true
10
+ EnforcedStyle: double_quotes
11
+
12
+ Layout/LineLength:
13
+ Max: 120
14
+
15
+ Metrics/MethodLength:
16
+ Max: 100
17
+
18
+ Metrics/AbcSize:
19
+ Enabled: false
20
+
21
+ Metrics/ParameterLists:
22
+ Enabled: false
23
+
24
+ Metrics/LineLength:
25
+ Max: 1000
@@ -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 amit.bi@browserstack.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/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in launchdarkly_api_helper.gemspec
6
+ gemspec
7
+
8
+ gem 'json'
9
+ gem 'rubocop', '~> 1.21'
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Amit Singh Bisht (https://github.com/amit-singh-bisht/)
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,37 @@
1
+ # LaunchdarklyApiHelper
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/launchdarkly_api_helper`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Install the gem and add to the application's Gemfile by executing:
10
+
11
+ $ bundle add launchdarkly_api_helper
12
+
13
+ If bundler is not being used to manage dependencies, install the gem by executing:
14
+
15
+ $ gem install launchdarkly_api_helper
16
+
17
+ ## Usage
18
+
19
+ TODO: Write usage instructions here
20
+
21
+ ## Development
22
+
23
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
24
+
25
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
26
+
27
+ ## Contributing
28
+
29
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/launchdarkly_api_helper. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/launchdarkly_api_helper/blob/master/CODE_OF_CONDUCT.md).
30
+
31
+ ## License
32
+
33
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
34
+
35
+ ## Code of Conduct
36
+
37
+ Everyone interacting in the LaunchdarklyApiHelper project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/launchdarkly_api_helper/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,24 @@
1
+ LAUNCH_DARKLY_FLAGS = 'https://app.launchdarkly.com/api/v2/flags/default'.freeze
2
+ LAUNCH_DARKLY_PROJECTS = 'https://app.launchdarkly.com/api/v2/projects/default'.freeze
3
+ REQUEST_CLASSES = {
4
+ get: {
5
+ 'method' => Net::HTTP::Get,
6
+ 'code' => 200,
7
+ 'message' => 'OK'
8
+ },
9
+ post: {
10
+ 'method' => Net::HTTP::Post,
11
+ 'code' => 201,
12
+ 'message' => 'Created'
13
+ },
14
+ patch: {
15
+ 'method' => Net::HTTP::Patch,
16
+ 'code' => 200,
17
+ 'message' => 'OK'
18
+ },
19
+ delete: {
20
+ 'method' => Net::HTTP::Delete,
21
+ 'code' => 204,
22
+ 'message' => 'No Content'
23
+ }
24
+ }.freeze
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'uri'
4
+ require 'json'
5
+ require 'net/http'
6
+ require 'logger'
7
+ # require_relative 'constants'
8
+
9
+ # All methods related to launch darkly api are defined here
10
+ class LaunchdarklyApiHelperClass
11
+ def initialize(access_token, log_file)
12
+ @access_token = access_token
13
+ @logger = Logger.new(log_file)
14
+ end
15
+
16
+ def parse_json(json)
17
+ puts "json: #{json}"
18
+ # json.read_body.empty? ? JSON.parse(json) ? JSON.parse(json.read_body)
19
+ end
20
+
21
+ def convert_to_json(hash)
22
+ JSON.dump(hash)
23
+ end
24
+
25
+ def ld_request(http_method, request_url, request_body = nil)
26
+ url = URI(request_url)
27
+ https = Net::HTTP.new(url.host, url.port)
28
+ https.use_ssl = true
29
+ request = REQUEST_CLASSES[http_method]['method'].new(url)
30
+ request['Authorization'] = @access_token
31
+ request['Content-Type'] = 'application/json'
32
+ request['LD-API-Version'] = 'beta'
33
+ case http_method
34
+ when :get, :patch, :post
35
+ request.body = convert_to_json(request_body) unless http_method == :get
36
+ https.request(request)
37
+ when :delete
38
+ return https.request(request)
39
+ else
40
+ raise StandardError, "Undefined HTTP method #{http_method} found"
41
+ end
42
+ response = https.request(request)
43
+ puts "response: #{response}"
44
+ JSON.parse(response.read_body)
45
+ end
46
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module LaunchdarklyApiHelper
4
+ VERSION = "0.1.0"
5
+ end
@@ -0,0 +1,198 @@
1
+ # frozen_string_literal: true
2
+
3
+ # The MIT License (MIT)
4
+ #
5
+ # Copyright (c) 2022 Amit Singh Bisht (https://github.com/amit-singh-bisht/)
6
+ #
7
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ # of this software and associated documentation files (the "Software"), to deal
9
+ # in the Software without restriction, including without limitation the rights
10
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ # copies of the Software, and to permit persons to whom the Software is
12
+ # furnished to do so, subject to the following conditions:
13
+ #
14
+ # The above copyright notice and this permission notice shall be included in
15
+ # all copies or substantial portions of the Software.
16
+ #
17
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
+ # THE SOFTWARE.
24
+
25
+ require 'uri'
26
+ require 'json'
27
+ require 'net/http'
28
+ require 'logger'
29
+ require_relative 'launchdarkly_api_helper/constants'
30
+ require_relative 'launchdarkly_api_helper/launchdarkly_api_helper_class'
31
+
32
+ # All methods related to launch darkly api are defined here
33
+ module LaunchdarklyApiHelper
34
+ class Error < StandardError; end
35
+
36
+ # == LaunchDarkly REST API
37
+ # https://apidocs.launchdarkly.com/
38
+ # == To perform any operations such as add, remove, replace, move, copy, test you should have a working knowledge of JSON Patch
39
+ # https://datatracker.ietf.org/doc/html/rfc6902
40
+
41
+ def ld_access_token(access_token, log_file = 'launchdarkly.log')
42
+ @launchdarkly_helper = LaunchdarklyApiHelperClass.new(access_token, log_file)
43
+ end
44
+
45
+ # == Get feature flag
46
+ # https://apidocs.launchdarkly.com/tag/Feature-flags#operation/getFeatureFlag
47
+ #
48
+ # == GET REQUEST
49
+ # https://app.launchdarkly.com/api/v2/flags/default/developer_flag_for_regression
50
+ #
51
+ # == key (*required)
52
+ # env
53
+ #
54
+ # == Here, 'developer_flag_for_regression' is the flag key and default is our Project name - Browserstack
55
+ # == By default, this returns the configurations for all environments
56
+ # == You can filter environments with the env query parameter. For example, setting env=k8s restricts the returned configurations to just the k8s environment
57
+ # https://app.launchdarkly.com/api/v2/flags/default/developer_flag_for_regression?env=k8s
58
+
59
+ def fetch_flag(flag, env)
60
+ request_url = "#{LAUNCH_DARKLY_FLAGS}/#{flag}?env=#{env}"
61
+ @launchdarkly_helper.ld_request(:get, request_url)
62
+ end
63
+
64
+ # == Create a feature flag
65
+ # https://apidocs.launchdarkly.com/tag/Feature-flags/#operation/postFeatureFlag
66
+ #
67
+ # == POST REQUEST
68
+ # https://app.launchdarkly.com/api/v2/flags/default
69
+ #
70
+ # Here, default is our Project name - Browserstack
71
+ #
72
+ # key (*required): A unique key used to reference the flag in your code (string)
73
+ #
74
+ # name (*required): A human-friendly name for the feature flag (string)
75
+ #
76
+ # description: Description of the feature flag. Defaults to an empty string (string)
77
+ #
78
+ # tags: Tags for the feature flag. Defaults to an empty array (Array of strings)
79
+ #
80
+ # variations: An array of possible variations for the flag. The variation values must be unique. If omitted, two boolean variations of true and false will be used (Array of objects)
81
+ #
82
+ # defaults
83
+ # * onVariation (*required): The index, from the array of variations for this flag, of the variation to serve by default when targeting is on (integer)
84
+ # * offVariation (*required): The index, from the array of variations for this flag, of the variation to serve by default when targeting is off (integer)
85
+ #
86
+ # {
87
+ # "key": "developer_flag_for_regression",
88
+ # "name": "developer_flag_for_regression",
89
+ # "description": "developer_flag_for_regression is created via regression
90
+ # api on 18_10_2022",
91
+ # "tags": [
92
+ # "created_via_regression_api_on_18_10_2022"
93
+ # ],
94
+ # "variations": [
95
+ # {
96
+ # "age": 10
97
+ # },
98
+ # {
99
+ # "age": 20
100
+ # }
101
+ # ],
102
+ # "defaults": {
103
+ # "onVariation": 1,
104
+ # "offVariation": 0
105
+ # }
106
+ # }
107
+ #
108
+ # Above code will create a key 'developer_flag_for_regression' with name as 'developer_flag_for_regression' and description as 'developer_flag_for_regression is created via regression api on 18_10_2022'
109
+ #
110
+ # Variations are provided while creating key, by default variation is a boolean value (true and false). once flag with a specific variation is created, its type cannot be modified later, hence choose your variation type smartly (Boolean, String, Number, JSON) In above example we are creating a flag with JSON type and its two values are 'age': 10 and 'age': 20
111
+ #
112
+ # Also, variation has by default two values, and you must also define two variations while creating your own custom feature flag
113
+ #
114
+ # Default will specify which variation to serve when flag is on or off. In above example when flag is turned on, '1' variation is served [Note: 0 and 1 are index position], so variations at first index ie variations[1] will be served when flag is turned on ie 'age': 20
115
+
116
+ def create_flag(key, name: key, description: key, tags: ['created_via_regression_api'])
117
+ request_url = LAUNCH_DARKLY_FLAGS
118
+ request_body = {}
119
+ request_body.merge!(key: key, name: name, description: description, tags: tags)
120
+ ld_request(:post, request_url, request_body)
121
+ end
122
+
123
+ # == Update feature flag
124
+ # https://apidocs.launchdarkly.com/tag/Feature-flags#operation/patchFeatureFlag
125
+ #
126
+ # == PATCH REQUEST
127
+ # https://app.launchdarkly.com/api/v2/flags/default/developer_flag_for_regression
128
+ #
129
+ # key (*required)
130
+ #
131
+ # == Here, 'developer_flag_for_regression' is the flag key and default is our Project name - Browserstack
132
+ # == You can update any parameter of feature flag using this method
133
+
134
+ def toggle_flag_for_specific_environment(env, flag, flag_value: true)
135
+ request_url = "#{LAUNCH_DARKLY_FLAGS}/#{flag}"
136
+ request_body = { 'op' => 'replace', 'path' => "/environments/#{env}/on", 'value' => flag_value }
137
+ response_body = ld_request(:patch, request_url, [request_body])
138
+ response_body['environments'][env]['on']
139
+ end
140
+
141
+ def toggle_variation_served_status(flag, env = ENV['PROFILE'])
142
+ feature_flag_response = fetch_flag(flag, env)
143
+ feature_flag_env = feature_flag_response['environments'][env]
144
+ feature_flag_toggle_status = feature_flag_env['on']
145
+ feature_flag_variation_index = feature_flag_env['fallthrough']['variation']
146
+ feature_flag_variation = feature_flag_response['variations'][feature_flag_variation_index]
147
+ feature_flag_variation_value = feature_flag_variation['value']
148
+ feature_flag_variation_name = feature_flag_variation['name']
149
+ [feature_flag_toggle_status, feature_flag_variation_value, feature_flag_variation_name]
150
+ end
151
+
152
+ def search_value_in_hash(feature_flag_hash, attribute)
153
+ value_at_index = -1
154
+ feature_flag_hash.length.times do |index|
155
+ next unless feature_flag_hash[index].to_s.include? attribute.to_s
156
+
157
+ value_at_index = index
158
+ break
159
+ end
160
+ value_at_index
161
+ end
162
+
163
+ def feature_flag_rules_clauses_index(flag, attribute, env = ENV['PROFILE'])
164
+ @feature_flag_response = fetch_flag(flag, env)
165
+ feature_flag_env = @feature_flag_response['environments'][env]
166
+ @feature_flag_env_rules = feature_flag_env['rules']
167
+ rule_index = search_value_in_hash(@feature_flag_env_rules, attribute)
168
+ @feature_flag_env_rules_clauses = @feature_flag_env_rules[rule_index]['clauses']
169
+ clause_index = search_value_in_hash(@feature_flag_env_rules_clauses, attribute)
170
+ [rule_index, clause_index]
171
+ end
172
+
173
+ def feature_flag_add_values_to_rules(flag, attribute, value, env = ENV['PROFILE'])
174
+ @flag = flag
175
+ @attribute = attribute
176
+ @value = value
177
+ @rule_index, @clause_index = feature_flag_rules_clauses_index(flag, attribute)
178
+ request_url = "#{LAUNCH_DARKLY_FLAGS}/#{flag}"
179
+ request_body = { 'op' => 'add', 'path' => "/environments/#{env}/rules/#{@rule_index}/clauses/#{@clause_index}/values/0", 'value' => value }
180
+ ld_request(:patch, request_url, [request_body])
181
+ end
182
+
183
+ def feature_flag_remove_values_to_rules(flag = @flag, attribute = @attribute, value = @value, env = ENV['PROFILE'])
184
+ @rule_index, @clause_index = feature_flag_rules_clauses_index(flag, attribute, env = ENV['PROFILE']) unless flag || attribute
185
+ feature_flag_env_rules_clauses_values = @feature_flag_env_rules_clauses[@clause_index]['values']
186
+ value_index = search_value_in_hash(feature_flag_env_rules_clauses_values, value)
187
+ request_url = "#{LAUNCH_DARKLY_FLAGS}/#{flag}"
188
+ request_body = { 'op': 'test', 'path': "/environments/#{env}/rules/#{@rule_index}/clauses/#{@clause_index}/values/#{value_index}", 'value': value }, { 'op' => 'remove', 'path' => "/environments/#{env}/rules/#{@rule_index}/clauses/#{@clause_index}/values/#{value_index}" }
189
+ ld_request(:patch, request_url, request_body)
190
+ end
191
+
192
+ def delete_flag(flag)
193
+ request_url = "#{LAUNCH_DARKLY_FLAGS}/#{flag}"
194
+ ld_request(:delete, request_url)
195
+ end
196
+ end
197
+
198
+
metadata ADDED
@@ -0,0 +1,57 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: launchdarkly_api_helper
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - amit-singh-bisht
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-11-18 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Write a longer description or delete this line.
14
+ email:
15
+ - bishtamitsingh98@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - ".rubocop.yml"
21
+ - CODE_OF_CONDUCT.md
22
+ - Gemfile
23
+ - LICENSE.txt
24
+ - README.md
25
+ - lib/launchdarkly_api_helper.rb
26
+ - lib/launchdarkly_api_helper/constants.rb
27
+ - lib/launchdarkly_api_helper/launchdarkly_api_helper_class.rb
28
+ - lib/launchdarkly_api_helper/version.rb
29
+ homepage: https://github.com/amit-singh-bisht/launchdarkly_api_helper_ruby
30
+ licenses:
31
+ - MIT
32
+ metadata:
33
+ allowed_push_host: https://rubygems.org
34
+ homepage_uri: https://github.com/amit-singh-bisht/launchdarkly_api_helper_ruby
35
+ source_code_uri: https://github.com/amit-singh-bisht/launchdarkly_api_helper_ruby
36
+ changelog_uri: https://github.com/amit-singh-bisht/launchdarkly_api_helper_ruby/blob/main/README.md
37
+ post_install_message:
38
+ rdoc_options: []
39
+ require_paths:
40
+ - lib
41
+ required_ruby_version: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: 2.5.0
46
+ required_rubygems_version: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: '0'
51
+ requirements: []
52
+ rubyforge_project:
53
+ rubygems_version: 2.7.3
54
+ signing_key:
55
+ specification_version: 4
56
+ summary: Write a short summary, because RubyGems requires one.
57
+ test_files: []