bitex_bot 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,19 +1,21 @@
1
1
  require 'settingslogic'
2
2
 
3
- class BitexBot::Settings < Settingslogic
4
- def self.load_default
5
- path = ARGV[0] || File.expand_path('bitex_bot_settings.yml', Dir.pwd)
6
- unless FileTest.exists?(path)
7
- sample_path = File.expand_path('../../../settings.yml.sample', __FILE__)
8
- FileUtils.cp(sample_path, path)
9
- puts "No settings found, I've created a new one with sample "\
10
- "values at #{path}. Please go ahead and edit it before running this again."
11
- exit 1
3
+ module BitexBot
4
+ class Settings < Settingslogic
5
+ def self.load_default
6
+ path = ARGV[0] || File.expand_path('bitex_bot_settings.yml', Dir.pwd)
7
+ unless FileTest.exists?(path)
8
+ sample_path = File.expand_path('../../../settings.yml.sample', __FILE__)
9
+ FileUtils.cp(sample_path, path)
10
+ puts "No settings found, I've created a new one with sample "\
11
+ "values at #{path}. Please go ahead and edit it before running this again."
12
+ exit 1
13
+ end
14
+ source path
15
+ end
16
+
17
+ def self.load_test
18
+ source File.expand_path('../../../settings.yml.sample', __FILE__)
12
19
  end
13
- source path
14
- end
15
-
16
- def self.load_test
17
- source File.expand_path('../../../settings.yml.sample', __FILE__)
18
20
  end
19
21
  end
@@ -1,3 +1,3 @@
1
1
  module BitexBot
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitex_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: