com-client 0.1.0 → 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: 630d4b0dedd8be462a294c4ba1e6d02ecc1fadcc
4
- data.tar.gz: 2ea8dbdd40b406909d4f42c9e4aa7d97ea89728e
3
+ metadata.gz: f28cdb39db6573c01c32c3079c5ae444e0024e07
4
+ data.tar.gz: efd628a75f81443cee92dff0e843b7ced2a8a6f2
5
5
  SHA512:
6
- metadata.gz: 32928e55effa20d190bc22bc120873affadafaea3155b59a216971890f0adb2254003c288b63ae84d0a22fa0b4d12e577d6c21fb56e100bb1036c658964d4f33
7
- data.tar.gz: 739e93df9759135088eea6beece2af19bbf33533d8a9ac979f9f7c8edd35c6907f420406d7673df4a49da626d41797a8c0faa26cafd87ecf010731f8ae8e3335
6
+ metadata.gz: b44ab41964d06ec490200bc099a1a8fbf62120255b6ea1a68bcc7e0107e53116e712dfec53649a67b5c8578cb70d66f7b45a3018c5283d183f9936dc34e2d9df
7
+ data.tar.gz: 19e7b8ca34f2a0b50c3f9bc44928e52323e38928551352b772cd11f9afa96fe03f98711013caa1e37812226ca7093bd06581feae939d2015962e2649d072667a
data/Gemfile CHANGED
@@ -1,5 +1,16 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  source "https://rubygems.org"
3
4
 
4
5
  # Specify your gem's dependencies in com-client.gemspec
5
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
data/README.md CHANGED
@@ -42,7 +42,7 @@ your application.
42
42
  Assuming that, add follow to your `Gemfile`.
43
43
 
44
44
  ```ruby
45
- gem "com-client", ">= 0.1.0"
45
+ gem "com-client", ">= 0.2.0"
46
46
  ```
47
47
 
48
48
  And then execute from the dirrectory with `Gemfile` (likely it should be your
@@ -60,7 +60,7 @@ Likely you already know how to do that, but for clarity sake here is some tips a
60
60
  Add follow line to your library's [`gemspec`](http://guides.rubygems.org/specification-reference/) file:
61
61
 
62
62
  ```ruby
63
- spec.add_runtime_dependency 'com-client', '>= 0.1'
63
+ spec.add_runtime_dependency 'com-client', '>= 0.2'
64
64
  ```
65
65
 
66
66
  See also [official documentation on rubygems about adding runtime dependencies](http://guides.rubygems.org/specification-reference/#add_runtime_dependency).
@@ -116,6 +116,7 @@ Introduced namespace modules:
116
116
  Introduced error tagging modules:
117
117
 
118
118
  * [`::Com::Client::Error`](lib/com/client/error.rb)
119
+ * [`::Com::Client::StandardError`](lib/com/client/standard_error.rb)
119
120
 
120
121
  ## Development
121
122
 
@@ -2,7 +2,8 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  require "bundler/setup"
5
- require "com/client"
5
+
6
+ require "com-client"
6
7
 
7
8
  # You can add fixtures and/or initialization code here to make experimenting
8
9
  # with your gem easier. You can also use a different console, if you like.
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ["lib"]
24
24
 
25
- spec.add_runtime_dependency "com-common", ">= 0.1.4"
25
+ spec.add_runtime_dependency "com-common", ">= 0.2.1"
26
26
 
27
27
  spec.add_development_dependency "bundler", ">= 1.12.5"
28
28
  spec.add_development_dependency "rake", ">= 11.2"
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- require "com/client"
4
+ require "com-client"
@@ -1,3 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "com" # GOTCHA: delivered by "com-common" gem
4
+
3
5
  require "com/client"
@@ -11,3 +11,4 @@ end
11
11
 
12
12
 
13
13
  require "com/client/error"
14
+ require "com/client/standard_error"
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "com/error"
4
-
5
3
  # Purpose: mixin
6
4
  #
7
5
  # @see ::Com::Error
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Purpose: mixin
4
+ #
5
+ # @see ::Com::StandardError
6
+ module ::Com::Client::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.0".freeze
15
+ VERSION = "0.2.0".freeze
16
16
  end
17
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: com-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
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: com-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.4
19
+ version: 0.2.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.1.4
26
+ version: 0.2.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -90,6 +90,7 @@ files:
90
90
  - lib/com-client.rb
91
91
  - lib/com/client.rb
92
92
  - lib/com/client/error.rb
93
+ - lib/com/client/standard_error.rb
93
94
  - lib/com/client/version.rb
94
95
  homepage: https://github.com/com-rb/com-client
95
96
  licenses: