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: fea2c7809dbc16cba399be01133563e1770c6920edd33f366fc28628fbdde57d
4
- data.tar.gz: 292b21da9bc2a3314410ddc29c72f22447b6a3f172c94e81ee48ab7a07531c05
3
+ metadata.gz: 1956a56e9601478d0f86f691eccc63a237b277fc76d45ef56dfff8ab653c4ae0
4
+ data.tar.gz: 959596982f1747584447e1a3b7edc352a176eaece0f36732c85808606f1d3931
5
5
  SHA512:
6
- metadata.gz: 9a5d3d8cdbe12fb9009d5cd8cbb5ba4f7627d6fb478de244aabd69ca1ac1bc72646fd47c217ac310452da561fce9d365c8778414de9bf17a7e26e1123b62461c
7
- data.tar.gz: 8f24438d97d11a5e8cd70f5fa78c010bab2c4c07aa2feea268356f15d61d565df4278f29965e5381f643de8c6cdcf1965adb172a5187dbc9bc9c9622d1db8d42
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 :mutation, type: :boolean, aliases: "--mailer", default: false, desc: "Mailer 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("#{class_name.singularize.camelize}") do
14
- describe "Define #{class_name.singularize.camelize}" do
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
- #{class_name.singularize.camelize(:lower)}(input: {}) {
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", "#{options[:mutation].singularize.camelize(:lower)}", "response")
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,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.66.2".freeze
2
+ VERSION = "0.67.2".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.45.2
1
+ 0.46.2
@@ -1 +1 @@
1
- 0.45.2
1
+ 0.46.2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: souls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.66.2
4
+ version: 0.67.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI