iori 0.1.0 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.devcontainer/devcontainer.json +39 -0
- data/.devcontainer/docker-compose.yml +38 -0
- data/.github/workflows/gem-push.yml +35 -0
- data/.gitignore +2 -0
- data/Gemfile +2 -0
- data/README.md +9 -10
- data/Steepfile +5 -0
- data/{compose.yml → compose.yaml} +0 -2
- data/iori.gemspec +1 -1
- data/lib/iori/railtie.rb +1 -1
- data/lib/iori/version.rb +1 -1
- data/sig/iori/railtie.rbs +7 -0
- data/sig/iori/version.rbs +6 -0
- data/sig/patch.rbs +7 -0
- metadata +13 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e36fa0c8965299e10823ced0b6c38d1cd67ebd7a8ab5bb317392998f10bd0ad
|
4
|
+
data.tar.gz: 2c7894c47c336b5b28124710e0768cd5ec191c8a2e942c8c5d3014075cde6a31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4a0e57d23c6b22fad30f8c345218ad046ef14026f25d27468c0f35ef6d5dbb6c74accb70858a6311bd5b8bd553f38df5e2700810549ec8a63237a0ce70b6436
|
7
|
+
data.tar.gz: c58738fbb689db48330d8ba81a7d55cb36bd6491f69aa3ac8e240cc6d10cbd364b66ec67b62d95046aff7eef3c3c85fbfea43ddfebf925f530a9a24f8f97ba21
|
@@ -0,0 +1,39 @@
|
|
1
|
+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
2
|
+
// https://github.com/microsoft/vscode-dev-containers/tree/v0.231.3/containers/docker-existing-docker-compose
|
3
|
+
// If you want to run as a non-root user in the container, see .devcontainer/docker-compose.yml.
|
4
|
+
{
|
5
|
+
"name": "Existing Docker Compose (Extend)",
|
6
|
+
|
7
|
+
// Update the 'dockerComposeFile' list if you have more compose files or use different names.
|
8
|
+
// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make.
|
9
|
+
"dockerComposeFile": ["../compose.yaml", "docker-compose.yml"],
|
10
|
+
|
11
|
+
// The 'service' property is the name of the service for the container that VS Code should
|
12
|
+
// use. Update this value and .devcontainer/docker-compose.yml to the real service name.
|
13
|
+
"service": "ruby",
|
14
|
+
|
15
|
+
// The optional 'workspaceFolder' property is the path VS Code should open by default when
|
16
|
+
// connected. This is typically a file mount in .devcontainer/docker-compose.yml
|
17
|
+
"workspaceFolder": "/workspace",
|
18
|
+
|
19
|
+
// Set *default* container specific settings.json values on container create.
|
20
|
+
"settings": {},
|
21
|
+
|
22
|
+
// Add the IDs of extensions you want installed when the container is created.
|
23
|
+
"extensions": ["soutaro.steep-vscode"]
|
24
|
+
|
25
|
+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
26
|
+
// "forwardPorts": [],
|
27
|
+
|
28
|
+
// Uncomment the next line if you want start specific services in your Docker Compose config.
|
29
|
+
// "runServices": [],
|
30
|
+
|
31
|
+
// Uncomment the next line if you want to keep your containers running after VS Code shuts down.
|
32
|
+
// "shutdownAction": "none",
|
33
|
+
|
34
|
+
// Uncomment the next line to run commands after the container is created - for example installing curl.
|
35
|
+
// "postCreateCommand": "apt-get update && apt-get install -y curl",
|
36
|
+
|
37
|
+
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
|
38
|
+
// "remoteUser": "vscode"
|
39
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
version: '3.8'
|
2
|
+
services:
|
3
|
+
# Update this to the name of the service you want to work with in your docker-compose.yml file
|
4
|
+
ruby:
|
5
|
+
# If you want add a non-root user to your Dockerfile, you can use the "remoteUser"
|
6
|
+
# property in devcontainer.json to cause VS Code its sub-processes (terminals, tasks,
|
7
|
+
# debugging) to execute as the user. Uncomment the next line if you want the entire
|
8
|
+
# container to run as this user instead. Note that, on Linux, you may need to
|
9
|
+
# ensure the UID and GID of the container user you create matches your local user.
|
10
|
+
# See https://aka.ms/vscode-remote/containers/non-root for details.
|
11
|
+
#
|
12
|
+
# user: vscode
|
13
|
+
|
14
|
+
# Uncomment if you want to override the service's Dockerfile to one in the .devcontainer
|
15
|
+
# folder. Note that the path of the Dockerfile and context is relative to the *primary*
|
16
|
+
# docker-compose.yml file (the first in the devcontainer.json "dockerComposeFile"
|
17
|
+
# array). The sample below assumes your primary file is in the root of your project.
|
18
|
+
#
|
19
|
+
# build:
|
20
|
+
# context: .
|
21
|
+
# dockerfile: .devcontainer/Dockerfile
|
22
|
+
|
23
|
+
volumes:
|
24
|
+
# Update this to wherever you want VS Code to mount the folder of your project
|
25
|
+
- .:/workspace:cached
|
26
|
+
|
27
|
+
# Uncomment the next line to use Docker from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker-compose for details.
|
28
|
+
# - /var/run/docker.sock:/var/run/docker.sock
|
29
|
+
|
30
|
+
# Uncomment the next four lines if you will use a ptrace-based debugger like C++, Go, and Rust.
|
31
|
+
# cap_add:
|
32
|
+
# - SYS_PTRACE
|
33
|
+
# security_opt:
|
34
|
+
# - seccomp:unconfined
|
35
|
+
|
36
|
+
# Overrides default command so things don't shut down after the process ends.
|
37
|
+
command: /bin/sh -c "while sleep 1000; do :; done"
|
38
|
+
|
@@ -0,0 +1,35 @@
|
|
1
|
+
name: Ruby Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
workflow_dispatch:
|
5
|
+
inputs:
|
6
|
+
otp-code:
|
7
|
+
description: OTP code
|
8
|
+
required: true
|
9
|
+
|
10
|
+
jobs:
|
11
|
+
build:
|
12
|
+
name: Build + Publish
|
13
|
+
runs-on: ubuntu-latest
|
14
|
+
permissions:
|
15
|
+
contents: read
|
16
|
+
packages: write
|
17
|
+
|
18
|
+
steps:
|
19
|
+
- uses: actions/checkout@v3
|
20
|
+
- name: Set up Ruby
|
21
|
+
uses: actions/setup-ruby@v1
|
22
|
+
with:
|
23
|
+
ruby-version: 3.1.x
|
24
|
+
|
25
|
+
- name: Publish to RubyGems
|
26
|
+
run: |
|
27
|
+
mkdir -p $HOME/.gem
|
28
|
+
touch $HOME/.gem/credentials
|
29
|
+
chmod 0600 $HOME/.gem/credentials
|
30
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
31
|
+
gem build *.gemspec
|
32
|
+
gem push *.gem
|
33
|
+
env:
|
34
|
+
GEM_HOST_API_KEY: "${{ secrets.RUBYGEMS_AUTH_TOKEN }}"
|
35
|
+
GEM_HOST_OTP_CODE: "${{ github.event.inputs.otp-code }}"
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# Iori
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
Configure rails config easily.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -16,13 +14,14 @@ And then execute:
|
|
16
14
|
|
17
15
|
$ bundle install
|
18
16
|
|
19
|
-
|
20
|
-
|
21
|
-
$ gem install iori
|
22
|
-
|
23
|
-
## Usage
|
17
|
+
## Features
|
24
18
|
|
25
|
-
|
19
|
+
- Not generated by scaffold
|
20
|
+
- helper
|
21
|
+
- routing specs
|
22
|
+
- view_specs
|
23
|
+
- Add settings for docker
|
24
|
+
- web-console permissions
|
26
25
|
|
27
26
|
## Development
|
28
27
|
|
@@ -32,7 +31,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
31
|
|
33
32
|
## Contributing
|
34
33
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
34
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/mogurastore/iori.
|
36
35
|
|
37
36
|
## License
|
38
37
|
|
data/Steepfile
ADDED
data/iori.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.authors = %w[MoguraStore]
|
9
9
|
spec.email = %w[368034+lisp719@users.noreply.github.com]
|
10
10
|
|
11
|
-
spec.summary = 'Configure rails config easily'
|
11
|
+
spec.summary = 'Configure rails config easily.'
|
12
12
|
spec.description = spec.summary
|
13
13
|
spec.homepage = 'https://github.com/mogurastore/iori'
|
14
14
|
spec.license = 'MIT'
|
data/lib/iori/railtie.rb
CHANGED
data/lib/iori/version.rb
CHANGED
data/sig/patch.rbs
ADDED
metadata
CHANGED
@@ -1,22 +1,25 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iori
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MoguraStore
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: Configure rails config easily
|
13
|
+
description: Configure rails config easily.
|
14
14
|
email:
|
15
15
|
- 368034+lisp719@users.noreply.github.com
|
16
16
|
executables: []
|
17
17
|
extensions: []
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
|
+
- ".devcontainer/devcontainer.json"
|
21
|
+
- ".devcontainer/docker-compose.yml"
|
22
|
+
- ".github/workflows/gem-push.yml"
|
20
23
|
- ".gitignore"
|
21
24
|
- ".rspec"
|
22
25
|
- ".rubocop.yml"
|
@@ -24,13 +27,17 @@ files:
|
|
24
27
|
- LICENSE.txt
|
25
28
|
- README.md
|
26
29
|
- Rakefile
|
30
|
+
- Steepfile
|
27
31
|
- bin/console
|
28
32
|
- bin/setup
|
29
|
-
- compose.
|
33
|
+
- compose.yaml
|
30
34
|
- iori.gemspec
|
31
35
|
- lib/iori.rb
|
32
36
|
- lib/iori/railtie.rb
|
33
37
|
- lib/iori/version.rb
|
38
|
+
- sig/iori/railtie.rbs
|
39
|
+
- sig/iori/version.rbs
|
40
|
+
- sig/patch.rbs
|
34
41
|
homepage: https://github.com/mogurastore/iori
|
35
42
|
licenses:
|
36
43
|
- MIT
|
@@ -53,8 +60,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
53
60
|
- !ruby/object:Gem::Version
|
54
61
|
version: '0'
|
55
62
|
requirements: []
|
56
|
-
rubygems_version: 3.
|
63
|
+
rubygems_version: 3.3.7
|
57
64
|
signing_key:
|
58
65
|
specification_version: 4
|
59
|
-
summary: Configure rails config easily
|
66
|
+
summary: Configure rails config easily.
|
60
67
|
test_files: []
|