atrea_control 2.1.3 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 80a3235f52e3b6e0015107859af95310e9015bf80b2f5c02b32e94165544633a
4
- data.tar.gz: cf9bcedac30febc4c5c09c2e3e632d98438b0688cb4ae014e22f44b3d891a9f3
3
+ metadata.gz: 5c955050ce44ade41eca756597796e8cd3fe8f58c4d7444140a1e648e2d375a5
4
+ data.tar.gz: f451c587d86fb14ef2089186da37366801006d3ea2aacfbffd010469ab16366b
5
5
  SHA512:
6
- metadata.gz: '096ace3ac304fc801a7a8d14de5df29a9110c38aef315e05a5ef265aebdc024b23a78889b547a26e3e0444a3143c0b8a320cfbd2cfed42127c84a9fb905bc5d2'
7
- data.tar.gz: 16d86c3250a24b7d14d8a29c9724e59718eba200623c185fc131371b0efc85b9ba7f015a93c1fae12b9705e58cd6d376f16984cb75d2758cc0982d86f52e366c
6
+ metadata.gz: c6b598e0592c42d97dfada40c27585b93e19752d7c5221f5c44409aaedb214711c51e493fb81bfc65ca37c6bbcb87811c5dc73b13465378fabd42678fe48683d
7
+ data.tar.gz: 3c137f8ecd8ccb7c1b6908fe4a6f8397fcb19b3dd7f887497c7226e086ef2646e286d0a2f6639860640e65eee9347a77ae57b354e2f612a5ccc2a9c13c6d1ab2
@@ -6,11 +6,11 @@ jobs:
6
6
  spec:
7
7
  runs-on: ubuntu-latest
8
8
  steps:
9
- - uses: actions/checkout@v2
9
+ - uses: actions/checkout@v4
10
10
  - name: Set up Ruby
11
11
  uses: ruby/setup-ruby@v1
12
12
  with:
13
- ruby-version: 2.7
13
+ ruby-version: 3.2.2
14
14
  bundler-cache: true
15
15
  - uses: browser-actions/setup-firefox@latest
16
16
  - name: Run tests
data/.rubocop.yml CHANGED
@@ -5,7 +5,7 @@ require:
5
5
  AllCops:
6
6
  NewCops: enable
7
7
  SuggestExtensions: false
8
- TargetRubyVersion: 2.7
8
+ TargetRubyVersion: 3.2
9
9
 
10
10
  Style/StringLiterals:
11
11
  Enabled: true
@@ -17,3 +17,6 @@ Style/StringLiteralsInInterpolation:
17
17
 
18
18
  Style/TrailingCommaInHashLiteral:
19
19
  EnforcedStyleForMultiline: consistent_comma
20
+
21
+ Style/HashSyntax:
22
+ EnforcedShorthandSyntax: either
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.2.2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [2.2.0] - 2023-10-09
4
+ ### Changed
5
+ - update dependencies
6
+
3
7
  ## [2.1.3] - 2023-02-04
4
8
  ### Fixed
5
9
  - preheating is always boolean, so no need !! => which coused reverse right now...
data/Gemfile.lock CHANGED
@@ -1,18 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- atrea_control (2.1.3)
5
- i18n (~> 1.8)
6
- nokogiri (~> 1.12)
4
+ atrea_control (2.2.0)
5
+ i18n (~> 1.14)
6
+ nokogiri (~> 1.15)
7
7
  rest-client (~> 2.1)
8
- selenium-webdriver (~> 4.8)
8
+ selenium-webdriver (~> 4.13.1)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- addressable (2.8.1)
13
+ addressable (2.8.5)
14
14
  public_suffix (>= 2.0.2, < 6.0)
15
15
  ast (2.4.2)
16
+ base64 (0.1.1)
16
17
  coderay (1.1.3)
17
18
  concurrent-ruby (1.2.2)
18
19
  crack (0.4.5)
@@ -25,70 +26,77 @@ GEM
25
26
  http-accept (1.7.0)
26
27
  http-cookie (1.0.5)
27
28
  domain_name (~> 0.5)
28
- i18n (1.12.0)
29
+ i18n (1.14.1)
29
30
  concurrent-ruby (~> 1.0)
30
31
  json (2.6.3)
32
+ language_server-protocol (3.17.0.3)
31
33
  method_source (1.0.0)
32
- mime-types (3.4.1)
34
+ mime-types (3.5.1)
33
35
  mime-types-data (~> 3.2015)
34
- mime-types-data (3.2023.0218.1)
36
+ mime-types-data (3.2023.1003)
35
37
  netrc (0.11.0)
36
- nokogiri (1.14.2-arm64-darwin)
38
+ nokogiri (1.15.4-arm64-darwin)
37
39
  racc (~> 1.4)
38
- nokogiri (1.14.2-x86_64-darwin)
40
+ nokogiri (1.15.4-x86_64-darwin)
39
41
  racc (~> 1.4)
40
- nokogiri (1.14.2-x86_64-linux)
42
+ nokogiri (1.15.4-x86_64-linux)
41
43
  racc (~> 1.4)
42
- parallel (1.22.1)
43
- parser (3.2.1.0)
44
+ parallel (1.23.0)
45
+ parser (3.2.2.4)
44
46
  ast (~> 2.4.1)
47
+ racc
45
48
  pry (0.14.2)
46
49
  coderay (~> 1.1)
47
50
  method_source (~> 1.0)
48
- public_suffix (5.0.1)
49
- racc (1.6.2)
51
+ public_suffix (5.0.3)
52
+ racc (1.7.1)
50
53
  rainbow (3.1.1)
51
54
  rake (13.0.6)
52
- regexp_parser (2.7.0)
55
+ regexp_parser (2.8.1)
53
56
  rest-client (2.1.0)
54
57
  http-accept (>= 1.7.0, < 2.0)
55
58
  http-cookie (>= 1.0.2, < 2.0)
56
59
  mime-types (>= 1.16, < 4.0)
57
60
  netrc (~> 0.8)
58
- rexml (3.2.5)
61
+ rexml (3.2.6)
59
62
  rspec (3.12.0)
60
63
  rspec-core (~> 3.12.0)
61
64
  rspec-expectations (~> 3.12.0)
62
65
  rspec-mocks (~> 3.12.0)
63
- rspec-core (3.12.1)
66
+ rspec-core (3.12.2)
64
67
  rspec-support (~> 3.12.0)
65
- rspec-expectations (3.12.2)
68
+ rspec-expectations (3.12.3)
66
69
  diff-lcs (>= 1.2.0, < 2.0)
67
70
  rspec-support (~> 3.12.0)
68
- rspec-mocks (3.12.3)
71
+ rspec-mocks (3.12.6)
69
72
  diff-lcs (>= 1.2.0, < 2.0)
70
73
  rspec-support (~> 3.12.0)
71
- rspec-support (3.12.0)
72
- rubocop (1.47.0)
74
+ rspec-support (3.12.1)
75
+ rubocop (1.56.4)
76
+ base64 (~> 0.1.1)
73
77
  json (~> 2.3)
78
+ language_server-protocol (>= 3.17.0)
74
79
  parallel (~> 1.10)
75
- parser (>= 3.2.0.0)
80
+ parser (>= 3.2.2.3)
76
81
  rainbow (>= 2.2.2, < 4.0)
77
82
  regexp_parser (>= 1.8, < 3.0)
78
83
  rexml (>= 3.2.5, < 4.0)
79
- rubocop-ast (>= 1.26.0, < 2.0)
84
+ rubocop-ast (>= 1.28.1, < 2.0)
80
85
  ruby-progressbar (~> 1.7)
81
86
  unicode-display_width (>= 2.4.0, < 3.0)
82
- rubocop-ast (1.27.0)
87
+ rubocop-ast (1.29.0)
83
88
  parser (>= 3.2.1.0)
84
- rubocop-capybara (2.17.1)
89
+ rubocop-capybara (2.19.0)
85
90
  rubocop (~> 1.41)
86
- rubocop-rspec (2.18.1)
91
+ rubocop-factory_bot (2.24.0)
92
+ rubocop (~> 1.33)
93
+ rubocop-rspec (2.24.1)
87
94
  rubocop (~> 1.33)
88
95
  rubocop-capybara (~> 2.17)
89
- ruby-progressbar (1.12.0)
96
+ rubocop-factory_bot (~> 2.22)
97
+ ruby-progressbar (1.13.0)
90
98
  rubyzip (2.3.2)
91
- selenium-webdriver (4.8.1)
99
+ selenium-webdriver (4.13.1)
92
100
  rexml (~> 3.2, >= 3.2.5)
93
101
  rubyzip (>= 1.2.2, < 3.0)
94
102
  websocket (~> 1.0)
@@ -101,16 +109,15 @@ GEM
101
109
  unf (0.1.4)
102
110
  unf_ext
103
111
  unf_ext (0.0.8.2)
104
- unicode-display_width (2.4.2)
105
- webmock (3.18.1)
112
+ unicode-display_width (2.5.0)
113
+ webmock (3.19.1)
106
114
  addressable (>= 2.8.0)
107
115
  crack (>= 0.3.2)
108
116
  hashdiff (>= 0.4.0, < 2.0.0)
109
- websocket (1.2.9)
117
+ websocket (1.2.10)
110
118
 
111
119
  PLATFORMS
112
120
  arm64-darwin-22
113
- x86_64-darwin-19
114
121
  x86_64-darwin-20
115
122
  x86_64-linux
116
123
 
@@ -125,4 +132,4 @@ DEPENDENCIES
125
132
  webmock (~> 3.14)
126
133
 
127
134
  BUNDLED WITH
128
- 2.4.6
135
+ 2.4.16
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.summary = "Get data control.atrea.eu"
12
12
  spec.description = "Read data from web controller of RD5 duplex by Atrea."
13
13
  spec.homepage = "https://github.com/luk4s/atrea_control"
14
- spec.required_ruby_version = Gem::Requirement.new(">= 2.7.2")
14
+ spec.required_ruby_version = Gem::Requirement.new("~> 3.2.2")
15
15
 
16
16
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
17
17
 
@@ -36,8 +36,8 @@ Gem::Specification.new do |spec|
36
36
  # For more information and examples about making a new gem, checkout our
37
37
  # guide at: https://bundler.io/guides/creating_gem.html
38
38
 
39
- spec.add_dependency "i18n", "~> 1.8"
40
- spec.add_dependency "nokogiri", "~> 1.12"
39
+ spec.add_dependency "i18n", "~> 1.14"
40
+ spec.add_dependency "nokogiri", "~> 1.15"
41
41
  spec.add_dependency "rest-client", "~> 2.1"
42
- spec.add_dependency "selenium-webdriver", "~> 4.8"
42
+ spec.add_dependency "selenium-webdriver", "~> 4.13.1"
43
43
  end
@@ -78,8 +78,8 @@ module AtreaControl
78
78
  }
79
79
  end
80
80
 
81
- def to_json(*args)
82
- values.to_json(*args)
81
+ def to_json(*)
82
+ values.to_json(*)
83
83
  end
84
84
 
85
85
  # Additional "parameters" for each sensors
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AtreaControl
4
- VERSION = "2.1.3"
4
+ VERSION = "2.2.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atrea_control
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukáš Pokorný
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-04 00:00:00.000000000 Z
11
+ date: 2023-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.8'
19
+ version: '1.14'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.8'
26
+ version: '1.14'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: nokogiri
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.12'
33
+ version: '1.15'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.12'
40
+ version: '1.15'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rest-client
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '4.8'
61
+ version: 4.13.1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '4.8'
68
+ version: 4.13.1
69
69
  description: Read data from web controller of RD5 duplex by Atrea.
70
70
  email:
71
71
  - pokorny@luk4s.cz
@@ -78,6 +78,7 @@ files:
78
78
  - ".rspec"
79
79
  - ".rubocop.yml"
80
80
  - ".rubocop_todo.yml"
81
+ - ".ruby-version"
81
82
  - CHANGELOG.md
82
83
  - CODE_OF_CONDUCT.md
83
84
  - Gemfile
@@ -109,16 +110,16 @@ require_paths:
109
110
  - lib
110
111
  required_ruby_version: !ruby/object:Gem::Requirement
111
112
  requirements:
112
- - - ">="
113
+ - - "~>"
113
114
  - !ruby/object:Gem::Version
114
- version: 2.7.2
115
+ version: 3.2.2
115
116
  required_rubygems_version: !ruby/object:Gem::Requirement
116
117
  requirements:
117
118
  - - ">="
118
119
  - !ruby/object:Gem::Version
119
120
  version: '0'
120
121
  requirements: []
121
- rubygems_version: 3.4.6
122
+ rubygems_version: 3.4.16
122
123
  signing_key:
123
124
  specification_version: 4
124
125
  summary: Get data control.atrea.eu