activeadmin_settings_cached 0.0.5 → 0.1.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: beb3913f9186773b0e8ef8b9295ab8a939c33f01
|
4
|
+
data.tar.gz: 3b81583b3c70a0157bd0a138222df85f2935f582
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dda049847a5d83744cc28d2d10bf7eaecf9b961c6d9eeba4ae363d6e6df06235e709ec71374a76cda23260f62ffb9760ed945205bd197d2a0167b1cfd76897bc
|
7
|
+
data.tar.gz: 09abfb2ac846bc984ef5b927e3e44bc2cf188b0aa21625d0d4a3acb21ba1b395c849cffdfa17bb7587196bc0fb9140e128adb9911d2abe7e2019af7d8db5239b
|
data/README.md
CHANGED
data/app/admin/settings.rb
CHANGED
@@ -3,12 +3,11 @@ module ActiveadminSettingsCached
|
|
3
3
|
def update
|
4
4
|
settings = ActiveadminSettingsCached.settings_klass
|
5
5
|
|
6
|
-
#TODO: this method call save every param
|
7
|
-
# save only changed values
|
8
6
|
settings_params.each_pair do |name, value|
|
9
7
|
settings[name] = value
|
10
8
|
end
|
11
9
|
|
10
|
+
flash[:success] = t('.success'.freeze)
|
12
11
|
redirect_to :back
|
13
12
|
end
|
14
13
|
|
data/config/locales/en.yml
CHANGED
data/config/locales/ru.yml
CHANGED
metadata
CHANGED
@@ -1,71 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeadmin_settings_cached
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Semyon Pupkov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
+
version_requirements: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - '>='
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '0'
|
14
19
|
name: activeadmin
|
15
20
|
requirement: !ruby/object:Gem::Requirement
|
16
21
|
requirements:
|
17
|
-
- -
|
22
|
+
- - '>='
|
18
23
|
- !ruby/object:Gem::Version
|
19
24
|
version: '0'
|
20
25
|
type: :runtime
|
21
26
|
prerelease: false
|
27
|
+
- !ruby/object:Gem::Dependency
|
22
28
|
version_requirements: !ruby/object:Gem::Requirement
|
23
29
|
requirements:
|
24
|
-
- -
|
30
|
+
- - '>='
|
25
31
|
- !ruby/object:Gem::Version
|
26
32
|
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
33
|
name: rails-settings-cached
|
29
34
|
requirement: !ruby/object:Gem::Requirement
|
30
35
|
requirements:
|
31
|
-
- -
|
36
|
+
- - '>='
|
32
37
|
- !ruby/object:Gem::Version
|
33
38
|
version: '0'
|
34
39
|
type: :runtime
|
35
40
|
prerelease: false
|
41
|
+
- !ruby/object:Gem::Dependency
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
37
43
|
requirements:
|
38
|
-
- -
|
44
|
+
- - ~>
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
41
|
-
- !ruby/object:Gem::Dependency
|
46
|
+
version: '1.7'
|
42
47
|
name: bundler
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
44
49
|
requirements:
|
45
|
-
- -
|
50
|
+
- - ~>
|
46
51
|
- !ruby/object:Gem::Version
|
47
52
|
version: '1.7'
|
48
53
|
type: :development
|
49
54
|
prerelease: false
|
55
|
+
- !ruby/object:Gem::Dependency
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
|
-
- -
|
58
|
+
- - ~>
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
55
|
-
- !ruby/object:Gem::Dependency
|
60
|
+
version: '10.0'
|
56
61
|
name: rake
|
57
62
|
requirement: !ruby/object:Gem::Requirement
|
58
63
|
requirements:
|
59
|
-
- -
|
64
|
+
- - ~>
|
60
65
|
- !ruby/object:Gem::Version
|
61
66
|
version: '10.0'
|
62
67
|
type: :development
|
63
68
|
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '10.0'
|
69
69
|
description: ''
|
70
70
|
email:
|
71
71
|
- semen.pupkov@gmail.com
|
@@ -73,7 +73,7 @@ executables: []
|
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
|
-
-
|
76
|
+
- .gitignore
|
77
77
|
- Gemfile
|
78
78
|
- LICENSE.txt
|
79
79
|
- README.md
|
@@ -98,12 +98,12 @@ require_paths:
|
|
98
98
|
- lib
|
99
99
|
required_ruby_version: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - '>='
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
|
-
- -
|
106
|
+
- - '>='
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: '0'
|
109
109
|
requirements: []
|
@@ -113,3 +113,4 @@ signing_key:
|
|
113
113
|
specification_version: 4
|
114
114
|
summary: UI interface for rails-settings-cached in active admin
|
115
115
|
test_files: []
|
116
|
+
has_rdoc:
|