graphql-c_parser 1.1.1 → 1.1.3

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.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module GraphQL
4
4
  module CParser
5
- VERSION = "1.1.1"
5
+ VERSION = "1.1.3"
6
6
  end
7
7
  end
@@ -75,7 +75,6 @@ module GraphQL
75
75
  1,
76
76
  1,
77
77
  graphql_string,
78
- nil, # prev token
79
78
  241 # BAD_UNICODE_ESCAPE in lexer.rl
80
79
  ]
81
80
  ]
@@ -124,6 +123,11 @@ module GraphQL
124
123
  @result
125
124
  end
126
125
 
126
+ def tokens_count
127
+ result
128
+ @tokens.length
129
+ end
130
+
127
131
  attr_reader :tokens, :next_token_index, :query_string, :filename
128
132
  end
129
133
 
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-c_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Mosolgo
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-04-22 00:00:00.000000000 Z
10
+ date: 2025-05-12 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: graphql
@@ -24,7 +23,6 @@ dependencies:
24
23
  - - ">="
25
24
  - !ruby/object:Gem::Version
26
25
  version: 2.2.10
27
- description:
28
26
  email:
29
27
  - rdmosolgo@gmail.com
30
28
  executables: []
@@ -51,7 +49,6 @@ metadata:
51
49
  source_code_uri: https://github.com/rmosolgo/graphql-ruby
52
50
  bug_tracker_uri: https://github.com/rmosolgo/graphql-ruby/issues
53
51
  mailing_list_uri: https://buttondown.email/graphql-ruby
54
- post_install_message:
55
52
  rdoc_options: []
56
53
  require_paths:
57
54
  - lib
@@ -66,8 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
63
  - !ruby/object:Gem::Version
67
64
  version: '0'
68
65
  requirements: []
69
- rubygems_version: 3.5.3
70
- signing_key:
66
+ rubygems_version: 3.6.8
71
67
  specification_version: 4
72
68
  summary: A parser for GraphQL, implemented as a C extension
73
69
  test_files: []