souls 1.15.4 → 1.15.5

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: eeb3766e85122dbfd878149c888df2a20a03b0bc03ae6083b67fb6a446d4802a
4
- data.tar.gz: 0f274f0fb03d08e0c7fccd8afc3ccfd7eb4cc34aea78abce3314cc14ecc7a940
3
+ metadata.gz: 12a593050a6b6c1391aab8a44b683fa111a2cc678282b9c1c50c7ef64a760f57
4
+ data.tar.gz: 8aefcd4ae91e63e57d6ee53db421d0fdbc2ac3433d0044e9781e7bf6b99ebb49
5
5
  SHA512:
6
- metadata.gz: 8f52fb319f2a0ac180aa182b39727f7b2a60188b650442784e454112bd0a9f728ad5187b0f4d545544865ee38c035c1a607eb308f0c69a26c028a3df013360a5
7
- data.tar.gz: 95c588bfeb8098872527f994c7278b278db19f687b82618e461a24c4188084bb5d327608e6c16532549834fa019b3962956e17b99c48a002dc3f23248a88862c
6
+ metadata.gz: e435137e14c0bee0d4740a915e777bb5a3291f829dd4dffa3185fc2fc990064fe195fd1eeb0af970aff59892445fa1fb5dd6d6c830a7840203bae0b10d32e439
7
+ data.tar.gz: 7aa3ffef5c90f4e5334a1aea4dd14f4a1d784648520c4ea566fd88dbabf5f380d07a34a19cd9ae3c526486e6e5c1b7b9070f1db5e4c450eb64f9411c82b678f0
@@ -6,7 +6,7 @@ module Souls
6
6
  singularized_class_name = class_name.underscore.singularize
7
7
  file_path = "#{file_dir}#{singularized_class_name}_connection.rb"
8
8
  FileUtils.rm_f(file_path)
9
- puts(Paint % ["Delete file! : %{white_text}", :yellow, { white_text: [file_path.to_s, :white] }])
9
+ Souls::Painter.delete_file(file_path)
10
10
  file_path
11
11
  end
12
12
  end
@@ -7,7 +7,7 @@ module Souls
7
7
  singularized_class_name = class_name.underscore.singularize
8
8
  file_path = "#{file_dir}#{singularized_class_name}_edge.rbs"
9
9
  FileUtils.rm_f(file_path)
10
- puts(Paint % ["Delete file! : %{white_text}", :yellow, { white_text: [file_path.to_s, :white] }])
10
+ Souls::Painter.delete_file(file_path)
11
11
  file_path
12
12
  end
13
13
  end
@@ -73,7 +73,7 @@ module Souls
73
73
  config.region = "asia-northeast1"
74
74
  config.endpoint = "/endpoint"
75
75
  config.strain = "api"
76
- config.fixed_gems = ["spring"]
76
+ config.fixed_gems = ["spring", "grpc"]
77
77
  config.workers = []
78
78
  end
79
79
  TEXT
@@ -121,7 +121,7 @@ module Souls
121
121
  f.write(<<~TEXT)
122
122
  source "https://rubygems.org"
123
123
 
124
- gem "activesupport", "6.1.4.1"
124
+ gem "activesupport", "7.0.0"
125
125
  gem "foreman", "0.87.2"
126
126
  gem "google-cloud-pubsub", "2.9.0"
127
127
  gem "paint", "2.2.1"
@@ -129,11 +129,11 @@ module Souls
129
129
  gem "pg", "1.2.3"
130
130
  gem "rake", "13.0.6"
131
131
  gem "rspec", "3.10.0"
132
- gem "rubocop", "1.22.3"
132
+ gem "rubocop", "1.24.1"
133
133
  gem "sinatra-activerecord", "2.0.25"
134
134
  gem "solargraph", "0.44.0"
135
135
  #{souls_gem}
136
- gem "steep", "0.46.0"
136
+ gem "steep", "0.47.0"
137
137
  gem "thor", "1.1.0"
138
138
  gem "tty-prompt", "0.23.1"
139
139
  gem "whirly", "0.3.0"
@@ -17,8 +17,8 @@ module Souls
17
17
  tmp_file = "./config/Gemfile"
18
18
  new_gems = gemfile_latest_version
19
19
  logs = []
20
- message = Paint["\nAlready Up to date!", :green]
21
- return "Already Up to date!" && puts(message) if new_gems[:gems].blank?
20
+ message = "Already Up to date!"
21
+ return "Already Up to date!" && Souls::Painter.warning(message) if new_gems[:gems].blank?
22
22
 
23
23
  @i = 0
24
24
  File.open(file_path, "r") do |f|
@@ -72,8 +72,7 @@ module Souls
72
72
  FileUtils.rm("./Gemfile.lock")
73
73
  FileUtils.mv("./config/Gemfile", "./Gemfile")
74
74
  system("bundle update")
75
- success = Paint["\n\nSuccessfully Updated These Gems!\n", :green]
76
- puts(success)
75
+ Souls::Painter.success("\n\nSuccessfully Updated These Gems!\n")
77
76
  logs.each do |line|
78
77
  puts(line)
79
78
  end
@@ -89,6 +88,7 @@ module Souls
89
88
  f.each_line do |line|
90
89
  from_dev = true if line.include?("group")
91
90
  next unless line.include?("gem ")
91
+ next if line.include?("require: ")
92
92
 
93
93
  gem = line.gsub("gem ", "").gsub("\"", "").gsub("\n", "").gsub(" ", "").split(",")
94
94
  url = URI("https://rubygems.org/api/v1/versions/#{gem[0]}/latest.json")
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "1.15.4".freeze
2
+ VERSION = "1.15.5".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 1.15.4
1
+ 1.15.5
@@ -1 +1 @@
1
- 1.15.4
1
+ 1.15.5
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: 1.15.4
4
+ version: 1.15.5
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-12-30 00:00:00.000000000 Z
13
+ date: 2022-01-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -278,7 +278,7 @@ licenses:
278
278
  - Apache-2.0
279
279
  metadata:
280
280
  rubygems_mfa_required: 'true'
281
- post_install_message:
281
+ post_install_message:
282
282
  rdoc_options: []
283
283
  require_paths:
284
284
  - lib
@@ -294,7 +294,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
294
294
  version: '0'
295
295
  requirements: []
296
296
  rubygems_version: 3.2.32
297
- signing_key:
297
+ signing_key:
298
298
  specification_version: 4
299
299
  summary: Ruby Serverless Framework 'SOULs' | Ruby サーバーレスフレームワーク SOULs. Powered by
300
300
  Ruby GraphQL, RBS/Steep, Active Record, RSpec, RuboCop, and Google Cloud.