blue-postgresql 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/blue/postgresql/version.rb +1 -1
- data/lib/blue/postgresql.rb +3 -1
- data/templates/pg_hba.conf.erb +5 -0
- metadata +4 -4
data/lib/blue/postgresql.rb
CHANGED
data/templates/pg_hba.conf.erb
CHANGED
|
@@ -97,3 +97,8 @@ host all all ::1/128 md5
|
|
|
97
97
|
#local replication postgres peer
|
|
98
98
|
#host replication postgres 127.0.0.1/32 md5
|
|
99
99
|
#host replication postgres ::1/128 md5
|
|
100
|
+
|
|
101
|
+
<% Blue.config.postgres.permissions.each do |perm| -%>
|
|
102
|
+
"host #{perm[:db]} #{perm[:user]} #{perm[:address]} #{perm[:method] || 'md5'}"
|
|
103
|
+
<% end -%>
|
|
104
|
+
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: blue-postgresql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.0.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Josh Sharpe
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2013-
|
|
18
|
+
date: 2013-06-13 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: bundler
|