padrino-admin 0.13.1.beta1 → 0.13.1

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: f571c19cbaddd4cc3e04ff13e5d68b6023ab8fa4
4
- data.tar.gz: edb0e880e5b9c31583c7d5a720db848990961673
3
+ metadata.gz: 2028c36ddba62e1a30b5e64aa85dfbf0cd5a4f3c
4
+ data.tar.gz: c018b8ca0adc1d505e0b83c6b21d82f1eb4108b1
5
5
  SHA512:
6
- metadata.gz: f6b4f570e3b11f45643f3dd204c395c5ec9581528235bc4f80fe44d331c98737c9ef97aae218e3abc34acd0dc480b65195d699b9fa43758e1526aac4a36fcbf6
7
- data.tar.gz: 9341050580953a42849d323d4eaacdeed2b13c15962f93f4b83f8b489836b2dadf8516e775c550c4e0a9323aea12fecb46424b960c160e68f148efee397a4b4a
6
+ metadata.gz: e22c2343b3d92859c639c4e951fdde9a9717bd8e4635c92ac5a12af57979b1a84c3a6e2482a7e589efe7d93c7e60b2c9182a6e61201973c2ac4a2c2e319367f9
7
+ data.tar.gz: 82b359210a4d1a84f0235705c154a683dad466e33948109cc1a2c65fe6d52274fca1f0ff2bc16531996ad57ed4f70ef839488f80ff67af628fdd7850ce5e68fc
data/lib/padrino-admin.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'active_support/core_ext/array/conversions'
1
+ require 'active_support/core_ext/object/blank'
2
2
  require 'padrino-core'
3
3
  require 'padrino-helpers'
4
4
 
@@ -85,7 +85,7 @@
85
85
  <% else %>
86
86
  if <%= @orm.multiple_destroy(@orm.name_plural) %>
87
87
  <% end %>
88
- flash[:success] = pat(:destroy_many_success, :model => '<%= @orm.name_plural.capitalize %>', :ids => "#{ids.to_sentence}")
88
+ flash[:success] = pat(:destroy_many_success, :model => '<%= @orm.name_plural.capitalize %>', :ids => "#{ids.join(', ')}")
89
89
  end
90
90
  redirect url(:<%= @orm.name_plural %>, :index)
91
91
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1.beta1
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Padrino Team
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-10-18 00:00:00.000000000 Z
14
+ date: 2016-01-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: padrino-core
@@ -19,54 +19,54 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.13.1.beta1
22
+ version: 0.13.1
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.13.1.beta1
29
+ version: 0.13.1
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: padrino-helpers
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
34
  - - '='
35
35
  - !ruby/object:Gem::Version
36
- version: 0.13.1.beta1
36
+ version: 0.13.1
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - '='
42
42
  - !ruby/object:Gem::Version
43
- version: 0.13.1.beta1
43
+ version: 0.13.1
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: therubyracer
46
46
  requirement: !ruby/object:Gem::Requirement
47
47
  requirements:
48
- - - "~>"
48
+ - - ~>
49
49
  - !ruby/object:Gem::Version
50
50
  version: 0.11.1
51
51
  type: :development
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
- - - "~>"
55
+ - - ~>
56
56
  - !ruby/object:Gem::Version
57
57
  version: 0.11.1
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: less
60
60
  requirement: !ruby/object:Gem::Requirement
61
61
  requirements:
62
- - - "~>"
62
+ - - ~>
63
63
  - !ruby/object:Gem::Version
64
64
  version: 2.2.2
65
65
  type: :development
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
- - - "~>"
69
+ - - ~>
70
70
  - !ruby/object:Gem::Version
71
71
  version: 2.2.2
72
72
  description: Admin View for Padrino applications
@@ -76,9 +76,9 @@ extensions: []
76
76
  extra_rdoc_files:
77
77
  - README.rdoc
78
78
  files:
79
- - ".document"
80
- - ".gitignore"
81
- - ".yardopts"
79
+ - .document
80
+ - .gitignore
81
+ - .yardopts
82
82
  - LICENSE.txt
83
83
  - README.rdoc
84
84
  - Rakefile
@@ -276,19 +276,19 @@ licenses:
276
276
  metadata: {}
277
277
  post_install_message:
278
278
  rdoc_options:
279
- - "--charset=UTF-8"
279
+ - --charset=UTF-8
280
280
  require_paths:
281
281
  - lib
282
282
  required_ruby_version: !ruby/object:Gem::Requirement
283
283
  requirements:
284
- - - ">="
284
+ - - '>='
285
285
  - !ruby/object:Gem::Version
286
286
  version: '0'
287
287
  required_rubygems_version: !ruby/object:Gem::Requirement
288
288
  requirements:
289
- - - ">"
289
+ - - '>='
290
290
  - !ruby/object:Gem::Version
291
- version: 1.3.1
291
+ version: 1.3.6
292
292
  requirements: []
293
293
  rubyforge_project: padrino-admin
294
294
  rubygems_version: 2.4.8