mynatra 0.1.0 → 0.1.01
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +9 -9
- data/lib/generators/resource.rb +0 -3
- data/lib/generators/views/header.erb +1 -1
- data/lib/mynatra/version.rb +1 -1
- data/mynatra.gemspec +4 -4
- data/pkg/mynatra-0.1.0.gem +0 -0
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0066f16ee3cfbf12b70772a2233156372852a900c60a96619b9fd102a5321217
|
4
|
+
data.tar.gz: 00d4f3658f68137320c75352657b4aa75568b5a7875a220fae7a46e4fc52bd4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6c422d3880ce00fa84bba4428d8fd0380884331353cb635c650e01e1f0a1bc93a2ad04ff05fc92f5979274c026c699fc40ed770d9581ffd14919b84dfb773ec
|
7
|
+
data.tar.gz: 97a756973649718912ecc8c7d02fdfba1adde3c53503890c6b2d3ccce970f6f3097cc22c27b004a02a39d90fdca0ba6eb552e44f62330643195803047a1f0b85
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
|
1
|
+
> **mynatra** : the quick, and simple application framework.
|
2
|
+
By Christian Arab, CompSci Academy Q2 Student
|
2
3
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
4
|
+
mynatra is a quick, and simple application framework. mynatra's simple command line interface allows easy creation of Ruby resource models with attributes, views, and controllers.
|
5
|
+
mynatra can be used as a simple, site generator perfect for small personal projects and tasks.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -22,14 +22,14 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
Install mynatra.
|
26
26
|
|
27
|
-
|
27
|
+
Access commands, and help through `mynatra --help`.
|
28
28
|
|
29
|
-
|
29
|
+
To generate a new mynatra project run `mynatra new [PROJECT NAME]`.
|
30
30
|
|
31
|
-
To
|
31
|
+
To add a new resource run `mynatra resource [NAME OF RESOURCE] [ARG_1] [ARG_2] [...]`.
|
32
32
|
|
33
33
|
## Contributing
|
34
34
|
|
35
|
-
|
35
|
+
Mynatra thrives off bug reports and pull requests. Please see https://github.com/christianarab/mynatra.
|
data/lib/generators/resource.rb
CHANGED
@@ -16,9 +16,6 @@ module Mynatra
|
|
16
16
|
@name_singular = name.singularize
|
17
17
|
@name_plural = name.pluralize
|
18
18
|
@attributes = attributes
|
19
|
-
puts "This is what @name_singular looks like: #{@name_singular}"
|
20
|
-
puts "This is what @name_plural looks like: #{@name_plural}"
|
21
|
-
puts "This is what @attributes looks like: #{@attributes}"
|
22
19
|
template("models/model.erb", "models/#{name}.rb")
|
23
20
|
end
|
24
21
|
|
data/lib/mynatra/version.rb
CHANGED
data/mynatra.gemspec
CHANGED
@@ -8,15 +8,15 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.authors = ["christian"]
|
9
9
|
spec.email = ["rewindforward@gmail.com"]
|
10
10
|
|
11
|
-
spec.summary = "
|
12
|
-
spec.homepage = "https://github.com/christianarab"
|
11
|
+
spec.summary = "Mynatra: the quick, and simple application framework."
|
12
|
+
spec.homepage = "https://github.com/christianarab/mynatra"
|
13
13
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
14
14
|
|
15
15
|
# spec.metadata["allowed_push_host"] = "sss: Set to 'http://mygemserver.com'"
|
16
16
|
|
17
17
|
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
-
spec.metadata["source_code_uri"] =
|
19
|
-
spec.metadata["changelog_uri"] = "https://github.com/
|
18
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
19
|
+
spec.metadata["changelog_uri"] = "https://github.com/christianarab/mynatra/commits/main"
|
20
20
|
|
21
21
|
# Specify which files should be added to the gem when it is released.
|
22
22
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
data/pkg/mynatra-0.1.0.gem
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mynatra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.01
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- christian
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -131,12 +131,12 @@ files:
|
|
131
131
|
- lib/mynatra/version.rb
|
132
132
|
- mynatra.gemspec
|
133
133
|
- pkg/mynatra-0.1.0.gem
|
134
|
-
homepage: https://github.com/christianarab
|
134
|
+
homepage: https://github.com/christianarab/mynatra
|
135
135
|
licenses: []
|
136
136
|
metadata:
|
137
|
-
homepage_uri: https://github.com/christianarab
|
138
|
-
source_code_uri: https://github.com/
|
139
|
-
changelog_uri: https://github.com/
|
137
|
+
homepage_uri: https://github.com/christianarab/mynatra
|
138
|
+
source_code_uri: https://github.com/christianarab/mynatra
|
139
|
+
changelog_uri: https://github.com/christianarab/mynatra/commits/main
|
140
140
|
post_install_message:
|
141
141
|
rdoc_options: []
|
142
142
|
require_paths:
|
@@ -155,5 +155,5 @@ requirements: []
|
|
155
155
|
rubygems_version: 3.2.19
|
156
156
|
signing_key:
|
157
157
|
specification_version: 4
|
158
|
-
summary:
|
158
|
+
summary: 'Mynatra: the quick, and simple application framework.'
|
159
159
|
test_files: []
|