souls 0.23.9 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ac8f535bffb1cffc5cc10019b62891735f888982c000bd50e8412a887983bf5
4
- data.tar.gz: a5458cc6c2b9f94452a2362f4b62f4e33f98ce5d4e68de038586f9dc0f5ce218
3
+ metadata.gz: b052d6dae1a6c0847f3fcb32dc77bde6ea698c642f2e3e667bffb940e6e2ed54
4
+ data.tar.gz: 556817e4f1cd69a831a08d59e6498b8472351c786e6c9f97f489f03b8a29e3f9
5
5
  SHA512:
6
- metadata.gz: 27c3d5389d371076afe009ea9839dd23ff97701bf3ef5b901a7d5c80eb01bdb2b76f01cec1ffd771cab42acec5cbe64b2baa74846a68dc982a78c46cef3e752c
7
- data.tar.gz: e70e36f757202fcc306401e95414de79c671797aeccd27646b2f1b7fdf85552b6f8fcfb7fed0e51d9ecfc55fc1a67bbabe1240e4757349e0e68d36292d425e17
6
+ metadata.gz: 5240e15e169064d3bf6b91a91be906a996079bcf625211b51c10bc07aefde0d62830956a8a7a2ff1e2ba0012dad4453ad7240a3dd1439ea20eca585a69514038
7
+ data.tar.gz: 0641f3caf5426483944c66f77258bca8739f720e02b9451d33a04ab3e6bb5942bf12795c1d12a3a1fe460b2835fad732c5d8c27a8b650c7cf0a383cda210d5e1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- souls (0.23.8)
4
+ souls (0.23.9)
5
5
  paint (= 2.2.1)
6
6
  whirly (= 0.3.0)
7
7
 
data/README.md CHANGED
@@ -19,10 +19,10 @@
19
19
 
20
20
  ## What's SOULs?
21
21
 
22
- Welcome to SOULs Framework!
22
+ Welcome to SOULs Serverless Application Framework!
23
23
 
24
- SOULs is a Serverless Application Framework.
25
- SOULs has six strains, API, Worker, Console, Admin, Media, Doc, and can be used in combination according to the purpose. SOULs Backend GraphQL Ruby & Frontend Relay are Scalable and Easy to deploy to Google Cloud.
24
+ SOULs is a Serverless Application Framework with GraphQL.
25
+ SOULs has six strains, API, Worker, Console, Admin, Media, Doc, and can be used in combination according to the purpose. SOULs Backend GraphQL Ruby & Frontend Relay are Scalable and Easy to deploy to Google Cloud. No more routing for Backends!
26
26
  You can focus on your business logic. No more infra problems.
27
27
 
28
28
  SOULs creates 6 types of framework.
@@ -74,7 +74,7 @@ And Create Your APP
74
74
 
75
75
  $ souls new app_name
76
76
 
77
- ### Choose SOULs Type:
77
+ ## Choose SOULs Type:
78
78
 
79
79
  Select Strain:
80
80
  1. SOULs GraphQL API
@@ -85,8 +85,37 @@ Select Strain:
85
85
  6. SOULs Doc Web
86
86
 
87
87
 
88
- ## SOULs Document
88
+ ## Gemfile 自動更新アップデート
89
89
 
90
+ `Gemfile`, `Gemfile.lock` を最新のバージョンに自動更新します。
91
+
92
+ ```
93
+ souls gem:update
94
+ ```
95
+
96
+
97
+ 除外したい `gem` は `config/souls.rb` 内の
98
+ `config.fixed_gems` の配列に追加します。
99
+
100
+
101
+ ```ruby
102
+ Souls.configure do |config|
103
+ config.app = "souls-api"
104
+ config.project_id = "souls-api"
105
+ config.strain = "worker"
106
+ config.api_repo = "elsoul/souls_api"
107
+ config.worker_repo = "elsoul/souls_worker"
108
+ config.worker_endpoint = "https://worker.com"
109
+ config.fixed_gems = ["selenium-webdriver", "pg"]
110
+ end
111
+ ```
112
+
113
+
114
+
115
+ ## SOULs Serverless Application Framework Document
116
+
117
+ SOULs サーバーレスアプリケーションフレームワーク
118
+ ドキュメントはこちらから
90
119
  - [SOULs Document](https://souls.elsoul.nl/)
91
120
 
92
121
 
data/config/souls.rb CHANGED
@@ -1,5 +1,9 @@
1
1
  Souls.configure do |config|
2
- config.app = "souls-app"
3
- config.project_id = "el-soul"
4
- config.strain = "api"
2
+ config.app = "souls-api"
3
+ config.project_id = "souls-api"
4
+ config.strain = "worker"
5
+ config.api_repo = "elsoul/souls_api"
6
+ config.worker_repo = "elsoul/souls_worker"
7
+ config.worker_endpoint = "https://worker.com"
8
+ config.fixed_gems = []
5
9
  end
data/lib/souls.rb CHANGED
@@ -97,6 +97,7 @@ module Souls
97
97
  url = URI("https://rubygems.org/api/v1/versions/#{gem[0]}/latest.json")
98
98
  res = Net::HTTP.get_response(url)
99
99
  data = JSON.parse(res.body)
100
+ next if Souls.configuration.fixed_gems.include?(gem[0].to_s)
100
101
  next if data["version"].to_s == gem[1].to_s
101
102
 
102
103
  updated_lines << if from_dev
@@ -185,7 +186,7 @@ module Souls
185
186
  end
186
187
 
187
188
  class Configuration
188
- attr_accessor :app, :strain, :project_id, :worker_repo, :api_repo, :worker_endpoint
189
+ attr_accessor :app, :strain, :project_id, :worker_repo, :api_repo, :worker_endpoint, :fixed_gems
189
190
 
190
191
  def initialize
191
192
  @app = nil
@@ -194,6 +195,7 @@ module Souls
194
195
  @worker_repo = nil
195
196
  @api_repo = nil
196
197
  @worker_endpoint = nil
198
+ @fixed_gems = nil
197
199
  end
198
200
  end
199
201
  end
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.23.9".freeze
2
+ VERSION = "0.24.0".freeze
3
3
  public_constant :VERSION
4
4
  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.23.9
4
+ version: 0.24.0
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-07-19 00:00:00.000000000 Z
13
+ date: 2021-07-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: paint