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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5edecb23ff1a41bdee5b20058e2a3f89688cb84c4c75d5bca1dd588388cfccbf
4
- data.tar.gz: 2e31ce2197aee8f2289026a1589c838c31eeb589d0f223ccb55a4801b19eaea1
3
+ metadata.gz: '0326903a2370e22480a82742151961e3d6bf8d908e6f754d85e083c5dc2e73e7'
4
+ data.tar.gz: 723ae2107a991bd4213cd095a6f177547ac78f811e63e3924b97606fb17841c8
5
5
  SHA512:
6
- metadata.gz: cf6686bed0df0f9cc26e5c0f7447e636603e6ceb0802fe7f36e40906850b702bab4514265e5e5f642ae712ee375d8336788af1fd4413b9379d822ee275001f4d
7
- data.tar.gz: e33e92164712e7720c6842b52d7064bfe232608b78ed44bb50e29674e64261260ab9aa0d5ef009593db38096430b0c2a2cd8e0b77dd5dd958699fbc4bf964258
6
+ metadata.gz: abea79ced40cbee033c2af2d3560e0cb28cce27141a5f22931fbb38f98aa8c6ad07a349a47e8fa40865d864133ab94173f17672f678ae0de4c9c50cfc4711878
7
+ data.tar.gz: bea999abb3db92f72130d00bd8fabe818d8e9f823f64fa9e62b9d48828617f7e465ca60236cb862dcd2e1e6d3bf5cba39814e81a59c7e87c8b294f825689e057
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.2
2
+ TargetRubyVersion: 2.3
3
3
 
4
4
  Metrics/LineLength:
5
5
  Max: 100
data/.travis.yml CHANGED
@@ -6,9 +6,11 @@ before_install: gem install bundler
6
6
  script: bundle exec rspec
7
7
  rvm:
8
8
  - ruby-head
9
+ - 2.5.1
9
10
  - 2.4.2
10
- - 2.4.0
11
- - 2.3.5
12
- - 2.3.1
13
- - 2.2.5
14
- - 2.2.0
11
+ - 2.3.0
12
+
13
+ matrix:
14
+ fast_finish: true
15
+ allow_failures:
16
+ - rvm: ruby-head
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ciesta (0.4.0)
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.0.5)
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.2)
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.1)
49
+ jaro_winkler (1.5.2)
50
50
  json (2.1.0)
51
- method_source (0.9.0)
52
- parallel (1.12.1)
53
- parser (2.5.1.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.11.3)
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 (10.5.0)
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.59.2)
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.0, >= 1.0.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.6.0)
88
+ term-ansicolor (1.7.1)
89
89
  tins (~> 1.0)
90
90
  thor (0.19.4)
91
- tins (1.16.3)
92
- unicode-display_width (1.4.0)
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 (~> 1.16)
98
+ bundler
99
99
  ciesta!
100
- coveralls (~> 0.8)
101
- pry (~> 0.11)
102
- rake (~> 10.5)
103
- rspec (~> 3.8)
104
- rubocop (~> 0.59)
105
- simplecov (~> 0.16)
100
+ coveralls
101
+ pry
102
+ rake
103
+ rspec
104
+ rubocop
105
+ simplecov
106
106
 
107
107
  BUNDLED WITH
108
- 1.16.3
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.2.0+
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.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", "~> 1.16"
36
- spec.add_development_dependency "coveralls", "~> 0.8"
37
- spec.add_development_dependency "pry", "~> 0.11"
38
- spec.add_development_dependency "rake", "~> 10.5"
39
- spec.add_development_dependency "rspec", "~> 3.8"
40
- spec.add_development_dependency "rubocop", "~> 0.59"
41
- spec.add_development_dependency "simplecov", "~> 0.16"
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ciesta
4
- VERSION = "0.4.0".freeze
4
+ VERSION = "0.4.1"
5
5
  end
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.0
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: 2018-10-13 00:00:00.000000000 Z
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: '1.16'
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: '1.16'
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.8'
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.8'
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.11'
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.11'
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: '10.5'
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: '10.5'
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: '3.8'
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: '3.8'
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.59'
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.59'
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.16'
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.16'
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.2'
183
+ version: '2.3'
184
184
  required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  requirements:
186
186
  - - ">="