monetra 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest CHANGED
@@ -9,3 +9,4 @@ lib/monetra/transaction/admin.rb
9
9
  lib/monetra/transaction/engine.rb
10
10
  lib/monetra/transaction/token.rb
11
11
  lib/monetra/transaction/user.rb
12
+ monetra.gemspec
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'psych'
3
3
  require 'rake'
4
4
  require 'echoe'
5
5
  YAML::ENGINE.yamler = 'syck'
6
- Echoe.new('monetra', '0.1.10') do |p|
6
+ Echoe.new('monetra', '0.1.11') do |p|
7
7
  p.description = "A gem that uses the Monetra API to perform actions"
8
8
  p.url = "http://github.com/winelibrary/monetra"
9
9
  p.author = ["Dan Ahern", "John Kassimatis", "Brian Woolley"]
@@ -29,7 +29,7 @@ module Monetra
29
29
  end
30
30
 
31
31
  def use_ssl?
32
- Monetra::Configuration.options["use_ssl"]
32
+ Monetra::Configuration.options["use_ssl"]
33
33
  end
34
34
  end
35
35
  end
@@ -8,7 +8,8 @@ module Monetra
8
8
  def post(data)
9
9
  base.use_ssl = Monetra::Configuration.use_ssl?
10
10
  if RUBY_VERSION.to_f == 1.9
11
- base.verify_mode = OpenSSL::SSL::VERIFY_NONE
11
+ base.verify_mode = OpenSSL::SSL::VERIFY_PEER
12
+ base.ca_file = '/usr/lib/ssl/certs/ca-certificates.crt' if File.exists?('/usr/lib/ssl/certs/ca-certificates.crt') # Ubuntu
12
13
  base.ca_path = '/etc/ssl/certs' if File.exists?('/etc/ssl/certs') # Ubuntu
13
14
  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
15
  end
data/monetra.gemspec CHANGED
@@ -1,22 +1,22 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  Gem::Specification.new do |s|
4
- s.name = %q{monetra}
5
- s.version = "0.1.10"
4
+ s.name = "monetra"
5
+ s.version = "0.1.11"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
- s.authors = [%q{Dan Ahern, John Kassimatis, Brian Woolley}]
9
- s.date = %q{2011-08-04}
10
- s.description = %q{A gem that uses the Monetra API to perform actions}
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
- s.homepage = %q{http://github.com/winelibrary/monetra}
15
- s.rdoc_options = [%q{--line-numbers}, %q{--inline-source}, %q{--title}, %q{Monetra}]
16
- s.require_paths = [%q{lib}]
17
- s.rubyforge_project = %q{monetra}
18
- s.rubygems_version = %q{1.8.6}
19
- s.summary = %q{A gem that uses the Monetra API to perform actions}
8
+ s.authors = ["Dan Ahern, John Kassimatis, Brian Woolley"]
9
+ s.date = "2012-01-31"
10
+ s.description = "A gem that uses the Monetra API to perform actions"
11
+ s.email = ["gems@danahern.com", "yonnage@gmail.com", "bwoolley@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"]
14
+ s.homepage = "http://github.com/winelibrary/monetra"
15
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Monetra"]
16
+ s.require_paths = ["lib"]
17
+ s.rubyforge_project = "monetra"
18
+ s.rubygems_version = "1.8.10"
19
+ s.summary = "A gem that uses the Monetra API to perform actions"
20
20
 
21
21
  if s.respond_to? :specification_version then
22
22
  s.specification_version = 3
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: monetra
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.10
5
+ version: 0.1.11
6
6
  platform: ruby
7
7
  authors:
8
8
  - Dan Ahern, John Kassimatis, Brian Woolley
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-08-04 00:00:00 Z
13
+ date: 2012-01-31 00:00:00 Z
14
14
  dependencies: []
15
15
 
16
16
  description: A gem that uses the Monetra API to perform actions
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements: []
72
72
 
73
73
  rubyforge_project: monetra
74
- rubygems_version: 1.8.6
74
+ rubygems_version: 1.8.10
75
75
  signing_key:
76
76
  specification_version: 3
77
77
  summary: A gem that uses the Monetra API to perform actions