app_rail-steps 0.2.17 → 0.3.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47386fc4414879eba6d3d61d3a2a56a29dae5f1c7f535c980fa419dbcb808702
|
4
|
+
data.tar.gz: afa4875f3dcb3c83faf7f748f4a8b40ebb709ae0328a84b731a306e57c0bb10f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03c52c7868daad320894f7ae687eb3dc7ef9a492f882da0152e5284648d081c24fe27ed096e1c07346c3bae7b9069b20355dbd2715a40b34a7283a6ea3a6338d
|
7
|
+
data.tar.gz: 1047eb6a8e6fcc823f9129fa93e3a66449548b2e679ea86ce07becb0aeb9bf92f124359f1cfb5fd123e5f2adbc7e8398b725bd077cc536a4974fda35d8d4591b
|
data/Gemfile.lock
CHANGED
@@ -33,7 +33,7 @@ module AppRail
|
|
33
33
|
}.compact
|
34
34
|
end
|
35
35
|
|
36
|
-
def
|
36
|
+
def ar_charts_dashboard_pie_chart(id:, title:, values:, light_colors: nil, dark_colors: nil)
|
37
37
|
{
|
38
38
|
id: id.to_s,
|
39
39
|
chartType: :pie,
|
@@ -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.1
|
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:
|
11
|
+
date: 2023-05-19 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
|
@@ -58,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
59
|
- !ruby/object:Gem::Version
|
59
60
|
version: '0'
|
60
61
|
requirements: []
|
61
|
-
rubygems_version: 3.
|
62
|
+
rubygems_version: 3.4.1
|
62
63
|
signing_key:
|
63
64
|
specification_version: 4
|
64
65
|
summary: Utilities to generate JSON for expected step responses.
|