apple_system_status 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/apple_system_status/crawler.rb +3 -2
- data/lib/apple_system_status/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96f3ba68166cff411f26f1100e70c3b9219fe1fd005539d6786b32d3d1bcbf5c
|
4
|
+
data.tar.gz: 527f8709f191cc4eeb63d147e1c1bce9bc9cc5be992d2125dc1cbcbeb82abc9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dd980d5edeec7f104d07728c1da04361295be48a8a09659cd6b6ba2f86d35e0ae67a4f535f2afa3baf12007e8633a5371d9ea0148f32d1d324f90e7457e767f
|
7
|
+
data.tar.gz: 0b84a0cb7bdd33836309237cdd212ddccecf839bdf8ead7298ecbd23f4839037c0bbff7e5b36560f7d3d3d9e09c186ace2b8ff7440a0094ca404a3af0b975798
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [Unreleased](https://github.com/sue445/apple_system_status/tree/HEAD)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/sue445/apple_system_status/compare/v1.0.1...HEAD)
|
6
|
+
|
7
|
+
**Closed issues:**
|
8
|
+
|
9
|
+
- Add chrome\_options\_args to Crawler\#initialize [\#30](https://github.com/sue445/apple_system_status/issues/30)
|
10
|
+
|
11
|
+
## [v1.0.1](https://github.com/sue445/apple_system_status/tree/v1.0.1) (2018-09-23)
|
12
|
+
[Full Changelog](https://github.com/sue445/apple_system_status/compare/v1.0.0...v1.0.1)
|
13
|
+
|
14
|
+
**Merged pull requests:**
|
15
|
+
|
16
|
+
- Add chrome\_options\_args to Crawler\#initialize [\#31](https://github.com/sue445/apple_system_status/pull/31) ([sue445](https://github.com/sue445))
|
17
|
+
- Tweak CI setting [\#29](https://github.com/sue445/apple_system_status/pull/29) ([sue445](https://github.com/sue445))
|
18
|
+
|
3
19
|
## [v1.0.0](https://github.com/sue445/apple_system_status/tree/v1.0.0) (2018-09-22)
|
4
20
|
[Full Changelog](https://github.com/sue445/apple_system_status/compare/v0.3.2...v1.0.0)
|
5
21
|
|
@@ -94,6 +94,7 @@ module AppleSystemStatus
|
|
94
94
|
# crawl apple system status page. When finished crawling, clear capybara session
|
95
95
|
# @param country [String] country code. (e.g. jp, ca, fr. default. us)
|
96
96
|
# @param title [String] If specified, narrow the service title
|
97
|
+
# @param chrome_options_args [Array<String>]
|
97
98
|
# @return [Hash]
|
98
99
|
# @example response format
|
99
100
|
# {
|
@@ -103,8 +104,8 @@ module AppleSystemStatus
|
|
103
104
|
# ]
|
104
105
|
# }
|
105
106
|
# @link https://github.com/teampoltergeist/poltergeist#memory-leak
|
106
|
-
def self.perform(country: nil, title: nil)
|
107
|
-
crawler = AppleSystemStatus::Crawler.new
|
107
|
+
def self.perform(country: nil, title: nil, chrome_options_args: DEFAULT_CHROME_OPTIONS_ARGS)
|
108
|
+
crawler = AppleSystemStatus::Crawler.new(chrome_options_args: chrome_options_args)
|
108
109
|
crawler.perform(country: country, title: title)
|
109
110
|
ensure
|
110
111
|
crawler.quit!
|