rigit 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: 191f04f34e7debb617f20816fa03f4f02beac4e3ab582542d56fba351d1132af
4
- data.tar.gz: ffc4b29dfef9aa611e79af752f55bdc528d3714541bfc37104ecdaf30058a7f2
3
+ metadata.gz: e7cf02dbda94c59314045bd5f4c719320435151593cb59cdb4d0a602b3579ff6
4
+ data.tar.gz: be15ad5aeb1a65fa2bb03cb13384d0bd704885c53126ec7993939862eb8ea4a7
5
5
  SHA512:
6
- metadata.gz: c815d832ef57a36aefdd7be9a0eed9393e3e7aba681d187fcef3988cb4df4b6d6e1df6d7eba0d2c36dbeeb20a95b449dd982983b6252e9a77a0f25d5564fcce4
7
- data.tar.gz: 96762113e02254019bf149af50aff41afc0e45972a39b640de360f216a93dd6c21f4b1df7f9f18d0f218d96b77bb11274a41c0476e42089190455ef04a7f44f3
6
+ metadata.gz: d924611d858e1cf1d9f58fbad5e1badfecc16373ddcba6d009706ab93e93d6296b9ce4a4d582a1b007338fdd217233731699f0beac75cacc170478c032c36d6c
7
+ data.tar.gz: a6b43764932d58e1688b1fda82339cb27bf34cc044855cffc1d3658bb15860f6194bda463791cc0ed7a0812ffc9b2637fd208c42184fffd742c04420b4ef8458
data/README.md CHANGED
@@ -2,7 +2,7 @@ Rigit
2
2
  ==================================================
3
3
 
4
4
  [![Gem Version](https://badge.fury.io/rb/rigit.svg)](https://badge.fury.io/rb/rigit)
5
- [![Build Status](https://travis-ci.com/DannyBen/rigit.svg?branch=master)](https://travis-ci.com/DannyBen/rigit)
5
+ [![Build Status](https://github.com/DannyBen/apicake/workflows/Test/badge.svg)](https://github.com/DannyBen/apicake/actions?query=workflow%3ATest)
6
6
  [![Maintainability](https://api.codeclimate.com/v1/badges/d13abbe6f7601be78cf5/maintainability)](https://codeclimate.com/github/DannyBen/rigit/maintainability)
7
7
 
8
8
  ---
@@ -227,6 +227,10 @@ after:
227
227
  "Install Dependencies": "bundle install"
228
228
  "Initialize git repo": "git init"
229
229
 
230
+ # If set to true, continue running even if the folder is not empty.
231
+ # This has a similar effect to the --force command line flag.
232
+ force: false
233
+
230
234
  # Specify file patterns that should be copoied as is (without variable
231
235
  # replacements).
232
236
  binaries:
@@ -18,7 +18,7 @@ module Rigit::Commands
18
18
  def initialize(args)
19
19
  @args = args
20
20
  @rig_name = args['RIG']
21
- @force = args['--force']
21
+ @force = args['--force'] || (config.has_key?(:force) && config.force)
22
22
  @target_dir = '.'
23
23
  end
24
24
 
@@ -1,3 +1,3 @@
1
1
  module Rigit
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rigit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-09 00:00:00.000000000 Z
11
+ date: 2020-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: super_docopt