monetra 0.0.2.3 → 0.0.2.6

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
@@ -2,11 +2,11 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('monetra', '0.0.2.3') do |p|
5
+ Echoe.new('monetra', '0.0.2.6') do |p|
6
6
  p.description = "A gem that uses the Monetra API to perform actions"
7
7
  p.url = "http://github.com/winelibrary/monetra"
8
- p.author = "Dan Ahern"
9
- p.email = "gems@danahern.com"
8
+ p.author = ["Dan Ahern", "John Kassimatis", "Brian Woolley"]
9
+ p.email = ["gems@danahern.com", "yonnage@gmail.com", "bushfreakz@gmail.com"]
10
10
  p.ignore_pattern = ["tmp/*", "script/*"]
11
11
  p.development_dependencies = []
12
12
  end
@@ -27,6 +27,10 @@ module Monetra
27
27
  def port
28
28
  Monetra::Configuration.options["port"]
29
29
  end
30
+
31
+ def use_ssl?
32
+ Monetra::Configuration.options["use_ssl"]
33
+ end
30
34
  end
31
35
  end
32
36
  end
@@ -6,6 +6,7 @@ module Monetra
6
6
  end
7
7
 
8
8
  def post(data)
9
+ base.use_ssl = Monetra::Configuration.use_ssl?
9
10
  request = base.post("/", data)
10
11
  request.body
11
12
  end
@@ -2,24 +2,23 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{monetra}
5
- s.version = "0.0.2.3"
5
+ s.version = "0.0.2.6"
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"]
9
- s.date = %q{2010-11-18}
8
+ s.authors = ["Dan Ahern, John Kassimatis, Brian Woolley"]
9
+ s.date = %q{2011-02-10}
10
10
  s.description = %q{A gem that uses the Monetra API to perform actions}
11
- s.email = %q{gems@danahern.com}
11
+ s.email = ["gems@danahern.com", "yonnage@gmail.com", "bushfreakz@gmail.com"]
12
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
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"]
14
14
  s.homepage = %q{http://github.com/winelibrary/monetra}
15
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Monetra"]
16
16
  s.require_paths = ["lib"]
17
17
  s.rubyforge_project = %q{monetra}
18
- s.rubygems_version = %q{1.3.7}
18
+ s.rubygems_version = %q{1.5.0}
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
22
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
23
22
  s.specification_version = 3
24
23
 
25
24
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,26 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monetra
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 75
5
+ prerelease:
5
6
  segments:
6
7
  - 0
7
8
  - 0
8
9
  - 2
9
- - 3
10
- version: 0.0.2.3
10
+ - 6
11
+ version: 0.0.2.6
11
12
  platform: ruby
12
13
  authors:
13
- - Dan Ahern
14
+ - Dan Ahern, John Kassimatis, Brian Woolley
14
15
  autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2010-11-18 00:00:00 -05:00
19
+ date: 2011-02-10 00:00:00 -05:00
19
20
  default_executable:
20
21
  dependencies: []
21
22
 
22
23
  description: A gem that uses the Monetra API to perform actions
23
- email: gems@danahern.com
24
+ email:
25
+ - gems@danahern.com
26
+ - yonnage@gmail.com
27
+ - bushfreakz@gmail.com
24
28
  executables: []
25
29
 
26
30
  extensions: []
@@ -65,6 +69,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
69
  requirements:
66
70
  - - ">="
67
71
  - !ruby/object:Gem::Version
72
+ hash: 3
68
73
  segments:
69
74
  - 0
70
75
  version: "0"
@@ -73,6 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
78
  requirements:
74
79
  - - ">="
75
80
  - !ruby/object:Gem::Version
81
+ hash: 11
76
82
  segments:
77
83
  - 1
78
84
  - 2
@@ -80,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
86
  requirements: []
81
87
 
82
88
  rubyforge_project: monetra
83
- rubygems_version: 1.3.7
89
+ rubygems_version: 1.5.0
84
90
  signing_key:
85
91
  specification_version: 3
86
92
  summary: A gem that uses the Monetra API to perform actions