lodf 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -2
- data/Gemfile.lock +11 -1
- data/README.md +36 -9
- data/exe/lodf +7 -0
- data/lib/lodf/cli.rb +13 -0
- data/lib/lodf/version.rb +1 -1
- data/lib/lodf.rb +1 -2
- metadata +5 -3
- data/sig/lodf.rbs +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eda6a9cf4c43912359886b898b42c9e38622822563a5de24cc46069ef9443431
|
4
|
+
data.tar.gz: b69e849f2739ea5fe9883111b2532bed1f2d026bb1afeb3e0dfa97b1203efd02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a0297aae754ffe3f1284d9e2215edf0f4c57ff75f837539822ed6dc663fc469f1af4253788e4b49768044d298d8e7fefc6f62614189218199da4ee09e903eb6
|
7
|
+
data.tar.gz: c341e13189b8d78ad2013bec518674f31dea930d2061e76d7a9de583831c3765cd465dca24153646c93bd344cf591b9fbd9ac56b7cb6331537c90083ccd24d83
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,17 +1,23 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lodf (0.1.
|
4
|
+
lodf (0.1.2)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
9
|
ast (2.4.2)
|
10
|
+
coderay (1.1.3)
|
10
11
|
diff-lcs (1.5.0)
|
12
|
+
fileutils (1.7.0)
|
11
13
|
json (2.6.3)
|
14
|
+
method_source (1.0.0)
|
12
15
|
parallel (1.22.1)
|
13
16
|
parser (3.2.0.0)
|
14
17
|
ast (~> 2.4.1)
|
18
|
+
pry (0.14.2)
|
19
|
+
coderay (~> 1.1)
|
20
|
+
method_source (~> 1.0)
|
15
21
|
rainbow (3.1.1)
|
16
22
|
rake (13.0.6)
|
17
23
|
regexp_parser (2.6.2)
|
@@ -42,6 +48,7 @@ GEM
|
|
42
48
|
rubocop-ast (1.24.1)
|
43
49
|
parser (>= 3.1.1.0)
|
44
50
|
ruby-progressbar (1.11.0)
|
51
|
+
thor (1.2.1)
|
45
52
|
unicode-display_width (2.4.2)
|
46
53
|
|
47
54
|
PLATFORMS
|
@@ -50,10 +57,13 @@ PLATFORMS
|
|
50
57
|
x86_64-linux
|
51
58
|
|
52
59
|
DEPENDENCIES
|
60
|
+
fileutils (~> 1.7)
|
53
61
|
lodf!
|
62
|
+
pry (~> 0.14.2)
|
54
63
|
rake (~> 13.0)
|
55
64
|
rspec (~> 3.0)
|
56
65
|
rubocop (~> 1.21)
|
66
|
+
thor (~> 1.2)
|
57
67
|
|
58
68
|
BUNDLED WITH
|
59
69
|
2.4.5
|
data/README.md
CHANGED
@@ -1,24 +1,51 @@
|
|
1
1
|
# Lodf
|
2
2
|
|
3
|
-
|
3
|
+
Local developer friendly platform gem.
|
4
|
+
Helps developers to do local development easily for ruby projects.
|
4
5
|
|
5
|
-
|
6
|
+
Put your Ruby code in the file `lib/lodf`. To experiment with that code, run `bin/console` for an interactive prompt.
|
6
7
|
|
7
8
|
## Installation
|
8
9
|
|
9
|
-
TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
|
10
|
-
|
11
10
|
Install the gem and add to the application's Gemfile by executing:
|
12
11
|
|
13
|
-
$ bundle add
|
12
|
+
$ bundle add lodf
|
14
13
|
|
15
14
|
If bundler is not being used to manage dependencies, install the gem by executing:
|
16
15
|
|
17
|
-
$ gem install
|
16
|
+
$ gem install lodf
|
18
17
|
|
19
18
|
## Usage
|
20
19
|
|
21
|
-
|
20
|
+
To setup a new ruby project locally run;
|
21
|
+
|
22
|
+
$ lodf new [project-name]
|
23
|
+
|
24
|
+
This will create a new ruby project that has a `lodf.yaml` file in the root folder.
|
25
|
+
|
26
|
+
To provision infrastructure, e.g. databases, message queues, for a new or an existing project do;
|
27
|
+
|
28
|
+
$ lodf init infra [project-name]
|
29
|
+
|
30
|
+
To setup initial settings, e.g. migrations, database seeds, for a new or an existing project do;
|
31
|
+
|
32
|
+
$ lodf init settings [project-name]
|
33
|
+
|
34
|
+
To run the server for a new or existing project do;
|
35
|
+
|
36
|
+
$ lodf run server [project-name]
|
37
|
+
|
38
|
+
To run the message queue for a new or existing project do;
|
39
|
+
|
40
|
+
$ lodf run mq [project-name]
|
41
|
+
|
42
|
+
To reset settings;
|
43
|
+
|
44
|
+
$ lodf reset settings [project-name]
|
45
|
+
|
46
|
+
To reset infra;
|
47
|
+
|
48
|
+
$ lodf reset infra [project-name]
|
22
49
|
|
23
50
|
## Development
|
24
51
|
|
@@ -28,8 +55,8 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
28
55
|
|
29
56
|
## Contributing
|
30
57
|
|
31
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
58
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/Sylvance/lodf. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/Sylvance/lodf/blob/main/CODE_OF_CONDUCT.md).
|
32
59
|
|
33
60
|
## Code of Conduct
|
34
61
|
|
35
|
-
Everyone interacting in the Lodf project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
62
|
+
Everyone interacting in the Lodf project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/Sylvance/lodf/blob/main/CODE_OF_CONDUCT.md).
|
data/exe/lodf
ADDED
data/lib/lodf/cli.rb
ADDED
data/lib/lodf/version.rb
CHANGED
data/lib/lodf.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lodf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvance
|
@@ -13,7 +13,8 @@ dependencies: []
|
|
13
13
|
description: Helps developers to do local development easily for ruby projects.
|
14
14
|
email:
|
15
15
|
- kerandisylvance@gmail.com
|
16
|
-
executables:
|
16
|
+
executables:
|
17
|
+
- lodf
|
17
18
|
extensions: []
|
18
19
|
extra_rdoc_files: []
|
19
20
|
files:
|
@@ -25,10 +26,11 @@ files:
|
|
25
26
|
- Gemfile.lock
|
26
27
|
- README.md
|
27
28
|
- Rakefile
|
29
|
+
- exe/lodf
|
28
30
|
- lib/lodf.rb
|
31
|
+
- lib/lodf/cli.rb
|
29
32
|
- lib/lodf/version.rb
|
30
33
|
- lodf.gemspec
|
31
|
-
- sig/lodf.rbs
|
32
34
|
homepage: https://github.com/Sylvance/lodf/blob/main/README.md
|
33
35
|
licenses: []
|
34
36
|
metadata:
|
data/sig/lodf.rbs
DELETED