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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/app_rail/steps/displayable.rb +2 -0
- data/lib/app_rail/steps/maps/confirm_location.rb +18 -0
- data/lib/app_rail/steps/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cce94a73948469515a4b2a78253ea954eb1232dedc78bbc5dd8e216685f382cf
|
4
|
+
data.tar.gz: 711aeb3b88532e65962bffa56d4d2d5cb5d11227d2cef8e013c8aed6c427c24d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a6cf7398cb8155c48740b7c75118d0808d260b4934f21377672147a0a50b41b8340d27650f9f19aea88a754ebb9300ff66a647c56cce606437b5ceda6b9349c
|
7
|
+
data.tar.gz: 5b808f734cf36ba747b6a58aebd848bb1d7ce7915add23176158e749fb563af4bb95955ad41f030bebc566af2c4d1c18aac28f0ba0399efa246390085cdbcf8f
|
data/Gemfile.lock
CHANGED
@@ -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
|
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.
|
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
|
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
|