karo 2.2.1 → 2.3.0
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 +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +17 -15
- data/karo.gemspec +0 -1
- data/lib/karo/version.rb +1 -1
- metadata +1 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0eb47f74aa0c221c8b522ea86fffce5d64230dbe
|
4
|
+
data.tar.gz: a78303a31210dd9b3e8ff9f6bff95d0f5d3a71ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ed63a72763ae4e7b351261d12e902ea7dcf252df6a0ec6b4522156f5d4901d0380ba5dad95cc6a6e3a4609da88e933d2fed4d103ab9a94964be00e8b3b01e90
|
7
|
+
data.tar.gz: 25ae405f4b6c4ff3ec4f00435a0bd2e2317350b3effe239db2ecc177be401ee71a4ba56c3f394f78497708328d519c2047ee98373ac091f98b903a163918e494
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
# Karo [![Code Climate](https://codeclimate.com/github/rahult/karo.png)](https://codeclimate.com/github/rahult/karo) [![Dependency Status](https://gemnasium.com/rahult/karo.png)](https://gemnasium.com/rahult/karo) [![Gem Version](https://badge.fury.io/rb/karo.png)](http://badge.fury.io/rb/karo)
|
2
2
|
|
3
|
-
**Karo** is a command line companion for a rails application which makes performing
|
3
|
+
**Karo** is a command line companion for a rails application which makes performing routine commands locally or on the server easier.
|
4
4
|
|
5
|
-
|
5
|
+
Example of things it can do, for rest please refer to ```karo help```
|
6
6
|
|
7
7
|
```bash
|
8
8
|
karo db pull # Will sync the production MySQL database on to local machine
|
9
|
+
karo db console # Will open MySQL console on the server
|
10
|
+
karo console # Will open Rails console on the server
|
9
11
|
karo assets pull -e staging # Will sync the dragonfly assets from staging on to the local machine
|
10
12
|
karo log -f # Will tail the production log with -f argument
|
11
13
|
```
|
@@ -20,17 +22,17 @@ karo client {command} # Will try to find a command from .karo.yml or execute the
|
|
20
22
|
## Few Assumptions
|
21
23
|
|
22
24
|
- You have SSH access to your servers
|
23
|
-
- You have the
|
24
|
-
[deploy_to]
|
25
|
-
[deploy_to]/releases
|
26
|
-
[deploy_to]/releases/20080819001122
|
27
|
-
[deploy_to]/releases/...
|
28
|
-
[deploy_to]/shared
|
29
|
-
[deploy_to]/shared/config/database.yml
|
30
|
-
[deploy_to]/shared/log
|
31
|
-
[deploy_to]/shared/pids
|
32
|
-
[deploy_to]/shared/system
|
33
|
-
[deploy_to]/current -> [deploy_to]/releases/20100819001122
|
25
|
+
- You have the [Capistrano](https://github.com/capistrano/capistrano) deploy directory structure on your server
|
26
|
+
[deploy_to]
|
27
|
+
[deploy_to]/releases
|
28
|
+
[deploy_to]/releases/20080819001122
|
29
|
+
[deploy_to]/releases/...
|
30
|
+
[deploy_to]/shared
|
31
|
+
[deploy_to]/shared/config/database.yml
|
32
|
+
[deploy_to]/shared/log
|
33
|
+
[deploy_to]/shared/pids
|
34
|
+
[deploy_to]/shared/system
|
35
|
+
[deploy_to]/current -> [deploy_to]/releases/20100819001122
|
34
36
|
- You are using MySQL as your database server
|
35
37
|
- You are using Dragonfly to store your assets
|
36
38
|
|
@@ -48,13 +50,13 @@ gem 'karo'
|
|
48
50
|
|
49
51
|
After updating your bundle, you can use Karo function from the command line
|
50
52
|
|
51
|
-
## Usage (
|
53
|
+
## Usage (command line)
|
52
54
|
|
53
55
|
```bash
|
54
56
|
karo help
|
55
57
|
```
|
56
58
|
|
57
|
-
Default configuration file
|
59
|
+
## Default configuration file (.karo.yml)
|
58
60
|
|
59
61
|
```yml
|
60
62
|
production:
|
data/karo.gemspec
CHANGED
@@ -23,7 +23,6 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_development_dependency "rake"
|
24
24
|
spec.add_development_dependency "rdoc"
|
25
25
|
spec.add_development_dependency "aruba"
|
26
|
-
spec.add_development_dependency "rake", "~> 0.9.2"
|
27
26
|
spec.add_dependency "awesome_print"
|
28
27
|
spec.add_dependency "grit"
|
29
28
|
spec.add_dependency "thor"
|
data/lib/karo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: karo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rahul Trikha
|
@@ -80,20 +80,6 @@ dependencies:
|
|
80
80
|
- - '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rake
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ~>
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 0.9.2
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ~>
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 0.9.2
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: awesome_print
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|