souls 0.16.8 → 0.16.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/souls/generate.rb +0 -2
- data/lib/souls/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e03fb6575c0bc3b27aefb06271fa7c0bb6918f6e02b149e27122bed7cb36bb82
|
4
|
+
data.tar.gz: 5f834aa5e01aa7eb295e22a25bd46e24449e842f912c6b4072cd20c3055cba42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 889facdd951bec4e5697c3d8454ca0de04d5ab16d0d178a75f8e79e0a8d3bb01d26bb8dda9ff9d85dec07c0cbbd4b2c9365a8d2e4fbd0bbb1ed808e129b49377
|
7
|
+
data.tar.gz: 4823330b6923de3548872f399de7eb4632e11190e8e431583f483dbcd964a80beb2ff5d70a610667572e14d35b9315f835b29ea4bf42028296ab9ef8da097f1d
|
data/lib/souls/generate.rb
CHANGED
@@ -77,7 +77,6 @@ module Souls
|
|
77
77
|
file_path = "./app/graphql/resolvers/#{class_name.singularize}_search.rb"
|
78
78
|
File.open(file_path, "a") do |f|
|
79
79
|
f.write <<-EOS
|
80
|
-
argument :is_deleted, Boolean, required: false
|
81
80
|
argument :start_date, String, required: false
|
82
81
|
argument :end_date, String, required: false
|
83
82
|
end
|
@@ -142,7 +141,6 @@ module Souls
|
|
142
141
|
file_path = "./app/graphql/resolvers/#{class_name.singularize}_search.rb"
|
143
142
|
File.open(file_path, "a") do |f|
|
144
143
|
f.write <<-EOS
|
145
|
-
scope = scope.where(is_deleted: value[:is_deleted]) unless value[:is_deleted].nil?
|
146
144
|
scope = scope.where("created_at >= ?", value[:start_date]) if value[:start_date]
|
147
145
|
scope = scope.where("created_at <= ?", value[:end_date]) if value[:end_date]
|
148
146
|
|
data/lib/souls/version.rb
CHANGED
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: 0.16.
|
4
|
+
version: 0.16.9
|
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-03-
|
13
|
+
date: 2021-03-13 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.
|
@@ -55,7 +55,7 @@ metadata:
|
|
55
55
|
homepage_uri: https://github.com/elsoul/souls
|
56
56
|
source_code_uri: https://github.com/elsoul/souls
|
57
57
|
changelog_uri: https://github.com/elsoul/souls
|
58
|
-
post_install_message:
|
58
|
+
post_install_message:
|
59
59
|
rdoc_options: []
|
60
60
|
require_paths:
|
61
61
|
- lib
|
@@ -70,8 +70,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '0'
|
72
72
|
requirements: []
|
73
|
-
rubygems_version: 3.2.
|
74
|
-
signing_key:
|
73
|
+
rubygems_version: 3.2.4
|
74
|
+
signing_key:
|
75
75
|
specification_version: 4
|
76
76
|
summary: SOULS is a GraphQL Based Web Application Framework for Microservices on Multi
|
77
77
|
Cloud Platform such as Google Cloud Platform, Amazon Web Services, and Alibaba Cloud.
|