rails_admin_toggleable 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -0
- data/.ruby-gemset +2 -0
- data/.ruby-version +2 -0
- data/README.md +0 -0
- data/config/locales/en.rails_admin_toggleable.yml +0 -0
- data/config/locales/ru.rails_admin_toggleable.yml +0 -0
- data/lib/rails_admin_toggleable/action.rb +3 -2
- data/lib/rails_admin_toggleable/engine.rb +0 -0
- data/lib/rails_admin_toggleable/field.rb +2 -1
- data/lib/rails_admin_toggleable/version.rb +1 -1
- data/lib/rails_admin_toggleable.rb +0 -0
- data/rails_admin_toggleable.gemspec +3 -0
- metadata +37 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 544963d72056d9ad9177f8801ad7bbf4449ed4c9
|
4
|
+
data.tar.gz: e9263d6cef5c68ff3e2123309d96c01f15450956
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1435ca10a234bce83b0bfecd6115bd049ab469388287e00ba48e317fd9ab488d948e3b795eddd96cc3814e5e9225574ffc2f2b5ca5ee67f3d53287d156847900
|
7
|
+
data.tar.gz: 9766bd6a1add1e7e01a5e973df5b22a26720198b78517561bfca0f118a9630404d7fb98e62250a20cd7cb41895fc30487a94744c5fa2a85cd624d9c5508fe011
|
data/.gitignore
CHANGED
File without changes
|
data/.ruby-gemset
ADDED
data/.ruby-version
ADDED
data/README.md
CHANGED
File without changes
|
File without changes
|
File without changes
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
1
2
|
module RailsAdmin
|
2
3
|
module Config
|
3
4
|
module Actions
|
@@ -66,9 +67,9 @@ module RailsAdmin
|
|
66
67
|
else
|
67
68
|
flash[:error] = I18n.t('admin.toggle.no_id')
|
68
69
|
end
|
69
|
-
|
70
|
+
|
70
71
|
end
|
71
|
-
|
72
|
+
|
72
73
|
redirect_to :back unless params['ajax'].present?
|
73
74
|
end
|
74
75
|
end
|
File without changes
|
File without changes
|
@@ -16,4 +16,7 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
|
+
|
20
|
+
gem.add_development_dependency "bundler"
|
21
|
+
gem.add_development_dependency "rake", "~> 10.1.1"
|
19
22
|
end
|
metadata
CHANGED
@@ -1,15 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_admin_toggleable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gleb Tv
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
12
|
-
dependencies:
|
11
|
+
date: 2014-07-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 10.1.1
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 10.1.1
|
13
41
|
description: Toggleable field for rails admin
|
14
42
|
email:
|
15
43
|
- glebtv@gmail.com
|
@@ -17,7 +45,9 @@ executables: []
|
|
17
45
|
extensions: []
|
18
46
|
extra_rdoc_files: []
|
19
47
|
files:
|
20
|
-
- .gitignore
|
48
|
+
- ".gitignore"
|
49
|
+
- ".ruby-gemset"
|
50
|
+
- ".ruby-version"
|
21
51
|
- Gemfile
|
22
52
|
- LICENSE.txt
|
23
53
|
- README.md
|
@@ -40,17 +70,17 @@ require_paths:
|
|
40
70
|
- lib
|
41
71
|
required_ruby_version: !ruby/object:Gem::Requirement
|
42
72
|
requirements:
|
43
|
-
- -
|
73
|
+
- - ">="
|
44
74
|
- !ruby/object:Gem::Version
|
45
75
|
version: '0'
|
46
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
47
77
|
requirements:
|
48
|
-
- -
|
78
|
+
- - ">="
|
49
79
|
- !ruby/object:Gem::Version
|
50
80
|
version: '0'
|
51
81
|
requirements: []
|
52
82
|
rubyforge_project:
|
53
|
-
rubygems_version: 2.2.
|
83
|
+
rubygems_version: 2.2.2
|
54
84
|
signing_key:
|
55
85
|
specification_version: 4
|
56
86
|
summary: Make any boolean field easily toggleable on\off from index view in rails
|