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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: badddc1149aedb4cbd1101ea14adb5367fa6ff6b44ed5fbd717122694b0bf785
4
- data.tar.gz: 06c02d9c3af13cf7d58cea1e499b31aadefba024176adccb10b598ea464ac346
3
+ metadata.gz: 0066f16ee3cfbf12b70772a2233156372852a900c60a96619b9fd102a5321217
4
+ data.tar.gz: 00d4f3658f68137320c75352657b4aa75568b5a7875a220fae7a46e4fc52bd4e
5
5
  SHA512:
6
- metadata.gz: f8b714cece95915d1e849813e34e49aa80e618701f35aca8185ba5b24e47e02679c2ef1c4718827eb803f27991bc76d4dcf15e15bca498de3888f5c95c94b304
7
- data.tar.gz: e3807817e49f1349e1e2de20506e2fae525ca37f933b729a68eb64ee54b6109858a96d41a230f734e8959a4ff1970fca08a032778d69ecbe4dc2b63cd296f43b
6
+ metadata.gz: c6c422d3880ce00fa84bba4428d8fd0380884331353cb635c650e01e1f0a1bc93a2ad04ff05fc92f5979274c026c699fc40ed770d9581ffd14919b84dfb773ec
7
+ data.tar.gz: 97a756973649718912ecc8c7d02fdfba1adde3c53503890c6b2d3ccce970f6f3097cc22c27b004a02a39d90fdca0ba6eb552e44f62330643195803047a1f0b85
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mynatra (0.1.0)
4
+ mynatra (0.1.01)
5
5
  activesupport
6
6
  thor
7
7
 
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
- # Mynatra
1
+ > **mynatra** : the quick, and simple application framework.
2
+ By Christian Arab, CompSci Academy Q2 Student
2
3
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/mynatra`. To experiment with that code, run `bin/console` for an interactive prompt.
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
- TODO: Write usage instructions here
25
+ Install mynatra.
26
26
 
27
- ## Development
27
+ Access commands, and help through `mynatra --help`.
28
28
 
29
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
29
+ To generate a new mynatra project run `mynatra new [PROJECT NAME]`.
30
30
 
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
31
+ To add a new resource run `mynatra resource [NAME OF RESOURCE] [ARG_1] [ARG_2] [...]`.
32
32
 
33
33
  ## Contributing
34
34
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/mynatra.
35
+ Mynatra thrives off bug reports and pull requests. Please see https://github.com/christianarab/mynatra.
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  <link rel="stylesheet" href="/styles/main.css">
2
-
2
+ gem
3
3
  <nav>
4
4
  <ul>
5
5
  <li>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mynatra
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.01"
5
5
  end
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 = "The fast and quick framework."
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"] = "https://github.com/compsciacademy/fulltime-program-2021-Q2/tree/main/Week06/Day29/foodie/"
19
- spec.metadata["changelog_uri"] = "https://github.com/compsciacademy/fulltime-program-2021-Q2/tree/main/Week06/Day29/foodie/changelog.md"
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.
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.0
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-10 00:00:00.000000000 Z
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/compsciacademy/fulltime-program-2021-Q2/tree/main/Week06/Day29/foodie/
139
- changelog_uri: https://github.com/compsciacademy/fulltime-program-2021-Q2/tree/main/Week06/Day29/foodie/changelog.md
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: The fast and quick framework.
158
+ summary: 'Mynatra: the quick, and simple application framework.'
159
159
  test_files: []