apple_system_status 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/apple_system_status.gemspec +1 -1
- data/lib/apple_system_status/crawler.rb +1 -1
- data/lib/apple_system_status/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a4e96fb9bbe4297d0c971a83dc754086663d204
|
4
|
+
data.tar.gz: fc764df865c06a00a72d284a758ba43c771e67fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65bc6a11bb389853aeed28e19852af6c754877ae6e766d1574fd979faaba242e5c656ae2e5cd28cce3f3ff87c21f759d9e76054fd106b9b71d425d5f61ee3b7b
|
7
|
+
data.tar.gz: cb02316b7f13b94c16e1bb289e8435cead4c9c50689d514031669757bbb8b69b9329e6a23d204256810809bcb8fcce3e0ed8c3e2dee55b498650c6305ef926ce
|
data/README.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
[Apple System Status](https://www.apple.com/support/systemstatus/) scraping library
|
4
4
|
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/apple_system_status.svg)](http://badge.fury.io/rb/apple_system_status)
|
5
6
|
[![Build Status](https://travis-ci.org/sue445/apple_system_status.svg?branch=master)](https://travis-ci.org/sue445/apple_system_status)
|
6
7
|
[![Code Climate](https://codeclimate.com/github/sue445/apple_system_status/badges/gpa.svg)](https://codeclimate.com/github/sue445/apple_system_status)
|
7
8
|
[![Test Coverage](https://codeclimate.com/github/sue445/apple_system_status/badges/coverage.svg)](https://codeclimate.com/github/sue445/apple_system_status/coverage)
|
@@ -10,7 +11,7 @@
|
|
10
11
|
|
11
12
|
## Requirements
|
12
13
|
* Ruby 2.1+
|
13
|
-
* [Phantomjs](http://phantomjs.org/)
|
14
|
+
* [Phantomjs](http://phantomjs.org/) (recommended v1.9.8+)
|
14
15
|
|
15
16
|
## Installation
|
16
17
|
|
data/apple_system_status.gemspec
CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_dependency "poltergeist"
|
33
33
|
spec.add_dependency "thor"
|
34
34
|
|
35
|
-
spec.add_development_dependency "bundler"
|
35
|
+
spec.add_development_dependency "bundler"
|
36
36
|
spec.add_development_dependency "codeclimate-test-reporter"
|
37
37
|
spec.add_development_dependency "coveralls"
|
38
38
|
spec.add_development_dependency "pry-byebug"
|
@@ -8,7 +8,7 @@ module AppleSystemStatus
|
|
8
8
|
|
9
9
|
def initialize
|
10
10
|
Capybara.register_driver :poltergeist do |app|
|
11
|
-
Capybara::Poltergeist::Driver.new(app)
|
11
|
+
Capybara::Poltergeist::Driver.new(app, js_errors: false)
|
12
12
|
end
|
13
13
|
@session = Capybara::Session.new(:poltergeist)
|
14
14
|
@session.driver.headers = { "User-Agent" => USER_AGENT }
|
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.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -70,16 +70,16 @@ dependencies:
|
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: codeclimate-test-reporter
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
224
224
|
version: '0'
|
225
225
|
requirements: []
|
226
226
|
rubyforge_project:
|
227
|
-
rubygems_version: 2.4.5
|
227
|
+
rubygems_version: 2.4.5.1
|
228
228
|
signing_key:
|
229
229
|
specification_version: 4
|
230
230
|
summary: Apple System Status scraping library
|