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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6896a7b9f199e0bad27a3c74c51236187c1b78ed
4
- data.tar.gz: bce7de9612f83468c84b192925b1c29b0f93cf3f
3
+ metadata.gz: 30fb4bbbbe06650244b765db72ee48b2a0fdd099
4
+ data.tar.gz: 00eefc98cd91d243a6b94b50c4c25ec97edea44c
5
5
  SHA512:
6
- metadata.gz: 95472949ff568ad9ddf55aff322277c539dcaa2af9a4f165f6a5616a722a4f3ec47d058b0888aeda78b2fad9dca7739291107f1f50cca110f313a5e96def3618
7
- data.tar.gz: 1909f98e4c6d9e55722d59666d5c1b0a7a4062046e0f3b8f297fe5c5ab6dc4891a9bae8a54e2fdccd4b7fd336242929fa48d9249158cb03418821f000fe3495b
6
+ metadata.gz: 1324c5c26710d1fb7753c2bd4ece72b247f131c9a1091c7773fcc790da4ad4d076793668d2c48e1259cd014d46bb3ae8888ad3349037b692b8b24e855646c015
7
+ data.tar.gz: 76045a4aeef79e4b273fb59caec12d8300c59e7625cabc77f7f2392e2d3804ae9e964fffbadb827ce12c82b2b4824d8d9aba070388f836b5552b3415e55dbeda
@@ -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
@@ -1,3 +1,3 @@
1
1
  module AdminScript
2
- VERSION = '0.4.2'
2
+ VERSION = '0.4.3'
3
3
  end
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.2
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-10 00:00:00.000000000 Z
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