luna_park 0.11.1 → 0.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/gem-push.yml +43 -0
- data/.github/workflows/gem-push.yml +43 -0
- data/.gitignore +17 -1
- data/CHANGELOG.md +4 -0
- data/lib/luna_park/extensions/injector/dependencies.rb +7 -0
- data/lib/luna_park/version.rb +1 -1
- data/luna_park.gemspec +3 -2
- metadata +12 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc89904bfac7a26a4898141e26a1ec059fdc19a5de2adc7dca5c54e58e04bee8
|
4
|
+
data.tar.gz: 142b00eeb4fee4f412b9a811e196104b4522a1354a95b5e58dbc766b7e3e8a3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8443e5c9f90f0a80647eebe61453e21a0de3130bd16147171dd19ed4df25217b8f8b85d09754b3105b82e3a51485f9fbb6c5726838705f3ba03363fb28fd01fb
|
7
|
+
data.tar.gz: a6c102273edc954cd156d9f68cc250a22c0ef272d89650a1a84779724e43b507ed8fa40b5704096152efdcc0b6abf2bf29a837de028ac5b9919c3d7905d75eb8
|
@@ -0,0 +1,43 @@
|
|
1
|
+
name: Ruby Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
build:
|
9
|
+
name: Build + Publish
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
permissions:
|
12
|
+
contents: read
|
13
|
+
packages: write
|
14
|
+
|
15
|
+
steps:
|
16
|
+
- uses: actions/checkout@v2
|
17
|
+
- name: Set up Ruby 2.6
|
18
|
+
uses: actions/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: 2.5.x
|
21
|
+
|
22
|
+
- name: Publish to GPR
|
23
|
+
run: |
|
24
|
+
mkdir -p $HOME/.gem
|
25
|
+
touch $HOME/.gem/credentials
|
26
|
+
chmod 0600 $HOME/.gem/credentials
|
27
|
+
printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
28
|
+
gem build *.gemspec
|
29
|
+
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
|
30
|
+
env:
|
31
|
+
GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
|
32
|
+
OWNER: ${{ github.repository_owner }}
|
33
|
+
|
34
|
+
- name: Publish to RubyGems
|
35
|
+
run: |
|
36
|
+
mkdir -p $HOME/.gem
|
37
|
+
touch $HOME/.gem/credentials
|
38
|
+
chmod 0600 $HOME/.gem/credentials
|
39
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
40
|
+
gem build *.gemspec
|
41
|
+
gem push *.gem
|
42
|
+
env:
|
43
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
@@ -0,0 +1,43 @@
|
|
1
|
+
name: Ruby Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
build:
|
9
|
+
name: Build + Publish
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
permissions:
|
12
|
+
contents: read
|
13
|
+
packages: write
|
14
|
+
|
15
|
+
steps:
|
16
|
+
- uses: actions/checkout@v2
|
17
|
+
- name: Set up Ruby 2.5
|
18
|
+
uses: actions/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: 2.5.x
|
21
|
+
|
22
|
+
- name: Publish to GPR
|
23
|
+
run: |
|
24
|
+
mkdir -p $HOME/.gem
|
25
|
+
touch $HOME/.gem/credentials
|
26
|
+
chmod 0600 $HOME/.gem/credentials
|
27
|
+
printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
28
|
+
gem build *.gemspec
|
29
|
+
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
|
30
|
+
env:
|
31
|
+
GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
|
32
|
+
OWNER: ${{ github.repository_owner }}
|
33
|
+
|
34
|
+
- name: Publish to RubyGems
|
35
|
+
run: |
|
36
|
+
mkdir -p $HOME/.gem
|
37
|
+
touch $HOME/.gem/credentials
|
38
|
+
chmod 0600 $HOME/.gem/credentials
|
39
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
40
|
+
gem build *.gemspec
|
41
|
+
gem push *.gem
|
42
|
+
env:
|
43
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## [0.11.2] - 2021-09-01
|
8
|
+
Added
|
9
|
+
- Github CI
|
10
|
+
|
7
11
|
## [0.11.1] - 2021-05-24
|
8
12
|
Added
|
9
13
|
- Inheritance of `Extensions::Injector`
|
@@ -62,6 +62,13 @@ module LunaPark
|
|
62
62
|
@cache ||= {}
|
63
63
|
end
|
64
64
|
end
|
65
|
+
|
66
|
+
# @!parse include Injector::ClassMethods
|
67
|
+
# @!parse extend Injector::InstanceMethods
|
68
|
+
def self.included(base)
|
69
|
+
base.extend ClassMethods
|
70
|
+
base.include InstanceMethods
|
71
|
+
end
|
65
72
|
end
|
66
73
|
end
|
67
74
|
end
|
data/lib/luna_park/version.rb
CHANGED
data/luna_park.gemspec
CHANGED
@@ -11,13 +11,14 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.email = ['kudrin.alexander@gmail.com']
|
12
12
|
|
13
13
|
spec.summary = 'Domain driven oriented microservice framework.'
|
14
|
-
spec.homepage = 'https://am-team
|
14
|
+
spec.homepage = 'https://github.com/am-team/luna_park'
|
15
15
|
spec.license = 'MIT'
|
16
|
+
spec.required_ruby_version = '>= 2.5.1'
|
16
17
|
|
17
18
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
19
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
20
|
if spec.respond_to?(:metadata)
|
20
|
-
spec.metadata['allowed_push_host'] = '
|
21
|
+
# spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
21
22
|
else
|
22
23
|
raise 'RubyGems 2.0 or newer is required to protect against ' \
|
23
24
|
'public gem pushes.'
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: luna_park
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kudrin
|
8
8
|
- Philip Sorokin
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-09-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bugsnag
|
@@ -263,13 +263,15 @@ dependencies:
|
|
263
263
|
- - "~>"
|
264
264
|
- !ruby/object:Gem::Version
|
265
265
|
version: '0.9'
|
266
|
-
description:
|
266
|
+
description:
|
267
267
|
email:
|
268
268
|
- kudrin.alexander@gmail.com
|
269
269
|
executables: []
|
270
270
|
extensions: []
|
271
271
|
extra_rdoc_files: []
|
272
272
|
files:
|
273
|
+
- ".github/gem-push.yml"
|
274
|
+
- ".github/workflows/gem-push.yml"
|
273
275
|
- ".gitignore"
|
274
276
|
- ".overcommit.yml"
|
275
277
|
- ".rspec"
|
@@ -386,13 +388,12 @@ files:
|
|
386
388
|
- node_modules/.yarn-integrity
|
387
389
|
- package-lock.json
|
388
390
|
- yarn.lock
|
389
|
-
homepage: https://am-team
|
391
|
+
homepage: https://github.com/am-team/luna_park
|
390
392
|
licenses:
|
391
393
|
- MIT
|
392
394
|
metadata:
|
393
|
-
allowed_push_host: https://rubygems.org
|
394
395
|
yard.run: yri
|
395
|
-
post_install_message:
|
396
|
+
post_install_message:
|
396
397
|
rdoc_options: []
|
397
398
|
require_paths:
|
398
399
|
- lib
|
@@ -400,15 +401,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
400
401
|
requirements:
|
401
402
|
- - ">="
|
402
403
|
- !ruby/object:Gem::Version
|
403
|
-
version:
|
404
|
+
version: 2.5.1
|
404
405
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
405
406
|
requirements:
|
406
407
|
- - ">="
|
407
408
|
- !ruby/object:Gem::Version
|
408
409
|
version: '0'
|
409
410
|
requirements: []
|
410
|
-
|
411
|
-
|
411
|
+
rubyforge_project:
|
412
|
+
rubygems_version: 2.7.6.3
|
413
|
+
signing_key:
|
412
414
|
specification_version: 4
|
413
415
|
summary: Domain driven oriented microservice framework.
|
414
416
|
test_files: []
|