redux_rails 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CODE_OF_CONDUCT.md +46 -0
- data/CONTRIBUTING.md +28 -0
- data/README.md +4 -3
- data/lib/generators/redux_rails/install_generator.rb +1 -0
- data/lib/redux_rails/version.rb +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: 17cb8c2c5d059247067fd37a88e04c745623aca1
|
4
|
+
data.tar.gz: 0cfddadbf7c32b620f92123a2a5be56d033ba980
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fc223a3dbda1158bbf61c2f9ede49000764118ac7c5eb9bb15ff3ddb2eee9dce71be17309b90ec63ddfece8525d201860cc379a6210be7b37a7df5c52656548
|
7
|
+
data.tar.gz: c860a1b9fc923ff941476f8d598416d3ff3ec1cb5a8caa149a2f7c0a46c5b1b34e1f029ab44a2618bd9d6b5c433c4e9b8e80560b9217a006ee325d5b135149ff
|
data/.gitignore
CHANGED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
6
|
+
|
7
|
+
## Our Standards
|
8
|
+
|
9
|
+
Examples of behavior that contributes to creating a positive environment include:
|
10
|
+
|
11
|
+
* Using welcoming and inclusive language
|
12
|
+
* Being respectful of differing viewpoints and experiences
|
13
|
+
* Gracefully accepting constructive criticism
|
14
|
+
* Focusing on what is best for the community
|
15
|
+
* Showing empathy towards other community members
|
16
|
+
|
17
|
+
Examples of unacceptable behavior by participants include:
|
18
|
+
|
19
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
|
20
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
21
|
+
* Public or private harassment
|
22
|
+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
|
23
|
+
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
24
|
+
|
25
|
+
## Our Responsibilities
|
26
|
+
|
27
|
+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
|
28
|
+
|
29
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
|
30
|
+
|
31
|
+
## Scope
|
32
|
+
|
33
|
+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
|
34
|
+
|
35
|
+
## Enforcement
|
36
|
+
|
37
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at lukepopwell@mac.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
|
38
|
+
|
39
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
|
40
|
+
|
41
|
+
## Attribution
|
42
|
+
|
43
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
|
44
|
+
|
45
|
+
[homepage]: http://contributor-covenant.org
|
46
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# Contributing
|
2
|
+
|
3
|
+
> Everyone is welcome to submit a pull request. By participating in this project, you agree to abide by the code of conduct.
|
4
|
+
|
5
|
+
### Fork, then clone the repo:
|
6
|
+
|
7
|
+
$ git clone git@github.com:your-username/redux_rails.git
|
8
|
+
|
9
|
+
#### Set up your machine:
|
10
|
+
|
11
|
+
$ ./bin/setup
|
12
|
+
|
13
|
+
#### Make sure the tests pass:
|
14
|
+
|
15
|
+
$ rake
|
16
|
+
|
17
|
+
#### Make your change. Add tests for your change. Make the tests pass:
|
18
|
+
|
19
|
+
$ rake
|
20
|
+
|
21
|
+
#### Push to your fork and submit a pull request.
|
22
|
+
|
23
|
+
> At this point you're waiting on us. We like to at least comment on pull requests within three business days (and, typically, one business day). We may suggest some changes or improvements or alternatives.
|
24
|
+
|
25
|
+
#### Some things that will increase the chance that your pull request is accepted:
|
26
|
+
|
27
|
+
- Write tests.
|
28
|
+
- Write a good commit message.
|
data/README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
-
# ReduxRails [](https://badge.fury.io/rb/redux_rails)
|
2
|
-
Easily setup React and Redux in Rails -v 5.1. Create re-usable project files and folders for use throughout your project or outside of the current one. Start from scratch or add to an existing project. Redux is setup during the install generator, but not required and still functions correctly. With easy component and container generators you can add to any project and use on any other projects with or without Rails.
|
1
|
+
# ReduxRails [](https://badge.fury.io/rb/redux_rails) [](https://travis-ci.org/Luke-Popwell/redux_rails)
|
2
|
+
> Easily setup React and Redux in Rails -v 5.1. Create re-usable project files and folders for use throughout your project or outside of the current one. Start from scratch or add to an existing project. Redux is setup during the install generator, but not required and still functions correctly. With easy component and container generators you can add to any project and use on any other projects with or without Rails.
|
3
|
+
|
3
4
|
## Table of contents
|
4
5
|
- <a href="#reduxrails-">ReduxRails</a>
|
5
6
|
- <a href="#highlights">Highlights</a>
|
@@ -107,7 +108,7 @@ Then navigate into your new project:
|
|
107
108
|
Add this line to your application's Gemfile:
|
108
109
|
|
109
110
|
```ruby
|
110
|
-
gem 'redux_rails', '~> 0.1.
|
111
|
+
gem 'redux_rails', '~> 0.1.6'
|
111
112
|
```
|
112
113
|
|
113
114
|
And then execute:
|
@@ -2,6 +2,7 @@ module ReduxRails
|
|
2
2
|
class InstallGenerator < Rails::Generators::Base
|
3
3
|
source_root File.expand_path('../templates', __FILE__)
|
4
4
|
argument :name, :type => :string, :default => "app"
|
5
|
+
desc "creates redux_rails initializer for your application"
|
5
6
|
|
6
7
|
def add_packages
|
7
8
|
system("yarn add react-redux redux redux-devtools-extension react-router-dom react-router-redux history")
|
data/lib/redux_rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redux_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Popwell
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -63,6 +63,8 @@ extra_rdoc_files: []
|
|
63
63
|
files:
|
64
64
|
- ".gitignore"
|
65
65
|
- ".travis.yml"
|
66
|
+
- CODE_OF_CONDUCT.md
|
67
|
+
- CONTRIBUTING.md
|
66
68
|
- Gemfile
|
67
69
|
- LICENSE.txt
|
68
70
|
- README.md
|