amazon_auth 0.3.1 → 0.3.2

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
  SHA1:
3
- metadata.gz: 063d73a7b294c00b1e491c7c7fadffe02dd58807
4
- data.tar.gz: acb5054776d89ba8c6ecaef6ad5496a92883bd61
3
+ metadata.gz: a2bb8055aef5c1bcfd8b4e3da43e486120d7228d
4
+ data.tar.gz: a153af19f3ede08f5d744e6a9f45464cf7d2ff23
5
5
  SHA512:
6
- metadata.gz: e060fd99e003322aee83799c9cf05171db6891e45d7ca06dfee5ad164660b94743c021337d35ef95fdd1adf5df6f5488126bbd44e977bf07d7b377c35dcb7fbd
7
- data.tar.gz: 7073d53fe9aec2b7b18094e5762fe560b8f5ce9a7e89790d8a947c26077bbbe1f55fb55990a8ec808bbb61c8c3473ba1fa51b692406914a277fe1a3866ea6b02
6
+ metadata.gz: 4096183c1635ee835d5d08df63c7778ea248b4e05eb1470368788e6ad9bad0180fdcd552ccca2ad1bbe6bc94a9e4df37926681f9bb15905efbdf98401e5594e0
7
+ data.tar.gz: c64cce0a2af684bd9e8f270380e3ca739be3f525095a3bd847f8c8dbbeb4df8235ba5857e3ff1940367241f0e8265c43c9a4e735be878b0c31fe5540f0d3401d
@@ -4,7 +4,7 @@ module AmazonAuth
4
4
  def log(message)
5
5
  return unless (@options[:debug] || @options[:verbose])
6
6
  puts "[#{Time.current.strftime('%Y-%m-%d %H:%M:%S')}] #{message}" +
7
- (@options[:debug] ? " -- #{session.current_url}" : '')
7
+ (@options[:debug] && session ? " -- #{session.current_url}" : '')
8
8
  end
9
9
 
10
10
  def debug(message)
@@ -1,3 +1,3 @@
1
1
  module AmazonAuth
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amazon_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuho Yamaguchi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-06-16 00:00:00.000000000 Z
11
+ date: 2017-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara