instagrammer 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/instagrammer/config/capybara.rb +10 -11
- data/lib/instagrammer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b14823ce068a237ca95cd0687ef12c1c9be0ad4815ec4174c3dfb55942c17da4
|
4
|
+
data.tar.gz: 8c0a6356ca21fa1abb1e24a9b9cf8ff2137c6e160ac78164a6b7b8554384607d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11dfe0c4bf306edb9e66567595115840c379d7153f5d7c614c64c85dfcb67660721cb5d9e3dd255f3e3beca0225394dbddd8a65d91d693ff4e8cedab20ae51c7
|
7
|
+
data.tar.gz: dfefec155fd35bbf447a03d15ed36c99b20d2738eefa9f5a9afd05afe2f1bd78d04ff73bf27ed0d615279f26b9736d555e716a03a264c4cf109bf23ec2e20c42
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [0.3.0] - 2019-08-14
|
10
|
+
### Changed
|
11
|
+
- Don't pin Chromedriver version
|
12
|
+
- Dynamically set Chrome path to improve Heroku compatibility
|
13
|
+
- Update Selenium driver options
|
14
|
+
|
9
15
|
## [0.2.1] - 2019-07-14
|
10
16
|
### Changed
|
11
17
|
- Remove custom #inspect output as this interferes with lazy data loading
|
@@ -4,23 +4,22 @@ require "capybara"
|
|
4
4
|
require "capybara/dsl"
|
5
5
|
require "webdrivers/chromedriver"
|
6
6
|
|
7
|
-
|
7
|
+
Selenium::WebDriver::Chrome.path = ENV["GOOGLE_CHROME_SHIM"] if ENV.has_key?("GOOGLE_CHROME_SHIM")
|
8
8
|
|
9
9
|
Capybara.register_driver :headless_chrome do |app|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
}
|
10
|
+
options = Selenium::WebDriver::Chrome::Options.new(
|
11
|
+
args: %w(
|
12
|
+
disable-gpu
|
13
|
+
headless
|
14
|
+
no-sandbox
|
15
|
+
disable-dev-shm-usage
|
16
|
+
window-size=1400,1400
|
17
|
+
)
|
19
18
|
)
|
20
19
|
|
21
20
|
Capybara::Selenium::Driver.new app,
|
22
21
|
browser: :chrome,
|
23
|
-
|
22
|
+
options: options
|
24
23
|
end
|
25
24
|
|
26
25
|
Capybara.default_driver = :headless_chrome
|
data/lib/instagrammer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: instagrammer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Venneman
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|