rails_ip_validator 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -9,4 +9,5 @@ group :development do
9
9
  gem "bundler", "~> 1.0.0"
10
10
  gem "jeweler", "~> 1.5.1"
11
11
  gem "ipaddress"
12
+ gem "cover_me"
12
13
  end
data/Gemfile.lock CHANGED
@@ -7,7 +7,13 @@ GEM
7
7
  i18n (~> 0.4)
8
8
  activesupport (3.0.3)
9
9
  builder (2.1.2)
10
+ configatron (2.6.4)
11
+ yamler (>= 0.1.0)
12
+ cover_me (1.0.0.rc5)
13
+ configatron
14
+ hashie
10
15
  git (1.2.5)
16
+ hashie (0.4.0)
11
17
  i18n (0.5.0)
12
18
  ipaddress (0.7.0)
13
19
  jeweler (1.5.2)
@@ -15,6 +21,7 @@ GEM
15
21
  git (>= 1.2.5)
16
22
  rake
17
23
  rake (0.8.7)
24
+ yamler (0.1.0)
18
25
 
19
26
  PLATFORMS
20
27
  ruby
@@ -22,5 +29,6 @@ PLATFORMS
22
29
  DEPENDENCIES
23
30
  activemodel (>= 3.0.0)
24
31
  bundler (~> 1.0.0)
32
+ cover_me
25
33
  ipaddress
26
34
  jeweler (~> 1.5.1)
data/Rakefile CHANGED
@@ -34,6 +34,17 @@ Rake::TestTask.new(:test) do |test|
34
34
  test.verbose = true
35
35
  end
36
36
 
37
+ namespace :cover_me do
38
+ task :report do
39
+ require 'cover_me'
40
+ CoverMe.complete!
41
+ end
42
+ end
43
+
44
+ task :test do
45
+ Rake::Task['cover_me:report'].invoke
46
+ end
47
+
37
48
  task :default => :test
38
49
 
39
50
  require 'rake/rdoctask'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -1,4 +1,4 @@
1
- # encoding:utf-8
1
+ # encoding: utf-8
2
2
 
3
3
  require 'active_model'
4
4
  require 'ipaddress'
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rails_ip_validator}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Marco Scholl"]
@@ -49,6 +49,7 @@ Gem::Specification.new do |s|
49
49
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
50
50
  s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
51
51
  s.add_development_dependency(%q<ipaddress>, [">= 0"])
52
+ s.add_development_dependency(%q<cover_me>, [">= 0"])
52
53
  s.add_runtime_dependency(%q<activemodel>, [">= 3.0.0"])
53
54
  s.add_runtime_dependency(%q<ipaddress>, [">= 0"])
54
55
  else
@@ -56,6 +57,7 @@ Gem::Specification.new do |s|
56
57
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
57
58
  s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
58
59
  s.add_dependency(%q<ipaddress>, [">= 0"])
60
+ s.add_dependency(%q<cover_me>, [">= 0"])
59
61
  s.add_dependency(%q<activemodel>, [">= 3.0.0"])
60
62
  s.add_dependency(%q<ipaddress>, [">= 0"])
61
63
  end
@@ -64,6 +66,7 @@ Gem::Specification.new do |s|
64
66
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
65
67
  s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
66
68
  s.add_dependency(%q<ipaddress>, [">= 0"])
69
+ s.add_dependency(%q<cover_me>, [">= 0"])
67
70
  s.add_dependency(%q<activemodel>, [">= 3.0.0"])
68
71
  s.add_dependency(%q<ipaddress>, [">= 0"])
69
72
  end
data/test/helper.rb CHANGED
@@ -1,4 +1,4 @@
1
- # encoding:utf-8
1
+ # encoding: utf-8
2
2
 
3
3
  require 'rubygems'
4
4
  require 'bundler'
@@ -9,6 +9,7 @@ rescue Bundler::BundlerError => e
9
9
  $stderr.puts "Run `bundle install` to install missing gems"
10
10
  exit e.status_code
11
11
  end
12
+ require 'cover_me'
12
13
  require 'test/unit'
13
14
 
14
15
  $LOAD_PATH.unshift(File.dirname(__FILE__))
@@ -1,4 +1,4 @@
1
- # encoding:utf-8
1
+ # encoding: utf-8
2
2
 
3
3
  require 'helper'
4
4
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Marco Scholl
@@ -76,8 +76,21 @@ dependencies:
76
76
  prerelease: false
77
77
  version_requirements: *id004
78
78
  - !ruby/object:Gem::Dependency
79
- name: activemodel
79
+ name: cover_me
80
80
  requirement: &id005 !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ segments:
86
+ - 0
87
+ version: "0"
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: *id005
91
+ - !ruby/object:Gem::Dependency
92
+ name: activemodel
93
+ requirement: &id006 !ruby/object:Gem::Requirement
81
94
  none: false
82
95
  requirements:
83
96
  - - ">="
@@ -89,10 +102,10 @@ dependencies:
89
102
  version: 3.0.0
90
103
  type: :runtime
91
104
  prerelease: false
92
- version_requirements: *id005
105
+ version_requirements: *id006
93
106
  - !ruby/object:Gem::Dependency
94
107
  name: ipaddress
95
- requirement: &id006 !ruby/object:Gem::Requirement
108
+ requirement: &id007 !ruby/object:Gem::Requirement
96
109
  none: false
97
110
  requirements:
98
111
  - - ">="
@@ -102,7 +115,7 @@ dependencies:
102
115
  version: "0"
103
116
  type: :runtime
104
117
  prerelease: false
105
- version_requirements: *id006
118
+ version_requirements: *id007
106
119
  description: a class to validate ip. it builded for rails
107
120
  email: develop@marco-scholl.de
108
121
  executables: []
@@ -139,7 +152,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
139
152
  requirements:
140
153
  - - ">="
141
154
  - !ruby/object:Gem::Version
142
- hash: 2079695135441663721
155
+ hash: -502611173136620648
143
156
  segments:
144
157
  - 0
145
158
  version: "0"