app_rail-steps 0.2.17 → 0.3.0

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: 73b5a80452096f2cd1b120557e985c6a164b6da06d3424e05c6c608a3e28536c
4
- data.tar.gz: 4bbebd9fe3a3b4c1d31323b54f419fa2713f0de7b3b334497c7cb280250a861b
3
+ metadata.gz: cce94a73948469515a4b2a78253ea954eb1232dedc78bbc5dd8e216685f382cf
4
+ data.tar.gz: 711aeb3b88532e65962bffa56d4d2d5cb5d11227d2cef8e013c8aed6c427c24d
5
5
  SHA512:
6
- metadata.gz: 2f8abdd77ed00ad00fa4c38698b7ff7b54aec99a707b7d141ef0717fe9818d3c95e3d5a7a70f6dabf2d263211942117fdfd9f7f76f595176ec66dd9c611615bc
7
- data.tar.gz: 2218b1c391cca6bad40d08d3a03bfb6156ef13755a236ccebc043fd7ee9a67e3b7fb9ade70fcb41fb159ff2b4e260dd20fee96f7da0a2cde9ce339a1032e0603
6
+ metadata.gz: 3a6cf7398cb8155c48740b7c75118d0808d260b4934f21377672147a0a50b41b8340d27650f9f19aea88a754ebb9300ff66a647c56cce606437b5ceda6b9349c
7
+ data.tar.gz: 5b808f734cf36ba747b6a58aebd848bb1d7ce7915add23176158e749fb563af4bb95955ad41f030bebc566af2c4d1c18aac28f0ba0399efa246390085cdbcf8f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- app_rail-steps (0.2.17)
4
+ app_rail-steps (0.3.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -5,6 +5,7 @@ require_relative "core/stack"
5
5
  require_relative "core_forms/form"
6
6
  require_relative "core_forms/question"
7
7
  require_relative "maps/map"
8
+ require_relative "maps/confirm_location"
8
9
  require_relative "grid/grid"
9
10
  require_relative "charts/dashboard"
10
11
  require_relative "background_location/region"
@@ -17,6 +18,7 @@ module AppRail
17
18
  include Steps::CoreForms::Form
18
19
  include Steps::CoreForms::Question
19
20
  include Steps::Maps::Map
21
+ include Steps::Maps::ConfirmLocation
20
22
  include Steps::Grid::Grid
21
23
  include Steps::Charts::Dashboard
22
24
  include Steps::BackgroundLocation::Region
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AppRail
4
+ module Steps
5
+ module Maps
6
+ module ConfirmLocation
7
+ def ar_maps_confirm_location(latitude:, longitude:, text:, detail_text: nil)
8
+ {
9
+ text: text,
10
+ latitude: latitude.to_f,
11
+ longitude: longitude.to_f,
12
+ detailText: detail_text
13
+ }.compact
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module AppRail
4
4
  module Steps
5
- VERSION = "0.2.17"
5
+ VERSION = "0.3.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_rail-steps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.17
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brooke-Smith
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-24 00:00:00.000000000 Z
11
+ date: 2022-11-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email:
@@ -35,6 +35,7 @@ files:
35
35
  - lib/app_rail/steps/core_forms/question.rb
36
36
  - lib/app_rail/steps/displayable.rb
37
37
  - lib/app_rail/steps/grid/grid.rb
38
+ - lib/app_rail/steps/maps/confirm_location.rb
38
39
  - lib/app_rail/steps/maps/map.rb
39
40
  - lib/app_rail/steps/version.rb
40
41
  homepage: https://github.com/FutureWorkshops/app_rail-steps