README.md in amber_component-0.0.2 vs README.md in amber_component-0.0.3
- old
+ new
@@ -1,63 +1,46 @@
-# AmberComponents
+[![license](https://img.shields.io/badge/License-MIT-purple.svg)](LICENSE)
+[![Gem Version](https://img.shields.io/gem/v/amber_component.svg?style=flat)](https://rubygems.org/gems/amber_component)
+[![Maintainability](https://api.codeclimate.com/v1/badges/ad84af499e9791933a87/maintainability)](https://codeclimate.com/github/amber-ruby/amber_component/maintainability)
+[![CI badge](https://github.com/amber-ruby/amber_component/actions/workflows/ci_ruby.yml/badge.svg)](https://github.com/amber-ruby/amber_component/actions/workflows/ci_ruby.yml)
+[![Coverage Badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/Verseth/6a095c79278b074d79feaa4f8ceeb2a8/raw/amber_component__heads_main.json)](https://github.com/amber-ruby/amber_component/actions/workflows/ci_ruby.yml)
+[![Downloads](https://ruby-gem-downloads-badge.herokuapp.com/amber_component)]((https://rubygems.org/gems/amber_component))
-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/amber_components`. To experiment with that code, run `bin/console` for an interactive prompt.
+<img src="banner.png" width="500px" style="margin-bottom: 2rem;"/>
-TODO: Delete this and the text above, and describe your gem
+# AmberComponent
+AmberComponent is a simple component library which seamlessly hooks into your Rails project and allows you to create simple backend components. They work like mini controllers which are bound with their view.
+
+Created by [Garbus Beach](https://github.com/garbusbeach) and [Mateusz Drewniak](https://github.com/Verseth).
+
+## Getting started
+
+You can read a lot more about AmberComponent in its [official docs](https://ambercomponent.com).
+
## Installation
Install the gem and add to the application's Gemfile by executing:
- $ bundle add amber_components
+ $ bundle add amber_component
If bundler is not being used to manage dependencies, install the gem by executing:
- $ gem install amber_components
+ $ gem install amber_component
## Usage
-TODO: Write usage instructions here
+If you're using a Rails application there's an installation generator that you should run:
-## Development
+```sh
+$ rails generate amber_component:install
+```
-After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
+## Contribute
-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).
+Do you want to contribute to AmberComponent? Open the issues page and check for the help wanted label! But before you start coding, please read our [Contributing Guide](https://github.com/amber-ruby/amber_component/blob/main/CONTRIBUTING.md).
-## Contributing
+Bug reports and pull requests are welcome on GitHub at https://github.com/amber-ruby/amber_component.
-Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/amber_components.
-
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
-
-## Problems
-
-> An error occurred while installing ffi (1.15.5), and Bundler cannot continue.
->
-> In Gemfile:
-> sassc was resolved to 2.4.0, which depends on
-> ffi
-
-```sh
-$ gem install ffi -- --with-cflags="-fdeclspec"
-```
-
-**puma**
-
-> Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
->
-> current directory: /Users/mateuszdrewniak/.rvm/gems/ruby-3.1.0@dupa/gems/puma-5.6.2/ext/puma_http11
->
-> /Users/mateuszdrewniak/.rvm/rubies/ruby-3.1.0/bin/ruby -I /Users/mateuszdrewniak/.rvm/rubies/ruby-3.1.0/lib/ruby/3.1.0 -r ./siteconf20220219-40641-4uxhq6.rb extconf.rb --with-cflags\=-Wno-error\=implicit-function-declaration
->
-> checking for BIO_read() in -lcrypto... *** extconf.rb failed ***
->
-> Could not create Makefile due to some reason, probably lack of necessary
-> libraries and/or headers. Check the mkmf.log file for more details. You may
-> need configuration options.
-
-```sh
-$ gem install puma -- --with-cflags="-fdeclspec"
-```