ogone-rails 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 85bf7232247ca68a49644beb4636fd3a8d2ec4b8
4
- data.tar.gz: 1b1e0709f157e0c9dc83b75d9bd26ff7cbe07a04
3
+ metadata.gz: fcb9fedd57ff1c8ff42f71feb232030344c2b823
4
+ data.tar.gz: ab8be2ddad3c74aac0f41ae26b3d7283c9a82cda
5
5
  SHA512:
6
- metadata.gz: 049a138a5e2ef37230efa15fff8db35f78676f27b191d106b064eabb2bcd29a9a6f5ae2c8d5f7dd277701ffef38ba1104e3e3451c4b3438cbb4f109ebbf93ba2
7
- data.tar.gz: d2b7693c70e92478066904c4c65bcf04b051e63a372d8d1b6eeb352e235e2dbae6f4dd9f2d347bebbdd88508646d0dee22ecb428c3d8355b2585bfbd5034f6be
6
+ metadata.gz: 4651d574183d34f6308ec5f4ae9827f7af2dbc861f2618d24e3497dfa6c5f375961dacc6f8b7c51bb5f6293d488cc1bea098a9e2b09f283f259a90341d7f3cc5
7
+ data.tar.gz: 7be884d5efb396c1f4f44d9d6fdad9d07d8357fc0fd298fcd3376c269b42d2d1a5daf51ef5cc1158a5fbc07e0ab1d92c7a63d0e5df99d51fa2428ecd396b32b1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.6
data/lib/.DS_Store CHANGED
Binary file
data/lib/ogone-rails.rb CHANGED
@@ -11,8 +11,8 @@ require 'ogone-rails/check-auth'
11
11
 
12
12
 
13
13
  module OgoneRails
14
- ASSET_ROOT = File.expand_path((defined?(Rails) && Rails.root.to_s.length > 0) ? Rails.root : ENV['RAILS_ROOT'] || '.') unless defined?(ASSET_ROOT)
15
- DEFAULT_CONFIG = File.join( ASSET_ROOT, 'config', 'ogone.yml')
14
+ APP_ROOT = File.expand_path((defined?(Rails) && Rails.root.to_s.length > 0) ? Rails.root : ENV['RAILS_ROOT'] || '.') unless defined?(APP_ROOT)
15
+ DEFAULT_CONFIG = File.join( APP_ROOT, 'config', 'ogone.yml')
16
16
 
17
17
  class MissingConfiguration < NameError; end
18
18
 
@@ -25,7 +25,7 @@ module OgoneRails
25
25
  raise MissingConfiguration, "Could not find the #{ config_path } configuration file" unless exists
26
26
 
27
27
  # load ogone configuration
28
- config = YAML.load_file('config/ogone.yml')[Rails.env].symbolize_keys
28
+ config = YAML.load_file(DEFAULT_CONFIG)[Rails.env].symbolize_keys
29
29
  OgoneRails::config (config)
30
30
  end
31
31
  end
data/ogone-rails.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ogone-rails"
8
- s.version = "0.1.5"
8
+ s.version = "0.1.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Robin Houdmeyers"]
12
- s.date = "2013-04-12"
12
+ s.date = "2013-06-07"
13
13
  s.description = "Add Ogone payments functionality to your Rails application"
14
14
  s.email = "houdmeyers@gmail.com"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ogone-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robin Houdmeyers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-12 00:00:00.000000000 Z
11
+ date: 2013-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport