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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c7b50fc951312fa2954b7e7ffb8e630884ddb31
4
- data.tar.gz: 8fe1db5a6d98e34c99e8030a6a15a5b4cc1c18b5
3
+ metadata.gz: 7ed29b02c78e31f85784517363ba4e09c9b7632a
4
+ data.tar.gz: d1e151b29b7e7d9525eab90ed560f9cb33214307
5
5
  SHA512:
6
- metadata.gz: c4c9686b1070da69bb053ab2f3c64f9744f59288da8ae3f2ddddbb97fa5a69c36d725068b790f674551dc3e72b36917c3fcf9cc7f89c2e45c9ebf5e3b921c441
7
- data.tar.gz: be68aa6a1241845b453cee8ef1aa14a6058be411293010d21913f514d0b002542767f4e13c87b7a90b5bc605542a1036b48b9fe9d9e43368798987b302194384
6
+ metadata.gz: d404eaaf4ad22324e632529b68e1f77708bc27d353dec487c4e01b56af6391e4188251ab08c788a0e7f08a3b5d37ded5d66c8a32ef59842a0fcb131045b9a215
7
+ data.tar.gz: b8d3710915bf16a2d8304a79d62cb4c322b6505754d0e0f58e39f4d48b0419959b4490796baae4f5b31cec0ad75098ca7aa10ded0750a89fd051764df243c194
@@ -5,5 +5,3 @@ script: rake test:coverage:run
5
5
  rvm:
6
6
  - '2.1'
7
7
  - ruby-head
8
- - rbx-2 --2.1
9
- - jruby-head-21mode
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",
@@ -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"
@@ -4,6 +4,6 @@ module Hexx
4
4
 
5
5
  # The semantic version of the module.
6
6
  # @see http://semver.org/ Semantic versioning 2.0
7
- VERSION = "9.1.0".freeze
7
+ VERSION = "9.2.0".freeze
8
8
 
9
9
  end # module Hexx
@@ -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.1.0
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-19 00:00:00.000000000 Z
11
+ date: 2015-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: hexx-validators
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.2
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-dependencies
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