plug 0.1.11 → 0.1.12
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/README.md +3 -3
- data/app/controllers/plug/application_controller.rb +2 -2
- data/lib/plug/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ff054c84075e1b2e008af464461eb7ad3610a78
|
4
|
+
data.tar.gz: cde21d4902f6045df745f4d67699e09c16ba1aef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4baea815778c86a46fcc78e001811c1c1a3bb305e035ca8d109670786bb9824e29080503ead8fe4fcd45c50d04ba7e539af9f020fe94cd71b213649786a519b9
|
7
|
+
data.tar.gz: 4220069641d7cb9a1d41949c74477bde938c39543f861d98a387372280727643700db1f196a4ac64342e8e4f4e15cfba32f4c178c29790e605a45a00a4952995
|
data/README.md
CHANGED
@@ -98,12 +98,12 @@ Make sure to bump the version. Rubygems don't accept version overrides.
|
|
98
98
|
|
99
99
|
### Questions/Issues?
|
100
100
|
|
101
|
-
File a new [issue](https://github.com/
|
101
|
+
File a new [issue](https://github.com/digitalnz/plug/issues/new) if you have questions or issues.
|
102
102
|
|
103
103
|
### Contributing
|
104
104
|
|
105
|
-
1. Fork it ( https://github.com/boost/
|
105
|
+
1. Fork it ( https://github.com/boost/digitalnz/fork )
|
106
106
|
2. Create your feature branch (`git checkout -b my-awesome-feature`)
|
107
107
|
3. Commit your changes (`git commit -am 'Add my awesome feature!'`)
|
108
108
|
4. Push to the branch (`git push origin my-awesome-feature`)
|
109
|
-
5. Create a new Pull Request
|
109
|
+
5. Create a new Pull Request
|
@@ -2,8 +2,8 @@ module Plug
|
|
2
2
|
class ApplicationController < ActionController::Base
|
3
3
|
protect_from_forgery with: :exception
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
if Plug.auth_user.present? && Plug.auth_password.present?
|
6
|
+
http_basic_authenticate_with name: Plug.auth_user, password: Plug.auth_password
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
data/lib/plug/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-02-
|
12
|
+
date: 2018-02-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|