mobile_workflow 0.5.4 → 0.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 571d39403e0bab33ae247f5b9978d82d663869ace7312f648e5165118f7f32db
4
- data.tar.gz: 0af55229b44287ea72b877b283217f6b0f18a20aa6e9fcac06a27422719eb271
3
+ metadata.gz: 59a42474dd2320d74da05ae06c5b5b143d7b916bc0be5672d5bbf9e725dadfa4
4
+ data.tar.gz: bd0c2418cfdb2c57f05c7cebe8caec037c96f4aa15bf9f1a0cd04e9fd531dad9
5
5
  SHA512:
6
- metadata.gz: 59caa775f45e3e4d5a9d0dd23f317c0d717d8c21147cde0f359abdba485ef3575342fa323acf3f3e13581c1005a935a50430ab19515599162312566f3bc9d9f5
7
- data.tar.gz: ff4026ab4cbc380f8093881f70e9aa90c45a97522518f79e0b923998da7b9f9dc45a0c6a1c4164a3f4854068c0a3090408cc896f3f26e77f16b23e9f759cf4e8
6
+ metadata.gz: f95219a039c62458cd5e93a6d2ff859e4c2a8ff6bd39f8ae941e4d1cd63d9daf9b316ce1b9454a16969c84a16c8bb9e46a42dc6087425222613b971be359e524
7
+ data.tar.gz: 7b2b4f522160353494ba0b3ab1228622fb7e8cf8f104c5d76c2dc522023aacad57d67c3d773bb953d11615d2c2e460ec2a641d9785cef5ccc16d99714abe8e49
@@ -18,9 +18,8 @@ module MobileWorkflow::Cli
18
18
  end
19
19
 
20
20
  def administrate_generator
21
- Bundler.with_clean_env { generate 'administrate:install' }
21
+ Bundler.with_unbundled_env { generate 'administrate:install' }
22
22
 
23
- #rails_command 'generate administrate:install'
24
23
  file 'app/assets/config/manifest.js', <<-CODE
25
24
  //= link administrate/application.css
26
25
  //= link administrate/application.js
@@ -34,7 +33,7 @@ module Admin
34
33
  end
35
34
  CODE
36
35
 
37
- Bundler.with_clean_env { generate 'administrate:routes' }
36
+ Bundler.with_unbundled_env { generate 'administrate:routes' }
38
37
  end
39
38
 
40
39
  def ability_generator
@@ -51,16 +51,18 @@ module MobileWorkflow::Cli
51
51
  protected
52
52
 
53
53
  def get_builder_class
54
- MobileWorkflow::Cli::AppBuilder
54
+ ::MobileWorkflow::Cli::AppBuilder
55
55
  end
56
56
 
57
57
  # Todo: MBS - move these methods to the builder class
58
58
  # Ideally override RailsBuilder methods
59
59
  private
60
60
  def setup_db
61
- rails_command "db:drop"
62
- rails_command "db:create"
63
- rails_command "db:migrate"
61
+ Bundler.with_unbundled_env do
62
+ rails_command("db:drop")
63
+ rails_command("db:create")
64
+ rails_command("db:migrate")
65
+ end
64
66
  end
65
67
 
66
68
  def initial_git_commit
@@ -1,5 +1,5 @@
1
1
  module MobileWorkflow
2
- VERSION = '0.5.4'
2
+ VERSION = '0.5.5'
3
3
  RUBY_VERSION = '2.5.5'
4
4
  RAILS_VERSION = '6.1.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mobile_workflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brooke-Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-28 00:00:00.000000000 Z
11
+ date: 2020-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails