apple_system_status 0.3.1 → 0.3.2

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
  SHA1:
3
- metadata.gz: 36ef720f24da9585bb4f4e7beb649600a954dcb7
4
- data.tar.gz: f106c1da5ce55d5670f17d4e84ff69c14effed14
3
+ metadata.gz: c29f8424f49386fa11cc6d665917e902121067e1
4
+ data.tar.gz: 4c01f9993c208734539d7d5d05bac76564663cd0
5
5
  SHA512:
6
- metadata.gz: cd6c4086e1ad3bc371e2b83ec8258b88c4b79b8b846a0ebd1336fa7fe67f1e2c31ff4ad04722309e11080bb662c621479d3c703fb7b9da6e950f03ede28d7868
7
- data.tar.gz: 3afbfea615e57d232186c9b2b5e989815060b8ac42a5be5e15b546dc0031929c98851c6cee13099a250e769f7c80dff3609378461c659414b4adc604d0a85a28
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(":").map(&:strip)
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 << {
@@ -1,3 +1,3 @@
1
1
  module AppleSystemStatus
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  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: 0.3.1
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-07-06 00:00:00.000000000 Z
11
+ date: 2017-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport