aq_banking 0.2.0 → 0.2.1

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: cef0811dfdb94ed0b563fdda4d5ab651b13e4839
4
- data.tar.gz: 6f19b1ecbf90f90a5c34d6281c57e9c88b7df487
3
+ metadata.gz: 7fdafa67936f926c7f71dd8c7ef8f301d4743024
4
+ data.tar.gz: c045f57adc27935b6a12d0ce21d5c9a16daa7fab
5
5
  SHA512:
6
- metadata.gz: f7e9465feccb2285121a5c60818d609c6d80af4fade8cd611d176378015970c1a530eae35b2a91416011ff45efa587d8a01a8b6df66d398e56633037c5303b68
7
- data.tar.gz: 57ceacef7efcb7573538f23281fcd5d5f80ad0331e6bf77dfb873a89945149aaea45419e0157d9b36ec085aa477320964ff087652fa082f1ad537279a3cd8a1e
6
+ metadata.gz: ea6ec63c81dafc9c37d9da372c63d956abbf73504b611adc264f00ab31152d995f65c64e31c411cc1721bee65d7f03790e55a4cf441e50d4095912110800d74c
7
+ data.tar.gz: 3630b9bcddf7ddfce9fc05e597fcfaf335355afd60745dce0495e826dfbd9fc6a7c7e79a3156f45c8457b78d0f03d7f1087ef6098be4f6fd66246e80f7e70238
data/README.md CHANGED
@@ -78,7 +78,7 @@ And then execute:
78
78
  rake release
79
79
 
80
80
  # publish docker container
81
- docker-compose build release
81
+ docker-compose build --no-cache release
82
82
  docker push rweng/aq_banking
83
83
 
84
84
 
@@ -4,9 +4,10 @@ $LOAD_PATH.unshift File.expand_path('../lib', __dir__)
4
4
 
5
5
  require 'aq_banking'
6
6
  begin
7
- AqBanking::Cli.start(ARGV)
7
+ cli = AqBanking::Cli.start(ARGV)
8
8
  rescue StandardError => e
9
9
  require 'highline'
10
10
  HighLine.color_scheme = HighLine::SampleColorScheme.new
11
- HighLine.new.say HighLine.color(e.message, :error)
11
+ HighLine.new($stdin, $stderr).say HighLine.color(e.message, :error)
12
+ exit! 1
12
13
  end
@@ -35,6 +35,11 @@ module AqBanking
35
35
  BANKS.keys.map(&:to_s).each { |key| puts key }
36
36
  end
37
37
 
38
+ desc 'version', 'prints out the version of aq_banking'
39
+ def version
40
+ puts VERSION
41
+ end
42
+
38
43
  private
39
44
  def commander
40
45
  @commander ||= Commander.new
@@ -88,7 +88,7 @@ module AqBanking
88
88
  def call_getsysid(pin_file:, user_id:, bank_code:)
89
89
  cmd = "#{aq_hbci} -P #{pin_file} getsysid -u #{user_id} -b #{bank_code}"
90
90
 
91
- run_or_raise(cmd, 'could not get sysid')
91
+ run_or_raise(cmd, 'Could not get sysid. This might be because the userId or password is wrong. Check if these are the credentials with which you log into your online banking.')
92
92
  end
93
93
 
94
94
  private
@@ -1,3 +1,3 @@
1
1
  module AqBanking
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aq_banking
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robin Wenglewski
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-22 00:00:00.000000000 Z
11
+ date: 2016-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor