hexx-validators 0.0.2 → 0.0.3
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 +4 -4
- data/.metrics +5 -2
- data/.travis.yml +2 -0
- data/Gemfile +1 -3
- data/Rakefile +7 -2
- data/hexx-validators.gemspec +1 -1
- data/lib/hexx/validators/version.rb +1 -1
- data/spec/spec_helper.rb +2 -2
- metadata +4 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84eeeeebe81f104f736e072c747ac97de51cd027
|
4
|
+
data.tar.gz: 2cc1c8149c56bb64a13eeda0e51201ae98094f3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f4556b6a404a5f7ace4a03e12664c431833bbc880327da8fb6698b0ed2358432a7f8e91f48ea0716de4cf799ec8f769b8e5ab917d0b75edf731aa7de370daa0
|
7
|
+
data.tar.gz: 5128fb0ced9efe2408718d658fbffebd31568f04d669ae18099d1fc56b98cc4ecd953e80b4166f20268539d5234031f12516d522c4136a24bf8a104ca1446bdc
|
data/.metrics
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Settings for metric_fu and its packages are collected in the `config/metrics`
|
2
2
|
# and loaded by the Hexx::Suit::Metrics::MetricFu.
|
3
3
|
|
4
|
-
|
5
|
-
|
4
|
+
begin
|
5
|
+
require "hexx-suit"
|
6
|
+
Hexx::Suit::Metrics::MetricFu.load
|
7
|
+
rescue LoadError
|
8
|
+
end
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -10,8 +10,13 @@ end
|
|
10
10
|
Bundler::GemHelper.install_tasks
|
11
11
|
|
12
12
|
# Loads the Hexx::Suit and its tasks
|
13
|
-
|
14
|
-
|
13
|
+
begin
|
14
|
+
require "hexx-suit"
|
15
|
+
Hexx::Suit.install_tasks
|
16
|
+
rescue LoadError
|
17
|
+
require "hexx-rspec"
|
18
|
+
Hexx::RSpec.install_tasks
|
19
|
+
end
|
15
20
|
|
16
21
|
# Sets the Hexx::Suit :test task to default
|
17
22
|
task default: "test:coverage:run"
|
data/hexx-validators.gemspec
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
3
|
# Loads the RSpec test suit.
|
4
|
-
require "hexx-
|
4
|
+
require "hexx-rspec"
|
5
5
|
|
6
6
|
# Loads runtime metrics in the current scope
|
7
|
-
Hexx::
|
7
|
+
Hexx::RSpec.load_metrics_for(self)
|
8
8
|
|
9
9
|
# Loads the code of the module.
|
10
10
|
require "hexx-validators"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hexx-validators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kozin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hexx-cli
|
@@ -30,20 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
34
|
-
- - ">="
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: 0.2.2
|
33
|
+
version: '0.3'
|
37
34
|
type: :development
|
38
35
|
prerelease: false
|
39
36
|
version_requirements: !ruby/object:Gem::Requirement
|
40
37
|
requirements:
|
41
38
|
- - "~>"
|
42
39
|
- !ruby/object:Gem::Version
|
43
|
-
version: '0.
|
44
|
-
- - ">="
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 0.2.2
|
40
|
+
version: '0.3'
|
47
41
|
description: Thor-based generator of an ActiveModel validatorsand its unit test templates.
|
48
42
|
email: andrew.kozin@gmail.com
|
49
43
|
executables: []
|