hexx 9.1.0 → 9.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -2
- data/bin/hexx +8 -0
- data/hexx.gemspec +2 -1
- data/lib/hexx/version.rb +1 -1
- data/spec/tests/bin/hexx_spec.rb +11 -0
- metadata +23 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ed29b02c78e31f85784517363ba4e09c9b7632a
|
4
|
+
data.tar.gz: d1e151b29b7e7d9525eab90ed560f9cb33214307
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d404eaaf4ad22324e632529b68e1f77708bc27d353dec487c4e01b56af6391e4188251ab08c788a0e7f08a3b5d37ded5d66c8a32ef59842a0fcb131045b9a215
|
7
|
+
data.tar.gz: b8d3710915bf16a2d8304a79d62cb4c322b6505754d0e0f58e39f4d48b0419959b4490796baae4f5b31cec0ad75098ca7aa10ded0750a89fd051764df243c194
|
data/.travis.yml
CHANGED
data/bin/hexx
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
# Loads the development dependencies
|
4
4
|
require "hexx-dependencies"
|
5
|
+
require "hexx-domains"
|
5
6
|
require "hexx-validators"
|
6
7
|
require "policy/cli"
|
7
8
|
require "service_objects/cli"
|
@@ -9,6 +10,13 @@ require "service_objects/cli"
|
|
9
10
|
# Command line runne # class CLIr
|
10
11
|
class CLI < Thor
|
11
12
|
|
13
|
+
register(
|
14
|
+
Hexx::Domains::CLI,
|
15
|
+
"domain",
|
16
|
+
"domain NAME[ -a Author][ -u username][ -e email][ -r ruby][ -d][ -b][ -g]",
|
17
|
+
"Scaffolds new domain model. Run `hexx domain -h` for help."
|
18
|
+
)
|
19
|
+
|
12
20
|
register(
|
13
21
|
Hexx::Dependencies::CLI,
|
14
22
|
"dependency",
|
data/hexx.gemspec
CHANGED
@@ -20,8 +20,9 @@ Gem::Specification.new do |gem|
|
|
20
20
|
gem.extra_rdoc_files = Dir["README.md", "LICENSE"]
|
21
21
|
|
22
22
|
gem.required_ruby_version = "~> 2.0"
|
23
|
-
gem.add_runtime_dependency "hexx-validators", "~> 0.0", ">= 0.0.2"
|
24
23
|
gem.add_runtime_dependency "hexx-dependencies", "~> 0.0"
|
24
|
+
gem.add_runtime_dependency "hexx-domains", "~> 0.0"
|
25
|
+
gem.add_runtime_dependency "hexx-validators", "~> 0.0", ">= 0.0.2"
|
25
26
|
gem.add_runtime_dependency "policy", "~> 1.2"
|
26
27
|
gem.add_runtime_dependency "service_objects", "~> 0.1"
|
27
28
|
gem.add_development_dependency "hexx-rspec", "~> 0.3"
|
data/lib/hexx/version.rb
CHANGED
data/spec/tests/bin/hexx_spec.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
require "hexx-dependencies"
|
3
|
+
require "hexx-domains"
|
3
4
|
require "hexx-validators"
|
4
5
|
require "policy/cli"
|
5
6
|
require "service_objects/cli"
|
@@ -64,4 +65,14 @@ describe "$ hexx", :sandbox do
|
|
64
65
|
|
65
66
|
end # service
|
66
67
|
|
68
|
+
context "domain" do
|
69
|
+
|
70
|
+
subject { :domain }
|
71
|
+
|
72
|
+
it_behaves_like "running scaffolder", Hexx::Domains::CLI do
|
73
|
+
let(:arguments) { %w(gemname -u user -a Author -e email@example.com) }
|
74
|
+
end
|
75
|
+
|
76
|
+
end # domain
|
77
|
+
|
67
78
|
end # describe $ hexx
|
metadata
CHANGED
@@ -1,25 +1,22 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hexx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.
|
4
|
+
version: 9.2.0
|
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-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: hexx-
|
14
|
+
name: hexx-dependencies
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0.0'
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 0.0.2
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,16 +24,30 @@ dependencies:
|
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0.0'
|
30
|
-
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: hexx-domains
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
31
32
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.0
|
33
|
+
version: '0.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.0'
|
33
41
|
- !ruby/object:Gem::Dependency
|
34
|
-
name: hexx-
|
42
|
+
name: hexx-validators
|
35
43
|
requirement: !ruby/object:Gem::Requirement
|
36
44
|
requirements:
|
37
45
|
- - "~>"
|
38
46
|
- !ruby/object:Gem::Version
|
39
47
|
version: '0.0'
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 0.0.2
|
40
51
|
type: :runtime
|
41
52
|
prerelease: false
|
42
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -44,6 +55,9 @@ dependencies:
|
|
44
55
|
- - "~>"
|
45
56
|
- !ruby/object:Gem::Version
|
46
57
|
version: '0.0'
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 0.0.2
|
47
61
|
- !ruby/object:Gem::Dependency
|
48
62
|
name: policy
|
49
63
|
requirement: !ruby/object:Gem::Requirement
|