opskeleton 0.9.1 → 0.9.2

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: 93e3d848d6e7a555290276bb140bca72843c460f
4
- data.tar.gz: 2552a02361d06f9273ec8b65879fc07e5aad73ba
3
+ metadata.gz: 706f4bed888cfc1b329c1ef8c0511e93149b3520
4
+ data.tar.gz: 0eec567ed879cdd11c1985bd1e9e480b75acf1b3
5
5
  SHA512:
6
- metadata.gz: 4e5b8dac19c346acce0659ea941722331ce5850d8230353bc16f39b498a651064d597aa2984998c1d360cdf68059a33433dd28315370f13cb29b43e18cf5f466
7
- data.tar.gz: 466160bc5fd5780374eb40286e6f6c159090ab32e1a00e9451821c289777929287738c5d7f0299cbce36f85f30ee6972f19ef8d36feb042851bd2bfaddaaed6f
6
+ metadata.gz: d6411095566b1a54b99b0553ea104134e3f86beb69fde48d6c210e3eca2e74ad080ebbb33e9c26f1f290306a47d5e54e9bff41a67d4deeddaf573092995d77f7
7
+ data.tar.gz: dea45fface16bd4c48c8c73bd901e3f8a9c5ebcd7e5c09d9814ff0200f9f21fb766f2d9b97847a1046d9dc6c24b5902738e81727d4a35add4e74b3abe663e35c
@@ -5,7 +5,6 @@ def report(g)
5
5
  g.status.send(state).each do |k,v|
6
6
  say "- #{k}"
7
7
  end
8
- say "\n"
9
8
  end
10
9
  end
11
10
 
@@ -28,13 +27,13 @@ module Opsk
28
27
  if g.status.changed.keys.length > 0
29
28
  say "Listing changes for #{d}:\n\n"
30
29
  report(g)
31
- resp = yes? "Commit the changes under #{d}? (y/n)\n\n" unless options['all']
30
+ resp = yes? "Commit the changes under #{d}? (y/n)" unless options['all']
32
31
  if(options['all'] or resp)
33
32
  g.checkout('master')
34
33
  if options['message']
35
34
  g.commit_all(options['message'])
36
35
  else
37
- say 'Please provide commit message:\n'
36
+ say 'Commit message:'
38
37
  g.commit_all(STDIN.gets.chomp)
39
38
  end
40
39
  end
@@ -36,9 +36,9 @@ module Opsk
36
36
  g = Git.init(d)
37
37
  add_writable(g,options['protocol'].to_sym)
38
38
  if !options['dry'] and g.diff('origin').stats[:files].keys.length > 0
39
- resp = yes?("push #{d}? (y/n)") unless options['all']
39
+ resp = yes?("Push #{d}? (y/n)") unless options['all']
40
40
  if(options['all'] or resp)
41
- say "Pushing #{d} .."
41
+ say "pushing #{d} .."
42
42
  g.push('writable')
43
43
  g.pull
44
44
  end
@@ -1,3 +1,3 @@
1
1
  module Opskeleton
2
- VERSION = '0.9.1'
2
+ VERSION = '0.9.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opskeleton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - narkisr