mina-config 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/lib/mina/config.rb +1 -1
- data/lib/mina/config/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31e35a38576669c37280bf716a1bf77a47f3c74c
|
4
|
+
data.tar.gz: b06b139c171d0fd5388ef351c61e13889bb110cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4449cd88e4c825d35b0cf2680dfeffbc0965a1aab1976c314842123d728173723fa2bd4c3ec0f0e2498cfd8416a715767822ae53a794930a74a13f44b061693
|
7
|
+
data.tar.gz: de9f1eb2aec264d60456f02afc06e5cdc7e344300e8d28a16acbb5f43c92ea6691863f944d8bfb0635aa68e86297a991006208d97e9905b6e280e219f9b64aa2
|
data/lib/mina/config.rb
CHANGED
@@ -23,7 +23,7 @@ unless environments.nil?
|
|
23
23
|
desc "Set the environment to #{environment}."
|
24
24
|
task(environment) do
|
25
25
|
set :rails_env, environment
|
26
|
-
set :branch, ENV['branch'] ||
|
26
|
+
set :branch, ENV['branch'] || config[rails_env]['branch']
|
27
27
|
set :user, config[rails_env]['user']
|
28
28
|
set :domain, config[rails_env]['domain']
|
29
29
|
set :app, config[rails_env]['app']
|
data/lib/mina/config/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mina-config
|
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
|
- Zachary Mckenzie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mina
|