souls 0.21.3 → 0.21.8

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: eccfd65a990a55c7b1d365e1590278fbbe378234e3dab7cf86d39739384948a7
4
- data.tar.gz: c7ca4f6c56ce023a13ed2e047977352c28b794cc80dc2c13d61a34bdea428b0e
3
+ metadata.gz: ad1aa6db8ea97d9d94379f2f595edb466b255be7a715f324512950dd77d9b2e8
4
+ data.tar.gz: 4d379959eda286c89a0169c01766dd30d559e2ac49a74a3a6f48740ea8703e56
5
5
  SHA512:
6
- metadata.gz: cb25ec736a6f5f5021ea7c01f7273ee9b2f770d8f0e021147f383aae9eefd4fd84088bfb600d2412bb2f019719b554e3ea4dad3b169ea7de093629594e1d6846
7
- data.tar.gz: f064806fbeecb0f464e4ac2ca343b25b28d70db7dbc5f5cb26b3ea571ed0a9cbc1e2600d23ef49e8c2168898439aaedd01f90e79638747d0bc53b91fd9cac93b
6
+ metadata.gz: b13ee8853a57c8e14a6cc00be653003496c94290c534564fb09aae5cb5bc7e58d148a44f4dda24faa4127b603e2ac4f70af85c81cd1d5b10fa3cc306c53a100d
7
+ data.tar.gz: 1aa3c2be1087787354a0ec9033f81eba87ba37fdbb1860587deb093c9a85c34f1f921af668ea16eb9d9a79c3b7dfdd52061f669aa30fca9cfe24280ca9500ca6
data/.irbrc CHANGED
@@ -1 +1,2 @@
1
1
  require "./lib/souls"
2
+ require "./config/souls"
data/Gemfile CHANGED
@@ -3,9 +3,9 @@ source "https://rubygems.org"
3
3
  # Specify your gem's dependencies in souls.gemspec
4
4
  gemspec
5
5
 
6
- gem "activesupport", "6.1.3.2"
6
+ gem "activesupport", "6.1.4"
7
7
  gem "parser", "3.0.1.1"
8
- gem "rake", "13.0.3"
8
+ gem "rake", "13.0.4"
9
9
  gem "rspec", "3.10.0"
10
- gem "rubocop", "1.15.0"
10
+ gem "rubocop", "1.18.3"
11
11
  gem "steep", "0.44.1"
data/Gemfile.lock CHANGED
@@ -1,21 +1,21 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- souls (0.21.3)
4
+ souls (0.21.8)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- activesupport (6.1.3.2)
9
+ activesupport (6.1.4)
10
10
  concurrent-ruby (~> 1.0, >= 1.0.2)
11
11
  i18n (>= 1.6, < 2)
12
12
  minitest (>= 5.1)
13
13
  tzinfo (~> 2.0)
14
14
  zeitwerk (~> 2.3)
15
15
  ast (2.4.2)
16
- concurrent-ruby (1.1.8)
16
+ concurrent-ruby (1.1.9)
17
17
  diff-lcs (1.4.4)
18
- ffi (1.15.1)
18
+ ffi (1.15.3)
19
19
  i18n (1.8.10)
20
20
  concurrent-ruby (~> 1.0)
21
21
  language_server-protocol (3.16.0.1)
@@ -27,7 +27,7 @@ GEM
27
27
  parser (3.0.1.1)
28
28
  ast (~> 2.4.1)
29
29
  rainbow (3.0.0)
30
- rake (13.0.3)
30
+ rake (13.0.4)
31
31
  rb-fsevent (0.11.0)
32
32
  rb-inotify (0.10.1)
33
33
  ffi (~> 1.0)
@@ -47,16 +47,16 @@ GEM
47
47
  diff-lcs (>= 1.2.0, < 2.0)
48
48
  rspec-support (~> 3.10.0)
49
49
  rspec-support (3.10.2)
50
- rubocop (1.15.0)
50
+ rubocop (1.18.3)
51
51
  parallel (~> 1.10)
52
52
  parser (>= 3.0.0.0)
53
53
  rainbow (>= 2.2.2, < 4.0)
54
54
  regexp_parser (>= 1.8, < 3.0)
55
55
  rexml
56
- rubocop-ast (>= 1.5.0, < 2.0)
56
+ rubocop-ast (>= 1.7.0, < 2.0)
57
57
  ruby-progressbar (~> 1.7)
58
58
  unicode-display_width (>= 1.4.0, < 3.0)
59
- rubocop-ast (1.6.0)
59
+ rubocop-ast (1.7.0)
60
60
  parser (>= 3.0.1.1)
61
61
  ruby-progressbar (1.11.0)
62
62
  steep (0.44.1)
@@ -76,17 +76,16 @@ GEM
76
76
  zeitwerk (2.4.2)
77
77
 
78
78
  PLATFORMS
79
- x86_64-darwin-20
80
79
  x86_64-linux
81
80
 
82
81
  DEPENDENCIES
83
- activesupport (= 6.1.3.2)
82
+ activesupport (= 6.1.4)
84
83
  parser (= 3.0.1.1)
85
- rake (= 13.0.3)
84
+ rake (= 13.0.4)
86
85
  rspec (= 3.10.0)
87
- rubocop (= 1.15.0)
86
+ rubocop (= 1.18.3)
88
87
  souls!
89
88
  steep (= 0.44.1)
90
89
 
91
90
  BUNDLED WITH
92
- 2.2.18
91
+ 2.2.21
data/README.md CHANGED
@@ -77,7 +77,7 @@ And Create Your APP
77
77
 
78
78
  ## SOULs Document
79
79
 
80
- - [SOULs Document](https://elsoul.github.io/souls_doc/)
80
+ - [SOULs Document](https://souls-doc.el-soul.com/)
81
81
 
82
82
 
83
83
 
data/config/souls.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  Souls.configure do |config|
2
- config.app = "souls"
2
+ config.app = "souls-app"
3
+ config.project_id = "souls-app-319212"
3
4
  config.strain = "api"
4
5
  end
data/exe/souls CHANGED
@@ -43,6 +43,8 @@ begin
43
43
  end
44
44
  when "i", "infra"
45
45
  Souls.send ARGV[1]
46
+ when "gcloud"
47
+ Souls::Gcloud.send ARGV[1]
46
48
  when "-v", "--version"
47
49
  puts Souls::VERSION
48
50
  when "add"
@@ -138,8 +140,8 @@ begin
138
140
  system "rubocop -a"
139
141
  system "bundle exec rspec"
140
142
  when "run"
141
- system "docker build . -t souls:latest"
142
- system "docker run --rm -p 3000:3000 souls:latest"
143
+ system "docker build . -t souls -f Dockerfile.dev"
144
+ system "docker run --rm --env-file .env -p 3000:3000 souls:latest"
143
145
  when "deploy"
144
146
  system "gcloud builds submit --config=cloudbuild.yml --project #{ARGV[1]}"
145
147
  else
data/lib/souls.rb CHANGED
@@ -2,6 +2,7 @@ require_relative "souls/version"
2
2
  require "active_support/core_ext/string/inflections"
3
3
  require_relative "souls/init"
4
4
  require_relative "souls/generate"
5
+ require_relative "souls/gcloud"
5
6
  require "json"
6
7
  require "fileutils"
7
8
 
@@ -35,6 +36,17 @@ module Souls
35
36
  system "docker ps"
36
37
  end
37
38
 
39
+ def run_mysql
40
+ system "docker run --rm -d \
41
+ -p 3306:3306 \
42
+ -v mysql-tmp:/var/lib/mysqlql/data \
43
+ -e MYSQL_USER=mysql \
44
+ -e MYSQL_PASSWORD=mysql \
45
+ -e MYSQL_DB=souls_test \
46
+ mysql:latest"
47
+ system "docker ps"
48
+ end
49
+
38
50
  def run_awake url
39
51
  app = Souls.configuration.app
40
52
  system "gcloud scheduler jobs create http #{app}-awake --schedule '0,10,20,30,40,50 * * * *' --uri #{url} --http-method GET"
@@ -47,10 +59,11 @@ module Souls
47
59
  end
48
60
 
49
61
  class Configuration
50
- attr_accessor :app, :strain
62
+ attr_accessor :app, :strain, :project_id
51
63
 
52
64
  def initialize
53
65
  @app = nil
66
+ @project_id = nil
54
67
  @strain = nil
55
68
  end
56
69
  end
@@ -0,0 +1,6 @@
1
+ require_relative "./gcloud/compute"
2
+
3
+ module Souls
4
+ module Gcloud
5
+ end
6
+ end
@@ -0,0 +1,47 @@
1
+ module Souls
2
+ module Gcloud
3
+ class << self
4
+ def enable_permissions
5
+ system "gcloud services enable compute.googleapis.com"
6
+ puts "Operating permission to compute.googleapis.com ..."
7
+ system "gcloud services enable sqladmin.googleapis.com"
8
+ puts "Operating permission to sqladmin.googleapis.com ..."
9
+ system "gcloud services enable sql-component.googleapis.com"
10
+ puts "Operating permission to sql-component.googleapis.com ..."
11
+ system "gcloud services enable servicenetworking.googleapis.com"
12
+ puts "Operating permission to servicenetworking.googleapis.com ..."
13
+ end
14
+
15
+ def create_network
16
+ return "Error: Please Set Souls.configuration" if Souls.configuration.app.nil?
17
+ network = Souls.configuration.app
18
+ system "gcloud compute networks create #{network}"
19
+ rescue StandardError => e
20
+ raise StandardError, e
21
+ end
22
+
23
+ def create_firewall ip_range: "10.140.0.0/20"
24
+ network = Souls.configuration.app
25
+ system "gcloud compute firewall-rules create #{network} --network #{network} --allow tcp,udp,icmp --source-ranges #{ip_range}"
26
+ system "gcloud compute firewall-rules create #{network}-ssh --network #{network} --allow tcp:22,tcp:3389,icmp"
27
+ end
28
+
29
+ def create_private_access
30
+ network = Souls.configuration.app
31
+ project_id = Souls.configuration.project_id
32
+ system "gcloud compute addresses create #{network}-my-network \
33
+ --global \
34
+ --purpose=VPC_PEERING \
35
+ --prefix-length=16 \
36
+ --description='peering range for SOULs' \
37
+ --network=#{network} \
38
+ --project=#{project_id}"
39
+ end
40
+
41
+ def create_sql_instance root_pass: "Postgre123!", zone: "asia-northeast1-b"
42
+ app = "#{Souls.configuration.app}-db"
43
+ system "gcloud sql instances create #{app} --database-version=POSTGRES_13 --cpu=2 --memory=7680MB --zone=#{zone} --root-password='#{root_pass}' --database-flags cloudsql.iam_authentication=on"
44
+ end
45
+ end
46
+ end
47
+ end
@@ -5,9 +5,9 @@ module Souls
5
5
  ## 1.Mutation - Create
6
6
  def create_mutation_head class_name: "user"
7
7
  singularized_class_name = class_name.singularize.underscore
8
- dir_name = "./app/graphql/mutations/#{singularized_class_name}"
8
+ dir_name = "./app/graphql/mutations/base/#{singularized_class_name}"
9
9
  FileUtils.mkdir_p dir_name unless Dir.exist? dir_name
10
- file_path = "./app/graphql/mutations/#{singularized_class_name}/create_#{singularized_class_name}.rb"
10
+ file_path = "./app/graphql/mutations/base/#{singularized_class_name}/create_#{singularized_class_name}.rb"
11
11
  File.open(file_path, "w") do |new_line|
12
12
  new_line.write <<~EOS
13
13
  module Mutations
@@ -22,7 +22,7 @@ module Souls
22
22
  end
23
23
 
24
24
  def create_mutation_params class_name: "souls"
25
- file_path = "./app/graphql/mutations/#{class_name}/create_#{class_name}.rb"
25
+ file_path = "./app/graphql/mutations/base/#{class_name}/create_#{class_name}.rb"
26
26
  path = "./db/schema.rb"
27
27
  @on = false
28
28
  @user_exist = false
@@ -70,7 +70,7 @@ module Souls
70
70
 
71
71
  def create_mutation_after_params class_name: "article", relation_params: []
72
72
  return false if relation_params.empty?
73
- file_path = "./app/graphql/mutations/#{class_name}/create_#{class_name}.rb"
73
+ file_path = "./app/graphql/mutations/base/#{class_name}/create_#{class_name}.rb"
74
74
  relation_params.each do |params_name|
75
75
  File.open(file_path, "a") do |new_line|
76
76
  new_line.write " _, args[:#{params_name}] = SoulsApiSchema.from_global_id(args[:#{params_name}])\n"
@@ -80,7 +80,7 @@ module Souls
80
80
  end
81
81
 
82
82
  def create_mutation_end class_name: "souls"
83
- file_path = "./app/graphql/mutations/#{class_name}/create_#{class_name}.rb"
83
+ file_path = "./app/graphql/mutations/base/#{class_name}/create_#{class_name}.rb"
84
84
  File.open(file_path, "a") do |new_line|
85
85
  new_line.write <<~EOS
86
86
  #{class_name} = ::#{class_name.camelize}.new args
@@ -102,7 +102,7 @@ module Souls
102
102
 
103
103
  ## 2.Mutation - Update
104
104
  def update_mutation_head class_name: "souls"
105
- file_path = "./app/graphql/mutations/#{class_name}/update_#{class_name}.rb"
105
+ file_path = "./app/graphql/mutations/base/#{class_name}/update_#{class_name}.rb"
106
106
  File.open(file_path, "w") do |new_line|
107
107
  new_line.write <<~EOS
108
108
  module Mutations
@@ -113,10 +113,11 @@ module Souls
113
113
  argument :id, String, required: true
114
114
  EOS
115
115
  end
116
+ file_path
116
117
  end
117
118
 
118
119
  def update_mutation_params class_name: "souls"
119
- file_path = "./app/graphql/mutations/#{class_name}/update_#{class_name}.rb"
120
+ file_path = "./app/graphql/mutations/base/#{class_name}/update_#{class_name}.rb"
120
121
  path = "./db/schema.rb"
121
122
  @on = false
122
123
  @user_exist = false
@@ -166,7 +167,7 @@ module Souls
166
167
 
167
168
  def update_mutation_after_params class_name: "article", relation_params: []
168
169
  return false if relation_params.empty?
169
- file_path = "./app/graphql/mutations/#{class_name}/update_#{class_name}.rb"
170
+ file_path = "./app/graphql/mutations/base/#{class_name}/update_#{class_name}.rb"
170
171
  relation_params.each do |params_name|
171
172
  File.open(file_path, "a") do |new_line|
172
173
  new_line.write " _, args[:#{params_name}] = SoulsApiSchema.from_global_id(args[:#{params_name}])\n"
@@ -176,7 +177,7 @@ module Souls
176
177
  end
177
178
 
178
179
  def update_mutation_end class_name: "souls"
179
- file_path = "./app/graphql/mutations/#{class_name}/update_#{class_name}.rb"
180
+ file_path = "./app/graphql/mutations/base/#{class_name}/update_#{class_name}.rb"
180
181
  File.open(file_path, "a") do |new_line|
181
182
  new_line.write <<~EOS
182
183
  #{class_name} = ::#{class_name.camelize}.find args[:id]
@@ -194,7 +195,7 @@ module Souls
194
195
  end
195
196
 
196
197
  def update_mutation class_name: "souls"
197
- file_path = "./app/graphql/mutations/#{class_name}/update_#{class_name}.rb"
198
+ file_path = "./app/graphql/mutations/base/#{class_name}/update_#{class_name}.rb"
198
199
  return "Mutation already exist! #{file_path}" if File.exist? file_path
199
200
  update_mutation_head class_name: class_name
200
201
  relation_params = update_mutation_params class_name: class_name
@@ -204,7 +205,7 @@ module Souls
204
205
 
205
206
  # 3. Mutation - Delete
206
207
  def delete_mutation class_name: "souls"
207
- file_path = "./app/graphql/mutations/#{class_name}/delete_#{class_name}.rb"
208
+ file_path = "./app/graphql/mutations/base/#{class_name}/delete_#{class_name}.rb"
208
209
  return "Mutation already exist! #{file_path}" if File.exist? file_path
209
210
  File.open(file_path, "w") do |f|
210
211
  f.write <<~EOS
@@ -232,7 +233,7 @@ module Souls
232
233
 
233
234
  # 4. Mutation - Destroy Delete
234
235
  def destroy_delete_mutation class_name: "souls"
235
- file_path = "./app/graphql/mutations/#{class_name}/destroy_delete_#{class_name}.rb"
236
+ file_path = "./app/graphql/mutations/base/#{class_name}/destroy_delete_#{class_name}.rb"
236
237
  return "Mutation already exist! #{file_path}" if File.exist? file_path
237
238
  File.open(file_path, "w") do |f|
238
239
  f.write <<~EOS
@@ -262,11 +263,12 @@ module Souls
262
263
 
263
264
  def mutation class_name: "souls"
264
265
  singularized_class_name = class_name.singularize
265
- file_path = "./app/graphql/mutations/#{singularized_class_name}/create_#{singularized_class_name}.rb"
266
+ file_path = "./app/graphql/mutations/base/#{singularized_class_name}/create_#{singularized_class_name}.rb"
266
267
  return "Mutation already exist! #{file_path}" if File.exist? file_path
267
268
  create_mutation_head class_name: singularized_class_name
268
269
  relation_params = create_mutation_params class_name: singularized_class_name
269
270
  create_mutation_after_params class_name: singularized_class_name, relation_params: relation_params
271
+ # puts "File Created!\n#{file_path}"
270
272
  [
271
273
  create_mutation_end(class_name: singularized_class_name),
272
274
  update_mutation(class_name: singularized_class_name),
@@ -123,14 +123,14 @@ module Souls
123
123
  file_path = "./app/graphql/resolvers/#{class_name.singularize}_search.rb"
124
124
  File.open(file_path, "a") do |f|
125
125
  f.write <<~EOS
126
- scope = scope.where("created_at >= ?", value[:start_date]) if value[:start_date]
127
- scope = scope.where("created_at <= ?", value[:end_date]) if value[:end_date]
128
- branches << scope
129
- value[:OR].inject(branches) { |s, v| normalize_filters(v, s) } if value[:OR].present?
130
- branches
131
- end
132
- end
133
- end
126
+ scope = scope.where("created_at >= ?", value[:start_date]) if value[:start_date]
127
+ scope = scope.where("created_at <= ?", value[:end_date]) if value[:end_date]
128
+ branches << scope
129
+ value[:OR].inject(branches) { |s, v| normalize_filters(v, s) } if value[:OR].present?
130
+ branches
131
+ end
132
+ end
133
+ end
134
134
  EOS
135
135
  end
136
136
  file_path
@@ -144,6 +144,7 @@ module Souls
144
144
  resolver_params class_name: singularized_class_name
145
145
  resolver_after_params class_name: singularized_class_name
146
146
  resolver_before_end class_name: singularized_class_name
147
+ # puts "File Created!\n#{file_path}"
147
148
  resolver_end class_name: singularized_class_name
148
149
  end
149
150
  end
@@ -4,6 +4,7 @@ module Souls
4
4
  ## Generate Rspec Factory
5
5
  def rspec_factory_head class_name: "souls"
6
6
  file_path = "./spec/factories/#{class_name.pluralize}.rb"
7
+ FileUtils.mkdir_p "./spec/factories/" unless Dir.exist? "./spec/factories/"
7
8
  File.open(file_path, "w") do |f|
8
9
  f.write <<~EOS
9
10
  FactoryBot.define do
@@ -3,7 +3,7 @@ module Souls
3
3
  class << self
4
4
  ## Generate Rspec Mutation
5
5
  def rspec_mutation_head class_name: "souls"
6
- file_path = "./spec/mutations/#{class_name.singularize}_spec.rb"
6
+ file_path = "./spec/mutations/base/#{class_name.singularize}_spec.rb"
7
7
  File.open(file_path, "w") do |f|
8
8
  f.write <<~EOS
9
9
  RSpec.describe \"#{class_name.camelize} Mutation テスト\" do
@@ -13,7 +13,7 @@ module Souls
13
13
  end
14
14
 
15
15
  def rspec_mutation_after_head class_name: "souls"
16
- file_path = "./spec/mutations/#{class_name.singularize}_spec.rb"
16
+ file_path = "./spec/mutations/base/#{class_name.singularize}_spec.rb"
17
17
  path = "./db/schema.rb"
18
18
  @on = false
19
19
  @user_exist = false
@@ -62,7 +62,7 @@ module Souls
62
62
  end
63
63
 
64
64
  def rspec_mutation_params class_name: "souls"
65
- file_path = "./spec/mutations/#{class_name.singularize}_spec.rb"
65
+ file_path = "./spec/mutations/base/#{class_name.singularize}_spec.rb"
66
66
  path = "./db/schema.rb"
67
67
  @on = false
68
68
  @user_exist = false
@@ -106,7 +106,7 @@ module Souls
106
106
  end
107
107
 
108
108
  def rspec_mutation_params_response class_name: "souls"
109
- file_path = "./spec/mutations/#{class_name.singularize}_spec.rb"
109
+ file_path = "./spec/mutations/base/#{class_name.singularize}_spec.rb"
110
110
  path = "./db/schema.rb"
111
111
  @on = false
112
112
  File.open(file_path, "a") do |new_line|
@@ -188,7 +188,7 @@ module Souls
188
188
  end
189
189
 
190
190
  def rspec_mutation_end class_name: "souls"
191
- file_path = "./spec/mutations/#{class_name.singularize}_spec.rb"
191
+ file_path = "./spec/mutations/base/#{class_name.singularize}_spec.rb"
192
192
  path = "./db/schema.rb"
193
193
  @on = false
194
194
  File.open(file_path, "a") do |new_line|
@@ -236,7 +236,7 @@ module Souls
236
236
 
237
237
  def rspec_mutation class_name: "souls"
238
238
  singularized_class_name = class_name.singularize
239
- file_path = "./spec/mutations/#{singularized_class_name}_spec.rb"
239
+ file_path = "./spec/mutations/base/#{singularized_class_name}_spec.rb"
240
240
  return "RspecMutation already exist! #{file_path}" if File.exist? file_path
241
241
  rspec_mutation_head class_name: singularized_class_name
242
242
  rspec_mutation_after_head class_name: singularized_class_name
@@ -33,7 +33,7 @@ module Souls
33
33
  context "being a staff" do
34
34
  let(:user) { FactoryBot.create(:user, user_role: 3) }
35
35
 
36
- it { is_expected.to permit_actions([:create, :update, :delete]) }
36
+ it { is_expected.to permit_actions([:create, :update]) }
37
37
  end
38
38
 
39
39
  context "being an administrator" do
@@ -33,7 +33,6 @@ module Souls
33
33
  #{class_name.singularize.camelize(:lower)}(id: \\"\#{data_id}\\") {
34
34
  id
35
35
  EOS
36
- break
37
36
  else
38
37
  new_line.write <<-EOS
39
38
  let(:#{class_name}) { FactoryBot.create(:#{class_name}, #{@relation_params.join(", ")}) }
@@ -44,8 +43,8 @@ module Souls
44
43
  #{class_name.singularize.camelize(:lower)}(id: \\"\#{data_id}\\") {
45
44
  id
46
45
  EOS
47
- break
48
46
  end
47
+ break
49
48
  end
50
49
  _, name = line.split(",")[0].gsub("\"", "").scan(/((?<=t\.).+(?=\s)) (.+)/)[0]
51
50
  case name
data/lib/souls/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Souls
2
- VERSION = "0.21.3"
2
+ VERSION = "0.21.8"
3
3
  end
data/souls.gemspec CHANGED
@@ -6,8 +6,8 @@ Gem::Specification.new do |spec|
6
6
  spec.authors = ["POPPIN-FUMI", "KishiTheMechanic", "James Neve"]
7
7
  spec.email = ["f.kawasaki@elsoul.nl", "s.kishi@elsoul.nl", "jamesoneve@gmail.com"]
8
8
 
9
- spec.summary = "SOULS is a GraphQL Based Web Application Framework for Microservices on Multi Cloud Platform such as Google Cloud Platform, Amazon Web Services, and Alibaba Cloud. Auto deploy with scalable condition. You can focus on business logic. No more infra problems."
10
- spec.description = "SOULS is a GraphQL Based Web Application Framework for Microservices on Multi Cloud Platform such as Google Cloud Platform, Amazon Web Services, and Alibaba Cloud. Auto deploy with scalable condition. You can focus on business logic. No more infra problems."
9
+ spec.summary = "SOULs is a Serverless Application Framework. SOULs has four strains, API, Worker, Console, Media, and can be used in combination according to the purpose. SOULs Backend GraphQL Ruby & Frontend Relay are Scalable and Easy to deploy to Google Cloud and Amazon Web Services"
10
+ spec.description = "SOULs is a Serverless Application Framework. SOULs has four strains, API, Worker, Console, Media, and can be used in combination according to the purpose. SOULs Backend GraphQL Ruby & Frontend Relay are Scalable and Easy to deploy to Google Cloud and Amazon Web Services"
11
11
  spec.homepage = "https://github.com/elsoul/souls"
12
12
  spec.license = "Apache-2.0"
13
13
  spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
metadata CHANGED
@@ -1,21 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: souls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.3
4
+ version: 0.21.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI
8
8
  - KishiTheMechanic
9
9
  - James Neve
10
- autorequire:
10
+ autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2021-05-27 00:00:00.000000000 Z
13
+ date: 2021-07-12 00:00:00.000000000 Z
14
14
  dependencies: []
15
- description: SOULS is a GraphQL Based Web Application Framework for Microservices
16
- on Multi Cloud Platform such as Google Cloud Platform, Amazon Web Services, and
17
- Alibaba Cloud. Auto deploy with scalable condition. You can focus on business logic.
18
- No more infra problems.
15
+ description: SOULs is a Serverless Application Framework. SOULs has four strains,
16
+ API, Worker, Console, Media, and can be used in combination according to the purpose.
17
+ SOULs Backend GraphQL Ruby & Frontend Relay are Scalable and Easy to deploy to Google
18
+ Cloud and Amazon Web Services
19
19
  email:
20
20
  - f.kawasaki@elsoul.nl
21
21
  - s.kishi@elsoul.nl
@@ -44,6 +44,8 @@ files:
44
44
  - db/schema.rb
45
45
  - exe/souls
46
46
  - lib/souls.rb
47
+ - lib/souls/gcloud.rb
48
+ - lib/souls/gcloud/compute.rb
47
49
  - lib/souls/generate.rb
48
50
  - lib/souls/generate/application.rb
49
51
  - lib/souls/generate/model.rb
@@ -69,7 +71,7 @@ metadata:
69
71
  homepage_uri: https://github.com/elsoul/souls
70
72
  source_code_uri: https://github.com/elsoul/souls
71
73
  changelog_uri: https://github.com/elsoul/souls
72
- post_install_message:
74
+ post_install_message:
73
75
  rdoc_options: []
74
76
  require_paths:
75
77
  - lib
@@ -85,10 +87,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
87
  version: '0'
86
88
  requirements: []
87
89
  rubygems_version: 3.2.15
88
- signing_key:
90
+ signing_key:
89
91
  specification_version: 4
90
- summary: SOULS is a GraphQL Based Web Application Framework for Microservices on Multi
91
- Cloud Platform such as Google Cloud Platform, Amazon Web Services, and Alibaba Cloud.
92
- Auto deploy with scalable condition. You can focus on business logic. No more infra
93
- problems.
92
+ summary: SOULs is a Serverless Application Framework. SOULs has four strains, API,
93
+ Worker, Console, Media, and can be used in combination according to the purpose.
94
+ SOULs Backend GraphQL Ruby & Frontend Relay are Scalable and Easy to deploy to Google
95
+ Cloud and Amazon Web Services
94
96
  test_files: []