mobile_workflow 0.6.3 → 0.6.4

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: fa30fd9bb5c6aa9d27333100a4955e32219e8a0241753d03743cb4ae3e769a40
4
- data.tar.gz: d23b234015566cd627dc4063efa40b7ef14d0f7a80a5511b5a06739f580f9ee3
3
+ metadata.gz: 2d3b107beb896ad8c143fe376e7532d3f7d3093435f1b0b59a15401dba17d752
4
+ data.tar.gz: '097097c10f64a32065c90e42779b672fecd4b964a15eb43e887d686718c3acfb'
5
5
  SHA512:
6
- metadata.gz: 9861be314639d646a46c7b35d85a91cd4ebf32b4b19320878cc494ac5b0227052e12f7ab0f6f0173a56ab503b3748a40f004b3a3613ae9c511f9e526521ee987
7
- data.tar.gz: 95fb08640afa41f41d792b8fdf97d14c4622163600546638733f1d02a29d60c3cf3b4fdf09b1574fcfb3ed9a8094bcc15dcd24552376e686ae1a5a7261de60c8
6
+ metadata.gz: c8fea51abb663711210ef86a67a8a2b5bcaaedd95d8772fb1297d6deaa10ee4142af6a0a2a6948db56f088da31aa26833b580c6ed7be994c16df6884338394dd
7
+ data.tar.gz: 41fee4840d3925030a310530cca5f778a1b989d5f37bea0c8fc7440d3947d04fade3ac3abf040b0f6bf6a0e3508b492b840871c7c73c50fb7b9201decf8703b7
@@ -16,6 +16,12 @@ module MobileWorkflow::Cli
16
16
  def rspec_generator
17
17
  generate 'rspec:install'
18
18
  end
19
+
20
+ def factory_bot
21
+ inject_into_file 'spec/rails_helper.rb', before: "end\n" do
22
+ "config.include FactoryBot::Syntax::Methods"
23
+ end
24
+ end
19
25
 
20
26
  def administrate_generator
21
27
  Bundler.with_unbundled_env { generate 'administrate:install' }
@@ -33,6 +33,7 @@ module MobileWorkflow::Cli
33
33
  after_bundle do
34
34
  build :procfiles
35
35
  build :rspec_generator
36
+ build :factory_bot
36
37
  build :ability_generator
37
38
  build :active_storage if options[:s3_storage]
38
39
  build :mobile_workflow_generator, ARGV[1]
@@ -1,5 +1,5 @@
1
1
  module MobileWorkflow
2
- VERSION = '0.6.3'
2
+ VERSION = '0.6.4'
3
3
  RUBY_VERSION = '2.7.2'
4
4
  RAILS_VERSION = '6.1.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mobile_workflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brooke-Smith