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 +4 -4
- data/README.md +1 -1
- data/exe/aq_banking +3 -2
- data/lib/aq_banking/cli.rb +5 -0
- data/lib/aq_banking/commander.rb +1 -1
- data/lib/aq_banking/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fdafa67936f926c7f71dd8c7ef8f301d4743024
|
4
|
+
data.tar.gz: c045f57adc27935b6a12d0ce21d5c9a16daa7fab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea6ec63c81dafc9c37d9da372c63d956abbf73504b611adc264f00ab31152d995f65c64e31c411cc1721bee65d7f03790e55a4cf441e50d4095912110800d74c
|
7
|
+
data.tar.gz: 3630b9bcddf7ddfce9fc05e597fcfaf335355afd60745dce0495e826dfbd9fc6a7c7e79a3156f45c8457b78d0f03d7f1087ef6098be4f6fd66246e80f7e70238
|
data/README.md
CHANGED
data/exe/aq_banking
CHANGED
@@ -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
|
data/lib/aq_banking/cli.rb
CHANGED
data/lib/aq_banking/commander.rb
CHANGED
@@ -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, '
|
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
|
data/lib/aq_banking/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2016-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|