mobile_workflow 0.6.2 → 0.6.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: c7aad19ae34447ff0513404bca010009eb92413363c1f4f996f3f10a2812163f
4
- data.tar.gz: 2c5199aa42f002fe72ea127d3d00b2b14df54461a6ed708ae662f1d0f94a0165
3
+ metadata.gz: fa30fd9bb5c6aa9d27333100a4955e32219e8a0241753d03743cb4ae3e769a40
4
+ data.tar.gz: d23b234015566cd627dc4063efa40b7ef14d0f7a80a5511b5a06739f580f9ee3
5
5
  SHA512:
6
- metadata.gz: acb8e199bc5db264b097e64b0f1541d3e6fe2f88a994b9ddd2224f5b9beece21dafc14fabafdba8a527ab35c9519aa5ef7fdfadb810c93f6a874ce7e371073cb
7
- data.tar.gz: b0e6e18c2493e1f4a903f4bab3af64ddb39b2e59898856c90e0968d8589c34a1912ac650edd0bdd36004d9a81299e7656f3de12c3593823e302d6af1d6d270c4
6
+ metadata.gz: 9861be314639d646a46c7b35d85a91cd4ebf32b4b19320878cc494ac5b0227052e12f7ab0f6f0173a56ab503b3748a40f004b3a3613ae9c511f9e526521ee987
7
+ data.tar.gz: 95fb08640afa41f41d792b8fdf97d14c4622163600546638733f1d02a29d60c3cf3b4fdf09b1574fcfb3ed9a8094bcc15dcd24552376e686ae1a5a7261de60c8
@@ -19,7 +19,7 @@ class <%= controller_class_name %>Controller < ApiController
19
19
  render json: { binary_urls: binary_urls(@<%= singular_table_name %>), response: @<%= singular_table_name %> }, status: :created
20
20
  <% else -%>
21
21
  render json: { response: @<%= singular_table_name %> }, status: :created
22
- <% end %>
22
+ <% end -%>
23
23
  else
24
24
  head :unprocessable_entity
25
25
  end
@@ -13,13 +13,13 @@ class <%= class_name %> < <%= parent_class_name.classify %>
13
13
  <% end -%>
14
14
 
15
15
  def list_item_as_json
16
- mw_list_item(text: text)
16
+ mw_list_item(text: <%= attributes.first.name %>)
17
17
  end
18
18
 
19
19
  def display_as_json
20
20
  [
21
21
  mw_display_text(label: 'ID', text: id.to_s),
22
- mw_display_text(label: 'Text', text: text)
22
+ mw_display_text(label: 'Text', text: <%= attributes.first.name %>)
23
23
  ]
24
24
  end
25
25
 
@@ -1,5 +1,5 @@
1
1
  module MobileWorkflow
2
- VERSION = '0.6.2'
2
+ VERSION = '0.6.3'
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.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brooke-Smith