ruby_smart-namespace 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +4 -0
- data/README.md +9 -3
- data/docs/CHANGELOG.md +7 -0
- data/lib/ruby_smart/namespace/gem_version.rb +1 -1
- data/lib/ruby_smart/namespace.rb +5 -0
- data/ruby_smart-namespace.gemspec +43 -0
- metadata +21 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a55ebc84b0ed20b2919bcaf154bcf0c6e2465390340d03c2a13bee70b9ecb28a
|
4
|
+
data.tar.gz: 30ea977c8448c9ced98c2b6982a8287c57c162fbe0b09e2ab003db8cc5eb5c87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d70706956eae34f9130aa0677adbb17c926c41ebfc4a28e722a7c2d69d9c9c59564f68b2cf7889646cc03dab589bae9c149b04c564200e3b44507c6d22aac8d
|
7
|
+
data.tar.gz: c5ff804f7b0d131c8def2078cacc747d7c36c19a5fb981ca84050c4423477edc042102c59e6fe50b998d7c414ef4bda64d33d19e5e1520a20daf8ff5d5653c9a
|
data/.yardopts
ADDED
data/README.md
CHANGED
@@ -1,8 +1,14 @@
|
|
1
1
|
# RubySmart::Namespace
|
2
2
|
|
3
|
-
|
4
|
-
[![
|
5
|
-
[![
|
3
|
+
|
4
|
+
[![GitHub](https://img.shields.io/badge/github-ruby--smart/namespace-blue.svg)](http://github.com/ruby-smart/namespace)
|
5
|
+
[![Documentation](https://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://rubydoc.info/gems/ruby_smart-namespace)
|
6
|
+
|
7
|
+
[![Gem Version](https://badge.fury.io/rb/ruby_smart-namespace.svg?kill_cache=1)](https://badge.fury.io/rb/ruby_smart-namespace)
|
8
|
+
[![License](https://img.shields.io/github/license/ruby-smart/namespace)](docs/LICENSE.txt)
|
9
|
+
|
10
|
+
[![Coverage Status](https://coveralls.io/repos/github/ruby-smart/namespace/badge.svg?branch=main&kill_cache=1)](https://coveralls.io/github/ruby-smart/namespace?branch=main)
|
11
|
+
[![Tests](https://github.com/ruby-smart/namespace/actions/workflows/ruby.yml/badge.svg)](https://github.com/ruby-smart/namespace/actions/workflows/ruby.yml)
|
6
12
|
|
7
13
|
Unified namespace for Ruby applications
|
8
14
|
|
data/docs/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# RubySmart::Namespace - CHANGELOG
|
2
2
|
|
3
|
+
## [1.0.1] - 2023-01-24
|
4
|
+
* **[add]** coveralls gem
|
5
|
+
* **[ref]** update gemspecs
|
6
|
+
* **[ref]** update yard
|
7
|
+
* **[ref]** README.md
|
8
|
+
|
9
|
+
|
3
10
|
## [1.0.0] - 2022-11-12
|
4
11
|
* **[ref]** move Namespace from GTC to RubySmart
|
5
12
|
* **[ref]** `Namespace.transform` options to also use a double-underscore as suffix (e.g. \_\_scope\_\_)
|
data/lib/ruby_smart/namespace.rb
CHANGED
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'lib/ruby_smart/namespace/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'ruby_smart-namespace'
|
7
|
+
spec.version = RubySmart::Namespace.version
|
8
|
+
spec.authors = ['Tobias Gonsior']
|
9
|
+
spec.email = ['info@ruby-smart.org']
|
10
|
+
|
11
|
+
spec.summary = 'Unified namespace for Ruby applications'
|
12
|
+
spec.description = <<~DESC
|
13
|
+
RubySmart::Namespace is a simple Ruby extension to provide generic namespace methods for each Object.
|
14
|
+
This simplifies the handling of loading & accessing other classes.
|
15
|
+
DESC
|
16
|
+
|
17
|
+
spec.homepage = 'https://github.com/ruby-smart/namespace'
|
18
|
+
spec.license = 'MIT'
|
19
|
+
spec.required_ruby_version = '>= 2.6.0'
|
20
|
+
|
21
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
22
|
+
spec.metadata['source_code_uri'] = 'https://github.com/ruby-smart/namespace'
|
23
|
+
spec.metadata['changelog_uri'] = "#{spec.metadata["source_code_uri"]}/blob/main/docs/CHANGELOG.md"
|
24
|
+
|
25
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
26
|
+
|
27
|
+
# Specify which files should be added to the gem when it is released.
|
28
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
29
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
30
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
31
|
+
(f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
spec.require_paths = ['lib']
|
36
|
+
|
37
|
+
spec.add_dependency 'activesupport', '>= 4.0'
|
38
|
+
|
39
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
40
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
41
|
+
spec.add_development_dependency 'coveralls_reborn', '~> 0.25'
|
42
|
+
spec.add_development_dependency 'yard', '~> 0.9'
|
43
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_smart-namespace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Gonsior
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -53,19 +53,33 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: coveralls_reborn
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0.
|
61
|
+
version: '0.25'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0.
|
68
|
+
version: '0.25'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: yard
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.9'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.9'
|
69
83
|
description: |
|
70
84
|
RubySmart::Namespace is a simple Ruby extension to provide generic namespace methods for each Object.
|
71
85
|
This simplifies the handling of loading & accessing other classes.
|
@@ -76,6 +90,7 @@ extensions: []
|
|
76
90
|
extra_rdoc_files: []
|
77
91
|
files:
|
78
92
|
- ".rspec"
|
93
|
+
- ".yardopts"
|
79
94
|
- Gemfile
|
80
95
|
- README.md
|
81
96
|
- Rakefile
|
@@ -91,6 +106,7 @@ files:
|
|
91
106
|
- lib/ruby_smart/namespace/core_ext/ruby/object.rb
|
92
107
|
- lib/ruby_smart/namespace/gem_version.rb
|
93
108
|
- lib/ruby_smart/namespace/version.rb
|
109
|
+
- ruby_smart-namespace.gemspec
|
94
110
|
homepage: https://github.com/ruby-smart/namespace
|
95
111
|
licenses:
|
96
112
|
- MIT
|