souls 0.14.6 → 0.14.7

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: e7a6884fade54faa35e418f6444d415f53987e106bdcff1dd146078961a4d97a
4
- data.tar.gz: 373db5faf95fdbe73aa504f4f6eab2379e46d47dbb84a77ebbfdbb7912e6cf6e
3
+ metadata.gz: 82a93c134d59e41d907e30a4784bc6d0713d20ec016e606b49f957aa699e1e82
4
+ data.tar.gz: 663dd3215bf74f74fa17e6178a4afface0c4a173334519c4e27af210261716f2
5
5
  SHA512:
6
- metadata.gz: d21cbaa2ae78fb42502c9f200277c93e78a92139835e19db3fec551c5d80989497006cef086f93b47caee9118193984b85687c96566c7e90a11c0a7e9588c3a1
7
- data.tar.gz: 9e3f9d3daf4ad77ed04fca0d0f76790d91c7d56156f5317178384e25c5cf58e02256bc203b040a307731c15eaf9b0b18fdee65f0af0d5ed1b8ccafbc3e08388e
6
+ metadata.gz: 182ee54e370af1f746a45613aeb1c78604701a2ac075e7de9e58e211ed8028a0a75dcc4ab0fddce1f870a17392c14a7fc0e1aede1bdc6d8c37bdf4e107457d23
7
+ data.tar.gz: d91eab772bd9ec65a0844df7fb363171a2a02c76d9300c60087c37fcc75a26d188e067ae36526d9401c09793aacbe16c46bb6968dc126884ef0ad7ea5649b93a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- souls (0.14.4)
4
+ souls (0.14.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/souls/init.rb CHANGED
@@ -244,6 +244,7 @@ module Souls
244
244
 
245
245
  def model class_name: "souls"
246
246
  file_path = "./app/models/#{class_name.singularize}.rb"
247
+ return p("Model already exist! #{file_path}") if File.exist? file_path
247
248
  File.open(file_path, "w") do |f|
248
249
  f.write <<~EOS
249
250
  class #{class_name.camelize} < ActiveRecord::Base
@@ -257,6 +258,7 @@ module Souls
257
258
  FileUtils.mkdir_p "./app/graphql/mutations"
258
259
  FileUtils.mkdir_p "./app/graphql/queries"
259
260
  FileUtils.mkdir_p "./app/graphql/types"
261
+ FileUtils.mkdir_p "./app/models"
260
262
  FileUtils.mkdir_p "./spec/factories"
261
263
  FileUtils.mkdir_p "./spec/queries"
262
264
  FileUtils.mkdir_p "./spec/mutations"
data/lib/souls/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Souls
2
- VERSION = "0.14.6"
2
+ VERSION = "0.14.7"
3
3
  end
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.14.6
4
+ version: 0.14.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2021-02-02 00:00:00.000000000 Z
13
+ date: 2021-02-04 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: SOULS is a Web Application Framework for Microservices on Multi Cloud
16
16
  Platform such as Google Cloud Platform, Amazon Web Services, and Alibaba Cloud.