mobile_workflow 0.5.2 → 0.5.3
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dfdd780bae1700eef4c227697f5d75b953bfb70c4a553f2ac9dc3fa6b1a92d28
|
|
4
|
+
data.tar.gz: ad16f3eb17f23f6e92fea8c56d50d5deb06c2faa9b1ee62d5774ddb26f38c62f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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(
|
|
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
|
-
|
|
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
|
-
|
|
36
|
+
|
|
37
|
+
Bundler.with_clean_env { generate 'administrate:routes' }
|
|
35
38
|
end
|
|
36
39
|
|
|
37
40
|
def ability_generator
|