apple_system_status 0.3.1 → 0.3.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/CHANGELOG.md +11 -0
- data/Gemfile +5 -0
- data/lib/apple_system_status/crawler.rb +1 -1
- data/lib/apple_system_status/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c29f8424f49386fa11cc6d665917e902121067e1
|
|
4
|
+
data.tar.gz: 4c01f9993c208734539d7d5d05bac76564663cd0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: baf052b5f198ed5a66be7afbeb78b099547f8322a4c71a59c8930bb60263c44aec05070d3a9c9b2b12f7594c660cf5ff4db8c67421bca9872be0e28e07f941ae
|
|
7
|
+
data.tar.gz: ff6c33d4f987f31dcc0b982ef0e2509aa35c3548da75c299e72d484326751e4f6c6915d1ac1b203c6d6002ad04d6d3002e0569c2e93359da9f0cd7ad0e4450c9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v0.3.1](https://github.com/sue445/apple_system_status/tree/v0.3.1) (2017-07-06)
|
|
4
|
+
[Full Changelog](https://github.com/sue445/apple_system_status/compare/v0.3.0...v0.3.1)
|
|
5
|
+
|
|
6
|
+
**Closed issues:**
|
|
7
|
+
|
|
8
|
+
- Fix. Not found services [\#16](https://github.com/sue445/apple_system_status/issues/16)
|
|
9
|
+
|
|
10
|
+
**Merged pull requests:**
|
|
11
|
+
|
|
12
|
+
- Fixed. Not found services [\#17](https://github.com/sue445/apple_system_status/pull/17) ([sue445](https://github.com/sue445))
|
|
13
|
+
|
|
3
14
|
## [v0.3.0](https://github.com/sue445/apple_system_status/tree/v0.3.0) (2017-02-28)
|
|
4
15
|
[Full Changelog](https://github.com/sue445/apple_system_status/compare/v0.2.0...v0.3.0)
|
|
5
16
|
|
data/Gemfile
CHANGED
|
@@ -10,3 +10,8 @@ if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.2")
|
|
|
10
10
|
# NOTE: rack 2.x supports only ruby 2.2.2+
|
|
11
11
|
gem "rack", "< 2.0.0"
|
|
12
12
|
end
|
|
13
|
+
|
|
14
|
+
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.0")
|
|
15
|
+
# NOTE: byebug 9.1.0+ requires ruby 2.2.0+
|
|
16
|
+
gem "byebug", "< 9.1.0"
|
|
17
|
+
end
|
|
@@ -94,7 +94,7 @@ module AppleSystemStatus
|
|
|
94
94
|
def fetch_services
|
|
95
95
|
@session.all("#ssp-lights-table td").each_with_object([]) do |td, services|
|
|
96
96
|
begin
|
|
97
|
-
names = td.find(".light-container .light-content.light-name").text.split(
|
|
97
|
+
names = td.find(".light-container .light-content.light-name").text.split(/[-:]/).map(&:strip)
|
|
98
98
|
light_image = td.find(".light-container .light-content.light-image div")["class"]
|
|
99
99
|
|
|
100
100
|
services << {
|
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: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sue445
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-08-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|