gambiarra 0.0.1 → 0.0.2

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: bf62461a64d35d9c9b16215e03927c4a864b85056694b33f433886d8dc00e87e
4
- data.tar.gz: 620d6b35662d3995249f5b99dce173551f5edca53ac7c6ea75b22b9da94a9cf4
3
+ metadata.gz: 85fb3c2939728e7cc90ac84affa562710b8c862b5ebc13e336ce549f34c3a979
4
+ data.tar.gz: a9a3a5463950044551ae01c8e67cca125430780c8fefba68a162ac3b45bb0690
5
5
  SHA512:
6
- metadata.gz: 955af1b5a59ab2b1d8dc4f8b0335183f393753e198c2d1094e9e599e740fe3627942c9762d9d880f10f5eae4c76d69935d102edd2d14018c8e652ebec7d21068
7
- data.tar.gz: d43dbf6c22eaea27a57fc90b5fcbdbca371084c02c36af8d7a569382422cc816af64a1b862fff996109df92f8d1812a5db05482ad9e58329dde476e468e2dd53
6
+ metadata.gz: 9440bd2ea5c31fc9af375afd44d77a4baf9bd8750444d5b67811ac45b071b5604048736491837ec759b550d0f1fd6086d2541232f4bb4e1d60dcb5ea8ae1ec62
7
+ data.tar.gz: 16d08b5694c3c91cb26dc919a7e126928cad8f04cb73fc75b0dcd152e723f6b8b6153c66bba8037de71fb1e17ee46d234b20abea89fc10d31359948a633469e7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gambiarra (0.0.1)
4
+ gambiarra (0.0.2)
5
5
  activesupport (> 5.2)
6
6
  cli-ui (~> 1.1)
7
7
  thor (= 0.20)
data/README.md CHANGED
@@ -1,38 +1,34 @@
1
1
  # Gambiarra
2
2
 
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/gambiarra`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ Gambiarra is an intuitive framework for CLI applications.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ First of all, install it in your machine:
6
6
 
7
- ## Installation
8
-
9
- Add this line to your application's Gemfile:
10
-
11
- ```ruby
12
- gem 'gambiarra'
7
+ ```shell
8
+ gem install 'gambiarra'
13
9
  ```
10
+ Then, on the terminal, go inside of your project, or create a new folder, `cd` into it and run:
14
11
 
15
- And then execute:
16
-
17
- $ bundle
18
-
19
- Or install it yourself as:
12
+ ```shell
13
+ gambiarra
14
+ ```
20
15
 
21
- $ gem install gambiarra
16
+ Select `install`. You can also use it to create new `views`. That's it!
22
17
 
23
- ## Usage
24
18
 
25
- TODO: Write usage instructions here
19
+ You can see it working by running:
26
20
 
27
- ## Development
21
+ ```
22
+ exe/your_application_name
23
+ ```
28
24
 
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
25
+ Notice it will automatically get the application name by the folder name.
30
26
 
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 tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
27
+ After that, add new views (with questions or not) and happy coding!
32
28
 
33
29
  ## Contributing
34
30
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/gambiarra. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
31
+ Bug reports and pull requests are welcome on GitHub at https://github.com/pedrozath/gambiarra. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
32
 
37
33
  ## License
38
34
 
@@ -27,7 +27,7 @@ module Gambiarra
27
27
  module #{project_constant}
28
28
  module UI
29
29
  class BaseView < Gambiarra::View
30
- def render(view)
30
+ def self.render(view)
31
31
  view.render
32
32
  end
33
33
  end
@@ -1,3 +1,3 @@
1
1
  module Gambiarra
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gambiarra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedro Maciel