com-common 0.1.3 → 0.1.4

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: b3aeb0b7501f4cec81dcd4cd84e57d445d1f4b21
4
- data.tar.gz: c4b78c199ca3541609507db3a20014b3041b8f42
3
+ metadata.gz: 1e71b3f691211a90db27eaa053aa20f78a7ea4d9
4
+ data.tar.gz: 1ee67f006da92d5559ca46dc679ba0d8b1f34a77
5
5
  SHA512:
6
- metadata.gz: 21c5382ab7709be7b0f6a27946891f7dd73b30d0642f9f8b89921c625242b48d45f8bed6a08c6228b54135c0e88b982e43e8c72edc41245f3d6e28a9a05e9a6e
7
- data.tar.gz: bbf51d6101ef7522e8bad6d4aca983655b529752e1fe5698213202119320dc7fb89d905c225791628608e7a7984abb75ada71dec715a2d76c598f4576dbf134e
6
+ metadata.gz: ea9c744d56596f786732924c5725ac670c6e465837698fa2e2d4edce909164b41ffd277bf62e24cfbc077ed5df60c93df4bb7e5c5dc384e2d461cf9714563f27
7
+ data.tar.gz: 408a08b8a0c4da52d1d2c79b3fb651ed5e74a650e66e722bda695e0e14af71368fed62b4a986aeea882c52d080ee196422246e8789fdba3bade8480eae08df31
data/.gitignore CHANGED
@@ -1,21 +1,28 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
1
  .config
5
- coverage
6
2
  InstalledFiles
7
- lib/bundler/man
8
- pkg
9
- rdoc
10
- spec/reports
11
3
  test/tmp
12
4
  test/version_tmp
13
5
  tmp
14
6
 
7
+ # Build artifacts
8
+ *.gem
9
+ *.rbc
10
+ pkg
11
+
12
+ # Bundler
13
+ .bundle
14
+ /Gemfile.lock
15
+ lib/bundler/man
16
+
15
17
  # YARD artifacts
16
18
  .yardoc
17
19
  _yardoc
18
20
  doc/
21
+ rdoc
19
22
 
20
23
  # RSpec file to presist failures
21
24
  spec/examples.txt
25
+ /spec/reports/
26
+
27
+ # Tests coverage
28
+ coverage
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at zekefast@gmail.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/LICENSE CHANGED
@@ -1,7 +1,7 @@
1
- GNU GENERAL PUBLIC LICENSE
1
+ GNU GENERAL PUBLIC LICENSE
2
2
  Version 3, 29 June 2007
3
3
 
4
- Copyright (C) 2007 Free Software Foundation, Inc. {http://fsf.org/}
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
5
  Everyone is permitted to copy and distribute verbatim copies
6
6
  of this license document, but changing it is not allowed.
7
7
 
@@ -645,14 +645,14 @@ the "copyright" line and a pointer to where the full notice is found.
645
645
  GNU General Public License for more details.
646
646
 
647
647
  You should have received a copy of the GNU General Public License
648
- along with this program. If not, see {http://www.gnu.org/licenses/}.
648
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
649
649
 
650
650
  Also add information on how to contact you by electronic and paper mail.
651
651
 
652
652
  If the program does terminal interaction, make it output a short
653
653
  notice like this when it starts in an interactive mode:
654
654
 
655
- rcomp-common Copyright (C) 2013 Zeke Fast
655
+ {project} Copyright (C) {year} {fullname}
656
656
  This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657
657
  This is free software, and you are welcome to redistribute it
658
658
  under certain conditions; type `show c' for details.
@@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
664
664
  You should also get your employer (if you work as a programmer) or school,
665
665
  if any, to sign a "copyright disclaimer" for the program, if necessary.
666
666
  For more information on this, and how to apply and follow the GNU GPL, see
667
- {http://www.gnu.org/licenses/}.
667
+ <http://www.gnu.org/licenses/>.
668
668
 
669
669
  The GNU General Public License does not permit incorporating your program
670
670
  into proprietary programs. If your program is a subroutine library, you
671
671
  may consider it more useful to permit linking proprietary applications with
672
672
  the library. If this is what you want to do, use the GNU Lesser General
673
673
  Public License instead of this License. But first, please read
674
- {http://www.gnu.org/philosophy/why-not-lgpl.html}.
674
+ <http://www.gnu.org/philosophy/why-not-lgpl.html>.
data/bin/setup CHANGED
@@ -1,6 +1,9 @@
1
1
  #!/bin/bash
2
2
  set -euo pipefail
3
3
  IFS=$'\n\t'
4
+ # GOTCHA: uncomment in case of debugging current script.
5
+ # See more details at https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
6
+ #set -vx
4
7
 
5
8
  bundle install
6
9
 
data/com-common.gemspec CHANGED
@@ -7,14 +7,14 @@ require "com/common/version"
7
7
 
8
8
 
9
9
  Gem::Specification.new do |spec|
10
- spec.name = "com-common"
11
- spec.version = ::Com::Common::VERSION
12
- spec.authors = ["Zeke Fast"]
13
- spec.email = ["zekefast@gmail.com"]
10
+ spec.name = "com-common"
11
+ spec.version = ::Com::Common::VERSION
12
+ spec.authors = ["Zeke Fast"]
13
+ spec.email = ["zekefast@gmail.com"]
14
14
 
15
- spec.summary = %q{com-rb common library classes.}
16
- spec.homepage = "https://github.com/com-rb/com-common"
17
- spec.license = "MIT"
15
+ spec.summary = %q{com-rb common library classes.}
16
+ spec.homepage = "https://github.com/com-rb/com-common"
17
+ spec.license = "GNU GPL Version 3"
18
18
 
19
19
  spec.required_ruby_version = "~> 2.3.1"
20
20
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -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_development_dependency "bundler", "~> 1.12.5"
26
- spec.add_development_dependency "rake", "~> 11.2"
27
- spec.add_development_dependency "rspec", "~> 3.5"
25
+ spec.add_development_dependency "bundler", ">= 1.12.5"
26
+ spec.add_development_dependency "rake", ">= 11.2"
27
+ spec.add_development_dependency "rspec", ">= 3.5"
28
28
  end
data/lib/com/common.rb CHANGED
@@ -5,7 +5,7 @@ require "com/common/version"
5
5
 
6
6
  # Purpose: namespace
7
7
  #
8
- # Namespace for common modules and classes or com-rb libraries.
8
+ # Namespace for common modules and classes of com-rb libraries.
9
9
  module ::Com::Common
10
10
  end
11
11
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # GOTCHA: this file is an exclusion from rule or plain module definition, because
3
+ # GOTCHA: this file is an exclusion from rule of plain module definition, because
4
4
  # it is used in com-common.gemspec file where all root namespaces
5
5
  # do not loaded. So, they have to be defined hierarchically.
6
6
  #
@@ -12,6 +12,6 @@ module ::Com
12
12
  # Library version.
13
13
  #
14
14
  # @return [String] library version
15
- VERSION = "0.1.3".freeze
15
+ VERSION = "0.1.4".freeze
16
16
  end
17
17
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: com-common
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
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-07 00:00:00.000000000 Z
11
+ date: 2016-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.12.5
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.12.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '11.2'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '11.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '3.5'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.5'
55
55
  description:
@@ -64,8 +64,8 @@ files:
64
64
  - ".rspec"
65
65
  - ".ruby-gemset"
66
66
  - ".ruby-version"
67
+ - CODE_OF_CONDUCT.md
67
68
  - Gemfile
68
- - Gemfile.lock
69
69
  - LICENSE
70
70
  - README.md
71
71
  - Rakefile
@@ -83,7 +83,7 @@ files:
83
83
  - lib/com/standard_error.rb
84
84
  homepage: https://github.com/com-rb/com-common
85
85
  licenses:
86
- - MIT
86
+ - GNU GPL Version 3
87
87
  metadata: {}
88
88
  post_install_message:
89
89
  rdoc_options: []
data/Gemfile.lock DELETED
@@ -1,35 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- com-common (0.1.3)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- diff-lcs (1.2.5)
10
- rake (11.2.2)
11
- rspec (3.5.0)
12
- rspec-core (~> 3.5.0)
13
- rspec-expectations (~> 3.5.0)
14
- rspec-mocks (~> 3.5.0)
15
- rspec-core (3.5.2)
16
- rspec-support (~> 3.5.0)
17
- rspec-expectations (3.5.0)
18
- diff-lcs (>= 1.2.0, < 2.0)
19
- rspec-support (~> 3.5.0)
20
- rspec-mocks (3.5.0)
21
- diff-lcs (>= 1.2.0, < 2.0)
22
- rspec-support (~> 3.5.0)
23
- rspec-support (3.5.0)
24
-
25
- PLATFORMS
26
- ruby
27
-
28
- DEPENDENCIES
29
- bundler (~> 1.12.5)
30
- com-common!
31
- rake (~> 11.2)
32
- rspec (~> 3.5)
33
-
34
- BUNDLED WITH
35
- 1.12.5