storey 0.5.2 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +11 -0
- data/CHANGELOG.md +4 -0
- data/README.md +2 -0
- data/Rakefile +4 -0
- data/gemfiles/rails3 +7 -0
- data/lib/storey/version.rb +1 -1
- data/spec/config/database.yml.sample +1 -1
- data/spec/dummy/config/database.yml.sample +1 -1
- data/spec/storey/builds_dump_command_spec.rb +12 -12
- data/storey.gemspec +1 -2
- metadata +7 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b792bb5b42b4f163d95479d2483d88c9b74927b8
|
4
|
+
data.tar.gz: 0be264cd7fd5fb2fbd463c893fb5ed0cc2635d31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68badecca8c68c81ed106a4cf08399b1dde313f44e1168600b68d605ebd9b3c4f8626313a0bb7e7677aa99a2b3f609eb1fbc3248e628f51c3e02f41893bc7b3d
|
7
|
+
data.tar.gz: 0a41bd2f33734bf904ab51bc55c5b8cf19df3abb6dbc5006d6be059df7435ae6fc2c9ab1c6f7601aeb6b214650cb4d56c0c21b3aa4b03e8e1a6dec1d9c589ea4
|
data/.travis.yml
ADDED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/Rakefile
CHANGED
data/gemfiles/rails3
ADDED
data/lib/storey/version.rb
CHANGED
@@ -17,21 +17,21 @@ describe Storey::BuildsDumpCommand do
|
|
17
17
|
end
|
18
18
|
|
19
19
|
context 'when structure_only: true' do
|
20
|
-
|
21
|
-
|
20
|
+
before do
|
21
|
+
options.merge!(
|
22
22
|
database: 'mydb',
|
23
23
|
structure_only: true
|
24
|
-
|
24
|
+
)
|
25
25
|
end
|
26
26
|
it { should include('--schema-only') }
|
27
27
|
end
|
28
28
|
|
29
29
|
context 'when structure_only: false' do
|
30
|
-
|
31
|
-
|
30
|
+
before do
|
31
|
+
options.merge!(
|
32
32
|
database: 'mydb',
|
33
33
|
structure_only: false
|
34
|
-
|
34
|
+
)
|
35
35
|
end
|
36
36
|
it { should_not include('--schema-only') }
|
37
37
|
end
|
@@ -50,21 +50,21 @@ describe Storey::BuildsDumpCommand do
|
|
50
50
|
end
|
51
51
|
|
52
52
|
context "schemas: 'public'" do
|
53
|
-
|
54
|
-
|
53
|
+
before do
|
54
|
+
options.merge!(
|
55
55
|
database: 'mydb',
|
56
56
|
schemas: %q(public)
|
57
|
-
|
57
|
+
)
|
58
58
|
end
|
59
59
|
it { should include('--schema=public') }
|
60
60
|
end
|
61
61
|
|
62
62
|
context "schemas: '$user','public'" do
|
63
|
-
|
64
|
-
|
63
|
+
before do
|
64
|
+
options.merge!(
|
65
65
|
database: 'mydb',
|
66
66
|
schemas: %q($user,public)
|
67
|
-
|
67
|
+
)
|
68
68
|
end
|
69
69
|
it { should include('--schema=\$user --schema=public') }
|
70
70
|
end
|
data/storey.gemspec
CHANGED
@@ -21,9 +21,8 @@ Gem::Specification.new do |s|
|
|
21
21
|
|
22
22
|
# specify any dependencies here; for example:
|
23
23
|
s.add_development_dependency "rspec-rails"
|
24
|
-
s.add_development_dependency "pg", "~> 0.12
|
24
|
+
s.add_development_dependency "pg", "~> 0.12"
|
25
25
|
s.add_development_dependency "database_cleaner"
|
26
|
-
s.add_development_dependency "pry"
|
27
26
|
s.add_runtime_dependency 'easy_class_to_instance_method', '~> 0.0.2'
|
28
27
|
s.add_runtime_dependency "rails", ">= 3.2.0"
|
29
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: storey
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ramon Tayag
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec-rails
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.12
|
33
|
+
version: '0.12'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.12
|
40
|
+
version: '0.12'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: database_cleaner
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: pry
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - '>='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - '>='
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: easy_class_to_instance_method
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,11 +90,13 @@ extra_rdoc_files: []
|
|
104
90
|
files:
|
105
91
|
- .gitignore
|
106
92
|
- .rspec
|
93
|
+
- .travis.yml
|
107
94
|
- CHANGELOG.md
|
108
95
|
- Gemfile
|
109
96
|
- LICENSE.txt
|
110
97
|
- README.md
|
111
98
|
- Rakefile
|
99
|
+
- gemfiles/rails3
|
112
100
|
- lib/storey.rb
|
113
101
|
- lib/storey/builds_dump_command.rb
|
114
102
|
- lib/storey/builds_load_command.rb
|
@@ -219,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
219
207
|
version: '0'
|
220
208
|
requirements: []
|
221
209
|
rubyforge_project: storey
|
222
|
-
rubygems_version: 2.
|
210
|
+
rubygems_version: 2.2.1
|
223
211
|
signing_key:
|
224
212
|
specification_version: 4
|
225
213
|
summary: Manage multiple PostgreSQL schemas in your multi-tenant app.
|