activemodel-ip_address_validator 0.1.0 → 0.1.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: 3dcac9e71de23f6ba53df67419d4cf6a6c81340f6cf6d754bc8b03f2dbe30145
4
- data.tar.gz: 9b8167f0f3d5b9ffef1d63d012b4d541d6838392b241116f9de094844c36027f
3
+ metadata.gz: 3b587b0d23bb344d0f5e8eef7e4fc68a2f2cdacde372641b3fe855210a7fb6b6
4
+ data.tar.gz: 63163f80d978a3455870a46d052cb283662f41b6faac6966fbf4a8eba71cda50
5
5
  SHA512:
6
- metadata.gz: d2e2df84ea63d41be5ef7e46513e93431530ea39ca9e5db92317a5de0e681ebce276bc1769f46911b8c706a330bf6ba7a1d28373feb53caf2d272b7eeb256a1c
7
- data.tar.gz: 803dd6fa13a87587637bd127a841d7669d476eb2c621c0437788f1bedc94bea02ce8e99d7b486d6990e2c19792d13084afc7e2294660ff4585b2e22e4727f2b9
6
+ metadata.gz: 12454c29f206ce8f49e7798f279f8e4520d191da24fb6d88894f22cd1ccf0638cd5d46a90c5a639c9d1937b0faecaf6d4349151c45bf4537f4151f5ac4a21342
7
+ data.tar.gz: aea511e60a03075cdc4fb1a887177f2c0bd5a42c7bbb79eb874cac7539f9c2220c0c130199f6910d4a3613631aba4fe07c75bb9737afb55f3f5a72931aa84e1c
data/.gitignore CHANGED
@@ -1,6 +1,7 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
3
  /_yardoc/
4
+ /Gemfile.lock
4
5
  /coverage/
5
6
  /doc/
6
7
  /gemfiles/*.gemfile.lock
data/.rubocop.yml CHANGED
@@ -1,4 +1,6 @@
1
- require: rubocop-performance
1
+ require:
2
+ - rubocop-performance
3
+ - rubocop-rails
2
4
 
3
5
  AllCops:
4
6
  TargetRubyVersion: 2.4
data/.travis.yml CHANGED
@@ -6,7 +6,16 @@ rvm:
6
6
  - 2.4.6
7
7
  - 2.5.5
8
8
  - 2.6.3
9
+ - 2.7.0-preview1
9
10
  gemfile:
10
11
  - gemfiles/activemodel_5.0.gemfile
11
12
  - gemfiles/activemodel_5.1.gemfile
12
13
  - gemfiles/activemodel_5.2.gemfile
14
+ - gemfiles/activemodel_6.0.gemfile
15
+ matrix:
16
+ exclude:
17
+ - rvm: 2.4.6
18
+ gemfile: gemfiles/activemodel_6.0.gemfile
19
+ allow_failures:
20
+ rvm: 2.7.0-preview1
21
+ gemfile: gemfiles/activemodel_6.0.gemfile
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  ## Unreleased
2
2
 
3
3
 
4
+ ## 0.1.1 (2019-06-26)
5
+
6
+ ### Changes
7
+
8
+ * Specify required ruby version to 2.4.0
9
+ * Remove `Gemfile.lock` from git tracking
10
+
11
+ ### Misc
12
+
13
+ * Introduce rubocop-rails
14
+ * CI against ActiveModel v6.0.0.rc1
15
+ * CI against Ruby 2.7.0-preview1
16
+ * Relax bundler version
17
+
18
+
4
19
  ## 0.1.0 (2019-06-19)
5
20
 
6
21
  * Initial release
@@ -4,7 +4,7 @@ lib = File.expand_path("lib", __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  require "activemodel/ip_address_validator/version"
6
6
 
7
- Gem::Specification.new do |spec|
7
+ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
8
8
  spec.name = "activemodel-ip_address_validator"
9
9
  spec.version = ActiveModel::IpAddressValidator::VERSION
10
10
  spec.authors = ["Yuji Hanamura"]
@@ -30,9 +30,12 @@ Gem::Specification.new do |spec|
30
30
 
31
31
  spec.add_dependency "activemodel", ">= 5.0"
32
32
 
33
- spec.add_development_dependency "bundler", "~> 1.16"
33
+ spec.required_ruby_version = ">= 2.4"
34
+
35
+ spec.add_development_dependency "bundler", ">= 1.16"
34
36
  spec.add_development_dependency "rake", "~> 12.0"
35
37
  spec.add_development_dependency "rspec", "~> 3.8"
36
38
  spec.add_development_dependency "rubocop", ">= 0.71.0"
37
39
  spec.add_development_dependency "rubocop-performance", ">= 1.3.0"
40
+ spec.add_development_dependency "rubocop-rails", ">= 2.0.1"
38
41
  end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org/"
4
+
5
+ gem "activemodel", "~> 6.0.0.rc1"
6
+
7
+ gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveModel
4
4
  module IpAddressValidator
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activemodel-ip_address_validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuji Hanamura
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-19 00:00:00.000000000 Z
11
+ date: 2019-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -28,14 +28,14 @@ dependencies:
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.16'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.16'
41
41
  - !ruby/object:Gem::Dependency
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: 1.3.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop-rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 2.0.1
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: 2.0.1
97
111
  description: ActiveModel validator for ip address.
98
112
  email:
99
113
  - yuji.developer@gmail.com
@@ -107,7 +121,6 @@ files:
107
121
  - ".travis.yml"
108
122
  - CHANGELOG.md
109
123
  - Gemfile
110
- - Gemfile.lock
111
124
  - LICENSE.txt
112
125
  - README.md
113
126
  - Rakefile
@@ -117,6 +130,7 @@ files:
117
130
  - gemfiles/activemodel_5.0.gemfile
118
131
  - gemfiles/activemodel_5.1.gemfile
119
132
  - gemfiles/activemodel_5.2.gemfile
133
+ - gemfiles/activemodel_6.0.gemfile
120
134
  - lib/activemodel/ip_address_validator.rb
121
135
  - lib/activemodel/ip_address_validator/version.rb
122
136
  - lib/activemodel/validations/ip_address_validator.rb
@@ -136,7 +150,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
136
150
  requirements:
137
151
  - - ">="
138
152
  - !ruby/object:Gem::Version
139
- version: '0'
153
+ version: '2.4'
140
154
  required_rubygems_version: !ruby/object:Gem::Requirement
141
155
  requirements:
142
156
  - - ">="
data/Gemfile.lock DELETED
@@ -1,69 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- activemodel-ip_address_validator (0.1.0)
5
- activemodel (>= 5.0)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- activemodel (5.2.3)
11
- activesupport (= 5.2.3)
12
- activesupport (5.2.3)
13
- concurrent-ruby (~> 1.0, >= 1.0.2)
14
- i18n (>= 0.7, < 2)
15
- minitest (~> 5.1)
16
- tzinfo (~> 1.1)
17
- ast (2.4.0)
18
- concurrent-ruby (1.1.5)
19
- diff-lcs (1.3)
20
- i18n (1.6.0)
21
- concurrent-ruby (~> 1.0)
22
- jaro_winkler (1.5.3)
23
- minitest (5.11.3)
24
- parallel (1.17.0)
25
- parser (2.6.3.0)
26
- ast (~> 2.4.0)
27
- rainbow (3.0.0)
28
- rake (12.3.2)
29
- rspec (3.8.0)
30
- rspec-core (~> 3.8.0)
31
- rspec-expectations (~> 3.8.0)
32
- rspec-mocks (~> 3.8.0)
33
- rspec-core (3.8.1)
34
- rspec-support (~> 3.8.0)
35
- rspec-expectations (3.8.4)
36
- diff-lcs (>= 1.2.0, < 2.0)
37
- rspec-support (~> 3.8.0)
38
- rspec-mocks (3.8.1)
39
- diff-lcs (>= 1.2.0, < 2.0)
40
- rspec-support (~> 3.8.0)
41
- rspec-support (3.8.2)
42
- rubocop (0.71.0)
43
- jaro_winkler (~> 1.5.1)
44
- parallel (~> 1.10)
45
- parser (>= 2.6)
46
- rainbow (>= 2.2.2, < 4.0)
47
- ruby-progressbar (~> 1.7)
48
- unicode-display_width (>= 1.4.0, < 1.7)
49
- rubocop-performance (1.3.0)
50
- rubocop (>= 0.68.0)
51
- ruby-progressbar (1.10.1)
52
- thread_safe (0.3.6)
53
- tzinfo (1.2.5)
54
- thread_safe (~> 0.1)
55
- unicode-display_width (1.6.0)
56
-
57
- PLATFORMS
58
- ruby
59
-
60
- DEPENDENCIES
61
- activemodel-ip_address_validator!
62
- bundler (~> 1.16)
63
- rake (~> 12.0)
64
- rspec (~> 3.8)
65
- rubocop (>= 0.71.0)
66
- rubocop-performance (>= 1.3.0)
67
-
68
- BUNDLED WITH
69
- 1.16.6