bankai 0.9.0 → 0.9.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: aad487d097c2958de9a83c226cff767df8d91c4219bcc64df3dd7a772444296f
4
- data.tar.gz: b007e0bb678daa8c633dd79abd8ab0c2bc3dee19639673a5db821019b90fdfd7
3
+ metadata.gz: 87925a6dda0432c79ccf3b194df09dca2b10db120c6164461e77b159d454784c
4
+ data.tar.gz: 77adaf8ff0730f116145570b382a9a79cc4b70e23db2b2964e19b5fd06df5428
5
5
  SHA512:
6
- metadata.gz: e1a9582f2380c707733507c66b67a55d01f1d99b77c30bb6f18ae300a58e1564e4ec3bba0875f1f3cb3886dd9d337805584a460169834bb4870079e8a6435460
7
- data.tar.gz: aa645568f5d0993d4f67060147b15965e39d510a4f21a5e002e61abb068608d8d0db22a64ec75e14dd22d46efc0275a988c962eca152ae19d81bccb6e9e07b9c
6
+ metadata.gz: fa0c5b971be83b6b8ba3aa23fbf79b573acdffd62597d228871975515db2e537ce22c858ffa143530e969e767acc978224c9fba3422f49b4ae9e2626b4c5101b
7
+ data.tar.gz: 7645a98ae959327151ce7f6e3cf68f566da6898a21c07160982b218e5dd0532db4d6530c2442571a1d632a8c812acf3b71b9b8d0e9d9b3c5d4776fac6d0a8055
@@ -9,7 +9,7 @@ module Bankai
9
9
  DEFAULT_REPO = 'git@example.com:me/my_repo.git'
10
10
 
11
11
  def install_capistrano
12
- in_root { run 'bundle exec cap install' }
12
+ execute_command :bundle, 'exec cap install'
13
13
  end
14
14
 
15
15
  def configure_capfile
@@ -8,7 +8,7 @@ module Bankai
8
8
  class JsonGenerator < Base
9
9
  def add_oj
10
10
  gem 'oj'
11
- in_root { run 'bundle install' }
11
+ execute_command :bundle, 'install'
12
12
 
13
13
  initializer 'oj.rb' do
14
14
  "# frozen_string_literal: true\n\n" \
@@ -15,15 +15,15 @@ module Bankai
15
15
  end
16
16
 
17
17
  def install_overcommit
18
- in_root { run 'bundle exec overcommit --install' }
18
+ execute_command :bundle, 'exec overcommit --install'
19
19
  end
20
20
 
21
21
  def rubocop_autocorrect
22
- in_root { run 'bundle exec rubocop --auto-correct-all' }
22
+ execute_command :bundle, 'exec rubocop --auto-correct-all'
23
23
  end
24
24
 
25
25
  def rubocop_todo
26
- in_root { run 'bundle exec rubocop --auto-gen-config' }
26
+ execute_command :bundle, 'exec rubocop --auto-gen-config'
27
27
  end
28
28
  end
29
29
  end
@@ -8,12 +8,12 @@ module Bankai
8
8
  class WheneverGenerator < Base
9
9
  def add_whenever
10
10
  gem 'whenever', require: false
11
- in_root { run 'rubocop -a Gemfile' }
12
- in_root { run 'bundle install' }
11
+ execute_command :bundle, 'exec rubocop -a Gemfile'
12
+ execute_command :bundle, 'install'
13
13
  end
14
14
 
15
15
  def initialize_whenever
16
- in_root { run "wheneverize #{destination_root}" }
16
+ execute_command :bundle, "exec wheneverize #{destination_root}"
17
17
  end
18
18
 
19
19
  def initialize_capistrano
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bankai
4
- VERSION = '0.9.0'
4
+ VERSION = '0.9.1'
5
5
  RUBY_VERSION = '2.6.6'
6
6
  RAILS_VERSION = '5.2.0'
7
7
  RUBOCOP_VERSION = '1.8.1'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bankai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - 5xRuby
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-02-09 00:00:00.000000000 Z
12
+ date: 2021-03-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler