com-common 0.1.4 → 0.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1e71b3f691211a90db27eaa053aa20f78a7ea4d9
4
- data.tar.gz: 1ee67f006da92d5559ca46dc679ba0d8b1f34a77
3
+ metadata.gz: df345629b2e923278698167873e65409a8cf9f3c
4
+ data.tar.gz: 64006d2fc6c435e139ebf602f976ecac692d9f38
5
5
  SHA512:
6
- metadata.gz: ea9c744d56596f786732924c5725ac670c6e465837698fa2e2d4edce909164b41ffd277bf62e24cfbc077ed5df60c93df4bb7e5c5dc384e2d461cf9714563f27
7
- data.tar.gz: 408a08b8a0c4da52d1d2c79b3fb651ed5e74a650e66e722bda695e0e14af71368fed62b4a986aeea882c52d080ee196422246e8789fdba3bade8480eae08df31
6
+ metadata.gz: f36da337e11efad747276e626caeab3c9e1db0bda45e63ebc91a30d88b8674a1b145db02420caa74caba0e6a686cefeb3db235407c0d6c0f97ac8e3d10b7d7df
7
+ data.tar.gz: 7cb6cdeeeb680c77d22b259babcd45c74bfd7bc2fe82f21eecf213f631b36e18e6ddf262b8c60ca709f83d12cabf872f9e5303a5501158d6b4cbe093971b7e4a
data/.gitignore CHANGED
@@ -1,28 +1,35 @@
1
- .config
2
- InstalledFiles
3
- test/tmp
4
- test/version_tmp
5
- tmp
1
+ /.config
2
+ /InstalledFiles
3
+ /test/tmp/
4
+ /test/version_tmp/
5
+ /tmp/
6
+
7
+ ## Documentation cache and generated files:
8
+ /.yardoc/
9
+ /_yardoc/
10
+ /doc/
11
+ /rdoc/
12
+
13
+ ## Environment normalization:
14
+ /.bundle/
15
+ /vendor/bundle
16
+ /lib/bundler/man/
17
+
18
+ # for a library or gem, you might want to ignore these files since the code is
19
+ # intended to run in multiple environments; otherwise, check them in:
20
+ Gemfile.lock
21
+
22
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
23
+ .rvmrc
6
24
 
7
25
  # Build artifacts
8
26
  *.gem
9
27
  *.rbc
10
- pkg
11
-
12
- # Bundler
13
- .bundle
14
- /Gemfile.lock
15
- lib/bundler/man
16
-
17
- # YARD artifacts
18
- .yardoc
19
- _yardoc
20
- doc/
21
- rdoc
28
+ /pkg/
22
29
 
23
30
  # RSpec file to presist failures
24
- spec/examples.txt
31
+ /spec/examples.txt
25
32
  /spec/reports/
26
33
 
27
34
  # Tests coverage
28
- coverage
35
+ /coverage/
data/Gemfile CHANGED
@@ -4,3 +4,13 @@ source "https://rubygems.org"
4
4
 
5
5
  # Specify your dependencies in com-common.gemspec
6
6
  gemspec
7
+
8
+ group :test do
9
+ end
10
+
11
+ group :tools do
12
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
13
+ gem "byebug"
14
+
15
+ gem "awesome_print"
16
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Purpose: mixin
4
+ #
5
+ # @see ::Com::StandardError
6
+ module ::Com::Common::StandardError
7
+ include ::Com::StandardError
8
+ end
@@ -12,6 +12,6 @@ module ::Com
12
12
  # Library version.
13
13
  #
14
14
  # @return [String] library version
15
- VERSION = "0.1.4".freeze
15
+ VERSION = "0.2.0".freeze
16
16
  end
17
17
  end
data/lib/com/common.rb CHANGED
@@ -11,3 +11,4 @@ end
11
11
 
12
12
 
13
13
  require "com/common/error"
14
+ require "com/common/standard_error"
data/lib/com-common.rb CHANGED
@@ -1,3 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "com"
4
+ require "com/common"
data/lib/com.rb CHANGED
@@ -10,5 +10,3 @@ end
10
10
  require "com/error"
11
11
  require "com/standard_error"
12
12
  require "com/abstract_method_error"
13
-
14
- require "com/common"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: com-common
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zeke Fast
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-08 00:00:00.000000000 Z
11
+ date: 2016-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -78,6 +78,7 @@ files:
78
78
  - lib/com/abstract_method_error.rb
79
79
  - lib/com/common.rb
80
80
  - lib/com/common/error.rb
81
+ - lib/com/common/standard_error.rb
81
82
  - lib/com/common/version.rb
82
83
  - lib/com/error.rb
83
84
  - lib/com/standard_error.rb