ios_parser 0.9.0 → 0.9.1

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: 1af0b045e17fe043f6309c0d39c47dad8a193890fbac92cdebd7e64363047a71
4
- data.tar.gz: dd52ebd34d8571a5accf1304007a22cfec3347a3225ec7d5f7ed6495eb7cd6fd
3
+ metadata.gz: babc4e16c01c0b6e3ced0b4967866bd3acbf0dfcaa9c430a9401e3c0bd0dbdda
4
+ data.tar.gz: 43dc2cf1baf951b74ce56f455378b578ac0b7b3adaf2358ed9e222a8331d39e4
5
5
  SHA512:
6
- metadata.gz: ec03dae6277cea48f160fec4613746a06a74dce16d96841eff20569b481a5b9bffccaa425501e95c07b248b60952b9f48a475135735dc02917949511d9064756
7
- data.tar.gz: 10db031217e4488e390f35a6f071f691c20ba60f8a838879e24f4e29987da18068459367504c95e6d0853949a337e0b890cc9aab60b936c8f7bec9e9fb67fa2b
6
+ metadata.gz: 01cb83ac915e218a43020948cd12667ea1ca98e243b07686dad513794688dd17afe8a42ae6a55c58439755dab6ff32cd7e79dbc07d5568a4b398c3b0ae28f346
7
+ data.tar.gz: 1f713a21a7959547d27d4383ad9175a0c5295ce2a70cc1586a8588c99b78810cd7ecee11a094b5fb119f72eced558293c5d95d0b510dda2bdb77cc8bfca7d775
@@ -18,7 +18,7 @@ permissions:
18
18
 
19
19
  jobs:
20
20
  test:
21
- runs-on: ubuntu-latest
21
+ runs-on: ubuntu-24.04
22
22
  strategy:
23
23
  matrix:
24
24
  ruby-version:
@@ -32,9 +32,8 @@ jobs:
32
32
  - '2.7'
33
33
  - '3.0'
34
34
  - '3.1'
35
- - jruby-9.1.17.0
36
- - jruby-9.2.21.0
37
- - jruby-9.3.6.0
35
+ - jruby-9.4.7.0
36
+ - jruby-10.0.2.0
38
37
 
39
38
  steps:
40
39
  - uses: actions/checkout@v3
@@ -38,10 +38,10 @@ typedef struct LexInfo LexInfo;
38
38
  #define IS_SPACE(C) C == ' ' || C == '\t' || C == '\r'
39
39
  #define IS_NEWLINE(C) C == '\n'
40
40
  #define IS_COMMENT(C) C == '!'
41
- #define IS_DIGIT(C) '0' <= C && C <= '9'
41
+ #define IS_DIGIT(C) (('0' <= C) && (C <= '9'))
42
42
  #define IS_DOT(C) C == '.'
43
43
  #define IS_DECIMAL(C) IS_DIGIT(C) || IS_DOT(C)
44
- #define IS_LETTER(C) 'a' <= C && C <= 'z' || 'A' <= C && C <= 'Z'
44
+ #define IS_LETTER(C) (('a' <= C) && (C <= 'z')) || (('A' <= C) && (C <= 'Z'))
45
45
  #define IS_PUNCT(C) strchr("-+$:/,()|*#=<>!\"\\&@;%~{}'\"?[]_^`", C)
46
46
  #define IS_WORD(C) IS_DECIMAL(C) || IS_LETTER(C) || IS_PUNCT(C)
47
47
  #define IS_LEAD_ZERO(C) C == '0'
@@ -201,7 +201,7 @@ static VALUE allocate(VALUE klass) {
201
201
  return Data_Wrap_Struct(klass, mark, deallocate, lex);
202
202
  }
203
203
 
204
- static VALUE initialize(VALUE self, VALUE input_text) {
204
+ static VALUE initialize(VALUE self) {
205
205
  LexInfo *lex;
206
206
  Data_Get_Struct(self, LexInfo, lex);
207
207
 
@@ -405,7 +405,7 @@ static void start_certificate(LexInfo *lex) {
405
405
 
406
406
  int is_banner_end_char(LexInfo *lex) {
407
407
  return CURRENT_CHAR(lex) == lex->banner_delimiter &&
408
- (0 < lex->pos && '\n' == lex->text[lex->pos - 1] ||
408
+ ((0 < lex->pos && '\n' == lex->text[lex->pos - 1]) ||
409
409
  '\n' == lex->text[lex->pos + 1]);
410
410
  }
411
411
 
@@ -1,7 +1,7 @@
1
1
  module IOSParser
2
2
  class << self
3
3
  def version
4
- '0.9.0'
4
+ '0.9.1'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ios_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Miller
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2022-10-20 00:00:00.000000000 Z
10
+ date: 1980-01-01 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rake-compiler
@@ -52,7 +51,6 @@ dependencies:
52
51
  - - "~>"
53
52
  - !ruby/object:Gem::Version
54
53
  version: '0.54'
55
- description:
56
54
  email: bjmllr@gmail.com
57
55
  executables: []
58
56
  extensions:
@@ -96,7 +94,6 @@ homepage: https://github.com/bjmllr/ios_parser
96
94
  licenses:
97
95
  - GPL-3.0
98
96
  metadata: {}
99
- post_install_message:
100
97
  rdoc_options: []
101
98
  require_paths:
102
99
  - lib
@@ -111,8 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
108
  - !ruby/object:Gem::Version
112
109
  version: '0'
113
110
  requirements: []
114
- rubygems_version: 3.3.7
115
- signing_key:
111
+ rubygems_version: 3.7.2
116
112
  specification_version: 4
117
113
  summary: convert network switch and router config files to structured data
118
114
  test_files: