dev 2.1.90 → 2.1.91

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tasks/default.rb +6 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9dcc16f972251eefd765e63a680555f1c2f876a0dc7200ca9153c1dcd89ff451
4
- data.tar.gz: fe1c42dcb47254f6b82d7715c7dcd7af965e7c6d71cd11af7c2ab51d01a51bf8
3
+ metadata.gz: 21f83b8b5b4c642fe00ca73b9c3714473a788c0907669f0270bd43f801e9b395
4
+ data.tar.gz: dd0800596d58bc43c1330e0abe8da7f3bb1b81b26817aa67483324884cfc5e75
5
5
  SHA512:
6
- metadata.gz: c963eea17f51e25f763a9732563fd00164b8f90b9bf52a0068334e8c7db63c117d43814a7bb76e6eb8dce8b02a7b0099512d92bbd98f920bd04d78dd54f01626
7
- data.tar.gz: c370bd3b6ac3a4094f59261673c63af922da25e9a14da3393a713173cdd12c76fa8ba2217185eb3831432771207ff65fc2411f77f8384fed63d4520a6404ba6a
6
+ metadata.gz: 85c357a1d8a20e5247ff07e507cbb65c0bbcf03092bc10b1fe3c6afbec311fae5dd282958620bb69751359a9c9e95b3e8a73f962533eae8a3b285ab303cba96b
7
+ data.tar.gz: ef647869aaa89b137bb0b95d030284e3b431db81a7db99b357ead0bae2e7a9419ff3693d57c3b612b5265e823a8630ea3d797c8f9700da985d3791bc35eb2dc4
data/lib/tasks/default.rb CHANGED
@@ -33,7 +33,12 @@ else
33
33
  if(work_up_to_date)
34
34
  default_tasks=[]
35
35
  elsif(File.exists?('.git'))
36
- default_tasks=[:setup,:build,:test,:add,:commit,:package,:publish,:clean,:push,:pull]
36
+ if(defined?(NO_AUTO_COMMIT))
37
+ default_tasks=[:setup,:build,:test,:package,:publish,:clean]
38
+ else
39
+ puts ':add,:commit,:push,:pull tasks are part of :default, to opt-out, define NO_AUTO_COMMIT'
40
+ default_tasks=[:setup,:build,:test,:add,:commit,:package,:publish,:clean,:push,:pull]
41
+ end
37
42
  elsif File.exists?('.svn')
38
43
  default_tasks=[:setup,:build,:test,:add,:commit,:publish,:clean]
39
44
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.90
4
+ version: 2.1.91
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow