touchlocal-openx 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
@@ -5,7 +5,15 @@ module OpenX
5
5
  class Base
6
6
  include Comparable
7
7
 
8
- CONFIGURATION_YAML = File.join(ENV['HOME'], '.openx', 'credentials.yml')
8
+ # HOME || HOMEPATH is for Win32 users who do not have HOME set by default
9
+ #
10
+ # Configuration can be overridden for Rails at load time by doing this:
11
+ # OpenX::Services::Base.configuration =
12
+ # YAML.load_file(File.join(Rails.root, 'config', 'credentials.yml'))[Rails.env]
13
+ #
14
+ # Rescue nil is there for Rails sites that are monitored by Monit,
15
+ # which does not set the environment variables as expected
16
+ CONFIGURATION_YAML = File.join((ENV['HOME'] || ENV['HOMEPATH']), '.openx', 'credentials.yml') rescue nil
9
17
 
10
18
  @@connection = nil
11
19
  @@configuration = nil
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{touchlocal-openx}
8
- s.version = "1.1.0"
8
+ s.version = "1.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Aaron Patterson", "Andy Smith", "TouchLocal Plc"]
12
- s.date = %q{2009-10-26}
12
+ s.date = %q{2009-11-06}
13
13
  s.description = %q{A Ruby interface to the OpenX XML-RPC API}
14
14
  s.email = %q{info@touchlocal.com}
15
15
  s.extra_rdoc_files = [
@@ -45,7 +45,8 @@ Gem::Specification.new do |s|
45
45
  "test/test_campaign.rb",
46
46
  "test/test_publisher.rb",
47
47
  "test/test_session.rb",
48
- "test/test_zone.rb"
48
+ "test/test_zone.rb",
49
+ "touchlocal-openx.gemspec"
49
50
  ]
50
51
  s.homepage = %q{http://github.com/touchlocal/openx}
51
52
  s.rdoc_options = ["--charset=UTF-8"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: touchlocal-openx
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Patterson
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2009-10-26 00:00:00 +10:00
14
+ date: 2009-11-06 00:00:00 +10:00
15
15
  default_executable:
16
16
  dependencies: []
17
17