smsc_manager 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,13 +33,15 @@ class SmscConnection
33
33
 
34
34
  def dump
35
35
  #change this in database or here
36
- config = File.open(path_to_config,'w') { |f| YAML.dump(self,f) }
36
+ test_path=self.path_to_config
37
+ puts "Path to config file is: #{test_path}"
38
+ config = File.open(test_path,'w') { |f| YAML.dump(self,f) }
37
39
  end
38
40
  def self.load_smsc
39
41
  #change this in database or here
40
42
  test_path=self.path_to_config
41
- puts "Path to config is: #{test_path}"
42
- config = File.open(path_to_config) { |f| YAML.load(f) }
43
+ puts "Path to config file is: #{test_path}"
44
+ config = File.open(test_path) { |f| YAML.load(f) }
43
45
  #puts "config is: #{config} config.class is: #{config.class}"
44
46
  if config.class==SmscManager::SmscConnection
45
47
  smsc=config
@@ -2,7 +2,7 @@ module SmscManager #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- TINY = 3
5
+ TINY = 4
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: smsc_manager
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.2.3
6
+ version: 0.2.4
7
7
  date: 2007-02-12 00:00:00 +08:00
8
8
  summary: connection to smsc via http using kannel
9
9
  require_paths: