pathway 0.10.0 → 0.11.0

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: 106b1a46d50cb3c4c01ec2e10a8c052990c383fba98e04ded0fe5699fc34cc0d
4
- data.tar.gz: f700e70d0c8323abc370ce9c8fd990d93950af649d909f5b363f945cd4ac495f
3
+ metadata.gz: 27b3570a78198f711d1d781ec9f48cdf2cbe8846034abda268f5137f6c88f2fe
4
+ data.tar.gz: d10a76ae2edb906058ac291a8e106f05457bf89ce86558355f331ddbc058b5d1
5
5
  SHA512:
6
- metadata.gz: 9f26b55deb5bb9eebd99cfde249326c8b4151389366975b7a34c5b8038fe519d59598fc5f4bfc5a02c5c45f698628ff0fd7c179efebf775c7887c6efc53c22c0
7
- data.tar.gz: f18b3b945bd8fa15f2c06f25a6482a877b428828bf153a8241b4e7a031ca4cacddb8abde032c1232d23e7f73cac4cd48492ab05dfa8b0eb1a80377fe70003476
6
+ metadata.gz: 751de3262b354b783d190959c2c72d251c73226886d4e808fe47421283e93961fd124d51dd65bb52df206532e24c3daf007487df384c0f45e1ce323d7cc1d537
7
+ data.tar.gz: b21d812ee34395e29d160613e791fb0f2616351da56445653623429fbb9da091d8dba6d64bc2123de51799022aa9182a157ab985a848f68977a37d754e86c5b0
@@ -1,21 +1,38 @@
1
- version: 2
2
- jobs:
3
- build:
4
- working_directory: ~/pabloh/pathway
5
- docker:
6
- - image: circleci/ruby:2.5.7
1
+ version: 2.0
2
+ shared: &shared
7
3
  steps:
8
4
  - checkout
9
- # Restore bundle cache
10
- - type: cache-restore
11
- key: pathway-{{ checksum "Gemfile.lock" }}
12
- # Bundle install dependencies
13
- - run: bundle install --path vendor/bundle
14
- # Store bundle cache
15
- - type: cache-save
16
- key: pathway-{{ checksum "Gemfile.lock" }}
17
- paths:
18
- - vendor/bundle
19
- # Run rspec
20
- - type: shell
21
- command: bundle exec rspec --format documentation --color --format progress spec
5
+ - run:
6
+ name: Bundle gems
7
+ command: |
8
+ echo '--no-rdoc --no-ri' > '.gemrc'
9
+ bundle install --jobs=4 --retry=3 --path vendor/bundle
10
+ - run:
11
+ name: Run tests
12
+ command: bundle exec rspec --format documentation --color --format progress spec
13
+
14
+ jobs:
15
+ "ruby-2.4":
16
+ <<: *shared
17
+ docker:
18
+ - image: circleci/ruby:2.4
19
+
20
+ "ruby-2.5":
21
+ <<: *shared
22
+ docker:
23
+ - image: circleci/ruby:2.5
24
+
25
+ "ruby-2.6":
26
+ <<: *shared
27
+ docker:
28
+ - image: circleci/ruby:2.6
29
+ environment:
30
+ REPORT_COVERAGE: 'true'
31
+
32
+ workflows:
33
+ version: 2
34
+ build:
35
+ jobs:
36
+ - "ruby-2.4"
37
+ - "ruby-2.5"
38
+ - "ruby-2.6"
@@ -1,3 +1,7 @@
1
+ ## [0.11.0] - 2020-01-02
2
+ ### Changed
3
+ - Add support for `dry-validation` 1.0 and above
4
+
1
5
  ## [0.10.0] - 2019-10-06
2
6
  ### Changed
3
7
  - Restrict support for `dry-validation` from 0.11.0 up to (excluding) 1.0.0
data/Gemfile CHANGED
@@ -1,5 +1,3 @@
1
- ruby '2.5.7'
2
-
3
1
  source "https://rubygems.org"
4
2
 
5
3
  # Specify your gem's dependencies in pathway.gemspec
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "bundler/gem_tasks"
2
4
  require "rspec/core/rake_task"
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'forwardable'
2
4
  require 'dry/inflector'
3
5
  require 'contextualizer'
@@ -1,103 +1,25 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'dry/validation'
2
4
 
3
5
  module Pathway
4
6
  module Plugins
5
7
  module DryValidation
6
- module ClassMethods
7
- attr_reader :form_class, :form_options
8
- attr_accessor :auto_wire_options
9
-
10
- def form(base = nil, **opts, &block)
11
- if block_given?
12
- base ||= _base_form
13
- self.form_class = _block_definition(base, opts, &block)
14
- elsif base
15
- self.form_class = _form_class(base)
16
- else
17
- raise ArgumentError, 'Either a form class or a block must be provided'
18
- end
19
- end
20
-
21
- def form_class= klass
22
- @builded_form = klass.options.empty? ? klass.new : nil
23
- @form_class = klass
24
- @form_options = klass.options.keys
25
- end
26
-
27
- def build_form(opts = {})
28
- @builded_form || form_class.new(opts)
29
- end
30
-
31
- def inherited(subclass)
32
- super
33
- subclass.form_class = form_class
34
- subclass.auto_wire_options = auto_wire_options
35
- end
36
-
37
- private
38
-
39
- def _base_form
40
- superclass.respond_to?(:form_class) ? superclass.form_class : DefaultFormClass
41
- end
42
-
43
- def _form_class(form)
44
- form.is_a?(Class) ? form : form.class
45
- end
46
-
47
- def _form_opts(opts = {})
48
- opts.merge(build: false)
49
- end
50
- end
51
-
52
- module InstanceMethods
53
- extend Forwardable
54
-
55
- delegate %i[build_form form_options auto_wire_options] => 'self.class'
56
- alias :form :build_form
57
-
58
- def validate(state, with: nil)
59
- if auto_wire_options && form_options.any?
60
- with ||= form_options.zip(form_options).to_h
61
- end
62
- opts = Hash(with).map { |opt, key| [opt, state[key]] }.to_h
63
- validate_with(state[:input], opts)
64
- .then { |params| state.update(params: params) }
65
- end
66
-
67
- def validate_with(params, opts = {})
68
- val = form(opts).call(params)
69
-
70
- val.success? ? wrap(val.output) : error(:validation, details: val.messages)
71
- end
72
- end
73
-
74
- def self.apply(operation, auto_wire_options: false)
75
- operation.form_class = DefaultFormClass
76
- operation.auto_wire_options = auto_wire_options
77
- end
78
-
79
- if Gem.loaded_specs['dry-validation'].version < Gem::Version.new('0.11')
80
- fail "unsupported dry-validation gem version"
81
- elsif Gem.loaded_specs['dry-validation'].version < Gem::Version.new('0.12')
82
- DefaultFormClass = Dry::Validation::Schema::Form
83
-
84
- module ClassMethods
85
- private
86
- def _block_definition(base, opts, &block)
87
- Dry::Validation.Form(_form_class(base), _form_opts(opts), &block)
88
- end
89
- end
90
- elsif Gem.loaded_specs['dry-validation'].version < Gem::Version.new('1.0')
91
- DefaultFormClass = Dry::Validation::Schema::Params
92
-
93
- module ClassMethods
94
- private
95
- def _block_definition(base, opts, &block)
96
- Dry::Validation.Params(_form_class(base), _form_opts(opts), &block)
97
- end
98
- end
99
- else
100
- fail 'unsupported dry-validation gem version'
8
+ def self.apply(operation, **kwargs)
9
+ #:nocov:
10
+ if Gem.loaded_specs['dry-validation'].version < Gem::Version.new('0.11')
11
+ fail 'unsupported dry-validation gem version'
12
+ elsif Gem.loaded_specs['dry-validation'].version < Gem::Version.new('0.12')
13
+ require 'pathway/plugins/dry_validation/v0_11'
14
+ operation.plugin(Plugins::DryValidation::V0_11, **kwargs)
15
+ elsif Gem.loaded_specs['dry-validation'].version < Gem::Version.new('1.0')
16
+ require 'pathway/plugins/dry_validation/v0_12'
17
+ operation.plugin(Plugins::DryValidation::V0_12, **kwargs)
18
+ else
19
+ require 'pathway/plugins/dry_validation/v1_0'
20
+ operation.plugin(Plugins::DryValidation::V1_0, **kwargs)
21
+ end
22
+ #:nocov:
101
23
  end
102
24
  end
103
25
  end
@@ -0,0 +1,86 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Pathway
4
+ module Plugins
5
+ module DryValidation
6
+ module V0_11
7
+ module ClassMethods
8
+ attr_reader :form_class, :form_options
9
+ attr_accessor :auto_wire_options
10
+
11
+ def form(base = nil, **opts, &block)
12
+ if block_given?
13
+ base ||= _base_form
14
+ self.form_class = _block_definition(base, opts, &block)
15
+ elsif base
16
+ self.form_class = _form_class(base)
17
+ else
18
+ raise ArgumentError, 'Either a form class or a block must be provided'
19
+ end
20
+ end
21
+
22
+ def form_class= klass
23
+ @builded_form = klass.options.empty? ? klass.new : nil
24
+ @form_class = klass
25
+ @form_options = klass.options.keys
26
+ end
27
+
28
+ def build_form(opts = {})
29
+ @builded_form || form_class.new(opts)
30
+ end
31
+
32
+ def inherited(subclass)
33
+ super
34
+ subclass.form_class = form_class
35
+ subclass.auto_wire_options = auto_wire_options
36
+ end
37
+
38
+ private
39
+
40
+ def _base_form
41
+ superclass.respond_to?(:form_class) ? superclass.form_class : Dry::Validation::Schema::Form
42
+ end
43
+
44
+ def _form_class(form)
45
+ form.is_a?(Class) ? form : form.class
46
+ end
47
+
48
+ def _form_opts(opts = {})
49
+ opts.merge(build: false)
50
+ end
51
+
52
+ def _block_definition(base, opts, &block)
53
+ Dry::Validation.Form(_form_class(base), _form_opts(opts), &block)
54
+ end
55
+ end
56
+
57
+ module InstanceMethods
58
+ extend Forwardable
59
+
60
+ delegate %i[build_form form_options auto_wire_options] => 'self.class'
61
+ alias :form :build_form
62
+
63
+ def validate(state, with: nil)
64
+ if auto_wire_options && form_options.any?
65
+ with ||= form_options.zip(form_options).to_h
66
+ end
67
+ opts = Hash(with).map { |opt, key| [opt, state[key]] }.to_h
68
+ validate_with(state[:input], opts)
69
+ .then { |params| state.update(params: params) }
70
+ end
71
+
72
+ def validate_with(params, opts = {})
73
+ val = form(opts).call(params)
74
+
75
+ val.success? ? wrap(val.output) : error(:validation, details: val.messages)
76
+ end
77
+ end
78
+
79
+ def self.apply(operation, auto_wire_options: false)
80
+ operation.form_class = Dry::Validation::Schema::Form
81
+ operation.auto_wire_options = auto_wire_options
82
+ end
83
+ end
84
+ end
85
+ end
86
+ end
@@ -0,0 +1,86 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Pathway
4
+ module Plugins
5
+ module DryValidation
6
+ module V0_12
7
+ module ClassMethods
8
+ attr_reader :form_class, :form_options
9
+ attr_accessor :auto_wire_options
10
+
11
+ def form(base = nil, **opts, &block)
12
+ if block_given?
13
+ base ||= _base_form
14
+ self.form_class = _block_definition(base, opts, &block)
15
+ elsif base
16
+ self.form_class = _form_class(base)
17
+ else
18
+ raise ArgumentError, 'Either a form class or a block must be provided'
19
+ end
20
+ end
21
+
22
+ def form_class= klass
23
+ @builded_form = klass.options.empty? ? klass.new : nil
24
+ @form_class = klass
25
+ @form_options = klass.options.keys
26
+ end
27
+
28
+ def build_form(opts = {})
29
+ @builded_form || form_class.new(opts)
30
+ end
31
+
32
+ def inherited(subclass)
33
+ super
34
+ subclass.form_class = form_class
35
+ subclass.auto_wire_options = auto_wire_options
36
+ end
37
+
38
+ private
39
+
40
+ def _base_form
41
+ superclass.respond_to?(:form_class) ? superclass.form_class : Dry::Validation::Schema::Params
42
+ end
43
+
44
+ def _form_class(form)
45
+ form.is_a?(Class) ? form : form.class
46
+ end
47
+
48
+ def _form_opts(opts = {})
49
+ opts.merge(build: false)
50
+ end
51
+
52
+ def _block_definition(base, opts, &block)
53
+ Dry::Validation.Params(_form_class(base), _form_opts(opts), &block)
54
+ end
55
+ end
56
+
57
+ module InstanceMethods
58
+ extend Forwardable
59
+
60
+ delegate %i[build_form form_options auto_wire_options] => 'self.class'
61
+ alias :form :build_form
62
+
63
+ def validate(state, with: nil)
64
+ if auto_wire_options && form_options.any?
65
+ with ||= form_options.zip(form_options).to_h
66
+ end
67
+ opts = Hash(with).map { |opt, key| [opt, state[key]] }.to_h
68
+ validate_with(state[:input], opts)
69
+ .then { |params| state.update(params: params) }
70
+ end
71
+
72
+ def validate_with(params, opts = {})
73
+ val = form(opts).call(params)
74
+
75
+ val.success? ? wrap(val.output) : error(:validation, details: val.messages)
76
+ end
77
+ end
78
+
79
+ def self.apply(operation, auto_wire_options: false)
80
+ operation.form_class = Dry::Validation::Schema::Params
81
+ operation.auto_wire_options = auto_wire_options
82
+ end
83
+ end
84
+ end
85
+ end
86
+ end
@@ -0,0 +1,78 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Pathway
4
+ module Plugins
5
+ module DryValidation
6
+ module V1_0
7
+ module ClassMethods
8
+ attr_reader :contract_class, :contract_options
9
+ attr_accessor :auto_wire_options
10
+
11
+ def contract(base = nil, &block)
12
+ if block_given?
13
+ base ||= _base_contract
14
+ self.contract_class = Class.new(base, &block)
15
+ elsif base
16
+ self.contract_class = base
17
+ else
18
+ raise ArgumentError, 'Either a contract class or a block must be provided'
19
+ end
20
+ end
21
+
22
+ def params(*args, &block)
23
+ contract { params(*args, &block) }
24
+ end
25
+
26
+ def contract_class= klass
27
+ @contract_class = klass
28
+ @contract_options = (klass.dry_initializer.options - Dry::Validation::Contract.dry_initializer.options).map(&:target)
29
+ @builded_contract = @contract_options.empty? && klass.schema ? klass.new : nil
30
+ end
31
+
32
+ def build_contract(opts = {})
33
+ @builded_contract || contract_class.new(opts)
34
+ end
35
+
36
+ def inherited(subclass)
37
+ super
38
+ subclass.contract_class = contract_class
39
+ subclass.auto_wire_options = auto_wire_options
40
+ end
41
+
42
+ private
43
+
44
+ def _base_contract
45
+ superclass.respond_to?(:contract_class) ? superclass.contract_class : Dry::Validation::Contract
46
+ end
47
+ end
48
+
49
+ module InstanceMethods
50
+ extend Forwardable
51
+
52
+ delegate %i[build_contract contract_options auto_wire_options] => 'self.class'
53
+ alias :contract :build_contract
54
+
55
+ def validate(state, with: nil)
56
+ if auto_wire_options && contract_options.any?
57
+ with ||= contract_options.zip(contract_options).to_h
58
+ end
59
+ opts = Hash(with).map { |to, from| [to, state[from]] }.to_h
60
+ validate_with(state[:input], opts)
61
+ .then { |params| state.update(params: params) }
62
+ end
63
+
64
+ def validate_with(input, opts = {})
65
+ result = contract(opts).call(input)
66
+
67
+ result.success? ? wrap(result.values.to_h) : error(:validation, details: result.errors.to_h)
68
+ end
69
+ end
70
+
71
+ def self.apply(operation, auto_wire_options: false)
72
+ operation.contract_class = Dry::Validation::Contract
73
+ operation.auto_wire_options = auto_wire_options
74
+ end
75
+ end
76
+ end
77
+ end
78
+ end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Pathway
2
4
  module Plugins
3
5
  module Responder
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'sequel/model'
2
4
 
3
5
  module Pathway
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Pathway
2
4
  module Plugins
3
5
  module SimpleAuth
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Pathway
2
4
  class Result
3
5
  extend Forwardable
@@ -1 +1,3 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'pathway/rspec/matchers'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'pathway/rspec/matchers/succeed_on'
2
4
  require 'pathway/rspec/matchers/fail_on'
3
5
  require 'pathway/rspec/matchers/accept_optional_fields'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'pathway/rspec/matchers/form_schema_helpers'
2
4
 
3
5
  RSpec::Matchers.define :accept_optional_fields do |*fields|
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'pathway/rspec/matchers/list_helpers'
2
4
 
3
5
  RSpec::Matchers.define :fail_on do |input|
@@ -51,7 +53,7 @@ RSpec::Matchers.define :fail_on do |input|
51
53
  end
52
54
 
53
55
  failure_message_when_negated do
54
- 'Did not to expected operation to fail but it did'
56
+ 'Did not expected operation to fail but it did'
55
57
  end
56
58
 
57
59
  def failure?
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'pathway/rspec/matchers/list_helpers'
2
4
 
3
5
  module Pathway
@@ -10,11 +12,11 @@ module Pathway
10
12
  end
11
13
 
12
14
  def were_was(list)
13
- list.size > 1 ? "were" : "was"
15
+ list.size > 1 ? 'were' : 'was'
14
16
  end
15
17
 
16
18
  def pluralize_fields
17
- @fields.size > 1 ? "fields" : "field"
19
+ @fields.size > 1 ? 'fields' : 'field'
18
20
  end
19
21
  end
20
22
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'pathway/rspec/matchers/field_list_helpers'
2
4
 
3
5
  module Pathway
@@ -5,8 +7,14 @@ module Pathway
5
7
  module FormSchemaHelpers
6
8
  include FieldListHelpers
7
9
 
8
- def rules
9
- @form.rules
10
+ if defined?(::Dry::Validation::Contract)
11
+ def rules
12
+ @form.schema.rules
13
+ end
14
+ else
15
+ def rules
16
+ @form.rules
17
+ end
10
18
  end
11
19
 
12
20
  def not_defined_list
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Pathway
2
4
  module Rspec
3
5
  module ListHelpers
@@ -5,7 +7,7 @@ module Pathway
5
7
  as_sentence(items.map(&:inspect))
6
8
  end
7
9
 
8
- def as_sentence(items, connector: ", ", last_connector: " and ")
10
+ def as_sentence(items, connector: ', ', last_connector: ' and ')
9
11
  *rest, last = items
10
12
 
11
13
  result = String.new
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'pathway/rspec/matchers/form_schema_helpers'
2
4
 
3
5
  RSpec::Matchers.define :require_fields do |*fields|
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  RSpec::Matchers.define :succeed_on do |input|
2
4
  match do |operation|
3
5
  @operation, @input = operation, input
@@ -29,7 +31,7 @@ RSpec::Matchers.define :succeed_on do |input|
29
31
  end
30
32
 
31
33
  failure_message_when_negated do
32
- "Did not to expected operation to be successful but it was"
34
+ 'Did not to expected operation to be successful but it was'
33
35
  end
34
36
 
35
37
  def success?
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Pathway
2
- VERSION = '0.10.0'
4
+ VERSION = '0.11.0'
3
5
  end
@@ -1,4 +1,5 @@
1
- # coding: utf-8
1
+ # frozen_string_literal: true
2
+
2
3
  lib = File.expand_path("../lib", __FILE__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
5
  require "pathway/version"
@@ -31,10 +32,10 @@ Gem::Specification.new do |spec|
31
32
  spec.add_dependency "dry-inflector", ">= 0.1.0"
32
33
  spec.add_dependency "contextualizer", "~> 0.0.4"
33
34
 
34
- spec.add_development_dependency "dry-validation", ">= 0.11", "< 1.0"
35
+ spec.add_development_dependency "dry-validation", ">= 0.11"
35
36
  spec.add_development_dependency "bundler", ">= 1.14.0"
36
- spec.add_development_dependency "sequel", "~> 4.46.0"
37
- spec.add_development_dependency "rake", "~> 10.0"
37
+ spec.add_development_dependency "sequel", "~> 5.25.0"
38
+ spec.add_development_dependency "rake", "~> 13.0"
38
39
  spec.add_development_dependency "rspec", "~> 3.0"
39
40
  spec.add_development_dependency "coveralls"
40
41
  spec.add_development_dependency "pry"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pathway
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Herrero
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-06 00:00:00.000000000 Z
11
+ date: 2020-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-inflector
@@ -45,9 +45,6 @@ dependencies:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0.11'
48
- - - "<"
49
- - !ruby/object:Gem::Version
50
- version: '1.0'
51
48
  type: :development
52
49
  prerelease: false
53
50
  version_requirements: !ruby/object:Gem::Requirement
@@ -55,9 +52,6 @@ dependencies:
55
52
  - - ">="
56
53
  - !ruby/object:Gem::Version
57
54
  version: '0.11'
58
- - - "<"
59
- - !ruby/object:Gem::Version
60
- version: '1.0'
61
55
  - !ruby/object:Gem::Dependency
62
56
  name: bundler
63
57
  requirement: !ruby/object:Gem::Requirement
@@ -78,28 +72,28 @@ dependencies:
78
72
  requirements:
79
73
  - - "~>"
80
74
  - !ruby/object:Gem::Version
81
- version: 4.46.0
75
+ version: 5.25.0
82
76
  type: :development
83
77
  prerelease: false
84
78
  version_requirements: !ruby/object:Gem::Requirement
85
79
  requirements:
86
80
  - - "~>"
87
81
  - !ruby/object:Gem::Version
88
- version: 4.46.0
82
+ version: 5.25.0
89
83
  - !ruby/object:Gem::Dependency
90
84
  name: rake
91
85
  requirement: !ruby/object:Gem::Requirement
92
86
  requirements:
93
87
  - - "~>"
94
88
  - !ruby/object:Gem::Version
95
- version: '10.0'
89
+ version: '13.0'
96
90
  type: :development
97
91
  prerelease: false
98
92
  version_requirements: !ruby/object:Gem::Requirement
99
93
  requirements:
100
94
  - - "~>"
101
95
  - !ruby/object:Gem::Version
102
- version: '10.0'
96
+ version: '13.0'
103
97
  - !ruby/object:Gem::Dependency
104
98
  name: rspec
105
99
  requirement: !ruby/object:Gem::Requirement
@@ -192,6 +186,9 @@ files:
192
186
  - bin/setup
193
187
  - lib/pathway.rb
194
188
  - lib/pathway/plugins/dry_validation.rb
189
+ - lib/pathway/plugins/dry_validation/v0_11.rb
190
+ - lib/pathway/plugins/dry_validation/v0_12.rb
191
+ - lib/pathway/plugins/dry_validation/v1_0.rb
195
192
  - lib/pathway/plugins/responder.rb
196
193
  - lib/pathway/plugins/sequel_models.rb
197
194
  - lib/pathway/plugins/simple_auth.rb