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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2525236f405e51753a221bb76bb1d035502d17e
4
- data.tar.gz: 4d1d1ce1c66b6e59c6427ad0066b9ebbfd90abef
3
+ metadata.gz: 23e0ff59fc77722932f2c009349599e2b7578c78
4
+ data.tar.gz: a18b2e18133cc3b01f13be472a30af7287d06dea
5
5
  SHA512:
6
- metadata.gz: 68f3d845b6a41a90761324369a1f7f41e61795b982c63b5df8757462743894cb61445de23cf8f62afcd75f49fa92e4b454668c460b8d521f0cd3c31853e5cb85
7
- data.tar.gz: 0c3b54ff71c1623c675882d9ffc981b8153a5b7282cb9b51a07f92e4b507ddd3783d662bcdd648fe0a4eb33dc4bcdb5b07701d7b22d3bac3871a01e0b00f2af2
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 # 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
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'h2ocube_rails_tasks'
6
- s.version = '0.0.11'
6
+ s.version = '0.0.12'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ['Ben']
9
9
  s.email = ['ben@h2ocube.com']
@@ -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
- zfben_rails_rake_system 'git pull'
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'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: h2ocube_rails_tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben