Package not found. Please check the package name and try again.

jini 0.1.3 → 0.1.4

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: cf226a1dcd30140ead8ad3666275e3f5708113ff4c34e36e98df1ac2a8a52f39
4
- data.tar.gz: 617a7b08d53442c86fb08d4ce9c65e43882163ed866908880aa43d303fe429bc
3
+ metadata.gz: b0898b2d8bd7381604c3770d49d61e0f26e0b94297fefb6461853d9f7750917c
4
+ data.tar.gz: 95a3af28dadfaa4a221180ad178c66a907d233180bb8d7b88d03e2312540368b
5
5
  SHA512:
6
- metadata.gz: 7db07a9c6aa3c8b0f2050ffa6a777ba0852a95c6aaad494246dce440648fc6b0199285496eec09965d61b05c9cb772881f5200261e64167fd22fa4bab71edd54
7
- data.tar.gz: 5865ece481199feeb876fc03e9aaed1b5ecb487789d2e783c99b61a7b7ab9f89948afca427ec44e49c163929fdbdde95998f8e8254d09c8183cc658efd6e0822
6
+ metadata.gz: d7cf187ac21491e8b8635bf11a6cbda968ca60ad869cabc80cfcf5817449b9b85c14de95036f00ba6c8bccc14801ae2e4ce0ccaed33ecf4af46cb7cd2235ba88
7
+ data.tar.gz: fe7a1c88a7140391ec61b364508efb0fb3e01f5a66e90abd1ec4e66e51f581b2945e64a16a1fd32056cfad88b31189dfd93d17db4959cf9a11ae590b865db567
data/.rubocop.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  AllCops:
2
2
  DisplayCopNames: true
3
- TargetRubyVersion: 2.2
3
+ TargetRubyVersion: 2.6.8
4
4
  SuggestExtensions: false
5
5
  NewCops: enable
6
6
 
data/.yardoc/checksums CHANGED
@@ -1 +1 @@
1
- lib/jini.rb ee2fcb2e3a910c6defc622a160536a39b901c815
1
+ lib/jini.rb 8f60725dde02593fd368b256d6c67e25a7b821bf
Binary file
@@ -125,7 +125,7 @@
125
125
  </div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Mon Sep 19 06:45:46 2022 by
128
+ Generated on Wed Sep 21 12:26:11 2022 by
129
129
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
130
  0.9.28 (ruby-3.0.0).
131
131
  </div>
data/doc/Jini.html CHANGED
@@ -114,9 +114,7 @@
114
114
  <p>MIT</p>
115
115
  </dd></dl>
116
116
 
117
- <p>It’s a simple XPATH builder.</p>
118
-
119
- <p>require ‘jini’ xpath = Jini.new(‘parent’)</p>
117
+ <p>It’s a simple XPATH builder. &lt;p&gt;&lt;/p&gt; require ‘jini’ xpath = Jini.new(‘parent’)</p>
120
118
 
121
119
  <pre class="code ruby"><code class="ruby">.add_node(&#39;child&#39;)
122
120
  .add_attr(&#39;toy&#39;, &#39;plane&#39;)
@@ -2253,7 +2251,7 @@
2253
2251
  </div>
2254
2252
 
2255
2253
  <div id="footer">
2256
- Generated on Mon Sep 19 06:45:46 2022 by
2254
+ Generated on Wed Sep 21 12:26:11 2022 by
2257
2255
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2258
2256
  0.9.28 (ruby-3.0.0).
2259
2257
  </div>
data/doc/_index.html CHANGED
@@ -112,7 +112,7 @@
112
112
  </div>
113
113
 
114
114
  <div id="footer">
115
- Generated on Mon Sep 19 06:45:46 2022 by
115
+ Generated on Wed Sep 21 12:26:11 2022 by
116
116
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
117
117
  0.9.28 (ruby-3.0.0).
118
118
  </div>
data/doc/file.README.html CHANGED
@@ -95,7 +95,7 @@ is <em>building</em> XPATHs.</p>
95
95
  </div></div>
96
96
 
97
97
  <div id="footer">
98
- Generated on Mon Sep 19 06:45:46 2022 by
98
+ Generated on Wed Sep 21 12:26:11 2022 by
99
99
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
100
100
  0.9.28 (ruby-3.0.0).
101
101
  </div>
data/doc/index.html CHANGED
@@ -95,7 +95,7 @@ is <em>building</em> XPATHs.</p>
95
95
  </div></div>
96
96
 
97
97
  <div id="footer">
98
- Generated on Mon Sep 19 06:45:46 2022 by
98
+ Generated on Wed Sep 21 12:26:11 2022 by
99
99
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
100
100
  0.9.28 (ruby-3.0.0).
101
101
  </div>
@@ -100,7 +100,7 @@
100
100
  </div>
101
101
 
102
102
  <div id="footer">
103
- Generated on Mon Sep 19 06:45:46 2022 by
103
+ Generated on Wed Sep 21 12:26:11 2022 by
104
104
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
105
105
  0.9.28 (ruby-3.0.0).
106
106
  </div>
data/jini.gemspec CHANGED
@@ -3,9 +3,9 @@
3
3
  require 'English'
4
4
  Gem::Specification.new do |s|
5
5
  s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
6
- s.required_ruby_version = '>=3.0.0'
6
+ s.required_ruby_version = '>=2.6.8'
7
7
  s.name = 'jini'
8
- s.version = '0.1.3'
8
+ s.version = '0.1.4'
9
9
  s.license = 'MIT'
10
10
  s.summary = 'Simple Immutable Ruby XPATH Builder'
11
11
  s.description = 'Class Jini helps you build a XPATH and then modify its parts via a simple fluent interface.'
data/lib/jini.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # (The MIT License)
4
4
  #
5
- # Copyright (c) 2022-2022 Ivanchuk Ivan
5
+ # Copyright (c) 2022 Ivanchuk Ivan
6
6
  #
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
8
8
  # of this software and associated documentation files (the 'Software'), to deal
@@ -28,7 +28,7 @@
28
28
  # License:: MIT
29
29
  #
30
30
  # It's a simple XPATH builder.
31
- #
31
+ # <p></p>
32
32
  # require 'jini'
33
33
  # xpath = Jini.new('parent')
34
34
  # .add_node('child')
@@ -221,7 +221,7 @@ class Jini
221
221
  # @param node [String]
222
222
  # @return [Boolean] matching regex
223
223
  def bad_symbols?(node)
224
- node.match %r{[|]|@|//}
224
+ !!node.match(%r{[|]|@|//}) unless node.nil?
225
225
  end
226
226
 
227
227
  # regex: '[' or ']' or '@' or '=' or '<' or '>'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jini
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Ivanchuck
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-19 00:00:00.000000000 Z
11
+ date: 2022-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -96,7 +96,7 @@ licenses:
96
96
  - MIT
97
97
  metadata:
98
98
  rubygems_mfa_required: 'true'
99
- post_install_message:
99
+ post_install_message:
100
100
  rdoc_options:
101
101
  - "--charset=UTF-8"
102
102
  require_paths:
@@ -105,7 +105,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - ">="
107
107
  - !ruby/object:Gem::Version
108
- version: 3.0.0
108
+ version: 2.6.8
109
109
  required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  requirements:
111
111
  - - ">="
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  version: '0'
114
114
  requirements: []
115
115
  rubygems_version: 3.3.22
116
- signing_key:
116
+ signing_key:
117
117
  specification_version: 4
118
118
  summary: Simple Immutable Ruby XPATH Builder
119
119
  test_files: []