admin_interface 2.1.13 → 2.1.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "admin_interface"
8
- s.version = "2.1.13"
8
+ s.version = "2.1.14"
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"]
@@ -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_green.png",
128
129
  "vendor/assets/images/admin/flag_red.png",
129
130
  "vendor/assets/images/admin/folder.png",
130
131
  "vendor/assets/images/admin/folder_open.png",
@@ -255,6 +256,8 @@ Gem::Specification.new do |s|
255
256
  s.add_development_dependency(%q<geminabox>, [">= 0"])
256
257
  s.add_development_dependency(%q<jeweler>, [">= 0"])
257
258
  s.add_development_dependency(%q<geminabox>, [">= 0"])
259
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
260
+ s.add_development_dependency(%q<geminabox>, [">= 0"])
258
261
  s.add_runtime_dependency(%q<kaminari>, [">= 0.12.4"])
259
262
  s.add_runtime_dependency(%q<ransack>, [">= 0"])
260
263
  s.add_runtime_dependency(%q<inherited_resources>, [">= 1.2.2"])
@@ -303,6 +306,8 @@ Gem::Specification.new do |s|
303
306
  s.add_dependency(%q<geminabox>, [">= 0"])
304
307
  s.add_dependency(%q<jeweler>, [">= 0"])
305
308
  s.add_dependency(%q<geminabox>, [">= 0"])
309
+ s.add_dependency(%q<jeweler>, [">= 0"])
310
+ s.add_dependency(%q<geminabox>, [">= 0"])
306
311
  s.add_dependency(%q<kaminari>, [">= 0.12.4"])
307
312
  s.add_dependency(%q<ransack>, [">= 0"])
308
313
  s.add_dependency(%q<inherited_resources>, [">= 1.2.2"])
@@ -352,6 +357,8 @@ Gem::Specification.new do |s|
352
357
  s.add_dependency(%q<geminabox>, [">= 0"])
353
358
  s.add_dependency(%q<jeweler>, [">= 0"])
354
359
  s.add_dependency(%q<geminabox>, [">= 0"])
360
+ s.add_dependency(%q<jeweler>, [">= 0"])
361
+ s.add_dependency(%q<geminabox>, [">= 0"])
355
362
  s.add_dependency(%q<kaminari>, [">= 0.12.4"])
356
363
  s.add_dependency(%q<ransack>, [">= 0"])
357
364
  s.add_dependency(%q<inherited_resources>, [">= 1.2.2"])
@@ -32,8 +32,9 @@ module Admin::BaseHelper
32
32
  end
33
33
 
34
34
  def true_false_flag_class(boolean)
35
+ return 'icon-flag_black' if boolean.nil?
35
36
  raise ArgumentError, "Expected a Boolean as argument!" unless boolean.is_a?(FalseClass) || boolean.is_a?(TrueClass)
36
- boolean ? 'icon-flag_red' : 'icon-flag_black'
37
+ boolean ? 'icon-flag_green' : 'icon-flag_red'
37
38
  end
38
39
 
39
40
  # Overwrites l helper.
@@ -3,7 +3,7 @@ module AdminInterface
3
3
  module Version
4
4
  MAJOR = 2
5
5
  MINOR = 1
6
- PATCH = 13
6
+ PATCH = 14
7
7
  BUILD = nil
8
8
 
9
9
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
@@ -29,6 +29,7 @@ div.input {
29
29
  .icon-crop { background-image: image-url('admin/crop.png'); }
30
30
  .icon-mail { background-image: image-url('admin/mail.png'); }
31
31
  .icon-flag_red { background-image: image-url('admin/flag_red.png'); }
32
+ .icon-flag_green { background-image: image-url('admin/flag_green.png'); }
32
33
  .icon-flag_black { background-image: image-url('admin/flag_black.png'); }
33
34
 
34
35
  tfoot th {
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.13
4
+ version: 2.1.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -667,6 +667,38 @@ dependencies:
667
667
  - - ! '>='
668
668
  - !ruby/object:Gem::Version
669
669
  version: '0'
670
+ - !ruby/object:Gem::Dependency
671
+ name: jeweler
672
+ requirement: !ruby/object:Gem::Requirement
673
+ none: false
674
+ requirements:
675
+ - - ! '>='
676
+ - !ruby/object:Gem::Version
677
+ version: '0'
678
+ type: :development
679
+ prerelease: false
680
+ version_requirements: !ruby/object:Gem::Requirement
681
+ none: false
682
+ requirements:
683
+ - - ! '>='
684
+ - !ruby/object:Gem::Version
685
+ version: '0'
686
+ - !ruby/object:Gem::Dependency
687
+ name: geminabox
688
+ requirement: !ruby/object:Gem::Requirement
689
+ none: false
690
+ requirements:
691
+ - - ! '>='
692
+ - !ruby/object:Gem::Version
693
+ version: '0'
694
+ type: :development
695
+ prerelease: false
696
+ version_requirements: !ruby/object:Gem::Requirement
697
+ none: false
698
+ requirements:
699
+ - - ! '>='
700
+ - !ruby/object:Gem::Version
701
+ version: '0'
670
702
  - !ruby/object:Gem::Dependency
671
703
  name: kaminari
672
704
  requirement: !ruby/object:Gem::Requirement
@@ -881,6 +913,7 @@ files:
881
913
  - vendor/assets/images/admin/files/xml.png
882
914
  - vendor/assets/images/admin/files/zip.png
883
915
  - vendor/assets/images/admin/flag_black.png
916
+ - vendor/assets/images/admin/flag_green.png
884
917
  - vendor/assets/images/admin/flag_red.png
885
918
  - vendor/assets/images/admin/folder.png
886
919
  - vendor/assets/images/admin/folder_open.png