-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Description This PR resolved #1 and added the `secure-keys.gemspec` file adding the ruby gem compatibilty. Currently, the gem is published officially on [Ruby gem page](https://rubygems.org/gems/secure-keys). To install the gem, run the following commands: ```bash gem install secure-keys ``` or using bundler: ```ruby # Gemfile gem 'secure-keys' ``` Install dependencies: ```bash bundle install ``` ### Medias (if needed) <img width="958" alt="image" src="https://github.com/user-attachments/assets/b3a8f771-6aad-49d1-85b8-a0dc6a7885e3" /> ### Testplan - [x] I tested this change on my local environment. - [ ] I ran the unit tests. ### Checklist - [ ] I added tests for this change. - [x] I checked the code style and run the linter. - [x] I added necessary documentation (if applicable).
- Loading branch information
1 parent
bbcc09f
commit 83affc0
Showing
7 changed files
with
74 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,6 @@ | |
|
||
# XCFramework files | ||
.keys/ | ||
|
||
# Gem files | ||
secure-keys-*.gem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0
bin/keys.rb → bin/secure-keys
100644 → 100755
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#!/usr/bin/env ruby | ||
|
||
module Keys | ||
VERSION = '1.0.0'.freeze | ||
VERSION = '1.0.3'.freeze | ||
SUMMARY = 'Keys is a simple tool for managing your secret keys'.freeze | ||
DESCRIPTION = 'Keys is a simple tool to manage your secret keys in iOS your project'.freeze | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/usr/bin/env ruby | ||
|
||
lib = File.expand_path('lib', __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
|
||
require "#{Dir.pwd}/lib/version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.required_ruby_version = '>= 3.3' | ||
spec.required_rubygems_version = Gem::Requirement.new('>= 0'.freeze) if spec.respond_to? :required_rubygems_version= | ||
|
||
spec.name = 'secure-keys' | ||
spec.version = Keys::VERSION | ||
spec.authors = ['Derian Córdoba'] | ||
spec.email = ['derianricardo451@gmail.com'] | ||
spec.summary = Keys::SUMMARY | ||
spec.description = Keys::DESCRIPTION | ||
spec.license = 'MIT' | ||
spec.homepage = 'https://github.com/DerianCordobaPerez/secure-keys-generator' | ||
spec.bindir = 'bin' | ||
spec.require_paths = %w[*/lib] | ||
spec.platform = Gem::Platform::RUBY | ||
|
||
spec.metadata['homepage_uri'] = spec.homepage | ||
spec.metadata['source_code_uri'] = spec.homepage | ||
spec.metadata['changelog_uri'] = "#{spec.homepage}/releases" | ||
|
||
spec.files = Dir.glob('*/lib/**/*', | ||
File::FNM_DOTMATCH) + Dir['bin/*'] + Dir['*/README.md'] + %w[README.md] | ||
spec.executables = spec.files.grep(%r{^bin/}) { |file| File.basename(file) } | ||
|
||
spec.add_runtime_dependency 'base64', '~> 0.2.0' | ||
spec.add_runtime_dependency 'digest', '~> 3.2.0' | ||
spec.add_runtime_dependency 'json', '~> 2.10.1' | ||
spec.add_runtime_dependency 'osx_keychain', '~> 1.0.2' | ||
spec.add_development_dependency 'rubocop', '~> 1.71.2' | ||
end |