avo 2.43.0 → 2.44.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of avo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/Gemfile.lock +5 -1
- data/app/controllers/avo/actions_controller.rb +8 -10
- data/app/javascript/js/application.js +3 -0
- data/app/views/avo/actions/show.html.erb +1 -2
- data/avo.gemspec +1 -0
- data/lib/avo/base_action.rb +10 -26
- data/lib/avo/fields/base_field.rb +13 -7
- data/lib/avo/version.rb +1 -1
- data/public/avo-assets/avo.base.js +176 -176
- data/public/avo-assets/avo.base.js.map +3 -3
- metadata +16 -4
- data/app/controllers/avo/team_users_controller.rb +0 -4
- data/lib/avo/action_model.rb +0 -20
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.44.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Marin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-11-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -123,6 +123,20 @@ dependencies:
|
|
123
123
|
- - ">="
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: turbo_power
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - "~>"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 0.5.0
|
133
|
+
type: :runtime
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - "~>"
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: 0.5.0
|
126
140
|
- !ruby/object:Gem::Dependency
|
127
141
|
name: addressable
|
128
142
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1607,7 +1621,6 @@ files:
|
|
1607
1621
|
- app/controllers/avo/reorder_controller.rb
|
1608
1622
|
- app/controllers/avo/resources_controller.rb
|
1609
1623
|
- app/controllers/avo/search_controller.rb
|
1610
|
-
- app/controllers/avo/team_users_controller.rb
|
1611
1624
|
- app/helpers/avo/application_helper.rb
|
1612
1625
|
- app/helpers/avo/resources_helper.rb
|
1613
1626
|
- app/helpers/avo/url_helpers.rb
|
@@ -1724,7 +1737,6 @@ files:
|
|
1724
1737
|
- config/spring.rb
|
1725
1738
|
- db/factories.rb
|
1726
1739
|
- lib/avo.rb
|
1727
|
-
- lib/avo/action_model.rb
|
1728
1740
|
- lib/avo/app.rb
|
1729
1741
|
- lib/avo/base_action.rb
|
1730
1742
|
- lib/avo/base_card.rb
|
data/lib/avo/action_model.rb
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
module Avo
|
2
|
-
class ActionModel
|
3
|
-
include ActiveModel::Model
|
4
|
-
|
5
|
-
# This class augments a model the action form declaration.
|
6
|
-
def initialize(attributes = {})
|
7
|
-
set_attr_accessors attributes
|
8
|
-
|
9
|
-
super(attributes)
|
10
|
-
end
|
11
|
-
|
12
|
-
private
|
13
|
-
|
14
|
-
def set_attr_accessors(attributes)
|
15
|
-
attributes.each do |k, v|
|
16
|
-
self.class.class_eval { attr_accessor k }
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|