opensrs 0.4.0 → 0.4.2
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/.github/workflows/ruby.yml +28 -0
- data/.gitignore +1 -0
- data/Gemfile.lock +50 -53
- data/README.md +2 -3
- data/lib/opensrs/version.rb +1 -1
- data/lib/opensrs/xml_processor/nokogiri.rb +1 -1
- data/opensrs.gemspec +2 -2
- metadata +6 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7bf3d8a1a7fc99157bf196ab56c8d34832ef523160a9d092a3db0e5b17de2e7f
|
|
4
|
+
data.tar.gz: dc587d48682875b59af971baf6b5552437f5da5fcffea5030985d848c7986457
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9b00c5ad6a516c5f00fd292e81b437abb496c47cfd5b690cd44e6113bf1ac613bd348561caafb420bb94891e4b2bf319b1e947592c780c23c0e97147e4dfa1fa
|
|
7
|
+
data.tar.gz: 6ae7ca1eb7b675d079015b37b6efc79740ba98dabce8aa60a6f79fe610ca3f30bb75014ee54b0edb4ee6cc97c9050b8eca1ccf82acb3d82b6952f00f90f29dbe
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
name: Ruby
|
|
2
|
+
|
|
3
|
+
on: push
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
test:
|
|
7
|
+
name: "Rspec (on Ruby ${{ matrix.ruby }})"
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
strategy:
|
|
10
|
+
fail-fast: false
|
|
11
|
+
matrix:
|
|
12
|
+
ruby: ['2.5', '2.6', '2.7', '3.0', '3.1', 'head']
|
|
13
|
+
|
|
14
|
+
steps:
|
|
15
|
+
- name: Set up Ruby ${{ matrix.ruby }}
|
|
16
|
+
uses: ruby/setup-ruby@v1
|
|
17
|
+
with:
|
|
18
|
+
bundler-cache: true
|
|
19
|
+
ruby-version: ${{ matrix.ruby }}
|
|
20
|
+
|
|
21
|
+
- name: Checkout repository
|
|
22
|
+
uses: actions/checkout@v2
|
|
23
|
+
|
|
24
|
+
- name: Install dependencies
|
|
25
|
+
run: gem install bundler && bundle install
|
|
26
|
+
|
|
27
|
+
- name: Run Rspec
|
|
28
|
+
run: bundle exec rspec spec
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,82 +1,79 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
opensrs (0.
|
|
4
|
+
opensrs (0.4.1)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
|
-
activesupport (4.2.
|
|
9
|
+
activesupport (4.2.11.3)
|
|
10
10
|
i18n (~> 0.7)
|
|
11
11
|
minitest (~> 5.1)
|
|
12
12
|
thread_safe (~> 0.3, >= 0.3.4)
|
|
13
13
|
tzinfo (~> 1.1)
|
|
14
14
|
ast (2.4.2)
|
|
15
|
-
code-scanning-rubocop (0.
|
|
15
|
+
code-scanning-rubocop (0.6.1)
|
|
16
16
|
rubocop (~> 1.0)
|
|
17
|
-
coderay (1.1.
|
|
18
|
-
concurrent-ruby (1.
|
|
19
|
-
diff-lcs (1.
|
|
20
|
-
i18n (0.9.
|
|
17
|
+
coderay (1.1.3)
|
|
18
|
+
concurrent-ruby (1.1.10)
|
|
19
|
+
diff-lcs (1.5.0)
|
|
20
|
+
i18n (0.9.5)
|
|
21
21
|
concurrent-ruby (~> 1.0)
|
|
22
|
-
libxml-ruby (3.2.
|
|
23
|
-
method_source (0.
|
|
24
|
-
mini_portile2 (2.
|
|
25
|
-
minitest (5.
|
|
26
|
-
nokogiri (1.
|
|
27
|
-
mini_portile2 (~> 2.
|
|
22
|
+
libxml-ruby (3.2.2)
|
|
23
|
+
method_source (1.0.0)
|
|
24
|
+
mini_portile2 (2.8.0)
|
|
25
|
+
minitest (5.15.0)
|
|
26
|
+
nokogiri (1.13.6)
|
|
27
|
+
mini_portile2 (~> 2.8.0)
|
|
28
28
|
racc (~> 1.4)
|
|
29
|
-
parallel (1.
|
|
30
|
-
parser (3.
|
|
29
|
+
parallel (1.22.1)
|
|
30
|
+
parser (3.1.2.0)
|
|
31
31
|
ast (~> 2.4.1)
|
|
32
|
-
pry (0.
|
|
33
|
-
coderay (~> 1.1
|
|
34
|
-
method_source (~> 0
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
rainbow (3.0.0)
|
|
32
|
+
pry (0.14.1)
|
|
33
|
+
coderay (~> 1.1)
|
|
34
|
+
method_source (~> 1.0)
|
|
35
|
+
racc (1.6.0)
|
|
36
|
+
rainbow (3.1.1)
|
|
38
37
|
rake (13.0.6)
|
|
39
|
-
regexp_parser (2.
|
|
38
|
+
regexp_parser (2.4.0)
|
|
40
39
|
rexml (3.2.5)
|
|
41
|
-
rspec (3.
|
|
42
|
-
rspec-core (~> 3.
|
|
43
|
-
rspec-expectations (~> 3.
|
|
44
|
-
rspec-mocks (~> 3.
|
|
45
|
-
rspec-core (3.
|
|
46
|
-
rspec-support (~> 3.
|
|
47
|
-
rspec-expectations (3.
|
|
40
|
+
rspec (3.11.0)
|
|
41
|
+
rspec-core (~> 3.11.0)
|
|
42
|
+
rspec-expectations (~> 3.11.0)
|
|
43
|
+
rspec-mocks (~> 3.11.0)
|
|
44
|
+
rspec-core (3.11.0)
|
|
45
|
+
rspec-support (~> 3.11.0)
|
|
46
|
+
rspec-expectations (3.11.0)
|
|
48
47
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
49
|
-
rspec-support (~> 3.
|
|
50
|
-
rspec-mocks (3.
|
|
48
|
+
rspec-support (~> 3.11.0)
|
|
49
|
+
rspec-mocks (3.11.1)
|
|
51
50
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
52
|
-
rspec-support (~> 3.
|
|
53
|
-
rspec-support (3.
|
|
54
|
-
rubocop (1.
|
|
51
|
+
rspec-support (~> 3.11.0)
|
|
52
|
+
rspec-support (3.11.0)
|
|
53
|
+
rubocop (1.29.0)
|
|
55
54
|
parallel (~> 1.10)
|
|
56
|
-
parser (>= 3.
|
|
55
|
+
parser (>= 3.1.0.0)
|
|
57
56
|
rainbow (>= 2.2.2, < 4.0)
|
|
58
57
|
regexp_parser (>= 1.8, < 3.0)
|
|
59
|
-
rexml
|
|
60
|
-
rubocop-ast (>= 1.
|
|
58
|
+
rexml (>= 3.2.5, < 4.0)
|
|
59
|
+
rubocop-ast (>= 1.17.0, < 2.0)
|
|
61
60
|
ruby-progressbar (~> 1.7)
|
|
62
61
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
63
|
-
rubocop-ast (1.
|
|
64
|
-
parser (>= 3.
|
|
65
|
-
rubocop-rspec (2.
|
|
66
|
-
rubocop (~> 1.
|
|
67
|
-
rubocop-ast (>= 1.1.0)
|
|
62
|
+
rubocop-ast (1.17.0)
|
|
63
|
+
parser (>= 3.1.1.0)
|
|
64
|
+
rubocop-rspec (2.10.0)
|
|
65
|
+
rubocop (~> 1.19)
|
|
68
66
|
ruby-progressbar (1.11.0)
|
|
69
|
-
shoulda (
|
|
70
|
-
shoulda-context (~>
|
|
71
|
-
shoulda-matchers (
|
|
72
|
-
shoulda-context (
|
|
73
|
-
shoulda-matchers (
|
|
74
|
-
activesupport (>=
|
|
75
|
-
slop (3.6.0)
|
|
67
|
+
shoulda (4.0.0)
|
|
68
|
+
shoulda-context (~> 2.0)
|
|
69
|
+
shoulda-matchers (~> 4.0)
|
|
70
|
+
shoulda-context (2.0.0)
|
|
71
|
+
shoulda-matchers (4.5.1)
|
|
72
|
+
activesupport (>= 4.2.0)
|
|
76
73
|
thread_safe (0.3.6)
|
|
77
|
-
tzinfo (1.2.
|
|
74
|
+
tzinfo (1.2.9)
|
|
78
75
|
thread_safe (~> 0.1)
|
|
79
|
-
unicode-display_width (2.
|
|
76
|
+
unicode-display_width (2.1.0)
|
|
80
77
|
|
|
81
78
|
PLATFORMS
|
|
82
79
|
ruby
|
|
@@ -86,7 +83,7 @@ DEPENDENCIES
|
|
|
86
83
|
bundler
|
|
87
84
|
code-scanning-rubocop (~> 0.5)
|
|
88
85
|
libxml-ruby (~> 3)
|
|
89
|
-
nokogiri (~> 1.
|
|
86
|
+
nokogiri (~> 1.13.4)
|
|
90
87
|
opensrs!
|
|
91
88
|
pry
|
|
92
89
|
rake
|
|
@@ -96,4 +93,4 @@ DEPENDENCIES
|
|
|
96
93
|
shoulda
|
|
97
94
|
|
|
98
95
|
BUNDLED WITH
|
|
99
|
-
|
|
96
|
+
2.3.13
|
data/README.md
CHANGED
|
@@ -116,11 +116,10 @@ If you have any bugs or feature requests for this gem, feel free to [open an iss
|
|
|
116
116
|
|
|
117
117
|
### Contributors (in order of appearance)
|
|
118
118
|
|
|
119
|
-
|
|
120
|
-
* Glenn Roberts
|
|
119
|
+
See ["Contributors"](https://github.com/voxxit/opensrs/graphs/contributors) section of GitHub Insights.
|
|
121
120
|
|
|
122
121
|
### Copyright
|
|
123
122
|
|
|
124
|
-
Copyright (c) 2010-
|
|
123
|
+
Copyright (c) 2010-2022 Joshua Delsman.
|
|
125
124
|
|
|
126
125
|
Distributed under the MIT license. See `LICENSE` for details.
|
data/lib/opensrs/version.rb
CHANGED
data/opensrs.gemspec
CHANGED
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
|
11
11
|
spec.description = 'Provides support to utilize the OpenSRS API with Ruby.'
|
|
12
12
|
spec.homepage = 'https://github.com/voxxit/opensrs'
|
|
13
13
|
spec.license = 'MIT'
|
|
14
|
-
spec.required_ruby_version = '
|
|
14
|
+
spec.required_ruby_version = '>= 2.5'
|
|
15
15
|
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
17
17
|
spec.bindir = 'exe'
|
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
|
22
22
|
spec.add_development_dependency 'bundler'
|
|
23
23
|
spec.add_development_dependency 'code-scanning-rubocop', '~> 0.5'
|
|
24
24
|
spec.add_development_dependency 'libxml-ruby', '~> 3'
|
|
25
|
-
spec.add_development_dependency 'nokogiri', '~> 1.
|
|
25
|
+
spec.add_development_dependency 'nokogiri', '~> 1.13.4'
|
|
26
26
|
spec.add_development_dependency 'pry'
|
|
27
27
|
spec.add_development_dependency 'rake'
|
|
28
28
|
spec.add_development_dependency 'rspec'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: opensrs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joshua Delsman
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-05-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -72,14 +72,14 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 1.
|
|
75
|
+
version: 1.13.4
|
|
76
76
|
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: 1.
|
|
82
|
+
version: 1.13.4
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: pry
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -173,6 +173,7 @@ extra_rdoc_files: []
|
|
|
173
173
|
files:
|
|
174
174
|
- ".document"
|
|
175
175
|
- ".github/workflows/rubocop-analysis.yml"
|
|
176
|
+
- ".github/workflows/ruby.yml"
|
|
176
177
|
- ".gitignore"
|
|
177
178
|
- ".rspec"
|
|
178
179
|
- ".rubocop.yml"
|
|
@@ -203,7 +204,7 @@ require_paths:
|
|
|
203
204
|
- lib
|
|
204
205
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
205
206
|
requirements:
|
|
206
|
-
- - "
|
|
207
|
+
- - ">="
|
|
207
208
|
- !ruby/object:Gem::Version
|
|
208
209
|
version: '2.5'
|
|
209
210
|
required_rubygems_version: !ruby/object:Gem::Requirement
|