jini 1.2.6 → 1.2.9
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 +4 -4
- data/.rultor.yml +20 -0
- data/Gemfile +2 -1
- data/README.md +2 -2
- data/Rakefile +37 -4
- data/features/support/env.rb +21 -0
- data/jini.gemspec +10 -5
- data/lib/version.rb +27 -0
- data/test/jini_test.rb +1 -1
- metadata +9 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ffa21d6e24cd951bd4c7bcd6d30df6c7088dd3a06184be4b4094d44aaa296df4
|
|
4
|
+
data.tar.gz: 9e0637727837bb815f8e725fc1a96f878cdb36ce8332ed37b370fd53fc0a802d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7bef6905389a9196ae853a161a5c08ba0ce9665c04167da5bfbcee607de33f45f517edf78b13a45136291b11d2226ce439d4e2635fa76c94b69a26a257b55d54
|
|
7
|
+
data.tar.gz: 8b26e7d65f34acf779d1a7ee1db721812aff373c09b7adeea665790c4ac5f38fe43a4a45a299c5033d3c117d1e183e7f50f6025581c3974f46e6f84c83bc6e55
|
data/.rultor.yml
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
architect:
|
|
2
|
+
- l3r8yJ
|
|
3
|
+
assets:
|
|
4
|
+
rubygems.yml: l3r8yJ/home#rubygems.yml
|
|
5
|
+
install: |
|
|
6
|
+
pdd -f /dev/null
|
|
7
|
+
sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"
|
|
8
|
+
release:
|
|
9
|
+
script: |-
|
|
10
|
+
bundle exec rake
|
|
11
|
+
rm -rf *.gem
|
|
12
|
+
sed -i "s/0\.0\.0/${tag}/g" lib/version.rb
|
|
13
|
+
git add lib/version.rb
|
|
14
|
+
git commit -m "version set to ${tag}"
|
|
15
|
+
gem build jini.gemspec
|
|
16
|
+
chmod 0600 ../rubygems.yml
|
|
17
|
+
gem push *.gem --config-file ../rubygems.yml
|
|
18
|
+
merge:
|
|
19
|
+
script: |-
|
|
20
|
+
bundle exec rake
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://badge.fury.io/rb/jini)
|
|
4
4
|
|
|
5
|
-
The class [`Jini`](https://www.rubydoc.info/gems/jini/1.2.
|
|
5
|
+
The class [`Jini`](https://www.rubydoc.info/gems/jini/1.2.6/Jini) helps you build an XPATH.
|
|
6
6
|
|
|
7
7
|
```ruby
|
|
8
8
|
require 'jini'
|
|
@@ -15,7 +15,7 @@ xpath = Jini.new
|
|
|
15
15
|
puts(xpath) # -> xpath: /parent[@key="value"]
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
The full list of methods is [here](https://www.rubydoc.info/gems/jini/1.2.
|
|
18
|
+
The full list of methods is [here](https://www.rubydoc.info/gems/jini/1.2.6).
|
|
19
19
|
|
|
20
20
|
Install it:
|
|
21
21
|
|
data/Rakefile
CHANGED
|
@@ -1,14 +1,47 @@
|
|
|
1
1
|
require 'bundler/gem_tasks'
|
|
2
|
-
require '
|
|
2
|
+
require 'rdoc'
|
|
3
|
+
require 'rubygems'
|
|
4
|
+
require 'rake'
|
|
5
|
+
require 'rake/clean'
|
|
6
|
+
|
|
7
|
+
def version
|
|
8
|
+
Gem::Specification.load(Dir['*.gemspec'].first).version
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
require 'rubocop/rake_task'
|
|
12
|
+
|
|
13
|
+
RuboCop::RakeTask.new
|
|
14
|
+
|
|
15
|
+
task default: %i[clean test features rubocop]
|
|
3
16
|
|
|
17
|
+
require 'rake/testtask'
|
|
18
|
+
desc 'Run all unit tests'
|
|
4
19
|
Rake::TestTask.new(:test) do |t|
|
|
5
20
|
t.libs << 'test'
|
|
6
21
|
t.libs << 'lib'
|
|
7
22
|
t.test_files = FileList['test/**/*_test.rb']
|
|
23
|
+
t.verbose = true
|
|
8
24
|
end
|
|
9
25
|
|
|
10
|
-
require '
|
|
26
|
+
require 'rdoc/task'
|
|
27
|
+
desc 'Build RDoc documentation'
|
|
28
|
+
Rake::RDocTask.new do |r|
|
|
29
|
+
r.rdoc_dir = 'rdoc'
|
|
30
|
+
r.rdoc_files.include('README*')
|
|
31
|
+
r.rdoc_files.include('lib/**/*.rb')
|
|
32
|
+
end
|
|
11
33
|
|
|
12
|
-
RuboCop
|
|
34
|
+
desc 'Run RuboCop on all dirs'
|
|
35
|
+
RuboCop::RakeTask.new(:rubocop) do |t|
|
|
36
|
+
t.fail_on_error = true
|
|
37
|
+
t.requires << 'rubocop-rspec'
|
|
38
|
+
t.options = ['--display-cop-names']
|
|
39
|
+
end
|
|
13
40
|
|
|
14
|
-
task
|
|
41
|
+
require 'cucumber/rake/task'
|
|
42
|
+
Cucumber::Rake::Task.new(:features) do
|
|
43
|
+
Rake::Cleaner.cleanup_files(['coverage'])
|
|
44
|
+
end
|
|
45
|
+
Cucumber::Rake::Task.new(:'features:html') do |t|
|
|
46
|
+
t.profile = 'html_report'
|
|
47
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Copyright (c) 2022-2023 Ivan Ivanchuck
|
|
2
|
+
#
|
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
# furnished to do so, subject to the following conditions:
|
|
9
|
+
#
|
|
10
|
+
# The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
# copies or substantial portions of the Software.
|
|
12
|
+
#
|
|
13
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
+
# SOFTWARE.
|
|
20
|
+
|
|
21
|
+
require 'simplecov'
|
data/jini.gemspec
CHANGED
|
@@ -1,22 +1,27 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require 'English'
|
|
4
|
+
|
|
5
|
+
lib = File.expand_path('lib', __dir__)
|
|
6
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
7
|
+
require_relative 'lib/version'
|
|
8
|
+
|
|
4
9
|
Gem::Specification.new do |s|
|
|
5
10
|
s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
|
|
6
11
|
s.required_ruby_version = '>=2.6.8'
|
|
7
12
|
s.name = 'jini'
|
|
8
|
-
s.version =
|
|
13
|
+
s.version = JiniBase::VERSION
|
|
9
14
|
s.license = 'MIT'
|
|
10
15
|
s.summary = 'Simple Immutable Ruby XPATH Builder'
|
|
11
|
-
s.description = 'Class Jini helps you build
|
|
16
|
+
s.description = 'Class Jini helps you build an XPATH and then modify its parts via a simple fluent interface.'
|
|
12
17
|
s.authors = ['Ivan Ivanchuck']
|
|
13
|
-
s.email = '
|
|
18
|
+
s.email = 'l3r8y@duck.com'
|
|
14
19
|
s.homepage = 'https://l3r8yj.github.io/jini.github/'
|
|
15
20
|
s.files = `git ls-files`.split($RS)
|
|
16
21
|
s.rdoc_options = ['--charset=UTF-8']
|
|
17
|
-
s.extra_rdoc_files = ['README.md']
|
|
22
|
+
s.extra_rdoc_files = ['README.md', 'LICENSE']
|
|
18
23
|
s.add_development_dependency 'minitest', '5.16.3'
|
|
19
24
|
s.add_development_dependency 'rubocop', '1.31.1'
|
|
20
25
|
s.add_development_dependency 'rubocop-rspec', '2.11.1'
|
|
21
|
-
s.metadata = { 'rubygems_mfa_required' => '
|
|
26
|
+
s.metadata = { 'rubygems_mfa_required' => 'false' }
|
|
22
27
|
end
|
data/lib/version.rb
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Copyright (c) 2022-2023 Ivan Ivanchuck
|
|
2
|
+
#
|
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
# furnished to do so, subject to the following conditions:
|
|
9
|
+
#
|
|
10
|
+
# The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
# copies or substantial portions of the Software.
|
|
12
|
+
#
|
|
13
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
+
# SOFTWARE.
|
|
20
|
+
|
|
21
|
+
# Jini main module.
|
|
22
|
+
# Author:: Ivan Ivanchuck (l3r8y@duck.com)
|
|
23
|
+
# Copyright:: Copyright (c) 2023 Ivan Ivanchuck
|
|
24
|
+
# License:: MIT
|
|
25
|
+
module JiniBase
|
|
26
|
+
VERSION = '1.2.9'.freeze
|
|
27
|
+
end
|
data/test/jini_test.rb
CHANGED
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: 1.2.
|
|
4
|
+
version: 1.2.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Ivanchuck
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-02-
|
|
11
|
+
date: 2023-02-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: minitest
|
|
@@ -52,16 +52,18 @@ dependencies:
|
|
|
52
52
|
- - '='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: 2.11.1
|
|
55
|
-
description: Class Jini helps you build
|
|
55
|
+
description: Class Jini helps you build an XPATH and then modify its parts via a simple
|
|
56
56
|
fluent interface.
|
|
57
|
-
email:
|
|
57
|
+
email: l3r8y@duck.com
|
|
58
58
|
executables: []
|
|
59
59
|
extensions: []
|
|
60
60
|
extra_rdoc_files:
|
|
61
61
|
- README.md
|
|
62
|
+
- LICENSE
|
|
62
63
|
files:
|
|
63
64
|
- ".gitignore"
|
|
64
65
|
- ".rubocop.yml"
|
|
66
|
+
- ".rultor.yml"
|
|
65
67
|
- ".yardoc/checksums"
|
|
66
68
|
- ".yardoc/complete"
|
|
67
69
|
- ".yardoc/object_types"
|
|
@@ -87,16 +89,18 @@ files:
|
|
|
87
89
|
- doc/js/jquery.js
|
|
88
90
|
- doc/method_list.html
|
|
89
91
|
- doc/top-level-namespace.html
|
|
92
|
+
- features/support/env.rb
|
|
90
93
|
- jini.gemspec
|
|
91
94
|
- jini.iml
|
|
92
95
|
- lib/jini.rb
|
|
96
|
+
- lib/version.rb
|
|
93
97
|
- test/jini_test.rb
|
|
94
98
|
- test/test_helper.rb
|
|
95
99
|
homepage: https://l3r8yj.github.io/jini.github/
|
|
96
100
|
licenses:
|
|
97
101
|
- MIT
|
|
98
102
|
metadata:
|
|
99
|
-
rubygems_mfa_required: '
|
|
103
|
+
rubygems_mfa_required: 'false'
|
|
100
104
|
post_install_message:
|
|
101
105
|
rdoc_options:
|
|
102
106
|
- "--charset=UTF-8"
|