mobile_workflow 0.6.14 → 0.6.15

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: 799110824fce9c1897c4418e504215c23e19a29107dc3833d3b44ef633ffd695
4
- data.tar.gz: a8606dc9b5b382ffff495fb7eecd20b17b737f4c5234821318402222f677c419
3
+ metadata.gz: 70b47d5100717238d1b3a8251f6f4d12ea3b3238574bcfa3d5e1f93fc9ba6147
4
+ data.tar.gz: d752174d98519ec5ebdd98007b8d8956c9e0b40f845df1200ee50c8a915fb7b5
5
5
  SHA512:
6
- metadata.gz: 611d110892aa6a03b97c6aa7d0ce9ba3e7aaa810eaf05b313ca7db18b8260b76cadfb3ac64f9af972b8f12759eb10ce21cc65258b8047226155e2238da14cc3d
7
- data.tar.gz: fa196418587eae7166549b881cfea04b89b9539738c39c0f6c159e4de450c480d5a8d14c88530c0527ec4b135fd0c803622ae367a235299314d2826da084bddd
6
+ metadata.gz: aaf8809dae9ad487dda543d0619a272aa174dc881c2cb6b941701c0eda093798eadbf46808d05a2a2a828163e3f0068e45d17f099ec149865e72424da75ce9f6
7
+ data.tar.gz: e7948f530072740a2e7716dafc6b95c5a1176a07be0b6f640332ca23b404edc1bf61a8718736aac7e49a09faae176b73b6393ec0c1c7188e5dfff9c299d2bf90
@@ -2,9 +2,6 @@ module MobileWorkflow
2
2
  module OpenApiSpec
3
3
  class Parser
4
4
 
5
- # Schemas to avoid generating models for (static items from MW)
6
- SKIP_SCHEMAS = ["attachment", "ListItem", "DisplayItem", "DisplayText", "DisplayButton", "DisplayImage", "DisplayVideo"]
7
-
8
5
  def initialize(open_api_spec_string)
9
6
  @open_api_spec_string = open_api_spec_string
10
7
  end
@@ -12,7 +9,7 @@ module MobileWorkflow
12
9
  def model_name_to_properties
13
10
  @model_properties = {}
14
11
  schemas.each_pair do |model_name, schema|
15
- next if SKIP_SCHEMAS.include? model_name # Don't generate schemas for MW schemas
12
+ next if model_name.start_with?("MW")
16
13
 
17
14
  model_name = model_name.underscore
18
15
  model_properties = schema_model_properties(model_name, schema)
@@ -1,5 +1,5 @@
1
1
  module MobileWorkflow
2
- VERSION = '0.6.14'
2
+ VERSION = '0.6.15'
3
3
  RUBY_VERSION = '2.7.2'
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.6.14
4
+ version: 0.6.15
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: 2021-03-03 00:00:00.000000000 Z
11
+ date: 2021-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails