runoff 1.0.0 → 1.0.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: 25b2af0e2aa5ad4b5a8a408e3b5d0f61198970c8
4
- data.tar.gz: 00cea274e9778ac292e31139cd9b246423e76532
3
+ metadata.gz: 916e6a7065a8cc0db0d4d1622ec2b4ef22a6d81e
4
+ data.tar.gz: a9294104f13e7413cb485ac18985e843ffe2125d
5
5
  SHA512:
6
- metadata.gz: 0f4434fecb2f3b0b6c942a7032cf7ad1892793d641ac4530a7f6e5bb81f64765b3cd4434c115ed6f5f6f9d3c6c98643ac5dd0dc0292ecb26f0e109bf4de61f1d
7
- data.tar.gz: bf8051d987612af62f91f421e2fc98057594dbabdf7345167159aea259619f3dc106d6edb6418fed4483828fe06090c36663be117aa326adbc027d72226d550d
6
+ metadata.gz: 719fd36c30dc187090d40894a858a3bcd8c1767743c3ff09df9d31771b837e26f721e7a667b56c0e29e6355f8b7524343f60d565fa3fa09b1e699c4102240a36
7
+ data.tar.gz: 02d6a60b016a2639b3ab2aa94826061c2a0140bc4c00ddc5793fd49b1ae931e218fc5c0587a38d0495a30f48117f178ab4fac67516cecf7dcf66b99bd25d3878
data/README.md CHANGED
@@ -36,6 +36,7 @@ If you don't want to put files into an archive, use `--no-archive` option
36
36
 
37
37
  Things to do in the future versions:
38
38
 
39
- Nothing. For now.
39
+ - Parse all of XML specific things in the message.
40
+ - Output how many files have been exported.
40
41
 
41
42
  If you have something to say about this gem or anything else, you can find me on Twitter as [@aigarsdz](http://twitter.com/aigarsdz "@aigarsdz").
data/bin/runoff CHANGED
@@ -26,11 +26,11 @@ command :all do |c|
26
26
  Runoff::Commands::All.process args, options
27
27
  puts "Export finished.".colorize :green
28
28
  rescue ArgumentError => e
29
- puts e.colorize :red
29
+ puts e.message.colorize :red
30
30
  rescue Sequel::DatabaseError
31
31
  puts "Error: To use runoff you must make sure that the Skype is not running".colorize :red
32
32
  rescue StandardError => e
33
- puts e.colorize :red
33
+ puts e.message.colorize :red
34
34
  end
35
35
  end
36
36
  end
@@ -48,11 +48,11 @@ command :some do |c|
48
48
  Runoff::Commands::Some.process args, options
49
49
  puts "Export finished.".colorize :green
50
50
  rescue ArgumentError => e
51
- puts e.colorize :red
51
+ puts e.message.colorize :red
52
52
  rescue Sequel::DatabaseError
53
53
  puts "Error: To use runoff you must make sure that the Skype is not running".colorize :red
54
54
  rescue StandardError => e
55
- puts e.colorize :red
55
+ puts e.message.colorize :red
56
56
  end
57
57
  end
58
58
  end
@@ -5,7 +5,7 @@ module Runoff
5
5
  class Command
6
6
  def self.get_file_writer_components(args, options)
7
7
  if args.empty? && !options.from
8
- raise ArgumentError.new 'You must specify the Skype username or a --from option'
8
+ raise ArgumentError.new 'Error: You must specify the Skype username or a --from option'
9
9
  end
10
10
 
11
11
  main_db_path = Runoff::Location.get_database_path args[0], options
@@ -1,3 +1,3 @@
1
1
  module Runoff
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runoff
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aigars Dzerviniks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-01 00:00:00.000000000 Z
11
+ date: 2014-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander