jini 1.3.0 → 1.3.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: 5b8fd4e4a255fe44b984320738f9530965b43894ff0ef9b6de720fc7df19ed07
4
- data.tar.gz: 5696b602081d415cc354843dac0156213949c93201bc83980527ee62b9d65cc3
3
+ metadata.gz: b4cdaff89f363c562bd0ae468fb47843e5a850140c1fb39c33148e870b35298e
4
+ data.tar.gz: d7c95095c5cfb27b2e4f8c575029d74fe79916e012f0354fae41ce6566170532
5
5
  SHA512:
6
- metadata.gz: 873b0da2539b7a99602ddfd6ba215e2a65117d02c4b134bfdd122bd0e22890fb3913bac87cee7fd1c0a2d05e60e5e3157c3a125d6f3000a427660523d73e8acf
7
- data.tar.gz: e55047227f21137476dc8815fd3d3c2b984d7f1ac67cf0d6b8d4d82331a031681d22c689fe0a682785dda9df052f42dfd8d5ff5d208898a148282a5f8fcfd341
6
+ metadata.gz: de707d67488919dd288bb992de1d305f0861b99b6c94ebdb7f9adfc609b3ae0f4c6bc4915d8f913e17abd75d68dff9a3f2ae7c5263d61a9f6d870705f872c8e1
7
+ data.tar.gz: 06fa5847c19b6174937f28f2b8d4dea05381378f033872306f16fcd7de625810285ebce52801f5e2d036b9132cdf3c8bc8b2ae4fb69d2dedb178fbfac1a2fd73
data/.0pdd.yml ADDED
@@ -0,0 +1,5 @@
1
+ errors:
2
+ - l3r8y@duck.com
3
+ tags:
4
+ - pdd
5
+ - bug
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: pdd
3
+ on:
4
+ push:
5
+ pull_request:
6
+ jobs:
7
+ pdd:
8
+ runs-on: ubuntu-20.04
9
+ steps:
10
+ - uses: actions/checkout@v3
11
+ - uses: g4s8/pdd-action@master
@@ -0,0 +1,23 @@
1
+ ---
2
+ name: rake
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ branches:
9
+ - master
10
+ jobs:
11
+ test:
12
+ strategy:
13
+ matrix:
14
+ os: [ubuntu-20.04, macos-12]
15
+ ruby: ['2.7', '3.0']
16
+ runs-on: ${{ matrix.os }}
17
+ steps:
18
+ - uses: actions/checkout@v3
19
+ - uses: ruby/setup-ruby@v1
20
+ with:
21
+ ruby-version: ${{ matrix.ruby }}
22
+ - run: bundle update
23
+ - run: bundle exec rake
data/.rultor.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  architect:
2
2
  - l3r8yJ
3
3
  assets:
4
- rubygems.yml: l3r8yJ/home#rubygems.yml
4
+ rubygems.yml: l3r8yJ/home#assets/rubygems.yml
5
5
  install: |
6
6
  pdd -f /dev/null
7
7
  sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"
data/.simplecov ADDED
@@ -0,0 +1,18 @@
1
+ if Gem.win_platform?
2
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
3
+ SimpleCov::Formatter::HTMLFormatter
4
+ ]
5
+ SimpleCov.start do
6
+ add_filter '/test/'
7
+ add_filter '/features/'
8
+ end
9
+ else
10
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
11
+ [SimpleCov::Formatter::HTMLFormatter]
12
+ )
13
+ SimpleCov.start do
14
+ add_filter '/test/'
15
+ add_filter '/features/'
16
+ minimum_coverage 30
17
+ end
18
+ end
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
- [<img src="https://raw.githubusercontent.com/l3r8yJ/jini.github/84856ea75deb133a95f0a160549c5d97089dc3ab/default-monochrome-black.svg" width="150"/>](https://l3r8yj.github.io/jini.github/)
1
+ [<img src="https://github.com/l3r8yJ/jini.github/blob/master/jini.png?raw=true" width="150"/>](https://l3r8yj.github.io/jini.github/)
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/jini.svg)](https://badge.fury.io/rb/jini)
4
+ [![Hits-of-Code](https://hitsofcode.com/github/l3r8yJ/jini)](https://hitsofcode.com/github/l3r8yJ/jini/view)
4
5
 
5
- The class [`Jini`](https://www.rubydoc.info/gems/jini/1.2.6/Jini) helps you build an XPATH.
6
+ The class [`Jini`](https://www.rubydoc.info/gems/jini/1.3.0/Jini) helps you build an XPATH.
6
7
 
7
8
  ```ruby
8
9
  require 'jini'
@@ -15,7 +16,7 @@ xpath = Jini.new
15
16
  puts(xpath) # -> xpath: /parent[@key="value"]
16
17
  ```
17
18
 
18
- The full list of methods is [here](https://www.rubydoc.info/gems/jini/1.2.6).
19
+ The full list of methods is [here](https://www.rubydoc.info/gems/jini/1.3.0).
19
20
 
20
21
  Install it:
21
22
 
data/jini.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
11
11
  s.required_ruby_version = '>=2.6.8'
12
12
  s.name = 'jini'
13
- s.version = JiniBase::VERSION
13
+ s.version = JiniModule::VERSION
14
14
  s.license = 'MIT'
15
15
  s.summary = 'Simple Immutable Ruby XPATH Builder'
16
16
  s.description = 'Class Jini helps you build an XPATH and then modify its parts via a simple fluent interface.'
data/lib/version.rb CHANGED
@@ -22,6 +22,6 @@
22
22
  # Author:: Ivan Ivanchuck (l3r8y@duck.com)
23
23
  # Copyright:: Copyright (c) 2023 Ivan Ivanchuck
24
24
  # License:: MIT
25
- module JiniBase
26
- VERSION = '1.3.0'.freeze
25
+ module JiniModule
26
+ VERSION = '1.3.1'.freeze
27
27
  end
data/renovate.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
+ "extends": [
4
+ "config:base"
5
+ ]
6
+ }
data/test/jini_test.rb CHANGED
@@ -18,9 +18,9 @@
18
18
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
19
  # SOFTWARE.
20
20
 
21
+ require_relative 'test_helper'
21
22
  require_relative '../lib/jini'
22
23
  require 'minitest/autorun'
23
- require_relative 'test_helper'
24
24
 
25
25
  # Test for Jini class.
26
26
  # Author:: Ivanchuk Ivan (clicker.heroes.acg@gmail.com)
data/test/test_helper.rb CHANGED
@@ -23,7 +23,6 @@
23
23
  $stdout.sync = true
24
24
 
25
25
  require 'simplecov'
26
-
27
26
  module Minitest
28
27
  module Assertions
29
28
  def assert_nothing_raised(*)
@@ -37,3 +36,5 @@ if ENV['CI'] == 'true'
37
36
  require 'codecov'
38
37
  SimpleCov.formatter = SimpleCov::Formatter::Codecov
39
38
  end
39
+
40
+ require 'minitest/autorun'
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.3.0
4
+ version: 1.3.1
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-20 00:00:00.000000000 Z
11
+ date: 2023-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -61,9 +61,13 @@ extra_rdoc_files:
61
61
  - README.md
62
62
  - LICENSE
63
63
  files:
64
+ - ".0pdd.yml"
65
+ - ".github/workflows/pdd.yml"
66
+ - ".github/workflows/rake.yml"
64
67
  - ".gitignore"
65
68
  - ".rubocop.yml"
66
69
  - ".rultor.yml"
70
+ - ".simplecov"
67
71
  - ".yardoc/checksums"
68
72
  - ".yardoc/complete"
69
73
  - ".yardoc/object_types"
@@ -94,6 +98,7 @@ files:
94
98
  - jini.iml
95
99
  - lib/jini.rb
96
100
  - lib/version.rb
101
+ - renovate.json
97
102
  - test/jini_test.rb
98
103
  - test/test_helper.rb
99
104
  homepage: https://l3r8yj.github.io/jini.github/