spoom 1.1.7 → 1.1.8

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: fa8ac9092af39d9a951ffe28c217f9f7516d25e316483ba9398df6fbb220f10a
4
- data.tar.gz: 5140065943452ad4ca4de375c13b27bd24003fa828ac4fe9594a7f66d11ac970
3
+ metadata.gz: 859ebe3fbc7461a158b56eba3eaaa938df4fcc8fec0c91d40c2a1986b28eec72
4
+ data.tar.gz: 953222ea44625ba7aeefcb7e19c8bff30a94fcaedd95c31784cce7ffcf768250
5
5
  SHA512:
6
- metadata.gz: 1b706423681d2acdbdd167a3076229953df609036254c3dcbc470a828078857318c79c3bdbddfa422ad9f26ddeb01fe464d6ab3173949d47cdc490d799403b94
7
- data.tar.gz: 13b7086057c38d3a1344f2920c42c8c9208d0f3c8c438eae02b3f0b32a21e0a35f526e6e5607c5235af2fad02d0aa0365678f9ae7ce88d13d7404f142890fe07
6
+ metadata.gz: 3baf1551ea1d40e6ea17bacaf67dd6361fe36e07b50edb2de6b0b3905e03ef7de568d877f51a2bbc9272c180f96ad7657a924a3465c39adb8fe5f23d658f0cd9
7
+ data.tar.gz: 3fcd666d6d2e32af0f3ce6792fe1ce4572811d6bc52fd81532f5b5754dd4d82df61a85759e14410e4abb6948754dd0a087498d3a162c154021496096acc5b1ed
@@ -62,9 +62,9 @@ module Spoom
62
62
  # Actions
63
63
 
64
64
  # Run `git init` in this project
65
- sig { void }
66
- def git_init
67
- Spoom::Git.exec("git init -q", path: path)
65
+ sig { params(branch: String).void }
66
+ def git_init(branch: "main")
67
+ Spoom::Git.exec("git init -q -b #{branch}", path: path)
68
68
  Spoom::Git.exec("git config user.name 'spoom-tests'", path: path)
69
69
  Spoom::Git.exec("git config user.email 'spoom@shopify.com'", path: path)
70
70
  end
data/lib/spoom/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Spoom
5
- VERSION = "1.1.7"
5
+ VERSION = "1.1.8"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spoom
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandre Terrasa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-09 00:00:00.000000000 Z
11
+ date: 2022-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler