hanami-runner 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/README.md +16 -25
- data/hanami_runner.gemspec +2 -3
- data/lib/hanami-runner/info.rb +2 -2
- metadata +4 -4
- data/bin/coms +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfe3df1994cf691596c1f325c0dce8bb75f783836fc225b6988c23d38879d59c
|
4
|
+
data.tar.gz: c2bdfbb5d710e8a145d028f8ee05c2786ed4a5edb20ffeb22b024e77a90efdd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e92e6cfc75c89cdbcdbb9a87650976ba4e3ffbc52557b4eb2ef216148ecedc0f4a867780f9558796ae0c1e17094f2b57a6424d5779a40ba7af06031cd08d059f
|
7
|
+
data.tar.gz: 2c750888db1e75bf97c455e1a83398cbc7554abeb6ddf29beb25a272e7f418251a8e6924e7c6a7eff4655df477aa6ea94d3c752503114731ee00183c17f46d32
|
data/.gitignore
ADDED
data/README.md
CHANGED
@@ -1,33 +1,24 @@
|
|
1
|
-
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/hanami-runner.svg)](https://badge.fury.io/rb/hanami-runner) ![Gem](https://img.shields.io/gem/dt/hanami-runner.svg?color=limegreen)
|
2
2
|
|
3
|
-
|
3
|
+
# hanami-runner
|
4
4
|
|
5
|
-
|
5
|
+
This gem allows you to add a `run` subcommand to the `hanami` command.
|
6
6
|
|
7
|
-
|
7
|
+
## Installation
|
8
8
|
|
9
|
-
|
10
|
-
% bundle exec rake
|
11
|
-
```
|
12
|
-
|
13
|
-
How to run the development console:
|
14
|
-
|
15
|
-
```
|
16
|
-
% bundle exec hanami console
|
17
|
-
```
|
18
|
-
|
19
|
-
How to run the development server:
|
20
|
-
|
21
|
-
```
|
22
|
-
% bundle exec hanami server
|
23
|
-
```
|
24
|
-
|
25
|
-
How to prepare (create and migrate) DB for `development` and `test` environments:
|
9
|
+
Eazy peazy, just add this string to your gemfile
|
26
10
|
|
11
|
+
```rb
|
12
|
+
group :plugins do
|
13
|
+
gem 'hanami-runner'
|
14
|
+
end
|
27
15
|
```
|
28
|
-
|
29
|
-
|
30
|
-
|
16
|
+
and then use it with
|
17
|
+
```shell
|
18
|
+
hanami run '<YOUR-CODE>'
|
31
19
|
```
|
20
|
+
while being in you hanami project root (i.e where the Gemfile is).
|
32
21
|
|
33
|
-
|
22
|
+
## Maintenance and Contribution
|
23
|
+
I'll be rarely maintaining this source code due to lack of time, but i will do as much as i can to resolve any open issues.
|
24
|
+
If you want to contribute, feel free to fork it, branch it and to create a pull request.
|
data/hanami_runner.gemspec
CHANGED
@@ -8,9 +8,8 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = HanamiRunner::Info::VERSION
|
9
9
|
spec.authors = ["apontini"]
|
10
10
|
spec.email = ["alberto.pontini@gmail.com"]
|
11
|
-
spec.description = %q{Adds the run command to Hanami CLI allowing to execute ruby code via CLI (much like Rails
|
12
|
-
spec.summary = %q{Adds the run command to Hanami CLI allowing to execute ruby code via CLI (much like Rails
|
13
|
-
#spec.executables << 'coms'
|
11
|
+
spec.description = %q{Adds the run command to Hanami CLI allowing to execute ruby code via CLI (much like Rails 'runner' command)}
|
12
|
+
spec.summary = %q{Adds the run command to Hanami CLI allowing to execute ruby code via CLI (much like Rails 'runner' command)}
|
14
13
|
spec.homepage = "https://github.com/apontini/hanami-runner"
|
15
14
|
spec.license = "MIT"
|
16
15
|
|
data/lib/hanami-runner/info.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hanami-runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- apontini
|
@@ -39,19 +39,19 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 1.3.5
|
41
41
|
description: Adds the run command to Hanami CLI allowing to execute ruby code via
|
42
|
-
CLI (much like Rails
|
42
|
+
CLI (much like Rails 'runner' command)
|
43
43
|
email:
|
44
44
|
- alberto.pontini@gmail.com
|
45
45
|
executables: []
|
46
46
|
extensions: []
|
47
47
|
extra_rdoc_files: []
|
48
48
|
files:
|
49
|
+
- ".gitignore"
|
49
50
|
- Gemfile
|
50
51
|
- Gemfile.lock
|
51
52
|
- LICENSE
|
52
53
|
- README.md
|
53
54
|
- Rakefile
|
54
|
-
- bin/coms
|
55
55
|
- hanami_runner.gemspec
|
56
56
|
- lib/hanami-runner.rb
|
57
57
|
- lib/hanami-runner/info.rb
|
@@ -79,5 +79,5 @@ rubygems_version: 2.7.6
|
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Adds the run command to Hanami CLI allowing to execute ruby code via CLI
|
82
|
-
(much like Rails
|
82
|
+
(much like Rails 'runner' command)
|
83
83
|
test_files: []
|