apple_system_status 1.0.4 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +18 -44
- data/CHANGELOG.md +8 -0
- data/Gemfile +0 -21
- data/apple_system_status.gemspec +5 -5
- data/lib/apple_system_status/version.rb +1 -1
- metadata +26 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b17a312fbab70eeb4a90c28d6740a2bdb7757e554d19b8791bdfa48be16c156b
|
4
|
+
data.tar.gz: 433c1014b1d8b830fb23f19379e58d4c7dcdac12734d103b59f7393775846f97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab0f6d3d9efbe45f72809a2df1967a7f348c51d1303faae5c62615a9c235b277d28a6de7691becc0985610d16c67c3d219e9d1b9d7578bf4e333cc0bd93c72e4
|
7
|
+
data.tar.gz: 74952960423ecbfb2b681134fe34a3284be27b6baa414a8026a867f39db24fdc37667f2e7a9af01b854cabc4ddbe267ce98bcc02601541e0ffb3ce14aac3aff0
|
data/.circleci/config.yml
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
version: 2.1
|
2
2
|
|
3
3
|
orbs:
|
4
|
-
|
4
|
+
browser-tools: circleci/browser-tools@volatile
|
5
|
+
codeclimate: sue445/codeclimate@volatile
|
6
|
+
slack: circleci/slack@3
|
5
7
|
|
6
8
|
executors:
|
7
9
|
ruby:
|
@@ -9,7 +11,7 @@ executors:
|
|
9
11
|
version:
|
10
12
|
type: string
|
11
13
|
docker:
|
12
|
-
- image:
|
14
|
+
- image: cimg/ruby:<< parameters.version >>-browsers
|
13
15
|
environment:
|
14
16
|
# c.f. https://github.com/ffaker/ffaker/issues/277#issuecomment-263519146
|
15
17
|
LANG: en_US.UTF-8
|
@@ -21,27 +23,6 @@ executors:
|
|
21
23
|
CC_TEST_REPORTER_ID: 89b665462d69ce4c873ee8165d496c4a97b9afaaf48e375c1bc3200e4b45b1e7
|
22
24
|
working_directory: ~/app
|
23
25
|
|
24
|
-
commands:
|
25
|
-
with-cc-test-reporter:
|
26
|
-
description: "Run test with cc-test-reporter"
|
27
|
-
parameters:
|
28
|
-
steps:
|
29
|
-
type: steps
|
30
|
-
default: []
|
31
|
-
description: "Run steps between `before-build` and `after-build`"
|
32
|
-
steps:
|
33
|
-
- run:
|
34
|
-
name: Setup Code Climate test-reporter
|
35
|
-
command: |
|
36
|
-
# download test reporter as a static binary
|
37
|
-
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
38
|
-
chmod +x ./cc-test-reporter
|
39
|
-
- run: ./cc-test-reporter before-build
|
40
|
-
- steps: << parameters.steps >>
|
41
|
-
- run:
|
42
|
-
command: ./cc-test-reporter after-build --coverage-input-type simplecov --exit-code $?
|
43
|
-
when: always
|
44
|
-
|
45
26
|
jobs:
|
46
27
|
rspec:
|
47
28
|
parameters:
|
@@ -51,36 +32,29 @@ jobs:
|
|
51
32
|
name: ruby
|
52
33
|
version: << parameters.version >>
|
53
34
|
steps:
|
35
|
+
- browser-tools/install-browser-tools
|
54
36
|
- checkout
|
55
37
|
- run: bundle --version
|
56
38
|
- run: gem --version
|
57
39
|
- run: google-chrome --version
|
58
40
|
- run: chromedriver --version
|
59
|
-
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
update_always: true
|
64
|
-
- with-cc-test-reporter:
|
41
|
+
- run: bundle config --local path vendor/bundle
|
42
|
+
- run: bundle install --jobs=4 --retry=3
|
43
|
+
- codeclimate/with-cc-test-reporter:
|
44
|
+
after_build_args: "--coverage-input-type simplecov"
|
65
45
|
steps:
|
66
46
|
- run: bundle exec rspec
|
47
|
+
- slack/notify-on-failure
|
67
48
|
|
68
49
|
build_jobs: &build_jobs
|
69
50
|
- rspec:
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
version: "2.4"
|
78
|
-
- rspec:
|
79
|
-
name: "rspec:2.5"
|
80
|
-
version: "2.5"
|
81
|
-
- rspec:
|
82
|
-
name: "rspec:2.6"
|
83
|
-
version: "2.6"
|
51
|
+
matrix:
|
52
|
+
parameters:
|
53
|
+
version:
|
54
|
+
- "2.5"
|
55
|
+
- "2.6"
|
56
|
+
- "2.7"
|
57
|
+
- "3.0"
|
84
58
|
|
85
59
|
workflows:
|
86
60
|
version: 2
|
@@ -91,7 +65,7 @@ workflows:
|
|
91
65
|
weekly_build:
|
92
66
|
triggers:
|
93
67
|
- schedule:
|
94
|
-
cron: "00
|
68
|
+
cron: "00 10 * * 5" # JST 19:00 (Fri)
|
95
69
|
filters:
|
96
70
|
branches:
|
97
71
|
only: master
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v2.0.0](https://github.com/sue445/apple_system_status/tree/v2.0.0) (2021-10-16)
|
4
|
+
[Full Changelog](https://github.com/sue445/apple_system_status/compare/v1.0.4...v2.0.0)
|
5
|
+
|
6
|
+
* :bomb: **[BREAKING CHANGE]** Drop support ruby < 2.5
|
7
|
+
* https://github.com/sue445/apple_system_status/pull/65
|
8
|
+
* Don't use selenium-webdriver v4
|
9
|
+
* https://github.com/sue445/apple_system_status/pull/63
|
10
|
+
|
3
11
|
## [v1.0.4](https://github.com/sue445/apple_system_status/tree/v1.0.4) (2019-06-19)
|
4
12
|
[Full Changelog](https://github.com/sue445/apple_system_status/compare/v1.0.3...v1.0.4)
|
5
13
|
|
data/Gemfile
CHANGED
@@ -2,24 +2,3 @@ source 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
# Specify your gem's dependencies in apple_system_status.gemspec
|
4
4
|
gemspec
|
5
|
-
|
6
|
-
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.2")
|
7
|
-
# NOTE: rack 2.x supports only ruby 2.2.2+
|
8
|
-
gem "rack", "< 2.0.0"
|
9
|
-
end
|
10
|
-
|
11
|
-
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.3.0")
|
12
|
-
# NOTE: xpath 3.2.0+ requires ruby 2.3.0+
|
13
|
-
gem "xpath", "< 3.2.0"
|
14
|
-
|
15
|
-
# NOTE: selenium-webdriver 3.142.1+ requires ruby 2.3.0+
|
16
|
-
gem "selenium-webdriver", "< 3.142.1"
|
17
|
-
|
18
|
-
# NOTE: public_suffix v3.1.0+ requires ruby 2.3.0+
|
19
|
-
gem "public_suffix", "< 3.1.0"
|
20
|
-
end
|
21
|
-
|
22
|
-
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.4.0")
|
23
|
-
# NOTE: capybara 3.16.0+ requires ruby 2.4.0+
|
24
|
-
gem "capybara", "< 3.16.0"
|
25
|
-
end
|
data/apple_system_status.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.homepage = "https://github.com/sue445/apple_system_status"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
|
-
spec.required_ruby_version = ">= 2.
|
17
|
+
spec.required_ruby_version = ">= 2.5"
|
18
18
|
|
19
19
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
20
20
|
# delete this section to allow pushing this gem to any host.
|
@@ -30,15 +30,15 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.require_paths = ["lib"]
|
31
31
|
|
32
32
|
spec.add_dependency "capybara"
|
33
|
-
spec.add_dependency "selenium-webdriver"
|
33
|
+
spec.add_dependency "selenium-webdriver", "< 4.0.0"
|
34
34
|
spec.add_dependency "thor"
|
35
35
|
|
36
36
|
spec.add_development_dependency "bundler"
|
37
37
|
spec.add_development_dependency "coveralls"
|
38
|
-
spec.add_development_dependency "
|
39
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
38
|
+
spec.add_development_dependency "rake"
|
40
39
|
spec.add_development_dependency "rspec"
|
41
40
|
spec.add_development_dependency "rspec-parameterized"
|
42
|
-
spec.add_development_dependency "simplecov"
|
41
|
+
spec.add_development_dependency "simplecov", "< 0.18.0"
|
42
|
+
spec.add_development_dependency "unparser", ">= 0.4.5"
|
43
43
|
spec.add_development_dependency "yard"
|
44
44
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apple_system_status
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: selenium-webdriver
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 4.0.0
|
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:
|
40
|
+
version: 4.0.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: thor
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -95,21 +95,21 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
110
|
+
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name: rspec
|
112
|
+
name: rspec-parameterized
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
@@ -123,33 +123,33 @@ dependencies:
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: simplecov
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - "
|
129
|
+
- - "<"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: 0.18.0
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - "
|
136
|
+
- - "<"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: 0.18.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
140
|
+
name: unparser
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
145
|
+
version: 0.4.5
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
152
|
+
version: 0.4.5
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: yard
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -195,7 +195,7 @@ licenses:
|
|
195
195
|
- MIT
|
196
196
|
metadata:
|
197
197
|
allowed_push_host: https://rubygems.org
|
198
|
-
post_install_message:
|
198
|
+
post_install_message:
|
199
199
|
rdoc_options: []
|
200
200
|
require_paths:
|
201
201
|
- lib
|
@@ -203,15 +203,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
203
203
|
requirements:
|
204
204
|
- - ">="
|
205
205
|
- !ruby/object:Gem::Version
|
206
|
-
version: '2.
|
206
|
+
version: '2.5'
|
207
207
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
208
208
|
requirements:
|
209
209
|
- - ">="
|
210
210
|
- !ruby/object:Gem::Version
|
211
211
|
version: '0'
|
212
212
|
requirements: []
|
213
|
-
rubygems_version: 3.
|
214
|
-
signing_key:
|
213
|
+
rubygems_version: 3.2.22
|
214
|
+
signing_key:
|
215
215
|
specification_version: 4
|
216
216
|
summary: Apple System Status scraping library
|
217
217
|
test_files: []
|