universal_validator 1.0.1 → 1.0.2

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,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZmJiY2JjMzllNmE4NDk5ZDcxMDM0OWFjYjQzNWIzYmY4ZmMwMzdiOA==
5
- data.tar.gz: !binary |-
6
- Mzk3YWRlOGUzNmI3ZDIyNTA2OTJhOGM2OTcxOGQ3NzU4NzNiZDMxNA==
2
+ SHA1:
3
+ metadata.gz: 2ae4780ed848bd6af6b800364c54da80feeca9af
4
+ data.tar.gz: 105b4e46e624348eb6fa45d10fab773f7074a774
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MTJjZThhMWFjMmVjNDNiNTlkYjIxYzgzOGUxMzUxMzAxNTMxODc1ZTMxMmYw
10
- YTZhYzBkYTc1MGNhODVjMjM1YmI4MWU5OTA0ZGE3YWFjODg4MTlkMzJiYzIy
11
- NWYxNjQ3MDBhZDhjZmYxNTRkM2YzZDA5NTNlNzc2OGFjZTc5Yzg=
12
- data.tar.gz: !binary |-
13
- NzQwYmIzYzhiNzU0YTNkNmYzNGUwMWRmOWIxNDFmMDkzOTkyNzMzNDZiOThk
14
- YjA4MWU4NjEzYzZmODY0ZDQ3ODM5M2YyOWJkZjA5Njk0NDczMWRlMjFkNGE1
15
- NWI2NWUwNDk1MDY1YzMzNDNmYWExNjdlMjEwZDUwODM4ODhmNzI=
6
+ metadata.gz: dbf91e08f01aa75b2c54c8af574447fe9f4add9ce0698150ae7d19f71aab93132c10052d3135362bd415eaf34d1c19354ebf70dec83f416df24ac5c6df7ec3cf
7
+ data.tar.gz: 42628206a53e1f3f1d4db32b57724f9595245e788f4a0dc86476e84466e7ffa9861e165edea88f813731792cdbcaa2056522fd7aba5bcfbd54ac5898cb86186f
@@ -1,7 +1,13 @@
1
- === 1.0.1 (30.07.2015)
1
+ ### 1.0.2 (2017.04.07)
2
+
3
+ * travis integration
4
+ * license update
5
+ * cleanup
6
+
7
+ ### 1.0.1 (2015.07.30)
2
8
 
3
9
  * fix typos
4
10
 
5
- === 1.0.0 (30.07.2015)
11
+ ### 1.0.0 (2015.07.30)
6
12
 
7
13
  * publication of the code
data/Gemfile CHANGED
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  source "https://rubygems.org"
2
3
 
3
4
  gemspec
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # UniversalValidator
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/universal_validator.svg)](http://badge.fury.io/rb/universal_validator)
4
+ [![Code Climate](https://codeclimate.com/github/skopciewski/universal_validator/badges/gpa.svg)](https://codeclimate.com/github/skopciewski/universal_validator)
5
+ [![Dependency Status](https://gemnasium.com/badges/github.com/skopciewski/universal_validator.svg)](https://gemnasium.com/github.com/skopciewski/universal_validator)
4
6
 
5
7
  ## Installation
6
8
 
@@ -1 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (C) 2015, 2016 Szymon Kopciewski
4
+ #
5
+ # This file is part of UniversalValidator.
6
+ #
7
+ # This program is free software: you can redistribute it and/or modify
8
+ # it under the terms of the GNU General Public License as published by
9
+ # the Free Software Foundation, either version 3 of the License, or
10
+ # (at your option) any later version.
11
+ #
12
+ # This program is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU General Public License
18
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
19
+
1
20
  require "universal_validator/validator"
21
+ require "universal_validator/version"
@@ -1,6 +1,6 @@
1
- # encoding: utf-8
1
+ # frozen_string_literal: true
2
2
 
3
- # Copyright (C) 2015 Szymon Kopciewski
3
+ # Copyright (C) 2015, 2016 Szymon Kopciewski
4
4
  #
5
5
  # This file is part of UniversalValidator.
6
6
  #
@@ -24,7 +24,7 @@ module UniversalValidator
24
24
  end
25
25
 
26
26
  def errors?
27
- errors.count > 0
27
+ errors.count.positive?
28
28
  end
29
29
 
30
30
  def errors
@@ -1,6 +1,6 @@
1
- # encoding: utf-8
1
+ # frozen_string_literal: true
2
2
 
3
- # Copyright (C) 2015 Szymon Kopciewski
3
+ # Copyright (C) 2015, 2016 Szymon Kopciewski
4
4
  #
5
5
  # This file is part of UniversalValidator.
6
6
  #
@@ -18,5 +18,5 @@
18
18
  # along with this program. If not, see <http://www.gnu.org/licenses/>.
19
19
 
20
20
  module UniversalValidator
21
- VERSION = "1.0.1"
21
+ VERSION = "1.0.2"
22
22
  end
metadata CHANGED
@@ -1,69 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: universal_validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Szymon Kopciewski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-30 00:00:00.000000000 Z
11
+ date: 2017-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: pry
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
25
39
  - !ruby/object:Gem::Version
26
40
  version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rspec
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
- - - ! '>='
45
+ - - ">="
32
46
  - !ruby/object:Gem::Version
33
47
  version: '0'
34
48
  type: :development
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
- - - ! '>='
52
+ - - ">="
39
53
  - !ruby/object:Gem::Version
40
54
  version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rspec-given
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
- - - ! '>='
59
+ - - ">="
46
60
  - !ruby/object:Gem::Version
47
61
  version: '0'
48
62
  type: :development
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
- - - ! '>='
66
+ - - ">="
53
67
  - !ruby/object:Gem::Version
54
68
  version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
- name: pry
70
+ name: simplecov
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: codeclimate-test-reporter
57
85
  requirement: !ruby/object:Gem::Requirement
58
86
  requirements:
59
- - - ! '>='
87
+ - - ">="
60
88
  - !ruby/object:Gem::Version
61
89
  version: '0'
62
90
  type: :development
63
91
  prerelease: false
64
92
  version_requirements: !ruby/object:Gem::Requirement
65
93
  requirements:
66
- - - ! '>='
94
+ - - ">="
67
95
  - !ruby/object:Gem::Version
68
96
  version: '0'
69
97
  description: The simple, universal validator
@@ -89,17 +117,17 @@ require_paths:
89
117
  - lib
90
118
  required_ruby_version: !ruby/object:Gem::Requirement
91
119
  requirements:
92
- - - ! '>='
120
+ - - ">="
93
121
  - !ruby/object:Gem::Version
94
122
  version: '0'
95
123
  required_rubygems_version: !ruby/object:Gem::Requirement
96
124
  requirements:
97
- - - ! '>='
125
+ - - ">="
98
126
  - !ruby/object:Gem::Version
99
127
  version: '0'
100
128
  requirements: []
101
129
  rubyforge_project:
102
- rubygems_version: 2.2.5
130
+ rubygems_version: 2.4.8
103
131
  signing_key:
104
132
  specification_version: 4
105
133
  summary: The simple, universal validator