monetra 0.1.21 → 0.1.22
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/monetra/connection.rb +2 -2
- data/monetra.gemspec +1 -1
- metadata +1 -1
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.
|
6
|
+
Echoe.new('monetra', '0.1.22') do |p|
|
7
7
|
p.description = "Wine Library Monetra gem to interface with their API"
|
8
8
|
p.url = "http://github.com/winelibrary/monetra"
|
9
9
|
p.author = ["Dan Ahern", "John Kassimatis", "Brian Woolley"]
|
data/lib/monetra/connection.rb
CHANGED
@@ -19,10 +19,10 @@ module Monetra
|
|
19
19
|
case
|
20
20
|
when ENV["SSL_CERT_FILE"]
|
21
21
|
base.ca_file = ENV["SSL_CERT_FILE"]
|
22
|
-
when File.exists?('/usr/lib/ssl/certs/ca-certificates.crt') # heroku
|
23
|
-
base.ca_file = '/usr/lib/ssl/certs/ca-certificates.crt'
|
24
22
|
when File.exists?('/etc/ssl/certs') # Ubuntu
|
25
23
|
base.ca_path = '/etc/ssl/certs'
|
24
|
+
when File.exists?('/usr/lib/ssl/certs/ca-certificates.crt') # heroku
|
25
|
+
base.ca_file = '/usr/lib/ssl/certs/ca-certificates.crt'
|
26
26
|
when File.exists?('/opt/local/share/curl/curl-ca-bundle.crt') # Mac OS X
|
27
27
|
base.ca_file = '/opt/local/share/curl/curl-ca-bundle.crt'
|
28
28
|
end
|
data/monetra.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "monetra"
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.22"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Dan Ahern, John Kassimatis, Brian Woolley"]
|