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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44bbb972c061472e9e2a8317f0f80b10823337bfc2b3a1b471828fbecfd2ee3e
4
- data.tar.gz: 43eabc1aed2ee83a643ece5a3ff497b0f4fb365f7f6ea97d9dd25cb3959b779c
3
+ metadata.gz: b14823ce068a237ca95cd0687ef12c1c9be0ad4815ec4174c3dfb55942c17da4
4
+ data.tar.gz: 8c0a6356ca21fa1abb1e24a9b9cf8ff2137c6e160ac78164a6b7b8554384607d
5
5
  SHA512:
6
- metadata.gz: e610abe849dc2f1824780e47e8608d4899655f1223d0e07d6c7e466949dcdce219154199015b17a34abc15064366c53b6162122c79752bd30bb6bc9e3f522926
7
- data.tar.gz: 07443b7b020bf22292f556c2db7cd0e77fc23e85b2f6e841c9c3bc55ae59270bbacc4f4598230a89509fc7684219697a269b7d259c3bed4e83a61dd471d52520
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
- Webdrivers::Chromedriver.required_version = "74.0.3729.6"
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
- capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
11
- chromeOptions: {
12
- args: %w(
13
- disable-gpu
14
- headless
15
- no-sandbox
16
- window-size=1400,1400
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
- desired_capabilities: capabilities
22
+ options: options
24
23
  end
25
24
 
26
25
  Capybara.default_driver = :headless_chrome
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Instagrammer
4
- VERSION = "0.2.1"
4
+ VERSION = "0.3.0"
5
5
  end
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.2.1
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-07-14 00:00:00.000000000 Z
11
+ date: 2019-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara