the_garage 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0e9e75947fee22c7643a1fd1eebfed3a7991fcf
|
4
|
+
data.tar.gz: d81268e4f2bdfa93fc9b80caa943bd9750705189
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 398c5c8d933462fca115feaa0183502591a3f373811a9e6189adb135e698055b4c5dc742941cdd8ee8c30380f3c02d0687c52f90c82a23bd04fa2f2c80dd31a9
|
7
|
+
data.tar.gz: 52cb284327cb6a86bf6e0517f5313f5cabcfd6b4576be12d844564793fb8028e90b4b0bdc32557769987e9d2ced00d9290f7bab4478d3e107a92f2a54a13dff9
|
data/README.md
CHANGED
@@ -88,3 +88,12 @@ jQuery ()->
|
|
88
88
|
if token
|
89
89
|
$('#access_token').val(token)
|
90
90
|
$('form.oauth-callback-redirect').submit()
|
91
|
+
|
92
|
+
$('#oauth-dialog .token-scope-check-all').click (ev) ->
|
93
|
+
$('.token-scope-checkbox').prop('checked', this.checked)
|
94
|
+
|
95
|
+
$('#oauth-dialog .token-scope-checkbox').click (ev) ->
|
96
|
+
if $('.token-scope-checkbox:not(:checked)').length == 0
|
97
|
+
$('.token-scope-check-all').prop('checked', true)
|
98
|
+
else if not this.checked
|
99
|
+
$('.token-scope-check-all').prop('checked', false)
|
@@ -37,9 +37,14 @@
|
|
37
37
|
= hidden_field_tag :return_to, request.fullpath
|
38
38
|
.modal-body
|
39
39
|
- Garage::TokenScope.revealed_scopes.each do |scope|
|
40
|
-
|
41
|
-
|
40
|
+
%label
|
41
|
+
= check_box_tag "scopes[]", scope, { :selected => true }, :class => 'token-scope-checkbox'
|
42
|
+
= scope
|
42
43
|
%br
|
43
44
|
.modal-footer
|
45
|
+
%label
|
46
|
+
= check_box_tag nil, nil, { :selected => true }, :class => 'token-scope-check-all'
|
47
|
+
Check all
|
48
|
+
%br
|
44
49
|
= button_tag "Close", :class => "modal-close"
|
45
50
|
= submit_tag "Authenticate"
|
data/lib/garage/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: the_garage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tatsuhiko Miyagawa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -269,7 +269,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
269
269
|
version: '0'
|
270
270
|
requirements: []
|
271
271
|
rubyforge_project:
|
272
|
-
rubygems_version: 2.5.1
|
272
|
+
rubygems_version: 2.4.5.1
|
273
273
|
signing_key:
|
274
274
|
specification_version: 4
|
275
275
|
summary: Garage Platform Engine
|