belt 0.1.0 → 0.1.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.
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/setup'
4
+
5
+ # Load rake tasks from all gems that ship them
6
+ Gem.loaded_specs.each_value do |spec|
7
+ tasks_dir = File.join(spec.full_gem_path, 'lib', 'tasks')
8
+ Dir.glob("#{tasks_dir}/**/*.rake").each { |r| load r } if Dir.exist?(tasks_dir)
9
+ end
10
+
11
+ # Load project-local tasks
12
+ Dir.glob('lib/tasks/**/*.rake').each { |r| load r }
@@ -1,4 +1,4 @@
1
- TerraDispatch.routes.draw do
1
+ Belt.application.routes.draw do
2
2
  namespace :<%= @app_name %> do
3
3
  # resources :posts
4
4
  end
@@ -1,4 +1,4 @@
1
- TerraDispatch.schema.draw do
1
+ Belt.application.schema.draw do
2
2
  # model :post do
3
3
  # field :title, type: :string, required: true
4
4
  # field :slug, type: :string, required: true
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: belt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stowzilla
@@ -36,6 +36,20 @@ cert_chain:
36
36
  -----END CERTIFICATE-----
37
37
  date: 1980-01-02 00:00:00.000000000 Z
38
38
  dependencies:
39
+ - !ruby/object:Gem::Dependency
40
+ name: activeitem
41
+ requirement: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - "~>"
44
+ - !ruby/object:Gem::Version
45
+ version: '0.0'
46
+ type: :runtime
47
+ prerelease: false
48
+ version_requirements: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '0.0'
39
53
  - !ruby/object:Gem::Dependency
40
54
  name: lambda_loadout
41
55
  requirement: !ruby/object:Gem::Requirement
@@ -76,8 +90,12 @@ files:
76
90
  - lib/belt/cli/frontend_setup_command.rb
77
91
  - lib/belt/cli/generate_command.rb
78
92
  - lib/belt/cli/new_command.rb
93
+ - lib/belt/cli/routes_command.rb
94
+ - lib/belt/cli/routes_command/route_inference.rb
95
+ - lib/belt/cli/routes_command/schema_loader.rb
79
96
  - lib/belt/cli/setup_command.rb
80
97
  - lib/belt/cli/tables_command.rb
98
+ - lib/belt/cli/tasks_command.rb
81
99
  - lib/belt/cli/terraform_command.rb
82
100
  - lib/belt/cli/views_command.rb
83
101
  - lib/belt/helpers/cors_origin.rb
@@ -86,6 +104,9 @@ files:
86
104
  - lib/belt/lambda_handler.rb
87
105
  - lib/belt/observability.rb
88
106
  - lib/belt/parameters.rb
107
+ - lib/belt/root.rb
108
+ - lib/belt/route_dsl.rb
109
+ - lib/belt/table_inference.rb
89
110
  - lib/belt/version.rb
90
111
  - lib/belt_controller/base.rb
91
112
  - lib/templates/environment/backend.tf.erb
@@ -106,6 +127,7 @@ files:
106
127
  - lib/templates/new_app/AGENTS.md.erb
107
128
  - lib/templates/new_app/Gemfile.erb
108
129
  - lib/templates/new_app/README.md.erb
130
+ - lib/templates/new_app/Rakefile.erb
109
131
  - lib/templates/new_app/gitignore.erb
110
132
  - lib/templates/new_app/infrastructure/routes.tf.rb.erb
111
133
  - lib/templates/new_app/infrastructure/schema.tf.rb.erb
metadata.gz.sig CHANGED
Binary file