h2ocube_rails_tasks 0.0.11 → 0.0.12
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/README.md +1 -1
- data/h2ocube_rails_tasks.gemspec +1 -1
- data/lib/h2ocube_rails_tasks/tasks/git.rb +4 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23e0ff59fc77722932f2c009349599e2b7578c78
|
4
|
+
data.tar.gz: a18b2e18133cc3b01f13be472a30af7287d06dea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28e42b50b7fe63742d9e1531e81848f8d24958c90c0c0ce6a2c2b3058feb0ea9b1d325fb5583937d3065242cb129984eae5bbb3cc8bdbc351697495462c96659
|
7
|
+
data.tar.gz: f0546b11f967f1bbd87ef9f8251e24a3873fdbcf1befd5ad48d60b5df17923de2c6908bc835b622545861780b34bba089562225ee350936149adc4d868392643
|
data/README.md
CHANGED
@@ -23,7 +23,7 @@ Or install it yourself as:
|
|
23
23
|
# has .git folder
|
24
24
|
rake git:clear # Clear files in .gitignore
|
25
25
|
rake git:commit[comment] # Git commit with your comment
|
26
|
-
rake git:pull
|
26
|
+
rake git:pull[from] # Git pull
|
27
27
|
rake git:push[comment, to] # Git push with your comment
|
28
28
|
|
29
29
|
# has unicorn.rb
|
data/h2ocube_rails_tasks.gemspec
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
if File.exists? Rails.root.join('.git')
|
2
2
|
namespace :git do
|
3
3
|
desc 'Git pull'
|
4
|
-
task :pull do
|
5
|
-
|
4
|
+
task :pull, [:from] do |task, args|
|
5
|
+
cmd = 'git pull'
|
6
|
+
cmd << ' ' << args[:from] if args[:from]
|
7
|
+
zfben_rails_rake_system cmd
|
6
8
|
end
|
7
9
|
|
8
10
|
desc 'Git commit with your comment'
|