ff-ruby-server-sdk 1.0.0 → 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.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -1
  3. data/Gemfile +0 -3
  4. data/lib/ff/ruby/server/generated/lib/openapi_client/api/client_api.rb +545 -0
  5. data/lib/ff/ruby/server/generated/lib/openapi_client/api/metrics_api.rb +89 -0
  6. data/lib/ff/ruby/server/generated/lib/openapi_client/api_client.rb +390 -0
  7. data/lib/ff/ruby/server/generated/lib/openapi_client/api_error.rb +57 -0
  8. data/lib/ff/ruby/server/generated/lib/openapi_client/configuration.rb +282 -0
  9. data/lib/ff/ruby/server/generated/lib/openapi_client/models/authentication_request.rb +232 -0
  10. data/lib/ff/ruby/server/generated/lib/openapi_client/models/authentication_request_target.rb +250 -0
  11. data/lib/ff/ruby/server/generated/lib/openapi_client/models/authentication_response.rb +223 -0
  12. data/lib/ff/ruby/server/generated/lib/openapi_client/models/clause.rb +281 -0
  13. data/lib/ff/ruby/server/generated/lib/openapi_client/models/distribution.rb +239 -0
  14. data/lib/ff/ruby/server/generated/lib/openapi_client/models/error.rb +237 -0
  15. data/lib/ff/ruby/server/generated/lib/openapi_client/models/evaluation.rb +260 -0
  16. data/lib/ff/ruby/server/generated/lib/openapi_client/models/feature_config.rb +418 -0
  17. data/lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb +37 -0
  18. data/lib/ff/ruby/server/generated/lib/openapi_client/models/key_value.rb +237 -0
  19. data/lib/ff/ruby/server/generated/lib/openapi_client/models/metrics.rb +231 -0
  20. data/lib/ff/ruby/server/generated/lib/openapi_client/models/metrics_data.rb +303 -0
  21. data/lib/ff/ruby/server/generated/lib/openapi_client/models/pagination.rb +274 -0
  22. data/lib/ff/ruby/server/generated/lib/openapi_client/models/prerequisite.rb +239 -0
  23. data/lib/ff/ruby/server/generated/lib/openapi_client/models/segment.rb +320 -0
  24. data/lib/ff/ruby/server/generated/lib/openapi_client/models/serve.rb +227 -0
  25. data/lib/ff/ruby/server/generated/lib/openapi_client/models/serving_rule.rb +267 -0
  26. data/lib/ff/ruby/server/generated/lib/openapi_client/models/tag.rb +233 -0
  27. data/lib/ff/ruby/server/generated/lib/openapi_client/models/target.rb +331 -0
  28. data/lib/ff/ruby/server/generated/lib/openapi_client/models/target_data.rb +253 -0
  29. data/lib/ff/ruby/server/generated/lib/openapi_client/models/target_map.rb +232 -0
  30. data/lib/ff/ruby/server/generated/lib/openapi_client/models/variation.rb +255 -0
  31. data/lib/ff/ruby/server/generated/lib/openapi_client/models/variation_map.rb +245 -0
  32. data/lib/ff/ruby/server/generated/lib/openapi_client/models/weighted_variation.rb +237 -0
  33. data/lib/ff/ruby/server/generated/lib/openapi_client/version.rb +15 -0
  34. data/lib/ff/ruby/server/generated/lib/openapi_client.rb +65 -0
  35. data/lib/ff/ruby/server/sdk/api/cf_client.rb +1 -1
  36. data/lib/ff/ruby/server/sdk/version.rb +1 -1
  37. data/scripts/install.sh +8 -2
  38. data/scripts/openapi.sh +51 -10
  39. data/scripts/publish.sh +1 -1
  40. data/scripts/sdk_specs.sh +1 -1
  41. metadata +38 -11
  42. data/.run/build.sh.run.xml +0 -17
  43. data/.run/install.sh.run.xml +0 -17
  44. data/.run/openapi.sh.run.xml +0 -17
  45. data/.run/publish.sh.run.xml +0 -17
  46. data/.run/unpublish.sh.run.xml +0 -17
metadata CHANGED
@@ -1,31 +1,26 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ff-ruby-server-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Milos Vasic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-02 00:00:00.000000000 Z
11
+ date: 2022-03-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Harness is a feature management platform that helps teams to build better
14
14
  software and to test features quicker.
15
15
  email:
16
- - milos85vasic@gmail.com
16
+ - milos.vasic@harness.io
17
17
  executables: []
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
21
  - ".idea/.gitignore"
22
- - ".run/build.sh.run.xml"
23
22
  - ".run/example.run.xml"
24
- - ".run/install.sh.run.xml"
25
- - ".run/openapi.sh.run.xml"
26
- - ".run/publish.sh.run.xml"
27
23
  - ".run/sdk_test.rb.run.xml"
28
- - ".run/unpublish.sh.run.xml"
29
24
  - ".standard.yml"
30
25
  - CHANGELOG.md
31
26
  - Gemfile
@@ -36,6 +31,37 @@ files:
36
31
  - bin/console
37
32
  - bin/setup
38
33
  - example/example.rb
34
+ - lib/ff/ruby/server/generated/lib/openapi_client.rb
35
+ - lib/ff/ruby/server/generated/lib/openapi_client/api/client_api.rb
36
+ - lib/ff/ruby/server/generated/lib/openapi_client/api/metrics_api.rb
37
+ - lib/ff/ruby/server/generated/lib/openapi_client/api_client.rb
38
+ - lib/ff/ruby/server/generated/lib/openapi_client/api_error.rb
39
+ - lib/ff/ruby/server/generated/lib/openapi_client/configuration.rb
40
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/authentication_request.rb
41
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/authentication_request_target.rb
42
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/authentication_response.rb
43
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/clause.rb
44
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/distribution.rb
45
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/error.rb
46
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/evaluation.rb
47
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/feature_config.rb
48
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb
49
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/key_value.rb
50
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/metrics.rb
51
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/metrics_data.rb
52
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/pagination.rb
53
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/prerequisite.rb
54
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/segment.rb
55
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/serve.rb
56
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/serving_rule.rb
57
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/tag.rb
58
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/target.rb
59
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/target_data.rb
60
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/target_map.rb
61
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/variation.rb
62
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/variation_map.rb
63
+ - lib/ff/ruby/server/generated/lib/openapi_client/models/weighted_variation.rb
64
+ - lib/ff/ruby/server/generated/lib/openapi_client/version.rb
39
65
  - lib/ff/ruby/server/sdk.rb
40
66
  - lib/ff/ruby/server/sdk/api/auth_service.rb
41
67
  - lib/ff/ruby/server/sdk/api/cf_client.rb
@@ -86,12 +112,13 @@ licenses: []
86
112
  metadata:
87
113
  allowed_push_host: https://rubygems.org
88
114
  homepage_uri: https://www.harness.io/
89
- source_code_uri: https://github.com/drone/ff-ruby-server-sdk
90
- changelog_uri: https://github.com/drone/ff-ruby-server-sdk/blob/main/CHANGELOG.md
115
+ source_code_uri: https://github.com/harness/ff-ruby-server-sdk
116
+ changelog_uri: https://github.com/harness/ff-ruby-server-sdk/blob/main/CHANGELOG.md
91
117
  post_install_message:
92
118
  rdoc_options: []
93
119
  require_paths:
94
120
  - lib
121
+ - lib/ff/ruby/server/generated/lib
95
122
  required_ruby_version: !ruby/object:Gem::Requirement
96
123
  requirements:
97
124
  - - ">="
@@ -103,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
130
  - !ruby/object:Gem::Version
104
131
  version: '0'
105
132
  requirements: []
106
- rubygems_version: 3.2.31
133
+ rubygems_version: 3.3.7
107
134
  signing_key:
108
135
  specification_version: 4
109
136
  summary: Harness is a feature management platform that helps teams to build better
@@ -1,17 +0,0 @@
1
- <component name="ProjectRunConfigurationManager">
2
- <configuration default="false" name="build.sh" type="ShConfigurationType">
3
- <option name="SCRIPT_TEXT" value="" />
4
- <option name="INDEPENDENT_SCRIPT_PATH" value="true" />
5
- <option name="SCRIPT_PATH" value="$PROJECT_DIR$/scripts/build.sh" />
6
- <option name="SCRIPT_OPTIONS" value="" />
7
- <option name="INDEPENDENT_SCRIPT_WORKING_DIRECTORY" value="true" />
8
- <option name="SCRIPT_WORKING_DIRECTORY" value="$PROJECT_DIR$/scripts" />
9
- <option name="INDEPENDENT_INTERPRETER_PATH" value="true" />
10
- <option name="INTERPRETER_PATH" value="/bin/zsh" />
11
- <option name="INTERPRETER_OPTIONS" value="" />
12
- <option name="EXECUTE_IN_TERMINAL" value="true" />
13
- <option name="EXECUTE_SCRIPT_FILE" value="true" />
14
- <envs />
15
- <method v="2" />
16
- </configuration>
17
- </component>
@@ -1,17 +0,0 @@
1
- <component name="ProjectRunConfigurationManager">
2
- <configuration default="false" name="install.sh" type="ShConfigurationType">
3
- <option name="SCRIPT_TEXT" value="" />
4
- <option name="INDEPENDENT_SCRIPT_PATH" value="true" />
5
- <option name="SCRIPT_PATH" value="$PROJECT_DIR$/scripts/install.sh" />
6
- <option name="SCRIPT_OPTIONS" value="" />
7
- <option name="INDEPENDENT_SCRIPT_WORKING_DIRECTORY" value="true" />
8
- <option name="SCRIPT_WORKING_DIRECTORY" value="$PROJECT_DIR$/scripts" />
9
- <option name="INDEPENDENT_INTERPRETER_PATH" value="true" />
10
- <option name="INTERPRETER_PATH" value="/bin/zsh" />
11
- <option name="INTERPRETER_OPTIONS" value="" />
12
- <option name="EXECUTE_IN_TERMINAL" value="true" />
13
- <option name="EXECUTE_SCRIPT_FILE" value="true" />
14
- <envs />
15
- <method v="2" />
16
- </configuration>
17
- </component>
@@ -1,17 +0,0 @@
1
- <component name="ProjectRunConfigurationManager">
2
- <configuration default="false" name="openapi.sh" type="ShConfigurationType">
3
- <option name="SCRIPT_TEXT" value="" />
4
- <option name="INDEPENDENT_SCRIPT_PATH" value="true" />
5
- <option name="SCRIPT_PATH" value="$PROJECT_DIR$/scripts/openapi.sh" />
6
- <option name="SCRIPT_OPTIONS" value="" />
7
- <option name="INDEPENDENT_SCRIPT_WORKING_DIRECTORY" value="true" />
8
- <option name="SCRIPT_WORKING_DIRECTORY" value="$PROJECT_DIR$/scripts" />
9
- <option name="INDEPENDENT_INTERPRETER_PATH" value="true" />
10
- <option name="INTERPRETER_PATH" value="/bin/zsh" />
11
- <option name="INTERPRETER_OPTIONS" value="" />
12
- <option name="EXECUTE_IN_TERMINAL" value="true" />
13
- <option name="EXECUTE_SCRIPT_FILE" value="true" />
14
- <envs />
15
- <method v="2" />
16
- </configuration>
17
- </component>
@@ -1,17 +0,0 @@
1
- <component name="ProjectRunConfigurationManager">
2
- <configuration default="false" name="publish.sh" type="ShConfigurationType">
3
- <option name="SCRIPT_TEXT" value="" />
4
- <option name="INDEPENDENT_SCRIPT_PATH" value="true" />
5
- <option name="SCRIPT_PATH" value="$PROJECT_DIR$/scripts/publish.sh" />
6
- <option name="SCRIPT_OPTIONS" value="" />
7
- <option name="INDEPENDENT_SCRIPT_WORKING_DIRECTORY" value="true" />
8
- <option name="SCRIPT_WORKING_DIRECTORY" value="$PROJECT_DIR$/scripts" />
9
- <option name="INDEPENDENT_INTERPRETER_PATH" value="true" />
10
- <option name="INTERPRETER_PATH" value="/bin/zsh" />
11
- <option name="INTERPRETER_OPTIONS" value="" />
12
- <option name="EXECUTE_IN_TERMINAL" value="true" />
13
- <option name="EXECUTE_SCRIPT_FILE" value="true" />
14
- <envs />
15
- <method v="2" />
16
- </configuration>
17
- </component>
@@ -1,17 +0,0 @@
1
- <component name="ProjectRunConfigurationManager">
2
- <configuration default="false" name="unpublish.sh" type="ShConfigurationType">
3
- <option name="SCRIPT_TEXT" value="" />
4
- <option name="INDEPENDENT_SCRIPT_PATH" value="true" />
5
- <option name="SCRIPT_PATH" value="$PROJECT_DIR$/scripts/unpublish.sh" />
6
- <option name="SCRIPT_OPTIONS" value="" />
7
- <option name="INDEPENDENT_SCRIPT_WORKING_DIRECTORY" value="true" />
8
- <option name="SCRIPT_WORKING_DIRECTORY" value="$PROJECT_DIR$/scripts" />
9
- <option name="INDEPENDENT_INTERPRETER_PATH" value="true" />
10
- <option name="INTERPRETER_PATH" value="/bin/zsh" />
11
- <option name="INTERPRETER_OPTIONS" value="" />
12
- <option name="EXECUTE_IN_TERMINAL" value="true" />
13
- <option name="EXECUTE_SCRIPT_FILE" value="true" />
14
- <envs />
15
- <method v="2" />
16
- </configuration>
17
- </component>