Skip to content

Commit

Permalink
Fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerluan committed Dec 22, 2023
1 parent 3397218 commit 9792f59
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/swift-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
bundler-cache: true # Runs 'bundle install' and caches installed gems automatically
- name: Generate Swift Code & Run Tests
run: bundle exec rake test_swift
2 changes: 1 addition & 1 deletion lib/arkana/models/arguments.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def initialize
opt.on("-f", "--flavor FrostedFlakes", "Flavors are useful, for instance, when generating secrets for white-label projects. See the README for more information") do |o|
@flavor = o
end
opt.on("-i", "--include-environments debug,release", "Optionally pass the environments that you want Arkana to generate secrets for. Useful if you only want to build a certain environment, e.g. just Debug in local machines, while only building Staging and Release in CI. Separate the keys using a comma, without spaces. When ommitted, Arkana generate secrets for all environments.") do |o|
opt.on("-i", "--include-environments debug,release", "Optionally pass the environments that you want Arkana to generate secrets for. Useful if you only want to build a certain environment, e.g. just Debug in local machines, while only building Staging and Release in CI. Separate the keys using a comma, without spaces. When omitted, Arkana generate secrets for all environments.") do |o|
@include_environments = o.split(",")
end
end.parse!
Expand Down
2 changes: 1 addition & 1 deletion lib/arkana/templates/interfaces_readme.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# <%= @namespace %>Interfaces

This Package was autogenerated by [Arkana](https://github.com/rogerluan/arkana). Do not attempt to modify it manually, otherwise your changes will be overriden in the next code generation process. Please visit [Arkana](https://github.com/rogerluan/arkana) to read more.
This Package was autogenerated by [Arkana](https://github.com/rogerluan/arkana). Do not attempt to modify it manually, otherwise your changes will be overridden in the next code generation process. Please visit [Arkana](https://github.com/rogerluan/arkana) to read more.
2 changes: 1 addition & 1 deletion lib/arkana/templates/readme.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <%= @namespace %>


This Package is autogenerated by [Arkana](https://github.com/rogerluan/arkana). Do not attempt to modify it manually, otherwise your changes will be overriden on the next code generation process. Please visit [Arkana](https://github.com/rogerluan/arkana) to read more.
This Package is autogenerated by [Arkana](https://github.com/rogerluan/arkana). Do not attempt to modify it manually, otherwise your changes will be overridden on the next code generation process. Please visit [Arkana](https://github.com/rogerluan/arkana) to read more.
8 changes: 4 additions & 4 deletions spec/models/arguments_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
before { ARGV.replace([]) }

describe "#config_filepath" do
context "when the option is ommitted in ARGV" do
context "when the option is omitted in ARGV" do
it "defaults to the default value" do
expect(subject.config_filepath).to eq ".arkana.yml"
end
Expand All @@ -26,7 +26,7 @@
end

describe "#dotenv_filepath" do
context "when the option is ommitted in ARGV" do
context "when the option is omitted in ARGV" do
describe "when .env file exists" do
it "defaults to the default value" do
expect(File).to receive(:exist?).with(".env").and_return(true)
Expand Down Expand Up @@ -54,7 +54,7 @@
end

describe "#flavor" do
context "when the option is ommitted in ARGV" do
context "when the option is omitted in ARGV" do
it "defaults to nil" do
expect(subject.flavor).to be_nil
end
Expand All @@ -72,7 +72,7 @@
end

describe "#environments" do
context "when the option is ommitted in ARGV" do
context "when the option is omitted in ARGV" do
it "defaults to nil" do
expect(subject.include_environments).to be_nil
end
Expand Down
2 changes: 1 addition & 1 deletion template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ flavors: # Optional. Flavors are keywords added as a prefix to every secret when
swift_declaration_strategy: let # Optional. One of: lazy var, var, let. Defaults to let.
should_generate_unit_tests: true # Optional. One of: true, false. Defaults to true.
should_cocoapods_cross_import_modules: true # Optional. If false, the two generated cocoapods pods do not cross import (for manual import of the Sources folders), useful when building SDKs, for instance. One of: true, false. Defaults to true.
package_manager: cocoapods # Optional. This setting defines which type of dependency management you're going ot use to integrate Arkana into your project. One of: spm, cocoapods. If you use both in your project, use cocoapods here. Defaults to spm.
package_manager: cocoapods # Optional. This setting defines which type of dependency management you're going to use to integrate Arkana into your project. One of: spm, cocoapods. If you use both in your project, use cocoapods here. Defaults to spm.
environments: # Optional. List of environments that will be used to generate secret keys when you have keys that are different between environments (e.g. debug/staging/prod). Defaults to empty.
- Debug
- Release
Expand Down

0 comments on commit 9792f59

Please sign in to comment.