apple_system_status 1.0.1 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fdb02da837139b920ce149ed9c00eb36e1f29e4f947e62e6e44e6a51d91b2948
4
- data.tar.gz: fe8fb64f2c99690e179b9cb2d7350869381f7ae8977a011a1c0f681117582486
3
+ metadata.gz: 96f3ba68166cff411f26f1100e70c3b9219fe1fd005539d6786b32d3d1bcbf5c
4
+ data.tar.gz: 527f8709f191cc4eeb63d147e1c1bce9bc9cc5be992d2125dc1cbcbeb82abc9e
5
5
  SHA512:
6
- metadata.gz: 8ac5ff5d6188ab25320c79612223d51b9311bba5d256eb793183161ffb9efcfa04a981899f0234a8fe36869c06a258ba52b23f86ca75126dd12172049a55e51d
7
- data.tar.gz: 866a50d5218a4e9d8f4aef626ddb1471b39aeae7dbb8de593c2dc746983da4ec0140dafc695915242ff30081e1e23b6085f05bfcf4935aaa641e21128d01c88c
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!
@@ -1,3 +1,3 @@
1
1
  module AppleSystemStatus
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apple_system_status
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445