360_services 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/360_services.gemspec +1 -1
- data/Rakefile +1 -1
- data/lib/sorenson/services/base.rb +1 -1
- metadata +2 -2
data/360_services.gemspec
CHANGED
data/Rakefile
CHANGED
@@ -4,7 +4,7 @@ require 'cucumber/rake/task'
|
|
4
4
|
require 'echoe'
|
5
5
|
|
6
6
|
|
7
|
-
Echoe.new('360_services', '1.1.
|
7
|
+
Echoe.new('360_services', '1.1.3') do |p|
|
8
8
|
p.description = "Ruby bindings for Sorenson 360 Services"
|
9
9
|
p.url = "http://github.com/sorenson/360_services"
|
10
10
|
p.author = "Sorenson Media"
|
@@ -23,7 +23,7 @@ module Sorenson
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def self.host
|
26
|
-
((
|
26
|
+
((ENV['360LOCAL'].to_s.upcase == 'TRUE' && ENV['RAILS_ENV'] == 'development') || ['test', 'cucumber'].include?(ENV['RAILS_ENV'])) ? 'http://localhost:3001' : 'http://360services.sorensonmedia.com'
|
27
27
|
end
|
28
28
|
|
29
29
|
def self.post_to(url, payload = {})
|