hexx-domains 0.0.1 → 0.0.2

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: dbaad1d280b88d8f3ba44742c734ff5a67262203
4
- data.tar.gz: a55c405781d52b468511191e7c64841a1e3ee931
3
+ metadata.gz: a1391da80dc51f44d78b2615dca0ce30c6c20f0a
4
+ data.tar.gz: 5f3de026abb652748e52a553189dc52b61f00125
5
5
  SHA512:
6
- metadata.gz: ad72b3e5a724e09d99d901f9973cddbe5a4e1f3ce1cc94cb4863f25df7b28270e431032f1f79b293e21e0bf32a908fa0b6d3a095a72e826dd2d09fa9546bbe3b
7
- data.tar.gz: dd18ba536b031b0fb82c4fe8c57fa44c1e843b18a46660bc38e6b55fa38dc4ccb90995932441a964ad2003e1fb2260fa3972f1e763c4f13cf6e9a01f03dffc82
6
+ metadata.gz: d5a6079cb722fd7bcb73091f426294e29ecb04cc5c4c3b37464cfa05d28eeede96abe80f7ee9dc4ac99dc120482fbfeec2748048818de4c1989dd7a7915820c0
7
+ data.tar.gz: d11635b0b9d1a30fdf2b4445ad2ccaf6df1ebf20c7a0b01de184e49c21c8fa6e5f70ac4433ef98681bb5ea25e8cca73e52b26f9e4e998be59988dcb62a3e3c4e
data/README.md CHANGED
@@ -22,7 +22,7 @@ It is a part of [hexx] scaffolders collection.
22
22
 
23
23
  To scaffold a model start the generator:
24
24
 
25
- ```
25
+ ```ruby
26
26
  Hexx::Domains::CLI.start %w(
27
27
  gemname -r 2.1 -u username -e user@example.com -a Name Family -d -b -g
28
28
  )
@@ -1,4 +1,5 @@
1
- # Hexx
1
+ <%= project.type %>
2
+ ===================
2
3
 
3
4
  [![Gem Version](https://img.shields.io/gem/v/<%= project.file %>.svg?style=flat)][gem]
4
5
  [![Build Status](https://img.shields.io/travis/<%= user %>/<%= project.file %>/master.svg?style=flat)][travis]
@@ -16,11 +17,8 @@
16
17
 
17
18
  @todo Describe the module
18
19
 
19
- ## Usage
20
-
21
- @todo Describe the base usage of the module
22
-
23
- ## Installation
20
+ Installation
21
+ ------------
24
22
 
25
23
  Add this line to your application's Gemfile:
26
24
 
@@ -41,13 +39,27 @@ Or add it manually:
41
39
  gem install <%= project.file %>
42
40
  ```
43
41
 
44
- ## Compatibility
42
+ Usage
43
+ -----
44
+
45
+ @todo Describe howto use the module
46
+
47
+ Compatibility
48
+ -------------
49
+
50
+ Tested under rubies compatible to rubies compatible to API <%= ruby %>+:
51
+
52
+ * MRI <%= ruby %>+
53
+ * Rubinius (mode <%= ruby %>+)
54
+ * JRuby (mode <%= ruby %>+)
45
55
 
46
- Tested under rubies compatible to MRI <%= ruby %>+.
56
+ Uses [RSpec] 3.0+ for testing and [hexx-suit] for dev/test tools collection.
47
57
 
48
- Uses [RSpec] 3.0+ for testing and [<%= project.file %>-suit] for dev/test tools collection.
58
+ [RSpec]: http://rspec.info/
59
+ [hexx-suit]: http://github.com/nepalez/hexx-suit
49
60
 
50
- ## Contributing
61
+ Contributing
62
+ ------------
51
63
 
52
64
  * Fork the project.
53
65
  * Read the [STYLEGUIDE](config/metrics/STYLEGUIDE).
@@ -59,6 +71,7 @@ Uses [RSpec] 3.0+ for testing and [<%= project.file %>-suit] for dev/test tools
59
71
  in a commit by itself I can ignore when I pull)
60
72
  * Send me a pull request. Bonus points for topic branches.
61
73
 
62
- ## License
74
+ License
75
+ -------
63
76
 
64
77
  See the [MIT LICENSE](LICENSE).
@@ -6,7 +6,7 @@ module Hexx
6
6
 
7
7
  # The semantic version of the module.
8
8
  # @see http://semver.org/ Semantic versioning 2.0
9
- VERSION = "0.0.1".freeze
9
+ VERSION = "0.0.2".freeze
10
10
 
11
11
  end # module Domains
12
12
 
data/spec/spec_helper.rb CHANGED
@@ -1,8 +1,12 @@
1
1
  # encoding: utf-8
2
- require "hexx-rspec"
3
2
 
4
- # Loads runtime metrics
5
- Hexx::RSpec.load_metrics_for(self)
3
+ begin
4
+ require "hexx-suit"
5
+ Hexx::Suit.load_metrics_for(self)
6
+ rescue LoadError
7
+ require "hexx-rspec"
8
+ Hexx::RSpec.load_metrics_for(self)
9
+ end
6
10
 
7
11
  # Loads the code under test
8
12
  require "hexx-domains"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hexx-domains
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
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-20 00:00:00.000000000 Z
11
+ date: 2015-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hexx-cli