rspec-graphql_assistant 0.1.5 → 0.1.6

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: 5fc4cde9305072dd3bac0208c0fc11228d97d4a27828ece35679969a0a28c1d5
4
- data.tar.gz: af9649a671483746fa46c8c39c445496bd234a07209c476f4da5d7a6df539b8d
3
+ metadata.gz: f2b4385fedc5038956c0cd64c11ab946f15c62fa2433315537c845fbf4d59625
4
+ data.tar.gz: a31b4b003685dee26cda121145f1314fd2b9506d5fa64e646b85ec6b4d368052
5
5
  SHA512:
6
- metadata.gz: ead259808577447143f3a80d92b5183fd607a5c22601ffe20747bf0d1b36ada76ea97f62c9b51d368ff333cc9f02b7ce5588d8498c2edc38557dd31a7798cbf2
7
- data.tar.gz: e1f339a418a75c366413d3b441a7af16a5a1b40e1cc56f006c34414e7dca9a383a3f3ef3cea551206bbed375c6f37caed213fdd39130aae06d8e01121b7fce46
6
+ metadata.gz: e70a716d442b013ac61bd03db6939a4befc7db0730be2f2b1c1d8b11c7b111a2a49876c04c58149010ca6d8fff0581b5f45a79f4045930b0d7bd168db4cb6547
7
+ data.tar.gz: 5b660dbe18276a82e7604c1bc9ab0e1f46626079e695a5c15173db8b9b93e787dbfdb414b733c1b429ea830f5d1859fe6a09cd600e8d943cbb41b1a82e8c1da5
data/.gitignore CHANGED
@@ -9,4 +9,5 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
- .rakeTasks
12
+ .rakeTasks
13
+ .idea
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec-graphql_assistant (0.1.4)
4
+ rspec-graphql_assistant (0.1.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -29,7 +29,7 @@ module RSpec
29
29
  arg.each do |item|
30
30
  result << process_root(item)
31
31
  end
32
- line = result.map { |item| "{#{item}}"}.join(', ')
32
+ result.map { |item| "{#{item}}"}.join(', ')
33
33
  end
34
34
 
35
35
  def process_hash(arg)
@@ -49,7 +49,11 @@ module RSpec
49
49
  end
50
50
 
51
51
  def is_scalar?(arg)
52
- arg.is_a?(Symbol) || arg.is_a?(String) || arg.is_a?(Numeric)
52
+ arg.is_a?(Symbol) ||
53
+ arg.is_a?(String) ||
54
+ arg.is_a?(Numeric) ||
55
+ [true, false].include?(arg) ||
56
+ %w[date time].include?(arg.class.to_s.downcase)
53
57
  end
54
58
  end
55
59
  end
@@ -1,5 +1,5 @@
1
1
  module Rspec
2
2
  module GraphqlAssistant
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-graphql_assistant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Lopatin
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-20 00:00:00.000000000 Z
11
+ date: 2020-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -61,7 +61,7 @@ metadata:
61
61
  homepage_uri: https://github.com/gingray/rspec-graphql_assistant
62
62
  source_code_uri: https://github.com/gingray/rspec-graphql_assistant
63
63
  changelog_uri: https://github.com/gingray/rspec-graphql_assistant
64
- post_install_message:
64
+ post_install_message:
65
65
  rdoc_options: []
66
66
  require_paths:
67
67
  - lib
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  version: '0'
78
78
  requirements: []
79
79
  rubygems_version: 3.0.8
80
- signing_key:
80
+ signing_key:
81
81
  specification_version: 4
82
82
  summary: Collection of RSpec helpers to easy test GraphQL query, mutation, subscription
83
83
  test_files: []