super_push 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/.gitignore +1 -0
- data/README.md +26 -10
- data/bin/spush +1 -1
- data/lib/super_push/version.rb +1 -1
- data/lib/super_push.rb +1 -3
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90b0629d25d72b5c265514e335f1366b7a6f5aca
|
4
|
+
data.tar.gz: 2613e2f8e6ec7ddb4d7f1848b36ea7fbb4f9fbad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d277aec56bb2ab4993e1289d50e1ba30cc5769e485ccda751ab7f0dd7092a5c07f91adae401b6f4df98297bb2095eee771ca420cee96f28648cf25529a0050d
|
7
|
+
data.tar.gz: 1e1907d22f56c14f5e00d032c6acd6cfef0f2e5c6bd2258351bbefd61d65b8d7c3f6e17ff5be2d6c7037311d9e38de8d13e0406798aacef9f2c9e8ba402c147c
|
data/.DS_Store
ADDED
Binary file
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
# SuperPush
|
2
2
|
|
3
|
-
|
3
|
+
This is a very basic and naive implementation of "git status", "git commit" and "git push" based on the quick and simple workflow that we have in our studio. And because we're kind of lazy and we don't like to type more than it's necessary, we created **Super Push**.
|
4
4
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
6
5
|
|
7
6
|
## Installation
|
8
7
|
|
@@ -20,22 +19,39 @@ Or install it yourself as:
|
|
20
19
|
|
21
20
|
$ gem install super_push
|
22
21
|
|
23
|
-
|
22
|
+
## Usage
|
24
23
|
|
25
|
-
|
24
|
+
To start using super_push you have this options:
|
26
25
|
|
27
|
-
|
26
|
+
```bash
|
27
|
+
spush "Message of your commit"
|
28
|
+
```
|
29
|
+
|
30
|
+
Simply add all files to the commit with the passed message, and push it with "git push -u origin master".
|
31
|
+
|
32
|
+
```bash
|
33
|
+
spush -b "Message of your commit"
|
34
|
+
```
|
35
|
+
|
36
|
+
Add all files to the commit with the passed message, and update the branch, but this do not push the changes so we can merge it to the master in the future with "git merge <branch>".
|
28
37
|
|
29
|
-
|
38
|
+
```bash
|
39
|
+
spush -s "Message of your commit"
|
40
|
+
```
|
41
|
+
|
42
|
+
This command shows the current status of your git working directory, and asks you is you wanna proceed, if so it we'll behave as the first command, if not it simply exits the "process".
|
30
43
|
|
31
|
-
|
44
|
+
```bash
|
45
|
+
spush -s -b "Message of your commit"
|
46
|
+
```
|
32
47
|
|
33
|
-
|
48
|
+
And finally, this usage combines the previous two.
|
34
49
|
|
35
|
-
|
50
|
+
|
51
|
+
Enjoy ;)
|
36
52
|
|
37
53
|
|
38
54
|
## License
|
39
55
|
|
40
56
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
-
|
57
|
+
|
data/bin/spush
CHANGED
@@ -17,7 +17,7 @@ Escort::App.create do |app|
|
|
17
17
|
app.requires_arguments
|
18
18
|
|
19
19
|
app.options do |opts|
|
20
|
-
opts.opt :branch, "Branch", :short => '-b', :long => '--branch', :type => :
|
20
|
+
opts.opt :branch, "Branch", :short => '-b', :long => '--branch', :type => :boolean
|
21
21
|
opts.opt :status, "Status", :short => '-s', :long => '--status', :type => :boolean
|
22
22
|
end
|
23
23
|
|
data/lib/super_push/version.rb
CHANGED
data/lib/super_push.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: super_push
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- A–P.CO
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -89,6 +89,7 @@ executables:
|
|
89
89
|
extensions: []
|
90
90
|
extra_rdoc_files: []
|
91
91
|
files:
|
92
|
+
- ".DS_Store"
|
92
93
|
- ".gitignore"
|
93
94
|
- Gemfile
|
94
95
|
- LICENSE.txt
|