vault-tools 0.5.0 → 0.5.1

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.
@@ -15,6 +15,7 @@ task :pull_core_schema do
15
15
  steps << 'git clone -n git@github.com:heroku/api core --depth 1'
16
16
  steps << 'cd core'
17
17
  steps << 'git checkout HEAD db/structure.sql'
18
+ steps << 'git checkout HEAD db/analytics_grants.sql'
18
19
  # make sure we don't submodule it
19
20
  steps << 'rm -rf .git'
20
21
  sh steps.join(' && ')
@@ -23,7 +24,10 @@ end
23
24
  desc "Drop and recreate the core-test database"
24
25
  task :create_core_db => [:drop_core_db] do
25
26
  sh 'createdb core-test'
27
+ sh 'psql core-test -c "DROP ROLE IF EXISTS analytics;"'
28
+ sh 'psql core-test -c "CREATE ROLE analytics ENCRYPTED PASSWORD \'password\' LOGIN;"'
26
29
  sh 'psql core-test -f contrib/core/db/structure.sql'
30
+ sh 'psql core-test -f contrib/core/db/analytics_grants.sql'
27
31
  end
28
32
 
29
33
  desc "Drop the core-test database"
@@ -1,5 +1,5 @@
1
1
  module Vault
2
2
  module Tools
3
- VERSION = '0.5.0'
3
+ VERSION = '0.5.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vault-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-01-31 00:00:00.000000000 Z
13
+ date: 2014-02-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: scrolls
@@ -239,7 +239,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
239
239
  version: '0'
240
240
  segments:
241
241
  - 0
242
- hash: 4584414138595131643
242
+ hash: -2685262836805814128
243
243
  required_rubygems_version: !ruby/object:Gem::Requirement
244
244
  none: false
245
245
  requirements:
@@ -248,7 +248,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
248
248
  version: '0'
249
249
  segments:
250
250
  - 0
251
- hash: 4584414138595131643
251
+ hash: -2685262836805814128
252
252
  requirements: []
253
253
  rubyforge_project:
254
254
  rubygems_version: 1.8.23