souls 1.4.0 → 1.4.4

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: 504cd4ab4030690ba86843de1b9af5544394c39480a8394e2bc0be6e9cc09494
4
- data.tar.gz: 1294690c238452bcd9a5d06e2f4b1f6eeec02c1da8850772bb523a88e80f41ec
3
+ metadata.gz: 64feb95ffcd5c0557a7f862cb502fff99e18d9251d89c84db9d2e5d85090d518
4
+ data.tar.gz: aa631218fcc6bfa93feb92de43e18e4253498928c773a96eb4dae19eb381378b
5
5
  SHA512:
6
- metadata.gz: 58ba05001034b78f384ab7fb2c6c9d36b3e15881433a810242530c60677aef2b4f69e55d67542f676bc2ccd638744bb79b5c99c97c16c42575082d5bc2e8b112
7
- data.tar.gz: 3ac42b34963cd62fd8e53520594a5f2ece24763dcdbdd70ac4dbea94694014b724caed14c75f543f61847de7313f92b63e2518fb1213561c4da3aeeae1554693
6
+ metadata.gz: ecd51636811d2b850074572d8208610634afea9b88e6a439a85e5487d2766e1231714504879beb07f1a66dc4843a364f97f4319d44a9ca8b7bc31741f89ceeba
7
+ data.tar.gz: 6c4e715d411c34cdc516954be2c38ddb93a6c7771fcdccc8e5d466f877acdb50664eca44b74be72da272b31294d4f89c0404a090117ec03554d61b32f8151f4a
data/README.md CHANGED
@@ -11,12 +11,16 @@
11
11
  </a>
12
12
  <a aria-label="Downloads Number" href="https://rubygems.org/gems/souls">
13
13
  <img alt="" src="https://badgen.net/rubygems/dt/souls">
14
+ </a>
15
+ <a aria-label="Test" href="https://rubygems.org/gems/souls">
16
+ <img alt="" src="https://github.com/elsoul/souls/actions/workflows/gem-test.yml/badge.svg">
14
17
  </a>
15
18
  <a aria-label="License" href="https://github.com/elsoul/souls/blob/master/LICENSE.txt">
16
19
  <img alt="" src="https://badgen.net/badge/license/Apache/blue">
17
20
  </a>
18
21
  </p>
19
22
 
23
+
20
24
  ## SOULs Serverless Application Framework Document
21
25
 
22
26
  - [Go to SOULs Document](https://souls.elsoul.nl/)
@@ -62,7 +62,7 @@ module Souls
62
62
  end
63
63
  end
64
64
 
65
- def souls_conf_update(worker_name, strain)
65
+ def souls_conf_update(worker_name, strain = "mother")
66
66
  workers = Souls.configuration.workers
67
67
  port = 3000 + workers.size
68
68
  file_path = strain == "mother" ? "config/souls.rb" : "apps/api/config/souls.rb"
@@ -5,9 +5,9 @@ module Souls
5
5
  def scaffold(class_name)
6
6
  singularized_class_name = class_name.singularize
7
7
  if options[:rbs]
8
- run_rbs_scaffold(class_name: singularized_class_name)
8
+ run_rbs_scaffold(singularized_class_name)
9
9
  else
10
- run_scaffold(class_name: singularized_class_name)
10
+ run_scaffold(singularized_class_name)
11
11
  end
12
12
  true
13
13
  rescue Thor::Error => e
@@ -32,7 +32,7 @@ module Souls
32
32
 
33
33
  private
34
34
 
35
- def run_scaffold(class_name: "user")
35
+ def run_scaffold(class_name)
36
36
  type(class_name)
37
37
  type_rbs(class_name)
38
38
  query(class_name)
@@ -54,7 +54,7 @@ module Souls
54
54
  rspec_policy(class_name)
55
55
  end
56
56
 
57
- def run_rbs_scaffold(class_name: "user")
57
+ def run_rbs_scaffold(class_name)
58
58
  type_rbs(class_name)
59
59
  query_rbs(class_name)
60
60
  mutation_rbs(class_name)
@@ -64,7 +64,7 @@ module Souls
64
64
  resolver_rbs(class_name)
65
65
  end
66
66
 
67
- def generated_paths(class_name: "user")
67
+ def generated_paths(class_name)
68
68
  singularized_class_name = class_name.singularize.underscore
69
69
  pluralized_class_name = class_name.pluralize.underscore
70
70
  [
@@ -10,10 +10,10 @@ module Souls
10
10
  file_path = "./app/graphql/mutations/base/#{singularized_class_name}/create_#{singularized_class_name}.rb"
11
11
  return "Mutation already exist! #{file_path}" if File.exist?(file_path)
12
12
 
13
- create_mutation(class_name: singularized_class_name)
14
- update_mutation(class_name: singularized_class_name)
15
- delete_mutation(class_name: singularized_class_name)
16
- destroy_delete_mutation(class_name: singularized_class_name)
13
+ create_mutation(singularized_class_name)
14
+ update_mutation(singularized_class_name)
15
+ delete_mutation(singularized_class_name)
16
+ destroy_delete_mutation(singularized_class_name)
17
17
  end
18
18
  rescue Thor::Error => e
19
19
  raise(Thor::Error, e)
@@ -21,7 +21,7 @@ module Souls
21
21
  git submodule add -f https://github.com/ruby/gem_rbs_collection.git vendor/rbs/gem_rbs_collection
22
22
  "
23
23
  )
24
- souls_api_credit(app_name: app_name, service_name: service_name)
24
+ souls_api_credit(app_name)
25
25
  end
26
26
 
27
27
  private
@@ -165,7 +165,7 @@ module Souls
165
165
  FileUtils.rm(sig_name)
166
166
  end
167
167
 
168
- def souls_api_credit(app_name: "souls")
168
+ def souls_api_credit(app_name)
169
169
  line = Paint["====================================", :yellow]
170
170
  puts("\n")
171
171
  puts(line)
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "1.4.0".freeze
2
+ VERSION = "1.4.4".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 1.4.0
1
+ 1.4.4
@@ -1 +1 @@
1
- 1.4.0
1
+ 1.4.4
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: souls
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.4
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-11-04 00:00:00.000000000 Z
13
+ date: 2021-11-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -232,7 +232,7 @@ metadata:
232
232
  homepage_uri: https://souls.elsoul.nl
233
233
  source_code_uri: https://github.com/elsoul/souls
234
234
  changelog_uri: https://github.com/elsoul/souls
235
- post_install_message:
235
+ post_install_message:
236
236
  rdoc_options: []
237
237
  require_paths:
238
238
  - lib
@@ -248,7 +248,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
248
248
  version: '0'
249
249
  requirements: []
250
250
  rubygems_version: 3.2.22
251
- signing_key:
251
+ signing_key:
252
252
  specification_version: 4
253
253
  summary: Build Serverless Apps faster like Rails. Powered by Ruby GraphQL, RBS/Steep,
254
254
  Active Record, RSpec, RuboCop, and Google Cloud.