monetra 0.0.2.6 → 0.0.2.7

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.
data/Rakefile CHANGED
@@ -1,12 +1,13 @@
1
1
  require 'rubygems'
2
+ require 'psych'
2
3
  require 'rake'
3
4
  require 'echoe'
4
5
 
5
- Echoe.new('monetra', '0.0.2.6') do |p|
6
+ Echoe.new('monetra', '0.0.2.7') do |p|
6
7
  p.description = "A gem that uses the Monetra API to perform actions"
7
8
  p.url = "http://github.com/winelibrary/monetra"
8
9
  p.author = ["Dan Ahern", "John Kassimatis", "Brian Woolley"]
9
- p.email = ["gems@danahern.com", "yonnage@gmail.com", "bushfreakz@gmail.com"]
10
+ p.email = ["gems@danahern.com", "yonnage@gmail.com", "bwoolley@gmail.com"]
10
11
  p.ignore_pattern = ["tmp/*", "script/*"]
11
12
  p.development_dependencies = []
12
13
  end
data/lib/monetra.rb CHANGED
@@ -3,13 +3,14 @@ require 'open-uri'
3
3
  require 'builder'
4
4
  require 'active_support/core_ext'
5
5
  require 'csv'
6
+ require 'openssl'
6
7
 
7
8
  module Monetra
8
- require 'monetra/configuration'
9
- require 'monetra/connection'
10
- require 'monetra/transaction/admin'
11
- require 'monetra/transaction/engine'
12
- require 'monetra/transaction/token'
13
- require 'monetra/transaction/user'
14
- require 'monetra/parse'
9
+ require 'monetra/configuration'
10
+ require 'monetra/connection'
11
+ require 'monetra/transaction/admin'
12
+ require 'monetra/transaction/engine'
13
+ require 'monetra/transaction/token'
14
+ require 'monetra/transaction/user'
15
+ require 'monetra/parse'
15
16
  end
@@ -1,36 +1,36 @@
1
1
  module Monetra
2
- class Configuration
3
- class << self
4
- def options(options_or_path_to=nil)
5
- @options ||= case options_or_path_to.class.to_s
6
- when "String"
7
- YAML::load_file(options_or_path_to)
8
- when "Hash"
9
- options_or_path_to
10
- when "NilClass"
11
- YAML::load_file(File.join(Rails.root, 'config', 'monetra.yml'))[Rails.env]
12
- end
13
- end
14
-
15
- def user_name
16
- Monetra::Configuration.options["user_name"]
17
- end
18
-
19
- def password
20
- Monetra::Configuration.options["password"]
21
- end
22
-
23
- def host
24
- Monetra::Configuration.options["host"]
25
- end
26
-
27
- def port
28
- Monetra::Configuration.options["port"]
29
- end
30
-
31
- def use_ssl?
32
- Monetra::Configuration.options["use_ssl"]
33
- end
34
- end
35
- end
2
+ class Configuration
3
+ class << self
4
+ def options(options_or_path_to=nil)
5
+ @options ||= case options_or_path_to.class.to_s
6
+ when "String"
7
+ YAML::load_file(options_or_path_to)
8
+ when "Hash"
9
+ options_or_path_to
10
+ when "NilClass"
11
+ YAML::load_file(File.join(Rails.root, 'config', 'monetra.yml'))[Rails.env]
12
+ end
13
+ end
14
+
15
+ def user_name
16
+ Monetra::Configuration.options["user_name"]
17
+ end
18
+
19
+ def password
20
+ Monetra::Configuration.options["password"]
21
+ end
22
+
23
+ def host
24
+ Monetra::Configuration.options["host"]
25
+ end
26
+
27
+ def port
28
+ Monetra::Configuration.options["port"]
29
+ end
30
+
31
+ def use_ssl?
32
+ Monetra::Configuration.options["use_ssl"]
33
+ end
34
+ end
35
+ end
36
36
  end
@@ -1,15 +1,20 @@
1
1
  module Monetra
2
- class Connection
3
- class << self
4
- def base
5
- @base ||= Net::HTTP.new(Configuration.host, Configuration.port)
6
- end
7
-
8
- def post(data)
9
- base.use_ssl = Monetra::Configuration.use_ssl?
10
- request = base.post("/", data)
11
- request.body
12
- end
13
- end
14
- end
2
+ class Connection
3
+ class << self
4
+ def base
5
+ @base ||= Net::HTTP.new(Configuration.host, Configuration.port)
6
+ end
7
+
8
+ def post(data)
9
+ base.use_ssl = Monetra::Configuration.use_ssl?
10
+ if RUBY_VERSION.to_f == 1.9
11
+ base.verify_mode = OpenSSL::SSL::VERIFY_NONE
12
+ base.ca_path = '/etc/ssl/certs' if File.exists?('/etc/ssl/certs') # Ubuntu
13
+ base.ca_file = '/opt/local/share/curl/curl-ca-bundle.crt' if File.exists?('/opt/local/share/curl/curl-ca-bundle.crt') # Mac OS X
14
+ end
15
+ request = base.post("/", data)
16
+ request.body
17
+ end
18
+ end
19
+ end
15
20
  end
data/lib/monetra/parse.rb CHANGED
@@ -1,28 +1,28 @@
1
1
  module Monetra
2
- class Parse
3
- class << self
4
- def request(request={})
5
- xml = Builder::XmlMarkup.new({:indent => 2})
6
- xml.tag!("MonetraTrans") do
7
- case request.class.to_s
8
- when "Array"
9
- request.each_with_index do |transaction, index|
10
- xml.tag!("Trans", :identifier => index+1) do
11
- transaction.instance_variables.each do |key|
12
- xml.tag!(key.to_s.delete("@"), transaction.instance_variable_get(key))
13
- end
14
- end
15
- end
16
- else #Monetra::Transaction::Token::Request
17
- xml.tag!("Trans", :identifier => 1) do
18
- request.instance_variables.each do |key|
19
- xml.tag!(key.to_s.delete("@"), request.instance_variable_get(key))
20
- end
21
- end
22
- end
23
- end
24
- xml.target!
25
- end
26
- end
27
- end
2
+ class Parse
3
+ class << self
4
+ def request(request={})
5
+ xml = Builder::XmlMarkup.new({:indent => 2})
6
+ xml.tag!("MonetraTrans") do
7
+ case request.class.to_s
8
+ when "Array"
9
+ request.each_with_index do |transaction, index|
10
+ xml.tag!("Trans", :identifier => index+1) do
11
+ transaction.instance_variables.each do |key|
12
+ xml.tag!(key.to_s.delete("@"), transaction.instance_variable_get(key))
13
+ end
14
+ end
15
+ end
16
+ else #Monetra::Transaction::Token::Request
17
+ xml.tag!("Trans", :identifier => 1) do
18
+ request.instance_variables.each do |key|
19
+ xml.tag!(key.to_s.delete("@"), request.instance_variable_get(key))
20
+ end
21
+ end
22
+ end
23
+ end
24
+ xml.target!
25
+ end
26
+ end
27
+ end
28
28
  end
@@ -1,7 +1,7 @@
1
1
  module Monetra
2
- module Transaction
3
- class Admin
4
-
5
- end
6
- end
2
+ module Transaction
3
+ class Admin
4
+
5
+ end
6
+ end
7
7
  end
@@ -1,64 +1,64 @@
1
1
  module Monetra
2
- module Transaction
3
- module Engine
4
- class Request
5
- # attr_accessor :username, :password, :action, :annual_transaction_limit, :begin_date, :card_types, :company_name, :connection_id, :debug, :device_type, :end_date, :email, :encrypt, :error_code, :file
6
- # attr_accessor :industry_code, :ip_address, :key, :level, :license_id, :localhost_only, :error_marker, :max_version, :merchant_restrictions, :method, :mode, :num_users, :os, :partial, :partner_id
7
- # attr_accessor :processing_instructions, :profile_id, :pwd, :require_signed_modules, :required_modules, :restriction, :restriction_data, :restriction_type, :sqlite_only, :sub_account
8
- # attr_accessor :transaction_types, :ttid, :user
9
- #
10
- # alias_method :annual_transaction_limit=, :annual_trans_limit=
11
- # alias_method :begin_date=, :bdate=
12
- # alias_method :card_types=, :cardtypes=
13
- # alias_method :company_name=, :compname=
14
- # alias_method :connection_id=, :connid=
15
- # alias_method :device_type=, :devicetype=
16
- # alias_method :end_date=, :edate=
17
- # alias_method :error_code=, :errorcode=
18
- # alias_method :industry_code=, :indcode=
19
- # alias_method :ip_address=, :ipaddr
20
- # alias_method :error_code=, :errorcode=
21
- # alias_method :error_marker=, :marker=
22
- # alias_method :processing_instructions=, :proc=
23
- # alias_method :require_signed_modules=, :req_signed_mods=
24
- # alias_method :sub_account=, :sub=
25
- #
26
- #
27
- #
28
- # def begin_date=(value)
29
- # end
30
- #
31
- # def card_types=(value)
32
- # end
33
- #
34
- # def end_date=(value)
35
- # end
36
- #
37
- # def industry_code=(value)
38
- # end
39
- #
40
- # def restriction_type=(value)
41
- #
42
- # end
43
- end
44
-
45
- class Response
46
- # attr_accessor :code, :msoft_code, :verbiage, :card_types, :mode, :connection_priority, :email, :configured_methods, :current_method, :online_methods, :offline_methods
47
- #
48
- # alias_method :consecerrors
49
- # alias_method :card_types=, :cardtypes=
50
- # alias_method :connection_priority=, :conn_priority=
51
- # alias_method :configured_methods=, :configuredmethods=
52
- # alias_method :current_method=, :currentmethod
53
- # alias_method :online_methods, :onlinemethods
54
- # alias_method :offline_methods, :offlinemethods
55
- #
56
- # def code=(value)
57
- # end
58
- #
59
- # def msoft_code=(value)
60
- # end
61
- end
62
- end
63
- end
2
+ module Transaction
3
+ module Engine
4
+ class Request
5
+ # attr_accessor :username, :password, :action, :annual_transaction_limit, :begin_date, :card_types, :company_name, :connection_id, :debug, :device_type, :end_date, :email, :encrypt, :error_code, :file
6
+ # attr_accessor :industry_code, :ip_address, :key, :level, :license_id, :localhost_only, :error_marker, :max_version, :merchant_restrictions, :method, :mode, :num_users, :os, :partial, :partner_id
7
+ # attr_accessor :processing_instructions, :profile_id, :pwd, :require_signed_modules, :required_modules, :restriction, :restriction_data, :restriction_type, :sqlite_only, :sub_account
8
+ # attr_accessor :transaction_types, :ttid, :user
9
+ #
10
+ # alias_method :annual_transaction_limit=, :annual_trans_limit=
11
+ # alias_method :begin_date=, :bdate=
12
+ # alias_method :card_types=, :cardtypes=
13
+ # alias_method :company_name=, :compname=
14
+ # alias_method :connection_id=, :connid=
15
+ # alias_method :device_type=, :devicetype=
16
+ # alias_method :end_date=, :edate=
17
+ # alias_method :error_code=, :errorcode=
18
+ # alias_method :industry_code=, :indcode=
19
+ # alias_method :ip_address=, :ipaddr
20
+ # alias_method :error_code=, :errorcode=
21
+ # alias_method :error_marker=, :marker=
22
+ # alias_method :processing_instructions=, :proc=
23
+ # alias_method :require_signed_modules=, :req_signed_mods=
24
+ # alias_method :sub_account=, :sub=
25
+ #
26
+ #
27
+ #
28
+ # def begin_date=(value)
29
+ # end
30
+ #
31
+ # def card_types=(value)
32
+ # end
33
+ #
34
+ # def end_date=(value)
35
+ # end
36
+ #
37
+ # def industry_code=(value)
38
+ # end
39
+ #
40
+ # def restriction_type=(value)
41
+ #
42
+ # end
43
+ end
44
+
45
+ class Response
46
+ # attr_accessor :code, :msoft_code, :verbiage, :card_types, :mode, :connection_priority, :email, :configured_methods, :current_method, :online_methods, :offline_methods
47
+ #
48
+ # alias_method :consecerrors
49
+ # alias_method :card_types=, :cardtypes=
50
+ # alias_method :connection_priority=, :conn_priority=
51
+ # alias_method :configured_methods=, :configuredmethods=
52
+ # alias_method :current_method=, :currentmethod
53
+ # alias_method :online_methods, :onlinemethods
54
+ # alias_method :offline_methods, :offlinemethods
55
+ #
56
+ # def code=(value)
57
+ # end
58
+ #
59
+ # def msoft_code=(value)
60
+ # end
61
+ end
62
+ end
63
+ end
64
64
  end
@@ -1,115 +1,115 @@
1
1
  module Monetra
2
- module Transaction
3
- module Token
4
- class Request
5
- attr_accessor :username, :password, :action, :account, :admin, :type, :expdate, :street, :zip, :clientref, :desc, :token, :expdate_end
6
- attr_accessor :active, :hist_id, :amount, :installment_total, :frequency, :bdate, :edate, :cardholdername
7
- def initialize(attributes={})
8
- attributes.each do |att, val|
9
- self.__send__("#{att}=", val) if self.respond_to?("#{att}=")
10
- end
11
- end
12
- end
13
-
14
- class Response
15
- attr_accessor :code, :verbiage, :token
16
- attr_accessor :token, :type, :active, :cardtype, :account, :expdate, :cardholdername, :street, :zip, :descr, :clientref, :amount, :frequency, :bdate, :edate, :installment_num, :installment_total
17
- attr_accessor :last_run_id, :last_success_date, :last_run_date, :next_run_date, :next_run_amount, :abaroute, :datablock
18
-
19
- def initialize(attributes={})
20
- attributes.each do |att, val|
21
- self.__send__("#{att}=", val) if self.respond_to?("#{att}=")
22
- end
23
- end
24
-
25
- def datablock=(data)
26
- csv_data = CSV.parse(data)
27
- headers = csv_data.shift.map {|i| i.to_s }
28
- string_data = csv_data.map {|row| row.map {|cell| cell.to_s } }
29
- array_of_hashes = string_data.map {|row| Hash[*headers.zip(row).flatten] }
30
- array_of_hashes.first.each_pair do |k,v|
31
- self.__send__("#{k}=", v)
32
- end
33
- end
34
- end
35
-
36
-
37
- class << self
38
- def new(attributes={})
39
- request = Request.new(attributes.merge(:action => "Admin", :type => "store", :admin => "recurringadd", :username => Monetra::Configuration.user_name, :password => Monetra::Configuration.password))
40
- body = Connection.post(Monetra::Parse.request(request))
41
- body = Hash.from_xml(body)
42
- transfer_status = body["MonetraResp"]["DataTransferStatus"]
43
- responses = case body["MonetraResp"]["Resp"].class.to_s
44
- when "Hash"
45
- hash_response(body["MonetraResp"]["Resp"])
46
- when "Array"
47
- array_response(body["MonetraResp"]["Resp"])
48
- end
49
- responses
50
- end
51
-
52
- def find(attributes={})
53
- request = Request.new(attributes.merge(:action => "Admin", :type => "store", :admin => "recurringlist", :username => Monetra::Configuration.user_name, :password => Monetra::Configuration.password))
54
- body = Connection.post(Monetra::Parse.request(request))
55
- body = Hash.from_xml(body)
56
- transfer_status = body["MonetraResp"]["DataTransferStatus"]
57
- responses = case body["MonetraResp"]["Resp"].class.to_s
58
- when "Hash"
59
- hash_response(body["MonetraResp"]["Resp"])
60
- when "Array"
61
- array_response(body["MonetraResp"]["Resp"])
62
- end
63
- responses
64
- end
65
-
66
- def edit(attributes={})
67
- request = Request.new(attributes.merge(:action => "Admin", :type => "store", :admin => "recurringedit", :username => Monetra::Configuration.user_name, :password => Monetra::Configuration.password))
68
- body = Connection.post(Monetra::Parse.request(request))
69
- body = Hash.from_xml(body)
70
- transfer_status = body["MonetraResp"]["DataTransferStatus"]
71
- responses = case body["MonetraResp"]["Resp"].class.to_s
72
- when "Hash"
73
- hash_response(body["MonetraResp"]["Resp"])
74
- when "Array"
75
- array_response(body["MonetraResp"]["Resp"])
76
- end
77
- responses
78
- end
79
-
80
- def destroy(attributes={})
81
- request = Request.new(attributes.merge(:action => "Admin", :type => "store", :admin => "recurringdel", :username => Monetra::Configuration.user_name, :password => Monetra::Configuration.password))
82
- body = Connection.post(Monetra::Parse.request(request))
83
- body = Hash.from_xml(body)
84
- transfer_status = body["MonetraResp"]["DataTransferStatus"]
85
- responses = case body["MonetraResp"]["Resp"].class.to_s
86
- when "Hash"
87
- hash_response(body["MonetraResp"]["Resp"])
88
- when "Array"
89
- array_response(body["MonetraResp"]["Resp"])
90
- end
91
- responses
92
- end
93
-
94
- private
95
- def hash_response(response)
96
- response_hash = {}
97
- response.each_pair do |k,v|
98
- response_hash[k.downcase] = v
99
- end
100
- Response.new(response_hash)
101
- end
102
-
103
- def array_response(responses)
104
- responses.map do |resp|
105
- response_hash = {}
106
- resp.each_pair do |k,v|
107
- response_hash[k.downcase] = v
108
- end
109
- Response.new(resp)
110
- end
111
- end
112
- end
113
- end
114
- end
2
+ module Transaction
3
+ module Token
4
+ class Request
5
+ attr_accessor :username, :password, :action, :account, :admin, :type, :expdate, :street, :zip, :clientref, :desc, :token, :expdate_end
6
+ attr_accessor :active, :hist_id, :amount, :installment_total, :frequency, :bdate, :edate, :cardholdername
7
+ def initialize(attributes={})
8
+ attributes.each do |att, val|
9
+ self.__send__("#{att}=", val) if self.respond_to?("#{att}=")
10
+ end
11
+ end
12
+ end
13
+
14
+ class Response
15
+ attr_accessor :code, :verbiage, :token
16
+ attr_accessor :token, :type, :active, :cardtype, :account, :expdate, :cardholdername, :street, :zip, :descr, :clientref, :amount, :frequency, :bdate, :edate, :installment_num, :installment_total
17
+ attr_accessor :last_run_id, :last_success_date, :last_run_date, :next_run_date, :next_run_amount, :abaroute, :datablock
18
+
19
+ def initialize(attributes={})
20
+ attributes.each do |att, val|
21
+ self.__send__("#{att}=", val) if self.respond_to?("#{att}=")
22
+ end
23
+ end
24
+
25
+ def datablock=(data)
26
+ csv_data = CSV.parse(data)
27
+ headers = csv_data.shift.map {|i| i.to_s }
28
+ string_data = csv_data.map {|row| row.map {|cell| cell.to_s } }
29
+ array_of_hashes = string_data.map {|row| Hash[*headers.zip(row).flatten] }
30
+ array_of_hashes.first.each_pair do |k,v|
31
+ self.__send__("#{k}=", v)
32
+ end
33
+ end
34
+ end
35
+
36
+
37
+ class << self
38
+ def new(attributes={})
39
+ request = Request.new(attributes.merge(:action => "Admin", :type => "store", :admin => "recurringadd", :username => Monetra::Configuration.user_name, :password => Monetra::Configuration.password))
40
+ body = Connection.post(Monetra::Parse.request(request))
41
+ body = Hash.from_xml(body)
42
+ transfer_status = body["MonetraResp"]["DataTransferStatus"]
43
+ responses = case body["MonetraResp"]["Resp"].class.to_s
44
+ when "Hash"
45
+ hash_response(body["MonetraResp"]["Resp"])
46
+ when "Array"
47
+ array_response(body["MonetraResp"]["Resp"])
48
+ end
49
+ responses
50
+ end
51
+
52
+ def find(attributes={})
53
+ request = Request.new(attributes.merge(:action => "Admin", :type => "store", :admin => "recurringlist", :username => Monetra::Configuration.user_name, :password => Monetra::Configuration.password))
54
+ body = Connection.post(Monetra::Parse.request(request))
55
+ body = Hash.from_xml(body)
56
+ transfer_status = body["MonetraResp"]["DataTransferStatus"]
57
+ responses = case body["MonetraResp"]["Resp"].class.to_s
58
+ when "Hash"
59
+ hash_response(body["MonetraResp"]["Resp"])
60
+ when "Array"
61
+ array_response(body["MonetraResp"]["Resp"])
62
+ end
63
+ responses
64
+ end
65
+
66
+ def edit(attributes={})
67
+ request = Request.new(attributes.merge(:action => "Admin", :type => "store", :admin => "recurringedit", :username => Monetra::Configuration.user_name, :password => Monetra::Configuration.password))
68
+ body = Connection.post(Monetra::Parse.request(request))
69
+ body = Hash.from_xml(body)
70
+ transfer_status = body["MonetraResp"]["DataTransferStatus"]
71
+ responses = case body["MonetraResp"]["Resp"].class.to_s
72
+ when "Hash"
73
+ hash_response(body["MonetraResp"]["Resp"])
74
+ when "Array"
75
+ array_response(body["MonetraResp"]["Resp"])
76
+ end
77
+ responses
78
+ end
79
+
80
+ def destroy(attributes={})
81
+ request = Request.new(attributes.merge(:action => "Admin", :type => "store", :admin => "recurringdel", :username => Monetra::Configuration.user_name, :password => Monetra::Configuration.password))
82
+ body = Connection.post(Monetra::Parse.request(request))
83
+ body = Hash.from_xml(body)
84
+ transfer_status = body["MonetraResp"]["DataTransferStatus"]
85
+ responses = case body["MonetraResp"]["Resp"].class.to_s
86
+ when "Hash"
87
+ hash_response(body["MonetraResp"]["Resp"])
88
+ when "Array"
89
+ array_response(body["MonetraResp"]["Resp"])
90
+ end
91
+ responses
92
+ end
93
+
94
+ private
95
+ def hash_response(response)
96
+ response_hash = {}
97
+ response.each_pair do |k,v|
98
+ response_hash[k.downcase] = v
99
+ end
100
+ Response.new(response_hash)
101
+ end
102
+
103
+ def array_response(responses)
104
+ responses.map do |resp|
105
+ response_hash = {}
106
+ resp.each_pair do |k,v|
107
+ response_hash[k.downcase] = v
108
+ end
109
+ Response.new(resp)
110
+ end
111
+ end
112
+ end
113
+ end
114
+ end
115
115
  end
@@ -1,13 +1,13 @@
1
1
  module Monetra
2
- module Transaction
3
- module User
4
- class Request
5
- attr_accessor :username, :password, :action, :account
6
- end
7
-
8
- class Response
9
-
10
- end
11
- end
12
- end
2
+ module Transaction
3
+ module User
4
+ class Request
5
+ attr_accessor :username, :password, :action, :account, :advancedeposit, :amount, :apprcode, :batch, :bdate, :capture, :cardholdername, :cardpresent, :cashbackamount, :cavv, :clerkid, :comments, :curr, :custref, :cv, :dentalamount, :descloc, :descmerch, :edate, :examount, :excharges,
6
+ end
7
+
8
+ class Response
9
+
10
+ end
11
+ end
12
+ end
13
13
  end
data/monetra.gemspec CHANGED
@@ -2,20 +2,20 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{monetra}
5
- s.version = "0.0.2.6"
5
+ s.version = "0.0.2.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Dan Ahern, John Kassimatis, Brian Woolley"]
9
- s.date = %q{2011-02-10}
8
+ s.authors = [%q{Dan Ahern, John Kassimatis, Brian Woolley}]
9
+ s.date = %q{2011-08-03}
10
10
  s.description = %q{A gem that uses the Monetra API to perform actions}
11
- s.email = ["gems@danahern.com", "yonnage@gmail.com", "bushfreakz@gmail.com"]
12
- s.extra_rdoc_files = ["lib/monetra.rb", "lib/monetra/configuration.rb", "lib/monetra/connection.rb", "lib/monetra/parse.rb", "lib/monetra/transaction.rb", "lib/monetra/transaction/admin.rb", "lib/monetra/transaction/engine.rb", "lib/monetra/transaction/token.rb", "lib/monetra/transaction/user.rb"]
13
- s.files = ["Manifest", "Rakefile", "lib/monetra.rb", "lib/monetra/configuration.rb", "lib/monetra/connection.rb", "lib/monetra/parse.rb", "lib/monetra/transaction.rb", "lib/monetra/transaction/admin.rb", "lib/monetra/transaction/engine.rb", "lib/monetra/transaction/token.rb", "lib/monetra/transaction/user.rb", "monetra.gemspec"]
11
+ s.email = [%q{gems@danahern.com}, %q{yonnage@gmail.com}, %q{bwoolley@gmail.com}]
12
+ s.extra_rdoc_files = [%q{lib/monetra.rb}, %q{lib/monetra/configuration.rb}, %q{lib/monetra/connection.rb}, %q{lib/monetra/parse.rb}, %q{lib/monetra/transaction.rb}, %q{lib/monetra/transaction/admin.rb}, %q{lib/monetra/transaction/engine.rb}, %q{lib/monetra/transaction/token.rb}, %q{lib/monetra/transaction/user.rb}]
13
+ s.files = [%q{Manifest}, %q{Rakefile}, %q{lib/monetra.rb}, %q{lib/monetra/configuration.rb}, %q{lib/monetra/connection.rb}, %q{lib/monetra/parse.rb}, %q{lib/monetra/transaction.rb}, %q{lib/monetra/transaction/admin.rb}, %q{lib/monetra/transaction/engine.rb}, %q{lib/monetra/transaction/token.rb}, %q{lib/monetra/transaction/user.rb}, %q{monetra.gemspec}]
14
14
  s.homepage = %q{http://github.com/winelibrary/monetra}
15
- s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Monetra"]
16
- s.require_paths = ["lib"]
15
+ s.rdoc_options = [%q{--line-numbers}, %q{--inline-source}, %q{--title}, %q{Monetra}]
16
+ s.require_paths = [%q{lib}]
17
17
  s.rubyforge_project = %q{monetra}
18
- s.rubygems_version = %q{1.5.0}
18
+ s.rubygems_version = %q{1.8.6}
19
19
  s.summary = %q{A gem that uses the Monetra API to perform actions}
20
20
 
21
21
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,35 +1,24 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: monetra
3
- version: !ruby/object:Gem::Version
4
- hash: 75
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2.7
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 2
10
- - 6
11
- version: 0.0.2.6
12
6
  platform: ruby
13
- authors:
7
+ authors:
14
8
  - Dan Ahern, John Kassimatis, Brian Woolley
15
9
  autorequire:
16
10
  bindir: bin
17
11
  cert_chain: []
18
-
19
- date: 2011-02-10 00:00:00 -05:00
20
- default_executable:
12
+ date: 2011-08-03 00:00:00.000000000Z
21
13
  dependencies: []
22
-
23
14
  description: A gem that uses the Monetra API to perform actions
24
- email:
15
+ email:
25
16
  - gems@danahern.com
26
17
  - yonnage@gmail.com
27
- - bushfreakz@gmail.com
18
+ - bwoolley@gmail.com
28
19
  executables: []
29
-
30
20
  extensions: []
31
-
32
- extra_rdoc_files:
21
+ extra_rdoc_files:
33
22
  - lib/monetra.rb
34
23
  - lib/monetra/configuration.rb
35
24
  - lib/monetra/connection.rb
@@ -39,7 +28,7 @@ extra_rdoc_files:
39
28
  - lib/monetra/transaction/engine.rb
40
29
  - lib/monetra/transaction/token.rb
41
30
  - lib/monetra/transaction/user.rb
42
- files:
31
+ files:
43
32
  - Manifest
44
33
  - Rakefile
45
34
  - lib/monetra.rb
@@ -52,43 +41,32 @@ files:
52
41
  - lib/monetra/transaction/token.rb
53
42
  - lib/monetra/transaction/user.rb
54
43
  - monetra.gemspec
55
- has_rdoc: true
56
44
  homepage: http://github.com/winelibrary/monetra
57
45
  licenses: []
58
-
59
46
  post_install_message:
60
- rdoc_options:
47
+ rdoc_options:
61
48
  - --line-numbers
62
49
  - --inline-source
63
50
  - --title
64
51
  - Monetra
65
- require_paths:
52
+ require_paths:
66
53
  - lib
67
- required_ruby_version: !ruby/object:Gem::Requirement
54
+ required_ruby_version: !ruby/object:Gem::Requirement
68
55
  none: false
69
- requirements:
70
- - - ">="
71
- - !ruby/object:Gem::Version
72
- hash: 3
73
- segments:
74
- - 0
75
- version: "0"
76
- required_rubygems_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ! '>='
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ required_rubygems_version: !ruby/object:Gem::Requirement
77
61
  none: false
78
- requirements:
79
- - - ">="
80
- - !ruby/object:Gem::Version
81
- hash: 11
82
- segments:
83
- - 1
84
- - 2
85
- version: "1.2"
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '1.2'
86
66
  requirements: []
87
-
88
67
  rubyforge_project: monetra
89
- rubygems_version: 1.5.0
68
+ rubygems_version: 1.8.6
90
69
  signing_key:
91
70
  specification_version: 3
92
71
  summary: A gem that uses the Monetra API to perform actions
93
72
  test_files: []
94
-