karo 2.5.1 → 2.5.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of karo might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 33427c81f0e1a4a61bc9047d1fdaf623129fc987
4
- data.tar.gz: 1e5683cd9555d92b5ed71b7f00614c0b5c2fce64
3
+ metadata.gz: cadb20536fbf6c0d67f5865177428e50cd8635b6
4
+ data.tar.gz: 371fbb8ec43a410474586188aa0d3f727340d0f1
5
5
  SHA512:
6
- metadata.gz: 3f0c8bc178dc86e3e480e179c9f79b519f475d1461ebc14c629fb2015bfb0b37b316c84837a5948454bad72294cf065fe64f07cfb87f26e0be9adb964bdf12f9
7
- data.tar.gz: d2b075ffb23c6f0c4039bafcfaffb41837f5e6fdbd48549705dbefff21ae452df63c0808cafe54cc7832ad446c2b0759981e2f2e897ee0458f87341d6593d135
6
+ metadata.gz: e65da06b79726cd091f90e757e1ce4b0ddb100a699b7c8f99450b1bb6ad105a2b8536b98120417f41bcfe4d79c130074bde53730ab215a3f188e291bd51285ed
7
+ data.tar.gz: 75858c627c1c4c68c276a4760fc8de81cbb303e8c471f42b5a7a95dad417ac5302abc7339efe9ebd0ba298a49c658fcbaa8013a3dc921e59907461b1452a7e34
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## v2.5.2
4
+
5
+ ### Features
6
+
7
+ - Added option to pass environment as `env: production` setting within .karo.yml
8
+
9
+ ## v2.5.1
10
+
11
+ ### Features
12
+
13
+ - Disabled rugged
14
+
3
15
  ## v2.5.0
4
16
 
5
17
  ### Features
data/README.md CHANGED
@@ -75,6 +75,7 @@ staging:
75
75
  host: example.com
76
76
  user: deploy
77
77
  path: /data/app_name
78
+ env: staging
78
79
  commands:
79
80
  server:
80
81
  memory: vmstat -sSM
@@ -195,7 +195,7 @@ module Karo
195
195
  def log(*extras)
196
196
  configuration = Config.load_configuration(options)
197
197
 
198
- path = File.join(configuration["path"], "shared/log/#{options["environment"]}.log")
198
+ path = File.join(configuration["path"], "shared/log/#{configuration["env"] || options["environment"]}.log")
199
199
 
200
200
  cmd = "tail"
201
201
  cmd << " -f" if options[:continous]
@@ -1,3 +1,3 @@
1
1
  module Karo
2
- VERSION = "2.5.1"
2
+ VERSION = "2.5.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: karo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.1
4
+ version: 2.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rahul Trikha
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-01 00:00:00.000000000 Z
11
+ date: 2015-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  requirements: []
149
149
  rubyforge_project:
150
- rubygems_version: 2.4.5
150
+ rubygems_version: 2.4.5.1
151
151
  signing_key:
152
152
  specification_version: 4
153
153
  summary: SSH toolbox to make running logs, sync, cache commands easier for a given