ipizza-rails 2.0.0 → 2.0.1

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: 355e02999d9c5ceff3c2649893b70e76032496bd
4
- data.tar.gz: a82deac3f9f7919902bd89d225f3b3d516c3744b
3
+ metadata.gz: d987412857a8e055ecc80cb05c75f0c8417d7d29
4
+ data.tar.gz: 74fd905562f6284e3d8cd17fdfe926ee27afe706
5
5
  SHA512:
6
- metadata.gz: cb672bf3ec4fbaa62aee9b1e2940822bcbb7594d2dc0010cb92ea60766852a3b78775ce1fb6f34eb0c79dadf6e713996a1728cd009f9598fae49e2346c0473af
7
- data.tar.gz: 34e85937228562f1f9c3c144a3ac05786d474f6fe7a32fd63e91182a9f4499a943cf5b4b1d022c24f63e5fe78550d2f7b4f033f8f60b35bde8e865bd0594cbe6
6
+ metadata.gz: 454d9329ed4edb36445799cfaedeee2f1ad17b19230e8478dcc2a7279ff0677b0017441f4cf6347a19ab5dc8813943f7831d8473e472f7c3c3c5ce009484c83f
7
+ data.tar.gz: 95d566dd5616071962156116dd5799bd44edf9b7d0e22c6f0b0451cd4ce0682bd2779f10572ebfc217b536a990b745c7994ec29b07846a456e2fa5f238e73549
@@ -1,5 +1,6 @@
1
1
  require 'ipizza'
2
2
  require 'rails'
3
+ require "erb"
3
4
 
4
5
  require 'ipizza-rails/form_helpers'
5
6
 
@@ -14,7 +15,7 @@ class Ipizza::Rails::Railtie < ::Rails::Railtie
14
15
  if File.exist?(Rails.root.join('config', 'ipizza.yml'))
15
16
  Ipizza::Config.configure do |c|
16
17
  c.certs_root = Rails.root.join('config', 'certificates')
17
- c.load_from_hash(YAML::load_file(Rails.root.join('config', 'ipizza.yml')).fetch(Rails.env))
18
+ c.load_from_hash(YAML::load(ERB.new(Rails.root.join('config', 'ipizza.yml').read).result).fetch(Rails.env))
18
19
  end
19
20
  end
20
21
  end
@@ -1,5 +1,5 @@
1
1
  module Ipizza
2
2
  module Rails
3
- VERSION = '2.0.0'
3
+ VERSION = '2.0.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ipizza-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Priit Haamer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-02-03 00:00:00.000000000 Z
12
+ date: 2015-02-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ipizza