active_scaffold 3.4.25 → 3.4.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG +5 -0
- data/{MIT-LICENSE → LICENSE} +0 -0
- data/app/assets/stylesheets/active_scaffold_layout.css +1 -1
- data/lib/active_scaffold/core.rb +1 -1
- data/lib/active_scaffold/extensions/reverse_associations.rb +1 -1
- data/lib/active_scaffold/helpers/show_column_helpers.rb +2 -2
- data/lib/active_scaffold/version.rb +1 -1
- data/test/company.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e391ff964c183c36df4416f85b6c0d1466a44a9
|
4
|
+
data.tar.gz: a5b83b15499bb227ecb459381ca02b421261b383
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f85596592ba07b109e8d645c124a409e610b94df3b47495411e0ff2419a80fbcb617668b1c8029ef8e30f74b224c3a94de684bd390d171ea4848f4e698fdec15
|
7
|
+
data.tar.gz: a8645b27cd94fed33c84d8ffd5ef5073f5ea9e99e8cf27430a1bd6ea798e6679b1444f9cc3fd8e5f2f1c51d7a0ef8a11907c723ba31a813a8cbc3d2d1595c4c1
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
= 3.4.26
|
2
|
+
- fix padding for dynamic action_group inside action_group
|
3
|
+
- fix using gem with symlink in BUNDLE_PATH option of config/bundle file
|
4
|
+
|
5
|
+
= 3.4.25
|
1
6
|
- call focus_first_element after highlight and trigger element_created
|
2
7
|
- fix restoring focus to element which triggers update column
|
3
8
|
|
data/{MIT-LICENSE → LICENSE}
RENAMED
File without changes
|
@@ -79,7 +79,7 @@ padding: 5px 5px;
|
|
79
79
|
margin-left: 0px;
|
80
80
|
}
|
81
81
|
|
82
|
-
.active-scaffold .active-scaffold .active-scaffold-header div.actions .action_group > a,
|
82
|
+
.active-scaffold .active-scaffold .active-scaffold-header div.actions > .action_group > a,
|
83
83
|
.active-scaffold .active-scaffold .active-scaffold-header div.actions > a {
|
84
84
|
padding: 1px 5px;
|
85
85
|
}
|
data/lib/active_scaffold/core.rb
CHANGED
@@ -135,7 +135,7 @@ module ActiveScaffold
|
|
135
135
|
end
|
136
136
|
|
137
137
|
def add_active_scaffold_path(path)
|
138
|
-
as_path = File.join(ActiveScaffold::Config::Core.plugin_directory, 'app', 'views')
|
138
|
+
as_path = File.realpath File.join(ActiveScaffold::Config::Core.plugin_directory, 'app', 'views')
|
139
139
|
index = view_paths.find_index { |p| p.to_s == as_path }
|
140
140
|
if index
|
141
141
|
self.view_paths = view_paths[0..index - 1] + Array(path) + view_paths[index..-1]
|
@@ -112,4 +112,4 @@ end
|
|
112
112
|
|
113
113
|
ActiveRecord::Reflection::AssociationReflection.send :include, ActiveScaffold::ReverseAssociation::AssociationReflection
|
114
114
|
ActiveRecord::Reflection::ThroughReflection.send :include, ActiveScaffold::ReverseAssociation::ThroughReflection
|
115
|
-
ActiveRecord::Associations::ThroughAssociation.send :include, ActiveScaffold::ReverseAssociation::ThroughAssociation
|
115
|
+
ActiveRecord::Associations::ThroughAssociation.send :include, ActiveScaffold::ReverseAssociation::ThroughAssociation
|
@@ -26,12 +26,12 @@ module ActiveScaffold
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def active_scaffold_show_horizontal(record, column)
|
29
|
-
raise
|
29
|
+
raise ':horizontal show_ui must be used on association column' unless column.association
|
30
30
|
render :partial => 'show_association', :locals => {:column => column, :parent_record => record, :show_partial => :horizontal}
|
31
31
|
end
|
32
32
|
|
33
33
|
def active_scaffold_show_vertical(record, column)
|
34
|
-
raise
|
34
|
+
raise ':vertical show_ui must be used on association column' unless column.association
|
35
35
|
render :partial => 'show_association', :locals => {:column => column, :parent_record => record, :show_partial => :vertical}
|
36
36
|
end
|
37
37
|
|
data/test/company.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_scaffold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Many, see README
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: brakeman
|
@@ -97,7 +97,7 @@ extra_rdoc_files:
|
|
97
97
|
- README.md
|
98
98
|
files:
|
99
99
|
- CHANGELOG
|
100
|
-
-
|
100
|
+
- LICENSE
|
101
101
|
- README.md
|
102
102
|
- app/assets/images/active_scaffold/add.png
|
103
103
|
- app/assets/images/active_scaffold/arrow_down.png
|