sisow 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,5 +29,13 @@ module Sisow
29
29
  @debug_mode == true
30
30
  end
31
31
 
32
+ def merchant_key=(merchant_key)
33
+ @merchant_key = merchant_key.to_s
34
+ end
35
+
36
+ def merchant_id=(merchant_id)
37
+ @merchant_id = merchant_id.to_s
38
+ end
39
+
32
40
  end
33
41
  end
data/lib/sisow/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sisow
2
- VERSION = "0.9.1"
2
+ VERSION = "0.9.2"
3
3
  end
@@ -21,5 +21,15 @@ describe Sisow::Configuration do
21
21
  @configuration.debug_mode_enabled?.should == true
22
22
  end
23
23
 
24
+ it "should always save merchant_key as string" do
25
+ @configuration.merchant_key = 123
26
+ @configuration.merchant_key.should == '123'
27
+ end
28
+
29
+ it "should always save merchant_id as string" do
30
+ @configuration.merchant_id = 123
31
+ @configuration.merchant_id.should == '123'
32
+ end
33
+
24
34
 
25
35
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sisow
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.1
5
+ version: 0.9.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Marcel de Graaf
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-03-10 00:00:00 +01:00
13
+ date: 2012-03-13 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency