bootstrap_admin 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/bootstrap_admin.js +1 -1
- data/app/assets/stylesheets/bootstrap_admin.css +2 -2
- data/app/assets/stylesheets/{bootstrap_overrides.css.scss → bootstrap_overrides-2.3.2.css.scss} +0 -0
- data/lib/bootstrap_admin/responder.rb +7 -6
- data/lib/bootstrap_admin/routes.rb +1 -1
- data/lib/bootstrap_admin/version.rb +1 -1
- data/vendor/assets/javascripts/{bootstrap.js → bootstrap-2.3.2.js} +0 -0
- data/vendor/assets/javascripts/{bootstrap.min.js → bootstrap-2.3.2.min.js} +0 -0
- data/vendor/assets/stylesheets/{bootstrap.css → bootstrap-2.3.2.css} +0 -0
- data/vendor/assets/stylesheets/{bootstrap.min.css → bootstrap-2.3.2.min.css} +0 -0
- data/vendor/assets/stylesheets/{bootstrap-responsive.css → bootstrap-responsive-2.3.2.css} +0 -0
- data/vendor/assets/stylesheets/{bootstrap-responsive.min.css → bootstrap-responsive-2.3.2.min.css} +0 -0
- metadata +10 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b74aa8d481347b41280729201941a16e6c817231
|
4
|
+
data.tar.gz: 88bdd253c0e7afd53d3e4dc281e0cf0552d50ead
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf870b6404cdb97ddfa674759151675f81e31fe308289b7f5bea2c2047219f62005d04398326b0b597c3937adc8aad6664e071875988a8cc23b98eeabf57af37
|
7
|
+
data.tar.gz: 01b6464bd554fc51c59c63cc77d75bba4a806ebfecb12b98a563b75bd7f2cc0580a7754f3afe6feb38689dcf9afc03a5af875312e809678f598f07c9f0fbd8b1
|
data/app/assets/stylesheets/{bootstrap_overrides.css.scss → bootstrap_overrides-2.3.2.css.scss}
RENAMED
File without changes
|
@@ -61,13 +61,14 @@ module BootstrapAdmin
|
|
61
61
|
|
62
62
|
# =============================================================================
|
63
63
|
def resource_count resource
|
64
|
-
|
65
|
-
to_remove = resource.reflect_on_all_associations.select{|a| a.options[:polymorphic]}.map &:name
|
66
|
-
resource.includes_values -= to_remove
|
67
|
-
count = resource.count
|
68
|
-
resource.includes_values = values
|
64
|
+
dupped_resource = resource.dup
|
69
65
|
|
70
|
-
|
66
|
+
to_remove = dupped_resource.reflect_on_all_associations
|
67
|
+
.select{|a| a.options[:polymorphic]}
|
68
|
+
.map &:name
|
69
|
+
dupped_resource.includes_values -= to_remove
|
70
|
+
|
71
|
+
return dupped_resource.count
|
71
72
|
end
|
72
73
|
|
73
74
|
# =============================================================================
|
@@ -13,7 +13,7 @@ module ActionDispatch::Routing
|
|
13
13
|
BootstrapAdmin.admin_namespace = admin_namespace
|
14
14
|
|
15
15
|
root_options = BootstrapAdmin.admin_root_options.
|
16
|
-
merge({:
|
16
|
+
merge({:controller => admin_namespace.to_s}).
|
17
17
|
merge(options)
|
18
18
|
resource admin_namespace, root_options
|
19
19
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/vendor/assets/stylesheets/{bootstrap-responsive.min.css → bootstrap-responsive-2.3.2.min.css}
RENAMED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivo Jesus
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-08-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -115,7 +115,7 @@ files:
|
|
115
115
|
- app/assets/javascripts/bootstrap_admin/bootstrap_admin.js.coffee
|
116
116
|
- app/assets/stylesheets/_backgrounds.scss
|
117
117
|
- app/assets/stylesheets/bootstrap_admin.css
|
118
|
-
- app/assets/stylesheets/bootstrap_overrides.css.scss
|
118
|
+
- app/assets/stylesheets/bootstrap_overrides-2.3.2.css.scss
|
119
119
|
- app/helpers/bootstrap_admin/menu_helper.rb
|
120
120
|
- app/helpers/bootstrap_admin/paginator_helper.rb
|
121
121
|
- app/helpers/bootstrap_admin_helper.rb
|
@@ -167,13 +167,13 @@ files:
|
|
167
167
|
- vendor/assets/images/jqueryui/ui-icons_454545_256x240.png
|
168
168
|
- vendor/assets/images/jqueryui/ui-icons_888888_256x240.png
|
169
169
|
- vendor/assets/images/jqueryui/ui-icons_cd0a0a_256x240.png
|
170
|
-
- vendor/assets/javascripts/bootstrap.js
|
171
|
-
- vendor/assets/javascripts/bootstrap.min.js
|
170
|
+
- vendor/assets/javascripts/bootstrap-2.3.2.js
|
171
|
+
- vendor/assets/javascripts/bootstrap-2.3.2.min.js
|
172
172
|
- vendor/assets/javascripts/jquery-ui-1.9.2.custom.min.js
|
173
|
-
- vendor/assets/stylesheets/bootstrap-
|
174
|
-
- vendor/assets/stylesheets/bootstrap-
|
175
|
-
- vendor/assets/stylesheets/bootstrap.css
|
176
|
-
- vendor/assets/stylesheets/bootstrap.min.css
|
173
|
+
- vendor/assets/stylesheets/bootstrap-2.3.2.css
|
174
|
+
- vendor/assets/stylesheets/bootstrap-2.3.2.min.css
|
175
|
+
- vendor/assets/stylesheets/bootstrap-responsive-2.3.2.css
|
176
|
+
- vendor/assets/stylesheets/bootstrap-responsive-2.3.2.min.css
|
177
177
|
- vendor/assets/stylesheets/jquery-ui-1.9.2.custom.css
|
178
178
|
homepage: https://github.com/LynxEyes/bootstrap_admin
|
179
179
|
licenses: []
|
@@ -199,3 +199,4 @@ signing_key:
|
|
199
199
|
specification_version: 4
|
200
200
|
summary: Small lib to create standard admin sections.
|
201
201
|
test_files: []
|
202
|
+
has_rdoc:
|