mobile_workflow 0.5.2 → 0.5.3

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: 041f527fb56b89086f71921c2f7042b0874d11f4cb264123d7fc023331cd7c8a
4
- data.tar.gz: 9cff904cabee6ca078120c19c6ea9f45345dd2f882add3b1aa74142fbc7cd6c6
3
+ metadata.gz: dfdd780bae1700eef4c227697f5d75b953bfb70c4a553f2ac9dc3fa6b1a92d28
4
+ data.tar.gz: ad16f3eb17f23f6e92fea8c56d50d5deb06c2faa9b1ee62d5774ddb26f38c62f
5
5
  SHA512:
6
- metadata.gz: cf75977ab7da901813bc2ced43dc325c1f1beda300553538c5f352b5537de13fd9047e3c5b483855c42e49070b569c58bf3bfb6501e8fe5bab41f93abed762e5
7
- data.tar.gz: 3d439a644c645a708b5b1a2ba6cc48be2366fbffa9f021e016e994156b2030367fa586051315a650950cbe70a8b3a01af625d693789971ef39a8b77351df3841
6
+ metadata.gz: d826dd850a09030b3f54666ffa37abb05fcdf39b0bc45e348d7988aebe03244a7bbddb38eea54a8ee482e4442256548d5fbd85d6c74d95dd365f2215b9930e0a
7
+ data.tar.gz: a8e597024e8ffa0eca83ec1958d6d90f02ff2e68722fd498bb8e96dcde216e46420f7f822e229507920f3d65ed291e7023c22dcefb484466309981a8de86d91a
@@ -78,7 +78,7 @@ module MobileWorkflow
78
78
 
79
79
  def read_openapi_spec
80
80
  say "Loading OpenAPI Spec: #{open_api_spec_path}"
81
- return JSON.parse(File.read(File.join(Rails.root, open_api_spec_path))).with_indifferent_access
81
+ return JSON.parse(File.read(open_api_spec_path)).with_indifferent_access
82
82
  end
83
83
 
84
84
  def open_api_spec_path
@@ -18,7 +18,9 @@ module MobileWorkflow::Cli
18
18
  end
19
19
 
20
20
  def administrate_generator
21
- rails_command 'generate administrate:install'
21
+ Bundler.with_clean_env { generate 'administrate:install' }
22
+
23
+ #rails_command 'generate administrate:install'
22
24
  file 'app/assets/config/manifest.js', <<-CODE
23
25
  //= link administrate/application.css
24
26
  //= link administrate/application.js
@@ -31,7 +33,8 @@ module Admin
31
33
  end
32
34
  end
33
35
  CODE
34
- generate 'administrate:routes'
36
+
37
+ Bundler.with_clean_env { generate 'administrate:routes' }
35
38
  end
36
39
 
37
40
  def ability_generator
@@ -1,5 +1,5 @@
1
1
  module MobileWorkflow
2
- VERSION = '0.5.2'
2
+ VERSION = '0.5.3'
3
3
  RUBY_VERSION = '2.5.5'
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.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brooke-Smith