utf8_validator 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -17
- data/VERSION +1 -1
- data/lib/utf8_validator.rb +1 -1
- data/lib/validation/errors.rb +1 -1
- data/lib/validation/validator.rb +1 -1
- data/test/helper.rb +7 -11
- data/test/test_raise_request.rb +6 -1
- data/test/test_utf8_validator.rb +6 -1
- data/utf8_validator.gemspec +1 -1
- metadata +3 -3
data/Rakefile
CHANGED
@@ -1,12 +1,4 @@
|
|
1
1
|
require 'rubygems'
|
2
|
-
require 'bundler'
|
3
|
-
begin
|
4
|
-
Bundler.setup(:default, :development)
|
5
|
-
rescue Bundler::BundlerError => e
|
6
|
-
$stderr.puts e.message
|
7
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
-
exit e.status_code
|
9
|
-
end
|
10
2
|
require 'rake'
|
11
3
|
|
12
4
|
require 'jeweler'
|
@@ -24,8 +16,8 @@ Validation algorithm.}
|
|
24
16
|
# Runtime Dependencies - None at present
|
25
17
|
# gem.add_runtime_dependency 'jabber4r', '> 0.1'
|
26
18
|
#
|
27
|
-
#
|
28
|
-
|
19
|
+
# Development dependencies:
|
20
|
+
gem.add_development_dependency 'jeweler', '>= 1.8.0'
|
29
21
|
end
|
30
22
|
Jeweler::RubygemsDotOrgTasks.new
|
31
23
|
|
@@ -36,13 +28,6 @@ Rake::TestTask.new(:test) do |test|
|
|
36
28
|
test.verbose = true
|
37
29
|
end
|
38
30
|
|
39
|
-
require 'rcov/rcovtask'
|
40
|
-
Rcov::RcovTask.new do |test|
|
41
|
-
test.libs << 'test'
|
42
|
-
test.pattern = 'test/**/test_*.rb'
|
43
|
-
test.verbose = true
|
44
|
-
end
|
45
|
-
|
46
31
|
task :default => :test
|
47
32
|
|
48
33
|
# require 'rake/rdoctask'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.5
|
data/lib/utf8_validator.rb
CHANGED
data/lib/validation/errors.rb
CHANGED
data/lib/validation/validator.rb
CHANGED
data/test/helper.rb
CHANGED
@@ -1,17 +1,13 @@
|
|
1
1
|
require 'rubygems'
|
2
|
-
require 'bundler'
|
3
|
-
begin
|
4
|
-
Bundler.setup(:default, :development)
|
5
|
-
rescue Bundler::BundlerError => e
|
6
|
-
$stderr.puts e.message
|
7
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
-
exit e.status_code
|
9
|
-
end
|
10
2
|
require 'test/unit'
|
11
3
|
|
12
|
-
|
13
|
-
|
14
|
-
|
4
|
+
if Kernel.respond_to?(:require_relative)
|
5
|
+
require_relative("../lib/utf8_validator")
|
6
|
+
else
|
7
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
8
|
+
require 'utf8_validator'
|
9
|
+
end
|
10
|
+
|
15
11
|
|
16
12
|
class Test::Unit::TestCase
|
17
13
|
end
|
data/test/test_raise_request.rb
CHANGED
data/test/test_utf8_validator.rb
CHANGED
data/utf8_validator.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: utf8_validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 5
|
10
|
+
version: 1.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Guy Allard
|