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 +4 -4
- data/lib/ipizza-rails/railtie.rb +2 -1
- data/lib/ipizza-rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d987412857a8e055ecc80cb05c75f0c8417d7d29
|
4
|
+
data.tar.gz: 74fd905562f6284e3d8cd17fdfe926ee27afe706
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 454d9329ed4edb36445799cfaedeee2f1ad17b19230e8478dcc2a7279ff0677b0017441f4cf6347a19ab5dc8813943f7831d8473e472f7c3c3c5ce009484c83f
|
7
|
+
data.tar.gz: 95d566dd5616071962156116dd5799bd44edf9b7d0e22c6f0b0451cd4ce0682bd2779f10572ebfc217b536a990b745c7994ec29b07846a456e2fa5f238e73549
|
data/lib/ipizza-rails/railtie.rb
CHANGED
@@ -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::
|
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
|
data/lib/ipizza-rails/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2015-02-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ipizza
|