jumpup-heroku 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/jumpup-heroku.gemspec +1 -0
- data/lib/jumpup/heroku/configuration.rb +1 -0
- data/lib/jumpup/heroku/version.rb +1 -1
- data/spec/jumpup/heroku/configuration_spec.rb +9 -9
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf991ff339b56efcc4409daa1ac095316681651b
|
4
|
+
data.tar.gz: 90f2a0d694367ac749ff7185d6132e27e3d79c56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33d61d74d911d8debbdfa11f5cb8e4929ee7ff462cc1388deea4d39a7db36347b5b6c8b63b448581cb6c5b3ff7a40e02d266335384fb95016b9e4d0af595c008
|
7
|
+
data.tar.gz: 3e41ca498967a2dbfd875936a346c33a899db1b73355c52ed9e7b98b588a6ff6b4936dca021a52c49fa58ec729c95d04a71e306d97a78062c7c96f0ac6a229c3
|
data/jumpup-heroku.gemspec
CHANGED
@@ -43,14 +43,13 @@ describe Jumpup::Heroku::Configuration do
|
|
43
43
|
before { ENV.stub(:[]).with("HEROKU_ACCOUNT").and_return("first") }
|
44
44
|
before do
|
45
45
|
Jumpup::Heroku.configure do |config|
|
46
|
+
config.app = 'myapp'
|
46
47
|
config.run_database_tasks = false
|
47
48
|
config.account(:first) do |first|
|
48
|
-
first.app = 'myapp1'
|
49
49
|
first.production_app = 'myapp1-production'
|
50
50
|
first.staging_app = 'myapp1-staging'
|
51
51
|
end
|
52
52
|
config.account(:second) do |second|
|
53
|
-
second.app = 'myapp2'
|
54
53
|
second.production_app = 'myapp2-production'
|
55
54
|
second.staging_app = 'myapp2-staging'
|
56
55
|
end
|
@@ -59,7 +58,8 @@ describe Jumpup::Heroku::Configuration do
|
|
59
58
|
subject do
|
60
59
|
Jumpup::Heroku.configuration
|
61
60
|
end
|
62
|
-
its(:
|
61
|
+
its(:valid?) { should be_true }
|
62
|
+
its(:app) { should be_nil }
|
63
63
|
its(:staging_app) { should eq('myapp1-staging')}
|
64
64
|
its(:production_app) { should eq('myapp1-production') }
|
65
65
|
its(:run_database_tasks) { should be_false }
|
@@ -69,12 +69,10 @@ describe Jumpup::Heroku::Configuration do
|
|
69
69
|
before { ENV.stub(:[]).with("HEROKU_ACCOUNT").and_return("second") }
|
70
70
|
before do
|
71
71
|
Jumpup::Heroku.configure do |config|
|
72
|
-
config.app = 'myapp1'
|
73
72
|
config.production_app = 'myapp1-production'
|
74
73
|
config.staging_app = 'myapp1-staging'
|
75
74
|
config.run_database_tasks = true
|
76
75
|
config.account(:second) do |second|
|
77
|
-
second.app = 'myapp2'
|
78
76
|
second.production_app = 'myapp2-production'
|
79
77
|
second.staging_app = 'myapp2-staging'
|
80
78
|
second.run_database_tasks = false
|
@@ -85,7 +83,8 @@ describe Jumpup::Heroku::Configuration do
|
|
85
83
|
subject do
|
86
84
|
Jumpup::Heroku.configuration
|
87
85
|
end
|
88
|
-
its(:
|
86
|
+
its(:valid?) { should be_true }
|
87
|
+
its(:app) { should be_nil }
|
89
88
|
its(:staging_app) { should eq('myapp2-staging')}
|
90
89
|
its(:production_app) { should eq('myapp2-production') }
|
91
90
|
its(:run_database_tasks) { should be_false }
|
@@ -111,6 +110,7 @@ describe Jumpup::Heroku::Configuration do
|
|
111
110
|
subject do
|
112
111
|
Jumpup::Heroku.configuration
|
113
112
|
end
|
113
|
+
its(:valid?) { should be_false }
|
114
114
|
its(:app) { should be_nil }
|
115
115
|
its(:staging_app) { should be_nil }
|
116
116
|
its(:production_app) { should be_nil }
|
@@ -132,6 +132,7 @@ describe Jumpup::Heroku::Configuration do
|
|
132
132
|
subject do
|
133
133
|
Jumpup::Heroku.configuration
|
134
134
|
end
|
135
|
+
its(:valid?) { should be_false }
|
135
136
|
its(:app) { should be_nil }
|
136
137
|
its(:staging_app) { should be_nil }
|
137
138
|
its(:production_app) { should be_nil }
|
@@ -142,12 +143,10 @@ describe Jumpup::Heroku::Configuration do
|
|
142
143
|
before { Jumpup::Heroku::Configuration.any_instance.stub(:current_account).and_return(:"") }
|
143
144
|
before do
|
144
145
|
Jumpup::Heroku.configure do |config|
|
145
|
-
config.app = 'myapp1'
|
146
146
|
config.production_app = 'myapp1-production'
|
147
147
|
config.staging_app = 'myapp1-staging'
|
148
148
|
config.run_database_tasks = true
|
149
149
|
config.account(:second) do |second|
|
150
|
-
second.app = 'myapp2'
|
151
150
|
second.production_app = 'myapp2-production'
|
152
151
|
second.staging_app = 'myapp2-staging'
|
153
152
|
config.run_database_tasks = false
|
@@ -157,7 +156,8 @@ describe Jumpup::Heroku::Configuration do
|
|
157
156
|
subject do
|
158
157
|
Jumpup::Heroku.configuration
|
159
158
|
end
|
160
|
-
its(:
|
159
|
+
its(:valid?) { should be_true }
|
160
|
+
its(:app) { should be_nil }
|
161
161
|
its(:staging_app) { should eq('myapp1-staging')}
|
162
162
|
its(:production_app) { should eq('myapp1-production') }
|
163
163
|
its(:run_database_tasks) { should be_true }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jumpup-heroku
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HE:labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,6 +52,20 @@ 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.9.12.4
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.9.12.4
|
55
69
|
description: Rake tasks to deploy on heroku
|
56
70
|
email:
|
57
71
|
- contato@helabs.com.br
|
@@ -99,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
113
|
version: '0'
|
100
114
|
requirements: []
|
101
115
|
rubyforge_project:
|
102
|
-
rubygems_version: 2.
|
116
|
+
rubygems_version: 2.0.3
|
103
117
|
signing_key:
|
104
118
|
specification_version: 4
|
105
119
|
summary: Rake tasks to deploy on heroku
|