nyauth 0.2.7 → 0.2.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 +1 -1
- data/app/responders/nyauth/app_responder.rb +1 -7
- data/lib/nyauth/rails.rb +1 -7
- data/lib/nyauth/route.rb +5 -0
- data/lib/nyauth/version.rb +1 -1
- data/spec/dummy/config/environments/test.rb +1 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +3606 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/1-v7tFLPkD6uyCpAKjAKORwPg5YalyY-SYwjNGTiHQo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/122B1KZyQmgyJoX7uc4JINcUDUmcMHJsbf5JopBIpSg.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/2W23wCoDaNvkpc-htXrPJ_4wwRXsCB8sDUi-vlecXRY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/7V6PNJ6qL8fDJnJ1QuYt7VTSrRt2hsRH5oG0ky5HVO8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/8UAh9fJot2eROIl2PFflmIp2Q0G3oNNzBxCYx6AWaTw.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/9ubNouw4TJzEvjLjCNu8X3HYc_UdmBtXPe7nxUikKzY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AbUoISEQvIvt4YkMvG9KFL1km0uAgyI3jLaBfJ6YHys.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/DK6c5xJ8kSeXSqJlndPmMohu6AMbxDTYw3amSuVkoTs.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/DyIv0fbwJkRmRQOSnZm_KzUs22xxzO82wcpU1IIsHHs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/E16A8LE9OYp6k-WBc2Egdmn6XL_-ipcmDOYBOfBITqs.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/EGILbSm92CBXW0Z6Mp6o2YygxS4b8Hhd2CW8igzKuRM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/FIPwj786RByADaWtmUkp2eeWQvQ_QmX1ER1sGGOKgqo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Fo9EHolUACmT7eKdJVmIzktbVgFRBZQkcCGHFfpD7u0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/KiPxsMrAEr8OMX4H_Q8MSOgJ0PuFTQf2yX0S4kZsDVs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/MOFKxz_tW8kLUBoOEGHUXFU5VytKJk-7FDiHfg-bm34.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Mt0xQ0T_E6t-RgmAgdaRppkiOsWd61GFxPTeo7N-6X4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Tpj_x0CkqGAEMDgH-JGBkdkajznkLbbiVVZOxEqURxU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/cCSmnUtKzAmaCXjpVzF7r1o9PGSfB-29uIhnA2z3DaQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/lANr4VX8LDWQ3kMj0yoqyqiwK3SEqtIXkA-22639ZQQ.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/lzQHK3QCbJU3Nd5o7PCXKLRQzMnpvRrqQij3AU88zO8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/mKfHoait9-j98PxObraQnsOWSk7xeFfrgppKbFtsUP0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/nUpHC2Ihupqv9BSXSSQ_5UnQgCc4ZCw6L6G0jvgovRU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/s0L4Qc1LxOsV_VIoN33m851q4i5lQVM1ygIhke4UJhM.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/yYe_bLwTAh9hsZoH8SZgC6Dbr3nL_YOq9yPhiaOgbAA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/zR1DqIdG-kQRrFfJcMA5u5QqOpEtN3kg6ZKosd8od_4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/zsFy9esxJILHEYEl6_Z8DiVmOe3AtWOqYd4k46b-14s.cache +0 -0
- metadata +55 -49
- data/spec/dummy/tmp/capybara/capybara-201503142131285774508896.html +0 -1
- data/spec/dummy/tmp/capybara/capybara-201503142131502672526321.html +0 -1
- data/spec/dummy/tmp/capybara/capybara-201503142132597161072575.html +0 -16
- data/spec/dummy/tmp/capybara/capybara-201503142147454003977122.html +0 -16
- data/spec/dummy/tmp/capybara/capybara-201503150030597512321952.html +0 -1
- data/spec/dummy/tmp/capybara/capybara-201503172332094559831059.html +0 -15
- data/spec/dummy/tmp/capybara/capybara-201503172332489943616503.html +0 -15
- data/spec/dummy/tmp/capybara/capybara-201503172333245353296202.html +0 -15
- data/spec/dummy/tmp/capybara/capybara-201503172335156567049015.html +0 -15
- data/spec/dummy/tmp/capybara/capybara-201503172339176031196898.html +0 -15
- data/spec/dummy/tmp/capybara/capybara-201503172340144947026095.html +0 -15
- data/spec/dummy/tmp/capybara/capybara-201503172341585213923875.html +0 -15
- data/spec/dummy/tmp/capybara/capybara-201503172342188836603353.html +0 -15
- data/spec/dummy/tmp/capybara/capybara-201503172344586782457691.html +0 -15
- data/spec/dummy/tmp/capybara/capybara-201503172346495241516033.html +0 -15
- data/spec/dummy/tmp/capybara/capybara-201503172354248621830336.html +0 -15
- data/spec/dummy/tmp/capybara/capybara-20150623002226753539811.html +0 -15
- data/spec/dummy/tmp/capybara/capybara-201507112215421960933759.html +0 -1
- data/spec/dummy/tmp/capybara/capybara-20150711221603434494315.html +0 -1
- data/spec/dummy/tmp/capybara/capybara-201507112216361494719582.html +0 -21
- data/spec/dummy/tmp/capybara/capybara-201507112233431710633186.html +0 -20
- data/spec/dummy/tmp/capybara/capybara-201507140024395867592984.html +0 -14
- data/spec/dummy/tmp/capybara/capybara-201507140036006205629508.html +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52716de1c677f6ce21afc860a01e77f344044698
|
4
|
+
data.tar.gz: 356ea1bc8a34c7d72f0792794dcc01242fe9ecbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 579895bb751bcc14a30e191567d7a6c43ddad922dd89d7bc10c441841cbb6ad4364b192ee20b9c32f98742d4a82d3501731ac0e862d171db553209788324843d
|
7
|
+
data.tar.gz: d421b721c37802b4a4299b835cc3888117ebcb0ec9d203066bf90fd2a4f62472eef5f6699c6dc4b73148227d6ae65ef68026e837f96c60472bdfe71d66547eb9
|
data/README.md
CHANGED
@@ -8,13 +8,7 @@ module Nyauth
|
|
8
8
|
if @default_response
|
9
9
|
@default_response.call(options)
|
10
10
|
else
|
11
|
-
|
12
|
-
controller.default_render(options) do
|
13
|
-
raise ActionView::MissingTemplate.new([], "", [], true, [])
|
14
|
-
end
|
15
|
-
else
|
16
|
-
controller.default_render(options)
|
17
|
-
end
|
11
|
+
controller.render(options)
|
18
12
|
end
|
19
13
|
end
|
20
14
|
end
|
data/lib/nyauth/rails.rb
CHANGED
@@ -1,12 +1,6 @@
|
|
1
1
|
require 'nyauth/route'
|
2
2
|
module ActionDispatch::Routing
|
3
3
|
class Mapper
|
4
|
-
|
5
|
-
|
6
|
-
def initialize_with_nyauth(*args)
|
7
|
-
initialize_without_nyauth(*args)
|
8
|
-
nyauth_concerns
|
9
|
-
end
|
10
|
-
alias_method_chain :initialize, :nyauth
|
4
|
+
prepend Nyauth::Route
|
11
5
|
end
|
12
6
|
end
|
data/lib/nyauth/route.rb
CHANGED
data/lib/nyauth/version.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|