souls 0.10.9 → 0.11.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: cb50933cf5e29db7883851f08b8e88ed44e9b0de3a30d3a8faf56db911f79437
4
- data.tar.gz: a757f56a92f4740bd55825f36fc99fcd6ff868d1bc3f70b951cca84be6ea55a9
3
+ metadata.gz: 0fb828b91b3c8afa1c4b8043c0d4d4a75a5b0b20b534239f88ef34ffeaab5e7f
4
+ data.tar.gz: 9c66a20de7f68b05ce60e9f6418a669da6078b32f82882cf3a8ea2d068f59251
5
5
  SHA512:
6
- metadata.gz: 877562b163d9b8c360942990c37a0ff717b5545b2c3cc7381ac829ece20145daf65ab9c33ac420c5f6b4059ca81f36091b1286be0bf673370ac08d4a70c453b7
7
- data.tar.gz: e5c67fd6a73ce4b8a14ea1b8595ea9796913861b799a3ddceaf3f31b8ae78172e62909c92f7cd73d1fde2d4264cb2ce99a450210b6e7ea9500968331f71a6c28
6
+ metadata.gz: ad40438d10f79ae913e8199728fea477ea816b41cf26139124cb9daf9eb6f2a94ad983a34b29017847a32c0309eda859759b173a79fb3fde4c7af4176a6112d5
7
+ data.tar.gz: b76f74ebe3a6dc02a95185a52e24c9e07ffb116cf8f6865d920a5188078340c8fb48fda3d6c7bfc00e6d6f71e6f66b988a05e867b565c8743556fac02f5e25e9
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- souls (0.10.8)
4
+ souls (0.10.9)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -627,7 +627,7 @@ module Souls
627
627
  file_path = "./spec/mutations/#{class_name.pluralize}.rb"
628
628
  File.open(file_path, "w") do |f|
629
629
  f.write <<~EOS
630
- RSpec.describe #{class_name.camelize} Mutation do
630
+ RSpec.describe \"#{class_name.camelize} Mutation テスト\" do
631
631
  describe "#{class_name.camelize} を作成する" do
632
632
  let!(:#{class_name.singularize.downcase}) { FactoryBot.create(:#{class_name.singularize.downcase}) }
633
633
 
@@ -650,9 +650,7 @@ module Souls
650
650
  new_line.write " }) {\n user {\n id\n"
651
651
  break
652
652
  end
653
- field = '["tag1", "tag2", "tag3"]' if line.include?("array: true")
654
653
  type, name = line.split(",")[0].gsub("\"", "").scan(/((?<=t\.).+(?=\s)) (.+)/)[0]
655
- field ||= get_test_type type
656
654
  case name
657
655
  when "created_at", "updated_at"
658
656
  next
@@ -1,3 +1,3 @@
1
1
  module Souls
2
- VERSION = "0.10.9"
2
+ VERSION = "0.11.0"
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.10.9
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI