padrino-admin 0.15.2 → 0.15.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
  SHA256:
3
- metadata.gz: b5953501001ca23c75cf65d0cc8ed3dbe499e098f80baf154c3ece55c68f0888
4
- data.tar.gz: 9a5f00c0e51098f6b3b19c32363482569d2b023048ff79040bc8c96e4b992497
3
+ metadata.gz: 656b9fea29a75bcef82ebd5ab907bcbd553e86a86a430dba73da01588261ac36
4
+ data.tar.gz: 052f61880ff6d26e189d653f0d11bb929e7cbe514596a5425abb69a467202335
5
5
  SHA512:
6
- metadata.gz: '026848aeb929fecd969317b6710dbc61439b462156a852849d643eff7233fb61ec5778cf77c513131052f4bef0d7b1da67ea1500a99aac0a4546273c004b96da'
7
- data.tar.gz: a6cb1797f67cceec660c4c426e03de7b73d9d3ac61a9e189a29eb121d78a78d97526f38ef1b5719407fbb8af8be27aedee29140133f957294c99ca140eccc905
6
+ metadata.gz: 2aa68109a507f110759150edb55636a636e6f12678c6b079175b830d766bdc0806c16db3545d423185fd1cfe0d00d3ce388c20d3ffb60c13253126d22d295a73
7
+ data.tar.gz: 1ea5e74c5c5fa4bd84c5c7be0f84a1d815a36470de0d979a97d4b3a68e99f5b68db08c38623e85dc385bd2535df1f4cbee218cc8e5154723296b59082de36c73
@@ -124,8 +124,8 @@ module Padrino
124
124
 
125
125
  def update_attributes(params=nil)
126
126
  case orm
127
- when :activerecord, :minirecord, :mongomapper, :mongoid, :couchrest, :dynamoid then "@#{name_singular}.update_attributes(#{params})"
128
- when :datamapper, :ohm then "@#{name_singular}.update(#{params})"
127
+ when :mongomapper, :mongoid, :couchrest, :dynamoid then "@#{name_singular}.update_attributes(#{params})"
128
+ when :activerecord, :minirecord, :datamapper, :ohm then "@#{name_singular}.update(#{params})"
129
129
  when :sequel then "@#{name_singular}.modified! && @#{name_singular}.update(#{params})"
130
130
  else raise OrmError, "Adapter #{orm} is not yet supported!"
131
131
  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.15.2
4
+ version: 0.15.3
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: 2022-12-23 00:00:00.000000000 Z
14
+ date: 2023-02-25 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: padrino-core
@@ -19,28 +19,28 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.15.2
22
+ version: 0.15.3
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.15.2
29
+ version: 0.15.3
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.15.2
36
+ version: 0.15.3
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.15.2
43
+ version: 0.15.3
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: therubyracer
46
46
  requirement: !ruby/object:Gem::Requirement