shellboxCLI 0.3.0 → 0.3.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6422f42a703688cff944c128fd7a18d5a07e27ab0051a9f2c05379b59d8e00b8
4
- data.tar.gz: b822c5224dfb80276b1fb543d3f49b207f6f4f6e0ea23970eb20b5a601eea31c
3
+ metadata.gz: dc3725912cb2ca9ee76f1ee52a2dee89adcbdd8d9a99628ed5cb50ee793dadaf
4
+ data.tar.gz: 85080a33f48cc53e0a8c2658b5211ed8e72bab3a7ba26680f26101145c90606c
5
5
  SHA512:
6
- metadata.gz: 6f4dbc686cbadf93623dd01dfd136813c6998a85cc2a863bc5c284303866c1fdd5b5ad27bcb5d5a1b50b47f59e198fabed98b9eec084aed01544892bfd3865d1
7
- data.tar.gz: c14bc172936c4afa3547c3d80e636f94d92b706b8459d7517b72cc73a7c6d5518d1acbbdb8e9815499124ff5ea3500d45d4afdbf83a3f13eacb84bd7b0ea60c8
6
+ metadata.gz: 9b5261bc384728615d0af8529152e431ab9b068f2e438ac2914afd29bab0a682948e73c69af7f185630e55ebe0525f14f8d1837ad9768475c6f6c32cd5e03f9e
7
+ data.tar.gz: 71902f15276619d3eae2b1c33d6a4ffbea989d62d2d552aac9592b20e41e62b4fc15e22669827ffaf5247b60a9c9185f1dc6c78452483acec76a20e92b5f025b
@@ -33,7 +33,7 @@ module IOS
33
33
  puts ""
34
34
  puts "Projeto criado com " + "Sucesso".green
35
35
  puts Dir.pwd
36
- if Dir.exists? "Example"
36
+ if Dir.exist? "Example"
37
37
  Dir.chdir "Example" do
38
38
  puts "Caso deseja abrir o projeto de Exemplo, digite " + "[" + "Y".underlined.yellow + "es]".yellow
39
39
 
@@ -49,4 +49,4 @@ module IOS
49
49
  end
50
50
 
51
51
  end
52
- end
52
+ end
@@ -83,7 +83,7 @@ module IOS
83
83
  end
84
84
 
85
85
  def run
86
- raise "Para rodar a rotina, você deve estar na raiz do projeto" if not File.exists?(@project_filename)
86
+ raise "Para rodar a rotina, você deve estar na raiz do projeto" if not File.exist?(@project_filename)
87
87
 
88
88
  @pod_name = ask("Qual o nome do módulo?")
89
89
  ConfigureSwift.perform(configurator: self)
@@ -108,7 +108,7 @@ module IOS
108
108
  end
109
109
 
110
110
  def run_tuist_generate
111
- if Dir.exists? "Example"
111
+ if Dir.exist? "Example"
112
112
  Dir.chdir "Example" do
113
113
  @tuist_commands.generateExample(false)
114
114
  printDone
@@ -117,7 +117,7 @@ module IOS
117
117
  end
118
118
 
119
119
  def run_swiftgen
120
- if File.exists? "swiftgen.yml"
120
+ if File.exist? "swiftgen.yml"
121
121
  printMessage("Rodando " + "swiftgen".magenta + " no módulo")
122
122
  @message_bank.run_command "swiftgen"
123
123
  printDone
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shellboxCLI
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ShellBox App
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-16 00:00:00.000000000 Z
11
+ date: 2024-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor