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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e1f4d0ccf9b5a963bf47b5ad06b51a717dfe87b7
4
- data.tar.gz: 32be30ca94c6d54a846f1d8fc312f94e4c2537cc
3
+ metadata.gz: 8ff054c84075e1b2e008af464461eb7ad3610a78
4
+ data.tar.gz: cde21d4902f6045df745f4d67699e09c16ba1aef
5
5
  SHA512:
6
- metadata.gz: a0bd0322aef2ed5d88a4891fbc9b17e9a7f4fb8a337ae7ba67631e4a375df353f1eae3807a051f6432d9426f93a09f419beb058167a92687c3af372b24d8d9db
7
- data.tar.gz: 66bcb2d3ef8cd2fd8352f4105ab54c89576b5eb8ab896578d530b5ef300667b7fc9aadb4c947a450d293bf29f7ca457a939ffffe37fde2c9efd8473ae099fcea
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/boost/plug/issues/new) if you have questions or issues.
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/plug/fork )
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
- unless Rails.env.test?
6
- # http_basic_authenticate_with name: Plug.auth_user, password: Plug.auth_password
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
@@ -1,3 +1,3 @@
1
1
  module Plug
2
- VERSION = '0.1.11'
2
+ VERSION = '0.1.12'
3
3
  end
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.11
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-06 00:00:00.000000000 Z
12
+ date: 2018-02-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails