holivia 0.2.0

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: 7e08b2bf86b483bed3cab49da55f6a200ce9127837190f0e996001882704a47f
4
+ data.tar.gz: 3e43af44fdafedba928d56ba824544d884524ccbeb97eb7f078d63c816c49440
5
+ SHA512:
6
+ metadata.gz: ab7c5ee66ff7f46620407a9aab99a2c3182a19e76436e9a65c8ac78aa264205ff1095fe8ff5e81e067921e4c7108aed142417642e89a13a512da45a76ceb658b
7
+ data.tar.gz: 7fc1562d3ff1228d3c0775576bf2204be61d90fbb45054ecb9eec2574c45bc1c83d37ea5a37bc2ea5ec088a3a7453978c548c90428ded7736b975f55cf367646
data/.rubocop.yml ADDED
@@ -0,0 +1,31 @@
1
+ AllCops:
2
+ TargetRubyVersion: 3.1
3
+ NewCops: enable
4
+ SuggestExtensions: false
5
+
6
+ Style/Documentation:
7
+ Enabled: false
8
+
9
+ Metrics/ClassLength:
10
+ Exclude:
11
+ - "test/**/*"
12
+
13
+ Metrics/AbcSize:
14
+ Max: 20
15
+
16
+ Metrics/MethodLength:
17
+ Max: 12
18
+ Exclude:
19
+ - "test/**/*"
20
+
21
+ Metrics/ParameterLists:
22
+ Max: 6
23
+
24
+ Naming/VariableNumber:
25
+ CheckMethodNames: false
26
+
27
+ Style/StringLiterals:
28
+ EnforcedStyle: double_quotes
29
+
30
+ Style/StringLiteralsInInterpolation:
31
+ EnforcedStyle: double_quotes
data/CHANGELOG.md ADDED
@@ -0,0 +1,17 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.2.0] - 2026-03-09
4
+
5
+ - Add logout command and `Client#delete` method
6
+ - Add debug logging via Faraday logger
7
+ - Add selfcare index command
8
+ - Add token refresh with auto-retry on 401
9
+ - Add CLI with login command and executable
10
+ - Merge Login/Logout commands into `Commands::Auth` class
11
+ - Replace Selfcare module with class and `BASE_PATH` constant
12
+ - Extract error message based on response content-type
13
+ - Handle nested, flat, and HTML error responses in Client
14
+
15
+ ## [0.1.0] - 2026-03-04
16
+
17
+ - Initial release
data/CLAUDE.md ADDED
@@ -0,0 +1,17 @@
1
+ ## Project
2
+
3
+ This is the `holivia` Ruby gem — an API client library and CLI for the Holivia platform.
4
+
5
+ - **Gem name**: `holivia` (published on RubyGems.org)
6
+ - **Executable**: `holivia`
7
+ - **Repo**: `Holivia-Team/holivia-ruby`
8
+
9
+ ## General Behavior
10
+
11
+ When asked for design options, architecture discussion, or planning — respond directly with ideas/options FIRST. Do not explore the codebase or use Task agents before answering the question. Only look at code if the user asks you to implement something.
12
+
13
+ When making changes, stay strictly within the scope of what was requested. Do not add, remove, or refactor code that wasn't asked for. If you think adjacent changes would be beneficial, mention them but wait for approval before making them.
14
+
15
+ When asked to commit changes, choose the appropriate workflow:
16
+ - **Full commit** (`/commit` skill): When Ruby files are changed — runs rubocop, rspec, and creates atomic conventional commits.
17
+ - **Quick commit**: When only non-Ruby files are changed (markdown, config, etc.) — just stage, write a conventional commit message, and commit directly.
@@ -0,0 +1,132 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, caste, color, religion, or sexual
10
+ identity and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the overall
26
+ community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or advances of
31
+ any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email address,
35
+ without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official email address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ [INSERT CONTACT METHOD].
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series of
86
+ actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or permanent
93
+ ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within the
113
+ community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.1, available at
119
+ [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
120
+
121
+ Community Impact Guidelines were inspired by
122
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
123
+
124
+ For answers to common questions about this code of conduct, see the FAQ at
125
+ [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
126
+ [https://www.contributor-covenant.org/translations][translations].
127
+
128
+ [homepage]: https://www.contributor-covenant.org
129
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130
+ [Mozilla CoC]: https://github.com/mozilla/diversity
131
+ [FAQ]: https://www.contributor-covenant.org/faq
132
+ [translations]: https://www.contributor-covenant.org/translations
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2026 Nicolasheckmann
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,43 @@
1
+ # Holivia
2
+
3
+ TODO: Delete this and the text below, and describe your gem
4
+
5
+ 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/holivia`. To experiment with that code, run `bin/console` for an interactive prompt.
6
+
7
+ ## Installation
8
+
9
+ TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
+
11
+ Install the gem and add to the application's Gemfile by executing:
12
+
13
+ ```bash
14
+ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
15
+ ```
16
+
17
+ If bundler is not being used to manage dependencies, install the gem by executing:
18
+
19
+ ```bash
20
+ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
21
+ ```
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ 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.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/holivia. 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]/holivia/blob/master/CODE_OF_CONDUCT.md).
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
+
41
+ ## Code of Conduct
42
+
43
+ Everyone interacting in the Holivia project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/holivia/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rake/testtask"
5
+
6
+ Rake::TestTask.new(:test) do |t|
7
+ t.libs << "test"
8
+ t.test_files = FileList["test/**/test_*.rb"]
9
+ end
10
+
11
+ require "rubocop/rake_task"
12
+
13
+ RuboCop::RakeTask.new
14
+
15
+ task default: %i[test rubocop]
data/exe/holivia ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "holivia/cli"
5
+
6
+ begin
7
+ Holivia::CLI.start(ARGV)
8
+ rescue Holivia::ApiError => e
9
+ warn "Error: #{e.message}"
10
+ exit 1
11
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Holivia
4
+ class ApiError < StandardError
5
+ attr_reader :status, :details
6
+
7
+ def initialize(message, status: nil, details: {})
8
+ @status = status
9
+ @details = details
10
+ super(message)
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "json"
4
+ require "fileutils"
5
+
6
+ module Holivia
7
+ class Auth
8
+ def initialize(client: Client.new(auth: nil))
9
+ @client = client
10
+ end
11
+
12
+ def login(email:, password:)
13
+ response = client.post("/api/v1/auth/login", body: { email: email, password: password })
14
+ store_tokens(response)
15
+ response
16
+ end
17
+
18
+ def refresh
19
+ raise ApiError.new("No refresh token. Run `holivia login`.", status: 401) unless refresh_token
20
+
21
+ response = client.post("/api/v1/auth/refresh", headers: { "Authorization" => "Bearer #{refresh_token}" })
22
+ store_tokens(response)
23
+ response
24
+ end
25
+
26
+ def logout
27
+ raise ApiError.new("Already logged out.", status: 401) unless access_token
28
+
29
+ response = client.delete("/api/v1/auth/logout", headers: { "Authorization" => "Bearer #{access_token}" })
30
+ FileUtils.rm_f(credentials_path)
31
+ response
32
+ end
33
+
34
+ def access_token
35
+ credentials&.dig("access_token")
36
+ end
37
+
38
+ def refresh_token
39
+ credentials&.dig("refresh_token")
40
+ end
41
+
42
+ private
43
+
44
+ attr_reader :client
45
+
46
+ def credentials
47
+ return nil unless File.exist?(credentials_path)
48
+
49
+ JSON.parse(File.read(credentials_path))
50
+ end
51
+
52
+ def store_tokens(data)
53
+ FileUtils.mkdir_p(File.dirname(credentials_path))
54
+
55
+ File.write(credentials_path, JSON.pretty_generate(
56
+ "access_token" => data["access_token"],
57
+ "refresh_token" => data["refresh_token"]
58
+ ))
59
+ File.chmod(0o600, credentials_path)
60
+ end
61
+
62
+ def credentials_path
63
+ Holivia.configuration.credentials_path
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "holivia"
4
+ require_relative "commands/auth"
5
+ require_relative "commands/selfcare"
6
+
7
+ module Holivia
8
+ class CLI
9
+ def self.start(args)
10
+ command = args.shift
11
+ case command
12
+ when "login" then Commands::Auth.new.login
13
+ when "logout" then Commands::Auth.new.logout
14
+ when "selfcare" then route_selfcare(args)
15
+ when "--help", "-h", nil then print_help
16
+ else warn "Unknown command: #{command}"
17
+ exit 1
18
+ end
19
+ end
20
+
21
+ def self.route_selfcare(args)
22
+ subcommand = args.shift
23
+ case subcommand
24
+ when "index" then Commands::Selfcare.new.index
25
+ else warn "Unknown selfcare command: #{subcommand}"
26
+ exit 1
27
+ end
28
+ end
29
+
30
+ def self.print_help
31
+ puts "Usage: holivia <command>"
32
+ puts ""
33
+ puts "Commands:"
34
+ puts " login Log in to Holivia"
35
+ puts " logout Log out of Holivia"
36
+ puts " selfcare index List selfcare contents"
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,93 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "faraday"
4
+
5
+ module Holivia
6
+ class Client
7
+ def initialize(base_url: Holivia.configuration.base_url, http: Faraday, auth: Auth.new)
8
+ @base_url = base_url
9
+ @http = http
10
+ @auth = auth
11
+ end
12
+
13
+ def post(path, body: {}, headers: {})
14
+ request(:post, path, body:, headers:)
15
+ end
16
+
17
+ def get(path, params: {}, headers: {})
18
+ request(:get, path, params:, headers:)
19
+ end
20
+
21
+ def delete(path, headers: {})
22
+ request(:delete, path, headers:)
23
+ end
24
+
25
+ private
26
+
27
+ attr_reader :base_url, :http, :auth
28
+
29
+ def request(method, path, body: nil, params: nil, headers: {}, retried: false)
30
+ merged_headers = default_headers.merge(headers)
31
+
32
+ response = connection.public_send(method, path) do |req|
33
+ req.headers.update(merged_headers)
34
+ req.body = body if body
35
+ req.params.update(params) if params
36
+ end
37
+
38
+ if response.status == 401 && auth && !retried
39
+ auth.refresh
40
+ return request(method, path, body:, params:, headers:, retried: true)
41
+ end
42
+
43
+ handle_response(response)
44
+ end
45
+
46
+ def default_headers
47
+ headers = { "Accept" => "application/json" }
48
+ token = auth&.access_token
49
+ headers["Authorization"] = "Bearer #{token}" if token
50
+ headers
51
+ end
52
+
53
+ def connection
54
+ @connection ||= http.new(url: base_url) do |f|
55
+ f.request :json
56
+ f.response :logger if Holivia.configuration.debug
57
+ f.response :json
58
+ f.adapter Faraday.default_adapter
59
+ end
60
+ end
61
+
62
+ def extract_error_message(response)
63
+ case response.headers["content-type"]
64
+ when /json/ then extract_json_error(response.body)
65
+ when /html/ then "Request failed (server returned HTML instead of JSON)"
66
+ else extract_text_error(response.body)
67
+ end
68
+ end
69
+
70
+ def extract_json_error(body)
71
+ return "Request failed" unless body.is_a?(Hash)
72
+
73
+ error = body["error"]
74
+ error.is_a?(Hash) ? (error["message"] || "Request failed") : (error || "Request failed")
75
+ end
76
+
77
+ def extract_text_error(body)
78
+ return "Request failed" if body.nil? || body.empty?
79
+
80
+ body[0, 200]
81
+ end
82
+
83
+ def handle_response(response)
84
+ return response.body if response.success?
85
+
86
+ raise ApiError.new(
87
+ extract_error_message(response),
88
+ status: response.status,
89
+ details: response.body
90
+ )
91
+ end
92
+ end
93
+ end
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "io/console"
4
+
5
+ module Holivia
6
+ module Commands
7
+ class Auth
8
+ def login
9
+ print "Email: "
10
+ email = $stdin.gets.chomp
11
+ print "Password: "
12
+ password = $stdin.noecho(&:gets).chomp
13
+ puts
14
+
15
+ Holivia::Auth.new.login(email: email, password: password)
16
+ puts "Logged in successfully."
17
+ end
18
+
19
+ def logout
20
+ Holivia::Auth.new.logout
21
+ puts "Logged out successfully."
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Holivia
4
+ module Commands
5
+ class Selfcare
6
+ BASE_PATH = "/api/v1/backoffice/selfcare_contents"
7
+
8
+ def index
9
+ client = Client.new
10
+ response = client.get(BASE_PATH)
11
+ puts JSON.pretty_generate(response)
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Holivia
4
+ class Configuration
5
+ attr_accessor :base_url, :credentials_path, :debug
6
+
7
+ def initialize
8
+ @base_url = ENV.fetch("HOLIVIA_API_URL", "http://localhost:3000")
9
+ @credentials_path = File.expand_path("~/.holivia/credentials.json")
10
+ @debug = ENV["HOLIVIA_DEBUG"] == "true"
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Holivia
4
+ VERSION = "0.2.0"
5
+ end
data/lib/holivia.rb ADDED
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "holivia/version"
4
+ require_relative "holivia/configuration"
5
+ require_relative "holivia/api_error"
6
+ require_relative "holivia/client"
7
+ require_relative "holivia/auth"
8
+
9
+ module Holivia
10
+ class << self
11
+ attr_writer :configuration
12
+
13
+ def configuration
14
+ @configuration ||= Configuration.new
15
+ end
16
+
17
+ def configure
18
+ yield(configuration)
19
+ end
20
+ end
21
+ end
data/mise.toml ADDED
@@ -0,0 +1,2 @@
1
+ [tools]
2
+ ruby = "3.4.8"
data/sig/holivia.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module Holivia
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,78 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: holivia
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Holivia
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
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '2.0'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: '2.0'
26
+ description: API client library and command-line tool for the Holivia platform
27
+ email:
28
+ - dev@holivia.fr
29
+ executables:
30
+ - holivia
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".rubocop.yml"
35
+ - CHANGELOG.md
36
+ - CLAUDE.md
37
+ - CODE_OF_CONDUCT.md
38
+ - LICENSE.txt
39
+ - README.md
40
+ - Rakefile
41
+ - exe/holivia
42
+ - lib/holivia.rb
43
+ - lib/holivia/api_error.rb
44
+ - lib/holivia/auth.rb
45
+ - lib/holivia/cli.rb
46
+ - lib/holivia/client.rb
47
+ - lib/holivia/commands/auth.rb
48
+ - lib/holivia/commands/selfcare.rb
49
+ - lib/holivia/configuration.rb
50
+ - lib/holivia/version.rb
51
+ - mise.toml
52
+ - sig/holivia.rbs
53
+ homepage: https://github.com/Holivia-Team/holivia-ruby
54
+ licenses:
55
+ - MIT
56
+ metadata:
57
+ homepage_uri: https://github.com/Holivia-Team/holivia-ruby
58
+ source_code_uri: https://github.com/Holivia-Team/holivia-ruby
59
+ changelog_uri: https://github.com/Holivia-Team/holivia-ruby/blob/main/CHANGELOG.md
60
+ rubygems_mfa_required: 'true'
61
+ rdoc_options: []
62
+ require_paths:
63
+ - lib
64
+ required_ruby_version: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 3.1.0
69
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ requirements: []
75
+ rubygems_version: 3.6.9
76
+ specification_version: 4
77
+ summary: Ruby client and CLI for the Holivia API
78
+ test_files: []