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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb5e371787efc1a3cb9587fede2c30d147006e09
4
- data.tar.gz: f5e2ee47bf67670a469eaa257dc93a18f4c4cf2d
3
+ metadata.gz: cabed0841f10fb58fee272319b1d388df474c0f8
4
+ data.tar.gz: b60287f85bc4477cb21ff58b3a6eee445fd6c3f0
5
5
  SHA512:
6
- metadata.gz: '08d656355614dc5aeca4d7d673564b4166037aa2d86e37c1d21702a36ed13a5bfd6bbde567819c1f496f6f519944fb10bd56883521c3ea10af245699da18eb6a'
7
- data.tar.gz: c6244d7cbfc389d6c5457675ef68d3fe2a4bf844b0f4080298b5040a9c2d6bc24399158810403ff72ee242f397ecafe2d51918bde1d9acc09c64cec813c6a102
6
+ metadata.gz: c366dabf75bce379d6a6f8d22ad227dd237be916db7242ded8b70fba27f176ec0adea4f3bfaa5ace2504d6e80856cc5f8e1ecd53695a2b5aa74a03e8d6f0d625
7
+ data.tar.gz: 301da1f90370a8404646d2f5b892b97c1c4b50c93e9a6a617a054d18d11c22c1df1631ffe73f9b28a04b7a938e95922c417249d704f75d54735a16ab7d590483
data/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ # Change Log
2
+
3
+ ## v1.0.0
4
+
5
+ #### Features
6
+ - Generate Materialize Configuration for Simple Form
7
+ - Javascript File
8
+ - Simple_form components File
9
+ - Simple_form configuration File
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_form_materialize (1.0.0.rc1)
4
+ simple_form_materialize (1.0.0)
5
5
  railties (>= 4.1.0, < 5.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,32 +1,70 @@
1
1
  # Simple Form Materialize
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/simple_form_materialize`. To experiment with that code, run `bin/console` for an interactive prompt.
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
- TODO: Delete this and the text above, and describe your gem
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 this line to your application's Gemfile:
17
+ Add these lines to your application's Gemfile:
10
18
 
11
19
  ```ruby
12
- gem 'simple_form_materialize'
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
- TODO: Write usage instructions here
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 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).
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/[USERNAME]/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.
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
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module SimpleFormMaterialize
3
- VERSION = "1.0.0.rc1"
3
+ VERSION = "1.0.0"
4
4
  end
@@ -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.com/techgurupezza/simple_form_materialize"
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.rc1
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.com/techgurupezza/simple_form_materialize
92
+ homepage: https://techgurupezza.github.io/simple_form_materialize/
91
93
  licenses:
92
94
  - MIT
93
95
  metadata: {}