souls 0.66.2 → 0.67.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1956a56e9601478d0f86f691eccc63a237b277fc76d45ef56dfff8ab653c4ae0
|
4
|
+
data.tar.gz: 959596982f1747584447e1a3b7edc352a176eaece0f36732c85808606f1d3931
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c1e2b2cf82a1c1375c68285cd96a9f405d36a0db4716adea0ce501cdd4c04afe6e1e5742276ba2199c94f292b7b72a418a5920344bea20fc027aaee7c4ade1f
|
7
|
+
data.tar.gz: bbb3eb9c5d6e1a8f41e168d39249ba60ef14aba6b326941527a59fa0b5164cea8023495ddac87fd3fefb5e49c0499327fe15e435d5e5be7b4107248aedabca14
|
@@ -21,6 +21,7 @@ module Souls
|
|
21
21
|
souls_config_init(worker_name: options[:name])
|
22
22
|
steepfile(worker_name: options[:name])
|
23
23
|
souls_helper_rbs(worker_name: options[:name])
|
24
|
+
system("cd apps/#{options[:name]} && bundle")
|
24
25
|
souls_worker_credit(worker_name: options[:name])
|
25
26
|
end
|
26
27
|
true
|
@@ -48,6 +49,8 @@ module Souls
|
|
48
49
|
end
|
49
50
|
end
|
50
51
|
end
|
52
|
+
FileUtils.rm(file_path)
|
53
|
+
FileUtils.mv(new_file_path, file_path)
|
51
54
|
end
|
52
55
|
|
53
56
|
def procfile(worker_name: "mailer", port: 3000)
|
@@ -313,7 +316,6 @@ end
|
|
313
316
|
endroll = <<~TEXT
|
314
317
|
Easy to Run
|
315
318
|
$ cd apps/#{worker_name}
|
316
|
-
$ bundle
|
317
319
|
$ souls sync model
|
318
320
|
$ souls s
|
319
321
|
Go To : http://localhost:3000
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Souls
|
2
2
|
class Generate < Thor
|
3
3
|
desc "job [CLASS_NAME]", "Generate Job File in Worker"
|
4
|
-
method_option :
|
4
|
+
method_option :mailer, type: :boolean, aliases: "--mailer", default: false, desc: "Mailer Option"
|
5
5
|
def job(class_name)
|
6
6
|
if options[:mailer]
|
7
7
|
mailgun_mailer(class_name: class_name)
|
@@ -10,12 +10,12 @@ module Souls
|
|
10
10
|
|
11
11
|
File.open(file_path, "w") do |f|
|
12
12
|
f.write(<<~TEXT)
|
13
|
-
RSpec.describe("#{
|
14
|
-
describe "Define #{
|
13
|
+
RSpec.describe("#{singularized_class_name.camelize}") do
|
14
|
+
describe "Define #{singularized_class_name.camelize}" do
|
15
15
|
|
16
16
|
let(:mutation) do
|
17
17
|
%(mutation {
|
18
|
-
#{
|
18
|
+
#{singularized_class_name.camelize(:lower)}(input: {}) {
|
19
19
|
response
|
20
20
|
}
|
21
21
|
}
|
@@ -28,7 +28,7 @@ module Souls
|
|
28
28
|
|
29
29
|
it "return StockSheet Data" do
|
30
30
|
begin
|
31
|
-
a1 = result.dig("data", "#{
|
31
|
+
a1 = result.dig("data", "#{singularized_class_name.camelize(:lower)}", "response")
|
32
32
|
raise unless a1.present?
|
33
33
|
rescue StandardError
|
34
34
|
raise(StandardError, result)
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.46.2
|
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.46.2
|