admin_script 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/admin_script/base.rb +5 -5
- data/lib/admin_script/version.rb +1 -1
- metadata +2 -5
- data/app/helpers/.keep +0 -0
- data/app/mailers/.keep +0 -0
- data/app/models/.keep +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30fb4bbbbe06650244b765db72ee48b2a0fdd099
|
4
|
+
data.tar.gz: 00eefc98cd91d243a6b94b50c4c25ec97edea44c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1324c5c26710d1fb7753c2bd4ece72b247f131c9a1091c7773fcc790da4ad4d076793668d2c48e1259cd014d46bb3ae8888ad3349037b692b8b24e855646c015
|
7
|
+
data.tar.gz: 76045a4aeef79e4b273fb59caec12d8300c59e7625cabc77f7f2392e2d3804ae9e964fffbadb827ce12c82b2b4824d8d9aba070388f836b5552b3415e55dbeda
|
data/lib/admin_script/base.rb
CHANGED
@@ -11,7 +11,7 @@ module AdminScript
|
|
11
11
|
|
12
12
|
define_model_callbacks :initialize, only: :after
|
13
13
|
|
14
|
-
attr_accessor :location_url
|
14
|
+
attr_accessor :location_url, :failure_message, :success_message
|
15
15
|
|
16
16
|
class << self
|
17
17
|
RESERVED_CLASSE_NAMES = %w(
|
@@ -63,6 +63,10 @@ module AdminScript
|
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
+
def persisted?
|
67
|
+
true
|
68
|
+
end
|
69
|
+
|
66
70
|
def to_param
|
67
71
|
self.class.to_param
|
68
72
|
end
|
@@ -71,10 +75,6 @@ module AdminScript
|
|
71
75
|
raise NotImplementedError, 'not implemented yet.'
|
72
76
|
end
|
73
77
|
|
74
|
-
def failure_message; end
|
75
|
-
|
76
|
-
def success_message; end
|
77
|
-
|
78
78
|
private
|
79
79
|
|
80
80
|
def url_helpers
|
data/lib/admin_script/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: admin_script
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alpaca-tc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -230,9 +230,6 @@ files:
|
|
230
230
|
- app/assets/stylesheets/admin_script/application.scss
|
231
231
|
- app/controllers/.keep
|
232
232
|
- app/controllers/admin_script/admin_scripts_controller.rb
|
233
|
-
- app/helpers/.keep
|
234
|
-
- app/mailers/.keep
|
235
|
-
- app/models/.keep
|
236
233
|
- app/views/admin_script/admin_scripts/_default_form.html.slim
|
237
234
|
- app/views/admin_script/admin_scripts/edit.html.slim
|
238
235
|
- app/views/admin_script/admin_scripts/index.html.slim
|
data/app/helpers/.keep
DELETED
File without changes
|
data/app/mailers/.keep
DELETED
File without changes
|
data/app/models/.keep
DELETED
File without changes
|