umgr 0.1.4
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 +7 -0
- data/Gemfile +14 -0
- data/README.md +126 -0
- data/Rakefile +3 -0
- data/exe/umgr +6 -0
- data/lib/umgr/apply_result_builder.rb +149 -0
- data/lib/umgr/change_set_builder.rb +49 -0
- data/lib/umgr/cli.rb +117 -0
- data/lib/umgr/config_validator.rb +93 -0
- data/lib/umgr/deep_symbolizer.rb +25 -0
- data/lib/umgr/desired_state_enricher.rb +15 -0
- data/lib/umgr/drift_report_builder.rb +19 -0
- data/lib/umgr/errors.rb +36 -0
- data/lib/umgr/import_result_builder.rb +79 -0
- data/lib/umgr/plan_result_builder.rb +72 -0
- data/lib/umgr/provider.rb +26 -0
- data/lib/umgr/provider_contract.rb +19 -0
- data/lib/umgr/provider_registry.rb +36 -0
- data/lib/umgr/provider_resource_validator.rb +27 -0
- data/lib/umgr/providers/echo_provider.rb +44 -0
- data/lib/umgr/providers/github/account_normalizer.rb +45 -0
- data/lib/umgr/providers/github/api_client.rb +111 -0
- data/lib/umgr/providers/github/apply_executor.rb +90 -0
- data/lib/umgr/providers/github/plan_builder.rb +91 -0
- data/lib/umgr/providers/github_provider.rb +125 -0
- data/lib/umgr/resource_identity.rb +11 -0
- data/lib/umgr/runner.rb +97 -0
- data/lib/umgr/runner_config.rb +52 -0
- data/lib/umgr/state_backend.rb +59 -0
- data/lib/umgr/state_template.rb +7 -0
- data/lib/umgr/unknown_provider_guard.rb +18 -0
- data/lib/umgr/version.rb +5 -0
- data/lib/umgr.rb +28 -0
- data/spec/apply_result_builder_spec.rb +142 -0
- data/spec/change_set_builder_spec.rb +28 -0
- data/spec/cli/commands_spec.rb +519 -0
- data/spec/cli/help_spec.rb +14 -0
- data/spec/cli/spec_helper.rb +13 -0
- data/spec/desired_state_enricher_spec.rb +30 -0
- data/spec/drift_report_builder_spec.rb +31 -0
- data/spec/import_result_builder_spec.rb +124 -0
- data/spec/plan_result_builder_spec.rb +101 -0
- data/spec/provider_contract_spec.rb +32 -0
- data/spec/provider_registry_spec.rb +42 -0
- data/spec/provider_resource_validator_spec.rb +39 -0
- data/spec/provider_spec.rb +25 -0
- data/spec/providers/echo_provider_spec.rb +55 -0
- data/spec/providers/github_account_normalizer_spec.rb +31 -0
- data/spec/providers/github_api_client_spec.rb +101 -0
- data/spec/providers/github_plan_builder_spec.rb +47 -0
- data/spec/providers/github_provider_spec.rb +268 -0
- data/spec/resource_identity_spec.rb +13 -0
- data/spec/runner_spec.rb +552 -0
- data/spec/spec_helper.rb +12 -0
- data/spec/state_backend_spec.rb +52 -0
- data/spec/support/simple_cov.rb +9 -0
- data/spec/support/webmock.rb +5 -0
- data/umgr.gemspec +34 -0
- metadata +141 -0
metadata
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: umgr
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.4
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Basavanagowda Kanur
|
|
8
|
+
bindir: exe
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: faraday-retry
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '2.3'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '2.3'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: octokit
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - "~>"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '9.2'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '9.2'
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: thor
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - "~>"
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '1.3'
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - "~>"
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '1.3'
|
|
54
|
+
description: Manage account state across providers via CLI and API
|
|
55
|
+
email:
|
|
56
|
+
- basavanagowda@gmail.com
|
|
57
|
+
executables:
|
|
58
|
+
- umgr
|
|
59
|
+
extensions: []
|
|
60
|
+
extra_rdoc_files: []
|
|
61
|
+
files:
|
|
62
|
+
- Gemfile
|
|
63
|
+
- README.md
|
|
64
|
+
- Rakefile
|
|
65
|
+
- exe/umgr
|
|
66
|
+
- lib/umgr.rb
|
|
67
|
+
- lib/umgr/apply_result_builder.rb
|
|
68
|
+
- lib/umgr/change_set_builder.rb
|
|
69
|
+
- lib/umgr/cli.rb
|
|
70
|
+
- lib/umgr/config_validator.rb
|
|
71
|
+
- lib/umgr/deep_symbolizer.rb
|
|
72
|
+
- lib/umgr/desired_state_enricher.rb
|
|
73
|
+
- lib/umgr/drift_report_builder.rb
|
|
74
|
+
- lib/umgr/errors.rb
|
|
75
|
+
- lib/umgr/import_result_builder.rb
|
|
76
|
+
- lib/umgr/plan_result_builder.rb
|
|
77
|
+
- lib/umgr/provider.rb
|
|
78
|
+
- lib/umgr/provider_contract.rb
|
|
79
|
+
- lib/umgr/provider_registry.rb
|
|
80
|
+
- lib/umgr/provider_resource_validator.rb
|
|
81
|
+
- lib/umgr/providers/echo_provider.rb
|
|
82
|
+
- lib/umgr/providers/github/account_normalizer.rb
|
|
83
|
+
- lib/umgr/providers/github/api_client.rb
|
|
84
|
+
- lib/umgr/providers/github/apply_executor.rb
|
|
85
|
+
- lib/umgr/providers/github/plan_builder.rb
|
|
86
|
+
- lib/umgr/providers/github_provider.rb
|
|
87
|
+
- lib/umgr/resource_identity.rb
|
|
88
|
+
- lib/umgr/runner.rb
|
|
89
|
+
- lib/umgr/runner_config.rb
|
|
90
|
+
- lib/umgr/state_backend.rb
|
|
91
|
+
- lib/umgr/state_template.rb
|
|
92
|
+
- lib/umgr/unknown_provider_guard.rb
|
|
93
|
+
- lib/umgr/version.rb
|
|
94
|
+
- spec/apply_result_builder_spec.rb
|
|
95
|
+
- spec/change_set_builder_spec.rb
|
|
96
|
+
- spec/cli/commands_spec.rb
|
|
97
|
+
- spec/cli/help_spec.rb
|
|
98
|
+
- spec/cli/spec_helper.rb
|
|
99
|
+
- spec/desired_state_enricher_spec.rb
|
|
100
|
+
- spec/drift_report_builder_spec.rb
|
|
101
|
+
- spec/import_result_builder_spec.rb
|
|
102
|
+
- spec/plan_result_builder_spec.rb
|
|
103
|
+
- spec/provider_contract_spec.rb
|
|
104
|
+
- spec/provider_registry_spec.rb
|
|
105
|
+
- spec/provider_resource_validator_spec.rb
|
|
106
|
+
- spec/provider_spec.rb
|
|
107
|
+
- spec/providers/echo_provider_spec.rb
|
|
108
|
+
- spec/providers/github_account_normalizer_spec.rb
|
|
109
|
+
- spec/providers/github_api_client_spec.rb
|
|
110
|
+
- spec/providers/github_plan_builder_spec.rb
|
|
111
|
+
- spec/providers/github_provider_spec.rb
|
|
112
|
+
- spec/resource_identity_spec.rb
|
|
113
|
+
- spec/runner_spec.rb
|
|
114
|
+
- spec/spec_helper.rb
|
|
115
|
+
- spec/state_backend_spec.rb
|
|
116
|
+
- spec/support/simple_cov.rb
|
|
117
|
+
- spec/support/webmock.rb
|
|
118
|
+
- umgr.gemspec
|
|
119
|
+
homepage: https://github.com/gowda/umgr
|
|
120
|
+
licenses:
|
|
121
|
+
- MIT
|
|
122
|
+
metadata:
|
|
123
|
+
rubygems_mfa_required: 'true'
|
|
124
|
+
rdoc_options: []
|
|
125
|
+
require_paths:
|
|
126
|
+
- lib
|
|
127
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
128
|
+
requirements:
|
|
129
|
+
- - ">="
|
|
130
|
+
- !ruby/object:Gem::Version
|
|
131
|
+
version: 3.4.0
|
|
132
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
|
+
requirements:
|
|
134
|
+
- - ">="
|
|
135
|
+
- !ruby/object:Gem::Version
|
|
136
|
+
version: '0'
|
|
137
|
+
requirements: []
|
|
138
|
+
rubygems_version: 3.6.9
|
|
139
|
+
specification_version: 4
|
|
140
|
+
summary: Declarative account lifecycle management
|
|
141
|
+
test_files: []
|