simple_form_materialize 1.0.0.rc1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +1 -1
- data/README.md +46 -8
- data/_config.yml +1 -0
- data/lib/simple_form_materialize/version.rb +1 -1
- data/simple_form_materialize.gemspec +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cabed0841f10fb58fee272319b1d388df474c0f8
|
4
|
+
data.tar.gz: b60287f85bc4477cb21ff58b3a6eee445fd6c3f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c366dabf75bce379d6a6f8d22ad227dd237be916db7242ded8b70fba27f176ec0adea4f3bfaa5ace2504d6e80856cc5f8e1ecd53695a2b5aa74a03e8d6f0d625
|
7
|
+
data.tar.gz: 301da1f90370a8404646d2f5b892b97c1c4b50c93e9a6a617a054d18d11c22c1df1631ffe73f9b28a04b7a938e95922c417249d704f75d54735a16ab7d590483
|
data/CHANGELOG.md
ADDED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,32 +1,70 @@
|
|
1
1
|
# Simple Form Materialize
|
2
2
|
|
3
|
-
|
3
|
+
[![Gem](https://img.shields.io/gem/v/simple_form_materialize.svg?style=flat-square)](https://rubygems.org/gems/simple_form_materialize)
|
4
|
+
[![CircleCI](https://img.shields.io/circleci/project/github/techgurupezza/simple_form_materialize.svg?style=flat-square)](https://circleci.com/gh/techgurupezza/simple_form_materialize)
|
5
|
+
[![Code Climate](https://img.shields.io/codeclimate/github/techgurupezza/simple_form_materialize.svg?style=flat-square)](https://lima.codeclimate.com/github/techgurupezza/simple_form_materialize)
|
6
|
+
[![Test Coverage](https://img.shields.io/codeclimate/coverage/github/techgurupezza/simple_form_materialize.svg?style=flat-square)](https://lima.codeclimate.com/github/techgurupezza/simple_form_materialize/coverage)
|
7
|
+
[![Gemnasium](https://img.shields.io/gemnasium/techgurupezza/simple_form_materialize.svg?style=flat-square)](https://gemnasium.com/github.com/techgurupezza/simple_form_materialize)
|
8
|
+
[![Gem](https://img.shields.io/gem/dt/simple_form_materialize.svg?style=flat-square)](https://rubygems.org/gems/simple_form_materialize)
|
4
9
|
|
5
|
-
|
10
|
+
|
11
|
+
Devise Materialize gem is here to generate you devise view in a materialize styled format with or w/o simple_form.
|
12
|
+
This gem is not intended to live forever in your gemfile. It must be in your gemfile to load the resources needed from the generator.
|
13
|
+
Below in the installation section will detail out which gems to install for all to work.
|
6
14
|
|
7
15
|
## Installation
|
8
16
|
|
9
|
-
Add
|
17
|
+
Add these lines to your application's Gemfile:
|
10
18
|
|
11
19
|
```ruby
|
12
|
-
|
13
|
-
|
20
|
+
# Required gems so you don't have to add files manually
|
21
|
+
gem "materialize-sass"
|
22
|
+
gem "material_icons"
|
23
|
+
gem "simple_form"
|
14
24
|
|
25
|
+
gem "simple_form_materialize", "~>1.0.0"
|
26
|
+
```
|
15
27
|
|
16
28
|
## Usage
|
17
29
|
|
18
|
-
|
30
|
+
[simple_form](https://github.com/plataformatec/simple_form), [materialize-sass](https://github.com/mkhairi/materialize-sass) and [material_icons](https://github.com/Angelmmiguel/material_icons) are required in your gemfile to enable the views to generate without error and in the proper style.
|
31
|
+
|
32
|
+
```bash
|
33
|
+
$ rails g simple_form_materialize:install
|
34
|
+
```
|
35
|
+
This will generate your two config files and javascript file of initializers
|
36
|
+
|
37
|
+
```
|
38
|
+
your_project_name/
|
39
|
+
├─ app/
|
40
|
+
| └─ assets/
|
41
|
+
| └─ javascript/
|
42
|
+
| └─ init_form_materialize.coffee
|
43
|
+
└─ config/
|
44
|
+
└─ initializers/
|
45
|
+
├─ simple_form_components.rb
|
46
|
+
└─ simple_form_materialize.rb
|
47
|
+
|
48
|
+
```
|
49
|
+
|
50
|
+
## Change Log
|
51
|
+
|
52
|
+
Check out the [Change Log](https://github.com/techgurupezza/simple_form_materialize/blob/master/CHANGELOG.md) for new features/bug fixes per release of a new version.
|
19
53
|
|
20
54
|
## Development
|
21
55
|
|
22
56
|
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.
|
23
57
|
|
24
|
-
To install this gem onto your local machine, run `bundle exec rake
|
58
|
+
To install this gem onto your local machine, run `bundle exec rake build`. 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).
|
25
59
|
|
26
60
|
## Contributing
|
27
61
|
|
28
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
62
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/techgurupezza/simple_form_materialize. 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.
|
63
|
+
|
64
|
+
1. Fork Repo and create new branch
|
65
|
+
2. Once all is changed and committed create a pull request.
|
29
66
|
|
67
|
+
**Ensure all merge conflicts are fixed and CI is passing.**
|
30
68
|
|
31
69
|
## License
|
32
70
|
|
data/_config.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
theme: jekyll-theme-minimal
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.summary = "Generator for Simple form config Materialized"
|
15
15
|
spec.description = "This Gem provides a generator for a Materialized " \
|
16
16
|
"simple_form config file"
|
17
|
-
spec.homepage = "https://github.
|
17
|
+
spec.homepage = "https://techgurupezza.github.io/simple_form_materialize/"
|
18
18
|
spec.license = "MIT"
|
19
19
|
|
20
20
|
spec.files = `git ls-files`.split("\n")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_form_materialize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Pezza
|
@@ -42,12 +42,14 @@ files:
|
|
42
42
|
- ".rubocop.yml"
|
43
43
|
- ".ruby-version"
|
44
44
|
- ".yardopts"
|
45
|
+
- CHANGELOG.md
|
45
46
|
- CODE_OF_CONDUCT.md
|
46
47
|
- Gemfile
|
47
48
|
- Gemfile.lock
|
48
49
|
- LICENSE.txt
|
49
50
|
- README.md
|
50
51
|
- Rakefile
|
52
|
+
- _config.yml
|
51
53
|
- bin/console
|
52
54
|
- bin/setup
|
53
55
|
- circle.yml
|
@@ -87,7 +89,7 @@ files:
|
|
87
89
|
- test/rails_app/public/favicon.ico
|
88
90
|
- test/simple_form_materialize_test.rb
|
89
91
|
- test/test_helper.rb
|
90
|
-
homepage: https://github.
|
92
|
+
homepage: https://techgurupezza.github.io/simple_form_materialize/
|
91
93
|
licenses:
|
92
94
|
- MIT
|
93
95
|
metadata: {}
|