formalist 0.4.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/Gemfile +1 -1
- data/formalist.gemspec +1 -1
- data/lib/formalist/elements/standard/number_field.rb +1 -1
- data/lib/formalist/elements/standard/search_multi_selection_field.rb +3 -2
- data/lib/formalist/elements/standard/search_selection_field.rb +3 -2
- data/lib/formalist/elements/standard/tags_field.rb +2 -2
- data/lib/formalist/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03a8f0c988791be928bb997789c44373b720d3c9a24d37bc62d66a544feabcf9
|
4
|
+
data.tar.gz: ddb5f88e7d7223c8c256e9d2f2f3e266b836b900f3f1be9ef0b4eb30c1984287
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d3fc72a4a0ce4d017c53c136b30a5cd636c06617a1c3b48ed593caee5caaa3ec82e4536e5948d42d5fcc61026e5e98379d30f47d4a1f4a2a9aaf1d23438f9d9
|
7
|
+
data.tar.gz: fa77fc67dc3393ce5fa847f683e57314dcdfe84bf42f4d4060b4c24004d4c4053fc439f87a3d608da862a1889dfb7d918d3588277957f2cdad6b3d4e055913c0
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/formalist.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_runtime_dependency "dry-configurable", "~> 0.7"
|
23
23
|
spec.add_runtime_dependency "dry-core", "~> 0.4"
|
24
24
|
spec.add_runtime_dependency "dry-container", "~> 0.6"
|
25
|
-
spec.add_runtime_dependency "dry-types", "~> 0.
|
25
|
+
spec.add_runtime_dependency "dry-types", "~> 0.13"
|
26
26
|
spec.add_runtime_dependency "inflecto"
|
27
27
|
|
28
28
|
spec.add_development_dependency "bundler", "~> 1.10"
|
@@ -7,11 +7,12 @@ module Formalist
|
|
7
7
|
class SearchMultiSelectionField < Field
|
8
8
|
attribute :selector_label, Types::String
|
9
9
|
attribute :render_option_as, Types::String
|
10
|
+
attribute :render_option_control_as, Types::String
|
10
11
|
attribute :render_selection_as, Types::String
|
11
12
|
attribute :search_url, Types::String
|
12
|
-
attribute :search_per_page, Types::
|
13
|
+
attribute :search_per_page, Types::Integer
|
13
14
|
attribute :search_params, Types::Hash
|
14
|
-
attribute :search_threshold, Types::
|
15
|
+
attribute :search_threshold, Types::Integer
|
15
16
|
attribute :selections, Types::Array
|
16
17
|
end
|
17
18
|
|
@@ -7,11 +7,12 @@ module Formalist
|
|
7
7
|
class SearchSelectionField < Field
|
8
8
|
attribute :selector_label, Types::String
|
9
9
|
attribute :render_option_as, Types::String
|
10
|
+
attribute :render_option_control_as, Types::String
|
10
11
|
attribute :render_selection_as, Types::String
|
11
12
|
attribute :search_url, Types::String
|
12
|
-
attribute :search_per_page, Types::
|
13
|
+
attribute :search_per_page, Types::Integer
|
13
14
|
attribute :search_params, Types::Hash
|
14
|
-
attribute :search_threshold, Types::
|
15
|
+
attribute :search_threshold, Types::Integer
|
15
16
|
attribute :selection, Types::Hash
|
16
17
|
end
|
17
18
|
|
@@ -6,9 +6,9 @@ module Formalist
|
|
6
6
|
class Elements
|
7
7
|
class TagsField < Field
|
8
8
|
attribute :search_url, Types::String
|
9
|
-
attribute :search_per_page, Types::
|
9
|
+
attribute :search_per_page, Types::Integer
|
10
10
|
attribute :search_params, Types::Hash
|
11
|
-
attribute :search_threshold, Types::
|
11
|
+
attribute :search_threshold, Types::Integer
|
12
12
|
end
|
13
13
|
|
14
14
|
register :tags_field, TagsField
|
data/lib/formalist/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formalist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Riley
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0.
|
61
|
+
version: '0.13'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0.
|
68
|
+
version: '0.13'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: inflecto
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|