admin_interface 2.1.14 → 2.1.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "admin_interface"
8
- s.version = "2.1.14"
8
+ s.version = "2.1.15"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Joost Hietbrink"]
12
- s.date = "2012-06-14"
12
+ s.date = "2012-06-15"
13
13
  s.description = "A Rails admin interface generator. Theme stolen from Redmine. Similar to web-app-theme but better ;)."
14
14
  s.extra_rdoc_files = [
15
15
  "README.rdoc"
@@ -125,6 +125,7 @@ Gem::Specification.new do |s|
125
125
  "vendor/assets/images/admin/files/xml.png",
126
126
  "vendor/assets/images/admin/files/zip.png",
127
127
  "vendor/assets/images/admin/flag_black.png",
128
+ "vendor/assets/images/admin/flag_blue.png",
128
129
  "vendor/assets/images/admin/flag_green.png",
129
130
  "vendor/assets/images/admin/flag_red.png",
130
131
  "vendor/assets/images/admin/folder.png",
@@ -258,6 +259,8 @@ Gem::Specification.new do |s|
258
259
  s.add_development_dependency(%q<geminabox>, [">= 0"])
259
260
  s.add_development_dependency(%q<jeweler>, [">= 0"])
260
261
  s.add_development_dependency(%q<geminabox>, [">= 0"])
262
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
263
+ s.add_development_dependency(%q<geminabox>, [">= 0"])
261
264
  s.add_runtime_dependency(%q<kaminari>, [">= 0.12.4"])
262
265
  s.add_runtime_dependency(%q<ransack>, [">= 0"])
263
266
  s.add_runtime_dependency(%q<inherited_resources>, [">= 1.2.2"])
@@ -308,6 +311,8 @@ Gem::Specification.new do |s|
308
311
  s.add_dependency(%q<geminabox>, [">= 0"])
309
312
  s.add_dependency(%q<jeweler>, [">= 0"])
310
313
  s.add_dependency(%q<geminabox>, [">= 0"])
314
+ s.add_dependency(%q<jeweler>, [">= 0"])
315
+ s.add_dependency(%q<geminabox>, [">= 0"])
311
316
  s.add_dependency(%q<kaminari>, [">= 0.12.4"])
312
317
  s.add_dependency(%q<ransack>, [">= 0"])
313
318
  s.add_dependency(%q<inherited_resources>, [">= 1.2.2"])
@@ -359,6 +364,8 @@ Gem::Specification.new do |s|
359
364
  s.add_dependency(%q<geminabox>, [">= 0"])
360
365
  s.add_dependency(%q<jeweler>, [">= 0"])
361
366
  s.add_dependency(%q<geminabox>, [">= 0"])
367
+ s.add_dependency(%q<jeweler>, [">= 0"])
368
+ s.add_dependency(%q<geminabox>, [">= 0"])
362
369
  s.add_dependency(%q<kaminari>, [">= 0.12.4"])
363
370
  s.add_dependency(%q<ransack>, [">= 0"])
364
371
  s.add_dependency(%q<inherited_resources>, [">= 1.2.2"])
@@ -73,11 +73,11 @@ module Admin::BaseHelper
73
73
  content_tag(:nav, html.html_safe, :class => 'pagination info').html_safe
74
74
  end
75
75
 
76
- # Shows a 'Per page: 25 50 100'.
76
+ # Shows a 'Per page: 25 50 100 500'.
77
77
  # Uses I18n 'en.views.perinate' translation key.
78
78
  def perinate(collection, options = {})
79
79
  return if collection.blank?
80
- options.reverse_merge!(:values => [25, 50, 100])
80
+ options.reverse_merge!(:values => [25, 50, 100, 500])
81
81
  page = (collection.offset_value / collection.limit_value).to_i + 1
82
82
  html = I18n.t('views.perinate', :default => "Per page: ")
83
83
  html += options[:values].collect do |value|
@@ -3,7 +3,7 @@ module AdminInterface
3
3
  module Version
4
4
  MAJOR = 2
5
5
  MINOR = 1
6
- PATCH = 14
6
+ PATCH = 15
7
7
  BUILD = nil
8
8
 
9
9
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
@@ -31,6 +31,7 @@ div.input {
31
31
  .icon-flag_red { background-image: image-url('admin/flag_red.png'); }
32
32
  .icon-flag_green { background-image: image-url('admin/flag_green.png'); }
33
33
  .icon-flag_black { background-image: image-url('admin/flag_black.png'); }
34
+ .icon-flag_blue { background-image: image-url('admin/flag_blue.png'); }
34
35
 
35
36
  tfoot th {
36
37
  text-align: left;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: admin_interface
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.14
4
+ version: 2.1.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-14 00:00:00.000000000 Z
12
+ date: 2012-06-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: admin_interface
@@ -699,6 +699,38 @@ dependencies:
699
699
  - - ! '>='
700
700
  - !ruby/object:Gem::Version
701
701
  version: '0'
702
+ - !ruby/object:Gem::Dependency
703
+ name: jeweler
704
+ requirement: !ruby/object:Gem::Requirement
705
+ none: false
706
+ requirements:
707
+ - - ! '>='
708
+ - !ruby/object:Gem::Version
709
+ version: '0'
710
+ type: :development
711
+ prerelease: false
712
+ version_requirements: !ruby/object:Gem::Requirement
713
+ none: false
714
+ requirements:
715
+ - - ! '>='
716
+ - !ruby/object:Gem::Version
717
+ version: '0'
718
+ - !ruby/object:Gem::Dependency
719
+ name: geminabox
720
+ requirement: !ruby/object:Gem::Requirement
721
+ none: false
722
+ requirements:
723
+ - - ! '>='
724
+ - !ruby/object:Gem::Version
725
+ version: '0'
726
+ type: :development
727
+ prerelease: false
728
+ version_requirements: !ruby/object:Gem::Requirement
729
+ none: false
730
+ requirements:
731
+ - - ! '>='
732
+ - !ruby/object:Gem::Version
733
+ version: '0'
702
734
  - !ruby/object:Gem::Dependency
703
735
  name: kaminari
704
736
  requirement: !ruby/object:Gem::Requirement
@@ -913,6 +945,7 @@ files:
913
945
  - vendor/assets/images/admin/files/xml.png
914
946
  - vendor/assets/images/admin/files/zip.png
915
947
  - vendor/assets/images/admin/flag_black.png
948
+ - vendor/assets/images/admin/flag_blue.png
916
949
  - vendor/assets/images/admin/flag_green.png
917
950
  - vendor/assets/images/admin/flag_red.png
918
951
  - vendor/assets/images/admin/folder.png