userswitch 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/userswitch/version.rb +1 -1
- data/userswitch.gemspec +2 -2
- metadata +4 -8
- data/CODE_OF_CONDUCT.md +0 -74
- data/userswitch-0.1.2.gem +0 -0
- data/userswitch-0.1.5.gem +0 -0
- data/userswitch-0.1.6.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 998d4d5cde4c3ab6b38a232f8c4edf4b89d6526f
|
4
|
+
data.tar.gz: dedd9b63b638dd8a11b8dc94ddacec3c2791df4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94311c9430258fae1a409abac44d85fc99d1173a19bb6360bd4fd18e03d647fff2bc5b8959d14d72fea8cc59d98cf3ca17312ce286716556d3d82cab7da6b3cb
|
7
|
+
data.tar.gz: 69a821ab85c4030ce9438c78822c05e2f6bfed3e3734ef968af4e70a61e09279fe4632fcf940007935eb3421f76879b7ce57f8803bcdf3cec01e92728c2de976
|
data/README.md
CHANGED
@@ -8,15 +8,15 @@ Userswitch is a Rails plugin for switching between commonly used roles and users
|
|
8
8
|
|
9
9
|
By default, the gem will output a chain of buttons as follows
|
10
10
|
|
11
|
-
![pic1](https://
|
11
|
+
![pic1](https://cloud.githubusercontent.com/assets/8150171/24745257/45e699cc-1ab5-11e7-8064-1b978d38b896.png)
|
12
12
|
|
13
13
|
By clicking on a button, your Rails app will switch to a different user, that is, your session will change to that of a different account and save you the time you might otherwise spend clicking on logout links and filling in forms to log as a different user.
|
14
14
|
|
15
|
-
![pic2](https://
|
15
|
+
![pic2](https://cloud.githubusercontent.com/assets/8150171/24745255/45e4b396-1ab5-11e7-964a-9fd607f3895c.png)
|
16
16
|
|
17
17
|
Different roles can have different colors so as to be more noticeable.
|
18
18
|
|
19
|
-
![pic3](https://
|
19
|
+
![pic3](https://cloud.githubusercontent.com/assets/8150171/24745256/45e4f252-1ab5-11e7-82a7-a7d0a01953d6.png)
|
20
20
|
|
21
21
|
## Requirements
|
22
22
|
```ruby
|
data/lib/userswitch/version.rb
CHANGED
data/userswitch.gemspec
CHANGED
@@ -6,8 +6,8 @@ require 'userswitch/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "userswitch"
|
8
8
|
spec.version = Userswitch::VERSION
|
9
|
-
spec.authors = ["
|
10
|
-
spec.email = ["
|
9
|
+
spec.authors = ["kodius"]
|
10
|
+
spec.email = ["kresimir.bojcic@krokodil.hr"]
|
11
11
|
|
12
12
|
spec.summary = "Userswitch is a Rails plugin for switching between commonly used roles and users. It's particularly useful for development and staging environments when you often need to switch between various accounts. It saves you from the hassle of logging in or out."
|
13
13
|
spec.homepage = "https://github.com/kodius/userswitch"
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: userswitch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- kodius
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: '3.0'
|
55
55
|
description:
|
56
56
|
email:
|
57
|
-
-
|
57
|
+
- kresimir.bojcic@krokodil.hr
|
58
58
|
executables: []
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
@@ -62,7 +62,6 @@ files:
|
|
62
62
|
- ".gitignore"
|
63
63
|
- ".rspec"
|
64
64
|
- ".travis.yml"
|
65
|
-
- CODE_OF_CONDUCT.md
|
66
65
|
- Gemfile
|
67
66
|
- LICENSE.txt
|
68
67
|
- README.md
|
@@ -80,9 +79,6 @@ files:
|
|
80
79
|
- us1.png
|
81
80
|
- us2.png
|
82
81
|
- us3.png
|
83
|
-
- userswitch-0.1.2.gem
|
84
|
-
- userswitch-0.1.5.gem
|
85
|
-
- userswitch-0.1.6.gem
|
86
82
|
- userswitch.gemspec
|
87
83
|
homepage: https://github.com/kodius/userswitch
|
88
84
|
licenses:
|
@@ -105,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
101
|
version: '0'
|
106
102
|
requirements: []
|
107
103
|
rubyforge_project:
|
108
|
-
rubygems_version: 2.5.
|
104
|
+
rubygems_version: 2.4.5.2
|
109
105
|
signing_key:
|
110
106
|
specification_version: 4
|
111
107
|
summary: Userswitch is a Rails plugin for switching between commonly used roles and
|
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,74 +0,0 @@
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
2
|
-
|
3
|
-
## Our Pledge
|
4
|
-
|
5
|
-
In the interest of fostering an open and welcoming environment, we as
|
6
|
-
contributors and maintainers pledge to making participation in our project and
|
7
|
-
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
-
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
-
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
-
orientation.
|
11
|
-
|
12
|
-
## Our Standards
|
13
|
-
|
14
|
-
Examples of behavior that contributes to creating a positive environment
|
15
|
-
include:
|
16
|
-
|
17
|
-
* Using welcoming and inclusive language
|
18
|
-
* Being respectful of differing viewpoints and experiences
|
19
|
-
* Gracefully accepting constructive criticism
|
20
|
-
* Focusing on what is best for the community
|
21
|
-
* Showing empathy towards other community members
|
22
|
-
|
23
|
-
Examples of unacceptable behavior by participants include:
|
24
|
-
|
25
|
-
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
-
advances
|
27
|
-
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
-
* Public or private harassment
|
29
|
-
* Publishing others' private information, such as a physical or electronic
|
30
|
-
address, without explicit permission
|
31
|
-
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
-
professional setting
|
33
|
-
|
34
|
-
## Our Responsibilities
|
35
|
-
|
36
|
-
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
-
behavior and are expected to take appropriate and fair corrective action in
|
38
|
-
response to any instances of unacceptable behavior.
|
39
|
-
|
40
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
-
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
-
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
-
threatening, offensive, or harmful.
|
45
|
-
|
46
|
-
## Scope
|
47
|
-
|
48
|
-
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
-
when an individual is representing the project or its community. Examples of
|
50
|
-
representing a project or community include using an official project e-mail
|
51
|
-
address, posting via an official social media account, or acting as an appointed
|
52
|
-
representative at an online or offline event. Representation of a project may be
|
53
|
-
further defined and clarified by project maintainers.
|
54
|
-
|
55
|
-
## Enforcement
|
56
|
-
|
57
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
-
reported by contacting the project team at mmunjako@gmail.com. All
|
59
|
-
complaints will be reviewed and investigated and will result in a response that
|
60
|
-
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
-
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
-
Further details of specific enforcement policies may be posted separately.
|
63
|
-
|
64
|
-
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
-
faith may face temporary or permanent repercussions as determined by other
|
66
|
-
members of the project's leadership.
|
67
|
-
|
68
|
-
## Attribution
|
69
|
-
|
70
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
-
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
-
|
73
|
-
[homepage]: http://contributor-covenant.org
|
74
|
-
[version]: http://contributor-covenant.org/version/1/4/
|
data/userswitch-0.1.2.gem
DELETED
Binary file
|
data/userswitch-0.1.5.gem
DELETED
Binary file
|
data/userswitch-0.1.6.gem
DELETED
Binary file
|