kirei 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a37402ff7c216a16e3cc2a279d477e91d7ed8c40fd58169a8c598e47efd90d7
4
- data.tar.gz: 1fd249f44b20dc1dfba0ace6ea52f6de6f67ee47e4c2a7f511438ceafba4985f
3
+ metadata.gz: 7eaf9be851bf8985a4c169c4ed79c3bc3cc067b247b0cc50e1f742447e019c3d
4
+ data.tar.gz: 47816fbc66608113d804e9efcbc7267cd3deea522edcdc8c5920d7ac365cd1b6
5
5
  SHA512:
6
- metadata.gz: d6d29c323e8b3438a0c9775f2b92312182a709443aa04843145bfed76226d71e2d78081361b178dc6293dfefa75571d525981b5ed84fee2664c93a880eb5f6fa
7
- data.tar.gz: 6b33ff256a0a199333d789c81ff70f4dca49225069f0c854fe0f4cfec4c6a68c918a6966b92c93ef76aebd14117029c5f3e7ad36d65d7d74033c5d7a0f905ab4
6
+ metadata.gz: 2f66ca601807ae0f8528f59b0303812d6bf2b644a910284f4caedbe413c5865d3634c12a6a8e30c1a3ae85ff44f7f80fd8b69c48a977e4cec98260b30c09d56e
7
+ data.tar.gz: 8ec07fe4d0a69c0918026a966e96eb1257767e187c9bde5edc9d5be9f6796269bccc5f989c399df8e211965f1014c51a24739c638a78cee971b4dddb9abdf821
@@ -14,6 +14,7 @@ module Cli
14
14
  Files::Irbrc.call
15
15
  Files::Rakefile.call
16
16
  Files::Routes.call
17
+ Files::SorbetConfig.call
17
18
 
18
19
  Kirei::Logger.logger.info(
19
20
  "Kirei app '#{app_name}' scaffolded successfully!",
@@ -136,7 +136,7 @@ module Cli
136
136
 
137
137
  # Define the content of the migration file
138
138
  content = <<~MIGRATION
139
- # typed: strict
139
+ # typed: false
140
140
  # frozen_string_literal: true
141
141
 
142
142
  Sequel.migration do
@@ -0,0 +1,25 @@
1
+ # typed: false
2
+
3
+ module Cli
4
+ module Commands
5
+ module NewApp
6
+ module Files
7
+ class SorbetConfig
8
+ def self.call
9
+ File.write("sorbet/config", content)
10
+ end
11
+
12
+ def self.content
13
+ <<~TXT
14
+ --dir
15
+ .
16
+ --ignore=vendor/
17
+ --ignore=spec/
18
+
19
+ TXT
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
data/lib/kirei/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Kirei
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.1"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kirei
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ludwig Reinmiedl
@@ -150,6 +150,7 @@ files:
150
150
  - lib/cli/commands/new_app/files/irbrc.rb
151
151
  - lib/cli/commands/new_app/files/rakefile.rb
152
152
  - lib/cli/commands/new_app/files/routes.rb
153
+ - lib/cli/commands/new_app/files/sorbet_config.rb
153
154
  - lib/cli/commands/start.rb
154
155
  - lib/kirei.rb
155
156
  - lib/kirei/app.rb