ciesta 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.travis.yml +7 -5
- data/Gemfile.lock +22 -22
- data/README.md +6 -1
- data/ciesta.gemspec +8 -8
- data/lib/ciesta/version.rb +1 -1
- metadata +31 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0326903a2370e22480a82742151961e3d6bf8d908e6f754d85e083c5dc2e73e7'
|
4
|
+
data.tar.gz: 723ae2107a991bd4213cd095a6f177547ac78f811e63e3924b97606fb17841c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abea79ced40cbee033c2af2d3560e0cb28cce27141a5f22931fbb38f98aa8c6ad07a349a47e8fa40865d864133ab94173f17672f678ae0de4c9c50cfc4711878
|
7
|
+
data.tar.gz: bea999abb3db92f72130d00bd8fabe818d8e9f823f64fa9e62b9d48828617f7e465ca60236cb862dcd2e1e6d3bf5cba39814e81a59c7e87c8b294f825689e057
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ciesta (0.4.
|
4
|
+
ciesta (0.4.1)
|
5
5
|
dry-types (~> 0.13)
|
6
6
|
dry-validation (~> 0.12)
|
7
7
|
|
@@ -10,7 +10,7 @@ GEM
|
|
10
10
|
specs:
|
11
11
|
ast (2.4.0)
|
12
12
|
coderay (1.1.2)
|
13
|
-
concurrent-ruby (1.
|
13
|
+
concurrent-ruby (1.1.4)
|
14
14
|
coveralls (0.8.22)
|
15
15
|
json (>= 1.8, < 3)
|
16
16
|
simplecov (~> 0.16.1)
|
@@ -32,7 +32,7 @@ GEM
|
|
32
32
|
dry-container (~> 0.2, >= 0.2.6)
|
33
33
|
dry-core (~> 0.2)
|
34
34
|
dry-equalizer (~> 0.2)
|
35
|
-
dry-types (0.13.
|
35
|
+
dry-types (0.13.4)
|
36
36
|
concurrent-ruby (~> 1.0)
|
37
37
|
dry-container (~> 0.3)
|
38
38
|
dry-core (~> 0.4, >= 0.4.4)
|
@@ -46,18 +46,18 @@ GEM
|
|
46
46
|
dry-equalizer (~> 0.2)
|
47
47
|
dry-logic (~> 0.4, >= 0.4.0)
|
48
48
|
dry-types (~> 0.13.1)
|
49
|
-
jaro_winkler (1.5.
|
49
|
+
jaro_winkler (1.5.2)
|
50
50
|
json (2.1.0)
|
51
|
-
method_source (0.9.
|
52
|
-
parallel (1.
|
53
|
-
parser (2.
|
51
|
+
method_source (0.9.2)
|
52
|
+
parallel (1.13.0)
|
53
|
+
parser (2.6.0.0)
|
54
54
|
ast (~> 2.4.0)
|
55
55
|
powerpack (0.1.2)
|
56
|
-
pry (0.
|
56
|
+
pry (0.12.2)
|
57
57
|
coderay (~> 1.1.0)
|
58
58
|
method_source (~> 0.9.0)
|
59
59
|
rainbow (3.0.0)
|
60
|
-
rake (
|
60
|
+
rake (12.3.2)
|
61
61
|
rspec (3.8.0)
|
62
62
|
rspec-core (~> 3.8.0)
|
63
63
|
rspec-expectations (~> 3.8.0)
|
@@ -71,38 +71,38 @@ GEM
|
|
71
71
|
diff-lcs (>= 1.2.0, < 2.0)
|
72
72
|
rspec-support (~> 3.8.0)
|
73
73
|
rspec-support (3.8.0)
|
74
|
-
rubocop (0.
|
74
|
+
rubocop (0.63.1)
|
75
75
|
jaro_winkler (~> 1.5.1)
|
76
76
|
parallel (~> 1.10)
|
77
77
|
parser (>= 2.5, != 2.5.1.1)
|
78
78
|
powerpack (~> 0.1)
|
79
79
|
rainbow (>= 2.2.2, < 4.0)
|
80
80
|
ruby-progressbar (~> 1.7)
|
81
|
-
unicode-display_width (~> 1.
|
81
|
+
unicode-display_width (~> 1.4.0)
|
82
82
|
ruby-progressbar (1.10.0)
|
83
83
|
simplecov (0.16.1)
|
84
84
|
docile (~> 1.1)
|
85
85
|
json (>= 1.8, < 3)
|
86
86
|
simplecov-html (~> 0.10.0)
|
87
87
|
simplecov-html (0.10.2)
|
88
|
-
term-ansicolor (1.
|
88
|
+
term-ansicolor (1.7.1)
|
89
89
|
tins (~> 1.0)
|
90
90
|
thor (0.19.4)
|
91
|
-
tins (1.
|
92
|
-
unicode-display_width (1.4.
|
91
|
+
tins (1.20.2)
|
92
|
+
unicode-display_width (1.4.1)
|
93
93
|
|
94
94
|
PLATFORMS
|
95
95
|
ruby
|
96
96
|
|
97
97
|
DEPENDENCIES
|
98
|
-
bundler
|
98
|
+
bundler
|
99
99
|
ciesta!
|
100
|
-
coveralls
|
101
|
-
pry
|
102
|
-
rake
|
103
|
-
rspec
|
104
|
-
rubocop
|
105
|
-
simplecov
|
100
|
+
coveralls
|
101
|
+
pry
|
102
|
+
rake
|
103
|
+
rspec
|
104
|
+
rubocop
|
105
|
+
simplecov
|
106
106
|
|
107
107
|
BUNDLED WITH
|
108
|
-
1.16.
|
108
|
+
1.16.6
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
Create simple form objects
|
8
8
|
|
9
|
-
Supported Ruby 2.
|
9
|
+
Supported Ruby 2.3+
|
10
10
|
|
11
11
|
You should keep it in mind that here uses [dry-validation](https://github.com/dry-rb/dry-validation) and [dry-types](https://github.com/dry-rb/dry-types) for validation and typification respectively.
|
12
12
|
|
@@ -68,6 +68,11 @@ form = Form.new(user)
|
|
68
68
|
```ruby
|
69
69
|
form.name = "John"
|
70
70
|
form.age = "33"
|
71
|
+
|
72
|
+
...
|
73
|
+
|
74
|
+
form.name # => "John"
|
75
|
+
form.age # => 33
|
71
76
|
```
|
72
77
|
|
73
78
|
### Validation
|
data/ciesta.gemspec
CHANGED
@@ -27,16 +27,16 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.bindir = "bin"
|
28
28
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
29
29
|
spec.require_paths = ["lib"]
|
30
|
-
spec.required_ruby_version = ">= 2.
|
30
|
+
spec.required_ruby_version = ">= 2.3"
|
31
31
|
|
32
32
|
spec.add_dependency "dry-types", "~> 0.13"
|
33
33
|
spec.add_dependency "dry-validation", "~> 0.12"
|
34
34
|
|
35
|
-
spec.add_development_dependency "bundler"
|
36
|
-
spec.add_development_dependency "coveralls"
|
37
|
-
spec.add_development_dependency "pry"
|
38
|
-
spec.add_development_dependency "rake"
|
39
|
-
spec.add_development_dependency "rspec"
|
40
|
-
spec.add_development_dependency "rubocop"
|
41
|
-
spec.add_development_dependency "simplecov"
|
35
|
+
spec.add_development_dependency "bundler"
|
36
|
+
spec.add_development_dependency "coveralls"
|
37
|
+
spec.add_development_dependency "pry"
|
38
|
+
spec.add_development_dependency "rake"
|
39
|
+
spec.add_development_dependency "rspec"
|
40
|
+
spec.add_development_dependency "rubocop"
|
41
|
+
spec.add_development_dependency "simplecov"
|
42
42
|
end
|
data/lib/ciesta/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ciesta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-types
|
@@ -42,100 +42,100 @@ dependencies:
|
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: coveralls
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
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'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: pry
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0
|
75
|
+
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
110
|
+
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rubocop
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - "
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0
|
117
|
+
version: '0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - "
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '0
|
124
|
+
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: simplecov
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - "
|
129
|
+
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '0
|
131
|
+
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - "
|
136
|
+
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '0
|
138
|
+
version: '0'
|
139
139
|
description: Gem for creating and using form object
|
140
140
|
email:
|
141
141
|
- nulldefiner@gmail.com
|
@@ -180,7 +180,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
180
180
|
requirements:
|
181
181
|
- - ">="
|
182
182
|
- !ruby/object:Gem::Version
|
183
|
-
version: '2.
|
183
|
+
version: '2.3'
|
184
184
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
185
185
|
requirements:
|
186
186
|
- - ">="
|