softwear-lib 1.2.9 → 1.2.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 278f49a28075c6e4bd7c68f0c13d7674a9371e1c
4
- data.tar.gz: 56fcc5a220a8b6827adc65a466972e415af25140
3
+ metadata.gz: 939ce1675062467f15ed18504f78f8a884a7d3c7
4
+ data.tar.gz: 571aaff5c31954d6cb3469773c62101d0e75663b
5
5
  SHA512:
6
- metadata.gz: 326e0b4e053924878343d957cf56da7c353b2f800573f236f66e5bcb5a0769d786e96b0b6ec9bf35cf9dbead91a013dfa9cffce2c440d6e4ddbb15641d8c4bae
7
- data.tar.gz: 47795acf577c50c8a3b8257861ee5ff12608d7dfd5fe8bd19b3b8fad370f67f21376d7a55ff8665a5ff0434d84002fde16c79a6e9bb360c62d02ffcd3495fe4a
6
+ metadata.gz: 5f6f750b8ee8677f9900f2d698aef61c96f7b190c46b0d534d5bc409bf34deeee55605d4b3fbb5c8b293bf862ec1d946afd05eb5a3a0d4d0fc26cb857b25ade0
7
+ data.tar.gz: e7c7bc002b7a31ac1acca396347e1320ac92fd941bf2d6199d0f65b0b9802c5ffba26b3c536ff7db15a5148e2417b1669138364a36a04b749025334f776c4e43
data/bin/softwear-deploy CHANGED
@@ -1,6 +1,7 @@
1
- #!/bin/bash
1
+ #!/usr/bin/env ruby
2
2
 
3
- if [ "$(git rev-parse --abbrev-ref HEAD)" = "master" ]; then
4
- rvm install 2.1.2
5
- bundle exec cap production deploy
6
- fi
3
+ if `git rev-parse --abbrev-ref HEAD`.strip == 'master'
4
+ exec "rvm install 2.1.2 && rvm 2.1.2 do bundle exec cap production deploy"
5
+ else
6
+ puts "Not on master branch - no deploy."
7
+ end
@@ -1,5 +1,5 @@
1
1
  module Softwear
2
2
  module Lib
3
- VERSION = "1.2.9"
3
+ VERSION = "1.2.10"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: softwear-lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.9
4
+ version: 1.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nigel Baillie