hanami-validations 0.0.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,6 @@
1
1
  module Hanami
2
2
  module Validations
3
- VERSION = "0.0.0"
3
+ # @since 0.1.0
4
+ VERSION = '0.5.0'.freeze
4
5
  end
5
6
  end
metadata CHANGED
@@ -1,61 +1,101 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-validations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
8
+ - Trung Lê
9
+ - Alfonso Uceda
8
10
  autorequire:
9
- bindir: exe
11
+ bindir: bin
10
12
  cert_chain: []
11
- date: 2016-01-20 00:00:00.000000000 Z
13
+ date: 2016-01-22 00:00:00.000000000 Z
12
14
  dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: hanami-utils
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: '0.7'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: '0.7'
13
29
  - !ruby/object:Gem::Dependency
14
30
  name: bundler
15
31
  requirement: !ruby/object:Gem::Requirement
16
32
  requirements:
17
33
  - - "~>"
18
34
  - !ruby/object:Gem::Version
19
- version: '1.11'
35
+ version: '1.6'
36
+ type: :development
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '1.6'
43
+ - !ruby/object:Gem::Dependency
44
+ name: minitest
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '5'
20
50
  type: :development
21
51
  prerelease: false
22
52
  version_requirements: !ruby/object:Gem::Requirement
23
53
  requirements:
24
54
  - - "~>"
25
55
  - !ruby/object:Gem::Version
26
- version: '1.11'
56
+ version: '5'
27
57
  - !ruby/object:Gem::Dependency
28
58
  name: rake
29
59
  requirement: !ruby/object:Gem::Requirement
30
60
  requirements:
31
61
  - - "~>"
32
62
  - !ruby/object:Gem::Version
33
- version: '10.0'
63
+ version: '10'
34
64
  type: :development
35
65
  prerelease: false
36
66
  version_requirements: !ruby/object:Gem::Requirement
37
67
  requirements:
38
68
  - - "~>"
39
69
  - !ruby/object:Gem::Version
40
- version: '10.0'
41
- description: Hanami is a web framework for Ruby
70
+ version: '10'
71
+ description: Validations mixin for Ruby objects and support for Hanami
42
72
  email:
43
73
  - me@lucaguidi.com
74
+ - trung.le@ruby-journal.com
75
+ - uceda73@gmail.com
44
76
  executables: []
45
77
  extensions: []
46
78
  extra_rdoc_files: []
47
79
  files:
48
- - ".gitignore"
49
- - Gemfile
80
+ - CHANGELOG.md
81
+ - LICENSE.md
50
82
  - README.md
51
- - Rakefile
52
- - bin/console
53
- - bin/setup
54
83
  - hanami-validations.gemspec
84
+ - lib/hanami-validations.rb
55
85
  - lib/hanami/validations.rb
86
+ - lib/hanami/validations/attribute.rb
87
+ - lib/hanami/validations/attribute_definer.rb
88
+ - lib/hanami/validations/blank_value_checker.rb
89
+ - lib/hanami/validations/coercions.rb
90
+ - lib/hanami/validations/error.rb
91
+ - lib/hanami/validations/errors.rb
92
+ - lib/hanami/validations/nested_attributes.rb
93
+ - lib/hanami/validations/validation_set.rb
94
+ - lib/hanami/validations/validator.rb
56
95
  - lib/hanami/validations/version.rb
57
96
  homepage: http://hanamirb.org
58
- licenses: []
97
+ licenses:
98
+ - MIT
59
99
  metadata: {}
60
100
  post_install_message:
61
101
  rdoc_options: []
@@ -65,7 +105,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
105
  requirements:
66
106
  - - ">="
67
107
  - !ruby/object:Gem::Version
68
- version: '0'
108
+ version: 2.0.0
69
109
  required_rubygems_version: !ruby/object:Gem::Requirement
70
110
  requirements:
71
111
  - - ">="
@@ -76,5 +116,6 @@ rubyforge_project:
76
116
  rubygems_version: 2.5.1
77
117
  signing_key:
78
118
  specification_version: 4
79
- summary: The web, with simplicity
119
+ summary: Validations mixin for Ruby objects
80
120
  test_files: []
121
+ has_rdoc:
data/.gitignore DELETED
@@ -1,9 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in hanami-validations.gemspec
4
- gemspec
data/Rakefile DELETED
@@ -1,2 +0,0 @@
1
- require "bundler/gem_tasks"
2
- task :default => :spec
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "hanami/validations"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here