authorize_net 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/authorize_net.rb +10 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61c03727b2b4ca4c5cf14196c5c19e63727ea86a
|
4
|
+
data.tar.gz: 02322a12b0f2ae84ba58d53a7ecfa32f98b55fb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cd151c20ea0de92c4bab24e989ba8597ad8ce412753aca5c860bbbad3e117905a0869d7b11110b0204fbb39e9daf8bc50e25ceb4e998c85e3f155aad8c4daca
|
7
|
+
data.tar.gz: ba638b856acb17cb8db02dff6ac07268b8d0a07c420b2e899018bd10e23aa04c9cd0c943c6a3aad064b18ea2196334a035960bf2b61f6fdbad2ed7d2f85e04c2
|
data/lib/authorize_net.rb
CHANGED
@@ -22,9 +22,15 @@ module AuthorizeNet
|
|
22
22
|
end
|
23
23
|
|
24
24
|
# require all authorize-net files
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
25
|
+
current_dir = __FILE__.match(/(.*)\/authorize_net.rb/)
|
26
|
+
if !current_dir.nil?
|
27
|
+
authorize_dir = current_dir[1] + "/authorize_net/**/*.rb"
|
28
|
+
|
29
|
+
Dir[authorize_dir].each do |filename|
|
30
|
+
require filename
|
29
31
|
end
|
32
|
+
|
33
|
+
else
|
34
|
+
raise "Error loading authorize_net files"
|
30
35
|
end
|
36
|
+
|