formulario 0.1.0 → 0.1.1b

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae3a7435334b0dbb6c91875b41b9516c31284b501ef528a87aaefcc031be2577
4
- data.tar.gz: 8c01b7771c45769eefe12e9702c040248ee684e74892e24bc83761dc022c854c
3
+ metadata.gz: 10be35b208c5e604d6b23623184e89733274a891fc3a5a42fd5ea5494ec5a4e8
4
+ data.tar.gz: 761c694754991adb79a7f95b118d498f12841294c48b0bfa87c48d4c02b33c9f
5
5
  SHA512:
6
- metadata.gz: 19f8017da3c0c378cc4aa06972b2af746ba37af627acd3d688aea77a310c451c0465facae22fe5fbee61e99e39532bfeab1c56ee7c39f78886c8b1e6fc416b35
7
- data.tar.gz: fd226a164aa23ee95a7256791086d6f0c948034ffd7fd3e2afca59f818a69d19e5d192e228ef370472e4ab763823aa72b2e0144635c9cf047dc3bc8ac00d6239
6
+ metadata.gz: 34dbcf2e68384ecab82baa64c13fb467dab969d718a41a0bd29f845c74fda833101b0e24a968225049a2b5105aa9ac55e010769eb07a616313005488a9e8cd29
7
+ data.tar.gz: 9b5149c3f638c9c23518cc1e3ff0b2bec1f80d566f58d27e332747fe7e258c5c426e0fbca8d9e5e0b979f639e534d52effc67b39992d08263f6a00dc28303178
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- formulario (0.1.0)
4
+ formulario (0.1.1b)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/formulario.gemspec CHANGED
@@ -9,11 +9,11 @@ Gem::Specification.new do |spec|
9
9
  spec.email = ["iachetti.federico@gmail.com"]
10
10
 
11
11
  spec.summary = %q{Form objects for your project}
12
- spec.description = %q{Form objects for your project}
12
+ spec.description = %q{Create form objects for your project. This forms are framework agnostic.}
13
13
  spec.homepage = "https://gitlab.com/fiachetti/formulario"
14
14
  spec.license = "MIT"
15
15
 
16
- spec.metadata["homepage_uri"] = spec.homepage
16
+ spec.metadata["homepage_uri"] = "https://gitlab.com/fiachetti/formulario"
17
17
  spec.metadata["source_code_uri"] = "https://gitlab.com/fiachetti/formulario"
18
18
  spec.metadata["changelog_uri"] = "https://gitlab.com/fiachetti/formulario/blob/d46f675a18c4fbf1d16634a5da343a648af7cf0c/CHANGELOG.org"
19
19
 
@@ -82,6 +82,12 @@ module Formulario
82
82
  }
83
83
 
84
84
 
85
+ # TODO: TEST AND CHANGE THIS
86
+ if field_type == ::Formulario::Form
87
+ default = ::Formulario::FormField[field_type.default]
88
+ end
89
+
90
+
85
91
  define_method(field_name) do
86
92
  __fields.dig(field_name.to_sym, :value)
87
93
  end
@@ -1,3 +1,3 @@
1
1
  module Formulario
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1b"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formulario
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1b
5
5
  platform: ruby
6
6
  authors:
7
7
  - Federico Iachetti
@@ -94,7 +94,7 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- description: Form objects for your project
97
+ description: Create form objects for your project. This forms are framework agnostic.
98
98
  email:
99
99
  - iachetti.federico@gmail.com
100
100
  executables: []
@@ -150,9 +150,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
150
150
  version: '0'
151
151
  required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  requirements:
153
- - - ">="
153
+ - - ">"
154
154
  - !ruby/object:Gem::Version
155
- version: '0'
155
+ version: 1.3.1
156
156
  requirements: []
157
157
  rubygems_version: 3.0.6
158
158
  signing_key: