conjure 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### Version 0.2.2
2
+ 2014-3-28
3
+
4
+ * Bugfixes for postgres support when provisioning
5
+
1
6
  ### Version 0.2.1
2
7
  2014-3-19
3
8
 
@@ -39,7 +39,7 @@ module Conjure
39
39
  def passenger_dockerfile(db_ip_address, db_password)
40
40
  public_key = File.expand_path("~/.ssh/id_rsa.pub")
41
41
  raise "Error: ~/.ssh/id_rsa.pub must exist." unless File.exist?(public_key)
42
- file = Dockerfile.new("conjure/passenger-ruby21:1.0.0")
42
+ file = Dockerfile.new("conjure/passenger-ruby21:1.0.1")
43
43
  file.add_file public_key, "/root/.ssh/authorized_keys"
44
44
  file.add_file public_key, "/home/app/.ssh/authorized_keys"
45
45
  file.run "chown app.app /home/app/.ssh/authorized_keys"
@@ -56,7 +56,7 @@ module Conjure
56
56
 
57
57
  def database_yml(db_ip_address, db_password)
58
58
  require "yaml"
59
- {@rails_env => {"adapter" => "sqlite3", "database" => "db/#{@rails_env}.sqlite3", "host" => db_ip_address, "username" => "db", "password" => db_password}}.to_yaml
59
+ {@rails_env => {"adapter" => "postgresql", "database" => "application", "host" => db_ip_address, "username" => "db", "password" => db_password, "template" => "template0"}}.to_yaml
60
60
  end
61
61
 
62
62
  def application_conf
@@ -1,3 +1,3 @@
1
1
  module Conjure
2
- VERSION = "0.2.1" unless defined?(VERSION)
2
+ VERSION = "0.2.2" unless defined?(VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conjure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-19 00:00:00.000000000 Z
12
+ date: 2014-03-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fog